Function at 0x410db0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x5cf208
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [0x647fdc]
xor ebp, ebp
cmp dword [esi + 0x58], ebp
mov dword [esp + 0x18], ebp
jle 0x410e9a
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test ebp, ebp
jl 0x410fe8
cmp ebp, dword [esi + 0x58]
jge 0x410fe8
mov eax, dword [esi + 0x54]
lea eax, [eax + ebp*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004052b0
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 0x410e6a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shrd eax, ecx, 0x14
shr ecx, 0x14
cmp eax, dword [esi + 0x44]
ja 0x410eb2
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 0x410e82
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 0x410e8e
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 0x410df2
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.0041c690
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x54], 1
call fcn.0041c6f0
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x4c], 2
call fcn.00404ec0
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 0x410f11
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 0x410f36
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.0041c690
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x54], bl
call fcn.0041c6f0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x4c], 4
call fcn.00404ec0
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 0x410f8e
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 0x410fb3
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 0x410e9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410e9a
jmp fcn.004d66ad