Function at 0x47f490
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 [0x540010]
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 ebx, [esp + 0x288]
push 0x3d8
push str.file_util_win.cc
push str.DevicePathToDriveLetterPath
push ebx
call fcn.00492120
add esp, 0x10
xor edi, edi
mov ecx, esi
push edi
push ebx
call fcn.00486fa0
push 0x800
push edi
push ebx
call fcn.004e3a90
add esp, 0xc
push ebx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x47f541
lea esi, [esp + 0x80]
push 0x208
push 0xff
push esi
call fcn.004e3a90
add esp, 0xc
mov dword [esp + 0x7c], 0x3a
movzx eax, word [esp + 0x288]
test ax, ax
je 0x47f541
lea edi, [esp + 0x34]
jmp 0x47f583
xor ebx, ebx
lea ecx, [esp + 0x40]
call fcn.00487010
mov ecx, dword [esp + 0xa88]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call fcn.00493ef0
lea esi, [esp + 0x80]
cmp word [ebx], 0
lea ebx, [ebx + 2]
jne 0x47f572
movzx eax, word [ebx]
test ax, ax
je 0x47f541
mov word [esp + 0x7a], ax
push 0x104
push esi
lea eax, [esp + 0x82]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x47f572
xor eax, eax
dec eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push esi
call fcn.004fbc1b
add esp, 4
mov ecx, edi
push eax
push esi
call fcn.00493e00
mov ecx, edi
mov esi, dword [ebp + 8]
push esi
call fcn.00493fb0
test al, al
jne 0x47f5dc
mov ecx, edi
push esi
call fcn.00494800
test al, al
je 0x47f564
lea eax, [esp + 0x80]
push eax
call fcn.004fbc1b
add esp, 4
lea edx, [esp + 0x28]
lea ebx, [esp + 0xc]
mov ecx, ebx
push edx
push 0xffffffffffffffff
push eax
push esi
call fcn.00478e50
lea edi, [esp + 0x7a]
push edi
call fcn.004fbc1b
add esp, 4
xor esi, esi
mov ecx, ebx
push eax
push edi
push esi
call fcn.00478b40
movsd xmm0, qword [eax]
lea edx, [esp + 0x18]
movsd qword [edx], xmm0
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov dword [eax + 8], esi
xorps xmm0, xmm0
movsd qword [eax], xmm0
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
test eax, eax
js 0x47f6a6
je 0x47f64c
test edx, edx
je 0x47f69f
lea esi, [esp + 0x28]
mov ecx, esi
push eax
push edx
call fcn.00493e00
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00493f70
mov ecx, esi
call fcn.00493ef0
cmp byte [esp + 0x23], 0
jns 0x47f67c
push dword [esp + 0x18]
call fcn.004dfb35
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x47f68f
push dword [esp + 0xc]
call fcn.004dfb35
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00493ef0
mov bl, 1
jmp 0x47f543
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x47f6ab
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x521354
call fcn.0044d640
int3