Function at 0x438a50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e786b
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4f4], ecx
mov dword [ebp - 0x4e4], 0
push 0x5ef878
lea ecx, [ebp - 0x4e0]
call fcn.00402790
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x438ae0
lea eax, [ebp - 0x4e0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov ecx, dword [ebp - 0x4e4]
or ecx, 1
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e0]
call fcn.00402750
mov eax, dword [ebp + 8]
jmp 0x438cd9
lea edx, [ebp - 0x4c8]
push edx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x438ca6
mov dword [ebp - 0x4e8], 0
jmp 0x438b15
mov eax, dword [ebp - 0x4e8]
add eax, 4
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
movzx edx, word [ebp + ecx*2 - 0x4c8]
test edx, edx
je 0x438ca6
push 0x5ef87c
mov eax, dword [ebp - 0x4e8]
lea ecx, [ebp + eax*2 - 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x438b65
push 0x5ef884
mov edx, dword [ebp - 0x4e8]
lea eax, [ebp + edx*2 - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x438b67
jmp 0x438b06
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x4e8]
mov cx, word [ebp + eax*2 - 0x4c8]
mov word [ebp + edx - 0x18], cx
mov edx, 2
shl edx, 0
mov eax, dword [ebp - 0x4e8]
mov cx, word [ebp + eax*2 - 0x4c6]
mov word [ebp + edx - 0x18], cx
mov edx, 2
shl edx, 1
mov dword [ebp - 0x4ec], edx
cmp dword [ebp - 0x4ec], 6
jae 0x438bb5
jmp 0x438bba
call fcn.005ad1a5
xor eax, eax
mov ecx, dword [ebp - 0x4ec]
mov word [ebp + ecx - 0x18], ax
push 0x64
lea edx, [ebp - 0xe0]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x438c14
push 0x5ef88c
mov ecx, dword [ebp + 8]
call fcn.00402790
mov ecx, dword [ebp - 0x4e4]
or ecx, 1
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e0]
call fcn.00402750
mov eax, dword [ebp + 8]
jmp 0x438cd9
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x4f0], eax
mov eax, dword [ebp - 0x4f0]
push eax
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.005c8637
add esp, 0xc
test eax, eax
jne 0x438ca1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00404340
mov ecx, dword [ebp - 0x4f0]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00404340
lea ecx, [ebp - 0x4e0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov edx, dword [ebp - 0x4e4]
or edx, 1
mov dword [ebp - 0x4e4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e0]
call fcn.00402750
mov eax, dword [ebp + 8]
jmp 0x438cd9
jmp 0x438b06
lea eax, [ebp - 0x4e0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov ecx, dword [ebp - 0x4e4]
or ecx, 1
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e0]
call fcn.00402750
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret 8