Function at 0x43d720
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x30fc
call fcn.0046c720
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x30f8], eax
mov eax, dword [esp + 0x3100]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
lea ecx, [esp + 0x414]
push 0x4a6e7c
xor ebp, ebp
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
call fcn.0046dec3
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea edx, [esp + 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43d980
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x2710
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9fc]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0046a930
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0xa04]
push edx
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push edi
call ebp
test eax, eax
je 0x43d8a7
push 0x3e7
lea ecx, [esp + 0x2d]
push ebx
push ecx
mov byte [esp + 0x34], bl
call fcn.0046a930
mov edx, dword [esp + 0xa1c]
add esp, 0xc
lea eax, [esp + edx + 0x9f8]
push eax
mov ecx, esi
call fcn.0043d570
lea edx, [esp + 0x28]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x43d820
mov eax, dword [esp + 0xa08]
lea eax, [esp + eax + 0x9f8]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43d838
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x43d8b1
movsx ecx, byte [esp + 0x28]
push ecx
call fcn.0046c51d
add esp, 4
test eax, eax
jne 0x43d86b
movsx edx, byte [esp + 0x3b]
push edx
call fcn.0046c51d
add esp, 4
test eax, eax
je 0x43d8b1
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x3114]
cmp ecx, eax
jae 0x43d885
mov eax, ecx
jmp 0x43d890
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esp + 0x10], 1
jmp 0x43d8b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
push 0x2710
lea eax, [esp + 0x9fc]
push ebx
push eax
call fcn.0046a930
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0xa04]
push edx
push ebx
push ebx
push 0x2d0c10
push edi
call ebp
test eax, eax
je 0x43d96d
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0xa08]
mov byte [esp + eax + 0x28], cl
inc eax
cmp cl, bl
jne 0x43d8f0
cmp esi, ebx
je 0x43d973
movsx eax, byte [esp + 0x28]
push eax
call fcn.0046c51d
add esp, 4
test eax, eax
jne 0x43d928
movsx ecx, byte [esp + 0x3b]
push ecx
call fcn.0046c51d
add esp, 4
test eax, eax
je 0x43d973
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x28]
push edx
call ebx
mov ecx, dword [esp + 0x3114]
cmp ecx, eax
jae 0x43d944
mov eax, ecx
jmp 0x43d94b
lea eax, [esp + 0x28]
push eax
call ebx
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
jmp 0x43d982
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
jmp 0x43d982
mov eax, ebp
mov ecx, dword [esp + 0x3108]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046b5b0
add esp, 0x30fc
ret 8