Function at 0x439e20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa90
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0xa88], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x288]
push 0x3de
push str.file_util_win.cc
push str.DevicePathToDriveLetterPath
push edi
call fcn.0050b5e0
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.005224f0
mov dword [esp + 0x28], 0xa
mov al, byte [0x649456]
test al, al
jne 0x43a17e
push 0x800
push 0
push edi
call fcn.005679e0
add esp, 0xc
push edi
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x43a0ea
lea ebx, [esp + 0x80]
push 0x208
push 0xff
push ebx
call fcn.005679e0
add esp, 0xc
mov dword [esp + 0x7c], 0x3a
movzx eax, word [esp + 0x288]
test ax, ax
je 0x43a0ea
lea ecx, [esp + 0x7a]
mov edx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
dec esi
mov dword [esp], ecx
jmp 0x439f3d
cmp byte [esp + 0x3f], 0
jns 0x439f0e
push dword [esp + 0x34]
call fcn.00562f60
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ebx, [esp + 0x80]
xor esi, esi
dec esi
mov edx, edi
mov edi, dword [esp + 4]
cmp word [edi], 0
lea edi, [edi + 2]
jne 0x439f24
movzx eax, word [edi]
test ax, ax
lea ecx, [esp + 0x7a]
je 0x43a0ea
mov dword [esp + 4], edi
mov word [esp + 0x7a], ax
push 0x104
push ebx
push ecx
mov edi, edx
call edx
test eax, eax
je 0x439f1e
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
push ebx
call fcn.00564782
add esp, 4
lea esi, [esp + 0x34]
mov ecx, esi
push eax
push ebx
call fcn.00550e10
mov ecx, esi
mov ebx, dword [ebp + 8]
push ebx
call fcn.0043a1b0
test al, al
jne 0x439f98
mov ecx, esi
push 0
push ebx
call fcn.00411d40
test al, al
je 0x439efb
lea eax, [esp + 0x80]
push eax
call fcn.00564782
add esp, 4
lea edx, [esp + 0x28]
lea esi, [esp + 8]
mov ecx, esi
push edx
push 0xffffffffffffffff
push eax
push ebx
call fcn.0053d730
lea eax, [esp + 0x7a]
push eax
call fcn.00564782
add esp, 4
movsx ecx, byte [esi + 0xb]
mov edi, 0x7fffffff
and edi, dword [esi + 8]
dec edi
test ecx, ecx
mov ebx, dword [esi + 4]
cmovns ebx, ecx
mov edx, 4
cmovs edx, edi
mov edi, eax
mov eax, edx
sub eax, ebx
cmp eax, edi
jae 0x43a0ee
mov eax, edi
add eax, ebx
sub eax, edx
lea ecx, [esp + 8]
lea esi, [esp + 0x7a]
push esi
push edi
xor esi, esi
push esi
push esi
push ebx
push eax
push edx
call fcn.00419f20
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 8]
movsd qword [eax], xmm0
xorps xmm0, xmm0
movsd qword [esp + 8], xmm0
mov dword [esp + 0x10], 0
movsx edx, byte [eax + 0xb]
test edx, edx
cmovs edx, dword [eax + 4]
cmovs eax, dword [eax]
test edx, edx
js 0x43a15d
sete cl
test eax, eax
setne ch
or ch, cl
mov esi, dword [ebp + 0xc]
je 0x43a160
lea ecx, [esp + 0x28]
push edx
push eax
call fcn.00550e10
cmp byte [esi + 0xb], 0
jns 0x43a079
push dword [esi]
call fcn.00562f60
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esi], xmm0
mov byte [esp + 0x33], 0
mov word [esp + 0x28], 0
cmp byte [esp + 0x23], 0
jns 0x43a0a9
push dword [esp + 0x18]
call fcn.00562f60
add esp, 4
cmp byte [esp + 0x13], 0
js 0x43a163
cmp byte [esp + 0x3f], 0
jns 0x43a0c7
push dword [esp + 0x34]
call fcn.00562f60
add esp, 4
mov bl, 1
lea ecx, [esp + 0x40]
call fcn.005403a0
mov ecx, dword [esp + 0xa88]
xor ecx, ebp
call fcn.00566245
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x43a0c9
test edi, edi
je 0x43a010
test cl, cl
jns 0x43a0fe
mov esi, dword [esp + 8]
test ebx, ebx
je 0x43a134
lea eax, [esi + ebx*2]
xor ecx, ecx
lea edx, [esp + 0x7a]
cmp eax, edx
mov eax, 0
cmova eax, edi
cmp esi, edx
cmova eax, ecx
lea eax, [esp + eax*2]
add eax, 0x7a
mov dword [esp], eax
lea eax, [esi + edi*2]
lea ecx, [ebx + ebx]
push ecx
push esi
push eax
call fcn.00567460
add esp, 0xc
lea eax, [edi + edi]
push eax
push dword [esp + 4]
push esi
call fcn.00567460
add esp, 0xc
add ebx, edi
cmp byte [esp + 0x13], 0
jns 0x43a174
mov dword [esp + 0xc], ebx
mov word [esi + ebx*2], 0
jmp 0x43a010
int3
int3
push dword [esp + 8]
call fcn.00562f60
add esp, 4
jmp 0x43a0b4
mov eax, ebx
and al, 0x7f
mov byte [esp + 0x13], al
jmp 0x43a152
movzx ecx, al
lea eax, [esp + 0x80]
mov dword [eax], edi
lea esi, [esp + 0x34]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x28]
push eax
push esi
call fcn.005b5f10
add esp, 8
jmp 0x439e92