Function at 0x4238c0
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x5bf6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42390b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ebp
call fcn.004cd409
push ebp
mov byte [esp + 0x60], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebp
call edi
mov esi, eax
test esi, esi
je 0x4239d9
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebp, eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push esi
push 0
push ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [esi]
test al, al
je 0x4239c7
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x4239b1
cmp al, 0x42
je 0x4239b1
push esi
call edi
cmp eax, 4
je 0x4239b1
push esi
call edi
cmp eax, 5
je 0x4239b1
push esi
call edi
cmp eax, 6
je 0x4239b1
push esi
call edi
test eax, eax
je 0x4239b1
push esi
call edi
cmp eax, 2
je 0x4239b1
mov ecx, dword [esp + 0x44]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.004cd6c0
push 0
push esi
call fcn.004e4df8
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x423973
mov edx, dword [esp + 0x18]
push edx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x423a3d
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test esi, esi
jl 0x423a9e
cmp esi, eax
jge 0x423a9e
mov eax, dword [esp + 0x40]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404e30
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
call edi
test eax, eax
je 0x423a32
mov ecx, dword [esp + 0x24]
add dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
adc ebp, edx
mov eax, dword [esp + 0x44]
add esi, 1
cmp esi, eax
jl 0x4239e9
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
shrd ecx, edx, 0x1e
shrd eax, ebp, 0x1e
shr ebp, 0x1e
shr edx, 0x1e
test ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], ecx
jne 0x423aa3
push eax
mov eax, dword [esp + 0x68]
push str._u_G
push eax
call fcn.00405640
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0
call fcn.004cd4a7
lea eax, [ebx - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x423b00
call fcn.004c700e
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
sub esp, 8
fidiv dword [esp + 0x70]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fmul qword [0x600568]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp qword [esp]
push eax
push str._u_G____2.2f____
push ecx
call fcn.00405640
add esp, 0x14
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0
call fcn.004cd4a7
lea eax, [ebx - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423b0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0xc