ASM
mov    eax, DWORD PTR [rbx+0x50]      ; rbx is handle

mov    DWORD PTR [rbp+0x0], eax       ; rbp is the address of out_storage_type