Function at 0x43d2f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x10
cmp dword [ebp + 0x10], 0xffffffff
je 0x43d322
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
jmp 0x43d334
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x43d5d3
movzx edx, byte [ebp - 9]
test edx, edx
jne 0x43d5d3
mov dword [ebp - 0x4fc], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0049ca10
add esp, 0xc
mov byte [ebp - 0x4f8], 0
push 0x3e7
push 0
lea ecx, [ebp - 0x4f7]
push ecx
call fcn.0049ca10
add esp, 0xc
cmp dword [ebp + 0x10], 0xffffffff
je 0x43d39c
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
push str..PhysicalDrive_d
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4fc], eax
cmp dword [ebp - 0x4fc], 0xffffffff
je 0x43d5ce
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x500], 0x2710
mov eax, dword [ebp - 0x500]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x510], eax
cmp dword [ebp - 0x510], 0
je 0x43d5c1
xor ecx, ecx
mov dword [ebp - 0x50c], ecx
mov dword [ebp - 0x508], ecx
mov dword [ebp - 0x504], ecx
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0
push 0
lea edx, [ebp - 0x514]
push edx
mov eax, dword [ebp - 0x500]
push eax
mov ecx, dword [ebp - 0x510]
push ecx
push 0xc
lea edx, [ebp - 0x50c]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x4fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43d4f3
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp dword [edx + 0x18], 0
je 0x43d4f3
lea eax, [ebp - 0x4f8]
push eax
mov ecx, dword [ebp - 0x518]
mov edx, dword [ebp - 0x510]
add edx, dword [ecx + 0x18]
push edx
call fcn.0043db90
add esp, 8
lea eax, [ebp - 0x4f8]
push eax
call fcn.0043de50
add esp, 4
movsx cx, byte [ebp - 0x4f8]
movzx edx, cx
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x43d4f3
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00497ff0
add esp, 0xc
mov byte [ebp - 9], 1
movzx eax, byte [ebp - 9]
test eax, eax
jne 0x43d5ab
mov ecx, dword [ebp - 0x500]
push ecx
push 0
mov edx, dword [ebp - 0x510]
push edx
call fcn.0049ca10
add esp, 0xc
push 0
lea eax, [ebp - 0x514]
push eax
mov ecx, dword [ebp - 0x500]
push ecx
mov edx, dword [ebp - 0x510]
push edx
push 0
push 0
push 0x2d0c10
mov eax, dword [ebp - 0x4fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43d5ab
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
add edx, 0x10
push edx
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x4f8]
push ecx
call fcn.0043de50
add esp, 4
movsx dx, byte [ebp - 0x4f8]
movzx eax, dx
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x43d5ab
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4f8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00497ff0
add esp, 0xc
mov byte [ebp - 9], 1
mov ecx, dword [ebp - 0x510]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x4fc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d32b
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret