Function at 0x416ef0
Capabilities:
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x431cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00408d50
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0
call fcn.00408d50
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 1
call fcn.00408d50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call fcn.00408d50
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.00408d50
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 4
call fcn.00408d50
mov bl, 5
mov byte [esp + 0x5c], bl
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
push 0
push 0xae
push 0
push eax
mov ecx, ebp
call fcn.00411aa0
xor eax, eax
mov dword [esp + 0x30], eax
test byte [esp + 0x2c], 1
je 0x4171f9
add al, 0x41
mov edi, 0x43fb60
mov byte [esp + 0x18], al
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4171f9
lea edx, [esp + 0x4c]
lea eax, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4171f9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x28]
push 0
push edx
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x2a], 0
call fcn.00417b20
push 0xaf
lea ecx, [esp + 0x18]
call fcn.00408d60
push 0x43f114
lea ecx, [esp + 0x18]
call fcn.0042f280
lea edx, [esp + 0x28]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x60], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push 0
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00417b20
push 0xb0
lea ecx, [esp + 0x18]
call fcn.00408d60
push 0x43f114
lea ecx, [esp + 0x18]
call fcn.0042f280
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x20]
push str._s__s___s
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add esp, 0x14
lea eax, [esp + 0x20]
push 1
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00417b20
push 0x409
push 0xaf
lea ecx, [esp + 0x18]
call fcn.00408e30
push 0x43f114
lea ecx, [esp + 0x14]
call fcn.0042f280
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x60], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00417b20
push 0x409
push 0xb0
lea ecx, [esp + 0x18]
call fcn.00408e30
push 0x43f114
lea ecx, [esp + 0x14]
call fcn.0042f280
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x60], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s__s___s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x78]
add esp, 0x14
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push ecx
push edx
inc eax
push 0
push eax
mov ecx, ebp
call fcn.004119d0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
inc eax
shr edx, 1
cmp eax, 0x1a
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
jl 0x416f8b
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4