Function at 0x439620
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.0050b300
add esp, 0x10
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00522210
mov dword [esp + 0x28], 0xa
mov al, byte [0x649456]
test al, al
jne 0x43997e
push 0x800
push 0
push edi
call fcn.00567640
add esp, 0xc
push edi
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4398ea
lea ebx, [esp + 0x80]
push 0x208
push 0xff
push ebx
call fcn.00567640
add esp, 0xc
mov dword [esp + 0x7c], 0x3a
movzx eax, word [esp + 0x288]
test ax, ax
je 0x4398ea
lea ecx, [esp + 0x7a]
mov edx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor esi, esi
dec esi
mov dword [esp], ecx
jmp 0x43973d
cmp byte [esp + 0x3f], 0
jns 0x43970e
push dword [esp + 0x34]
call fcn.00562bc0
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 0x439724
movzx eax, word [edi]
test ax, ax
lea ecx, [esp + 0x7a]
je 0x4398ea
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 0x43971e
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
push ebx
call fcn.005643e2
add esp, 4
lea esi, [esp + 0x34]
mov ecx, esi
push eax
push ebx
call fcn.00550450
mov ecx, esi
mov ebx, dword [ebp + 8]
push ebx
call fcn.004399b0
test al, al
jne 0x439798
mov ecx, esi
push 0
push ebx
call fcn.004121f0
test al, al
je 0x4396fb
lea eax, [esp + 0x80]
push eax
call fcn.005643e2
add esp, 4
lea edx, [esp + 0x28]
lea esi, [esp + 8]
mov ecx, esi
push edx
push 0xffffffffffffffff
push eax
push ebx
call fcn.0053def0
lea eax, [esp + 0x7a]
push eax
call fcn.005643e2
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 0x4398ee
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.0041ca80
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 0x43995d
sete cl
test eax, eax
setne ch
or ch, cl
mov esi, dword [ebp + 0xc]
je 0x439960
lea ecx, [esp + 0x28]
push edx
push eax
call fcn.00550450
cmp byte [esi + 0xb], 0
jns 0x439879
push dword [esi]
call fcn.00562bc0
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 0x4398a9
push dword [esp + 0x18]
call fcn.00562bc0
add esp, 4
cmp byte [esp + 0x13], 0
js 0x439963
cmp byte [esp + 0x3f], 0
jns 0x4398c7
push dword [esp + 0x34]
call fcn.00562bc0
add esp, 4
mov bl, 1
lea ecx, [esp + 0x40]
call fcn.00540b60
mov ecx, dword [esp + 0xa88]
xor ecx, ebp
call fcn.00565ea5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x4398c9
test edi, edi
je 0x439810
test cl, cl
jns 0x4398fe
mov esi, dword [esp + 8]
test ebx, ebx
je 0x439934
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.005670c0
add esp, 0xc
lea eax, [edi + edi]
push eax
push dword [esp + 4]
push esi
call fcn.005670c0
add esp, 0xc
add ebx, edi
cmp byte [esp + 0x13], 0
jns 0x439974
mov dword [esp + 0xc], ebx
mov word [esi + ebx*2], 0
jmp 0x439810
int3
int3
push dword [esp + 8]
call fcn.00562bc0
add esp, 4
jmp 0x4398b4
mov eax, ebx
and al, 0x7f
mov byte [esp + 0x13], al
jmp 0x439952
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.005b5b90
add esp, 8
jmp 0x439692