Function at 0x40fcb0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x5bf858
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [0x636fb4]
xor ebp, ebp
cmp dword [esi + 0x58], ebp
mov dword [esp + 0x18], ebp
jle 0x40fd9a
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test ebp, ebp
jl 0x40fee8
cmp ebp, dword [esi + 0x58]
jge 0x40fee8
mov eax, dword [esi + 0x54]
lea eax, [eax + ebp*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00405220
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
mov dword [esp + 0x58], 0
call ebx
test eax, eax
je 0x40fd6a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shrd eax, ecx, 0x14
shr ecx, 0x14
cmp eax, dword [esi + 0x44]
ja 0x40fdb2
lea eax, [edi - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40fd82
lea eax, [edi - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esi + 0x58]
jl 0x40fcf2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebx, 3
push ebx
lea ecx, [esp + 0x20]
lea ebp, [esi + 0x3c]
push ecx
mov ecx, ebp
call fcn.00416570
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x54], 1
call fcn.004165d0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.00404e30
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ecx, [esp + 0x24]
add esi, 0x40
push ecx
mov ecx, esi
call fcn.00416570
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x54], bl
call fcn.004165d0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x4c], 4
call fcn.00404e30
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40feb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 1
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40fd9a
jmp fcn.004c700e