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

Disassembly:
push 0xffffffffffffffff
push 0x5cede0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
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.004d4991
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x429a1b
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.004dc5c5
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 0x429ae9
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 0x429ad7
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x429ac1
cmp al, 0x42
je 0x429ac1
push esi
call edi
cmp eax, 4
je 0x429ac1
push esi
call edi
cmp eax, 5
je 0x429ac1
push esi
call edi
cmp eax, 6
je 0x429ac1
push esi
call edi
test eax, eax
je 0x429ac1
push esi
call edi
cmp eax, 2
je 0x429ac1
mov ecx, dword [esp + 0x44]
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.004dc87c
push 0
push esi
call fcn.004f3fce
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x429a83
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 0x429b4d
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test esi, esi
jl 0x429bae
cmp esi, eax
jge 0x429bae
mov eax, dword [esp + 0x40]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404f90
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 0x429b42
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 0x429af9
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 0x429bb3
push eax
mov eax, dword [esp + 0x68]
push str._u_G
push eax
call fcn.004057d0
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0
call fcn.004dc663
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 0x429c10
call fcn.004d633a
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 [0x6116e0]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp qword [esp]
push eax
push str._u_G____2.2f____
push ecx
call fcn.004057d0
add esp, 0x14
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0
call fcn.004dc663
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 0x429c1c
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