Function at 0x44ef10
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x5c2900
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [0x636fb4]
mov dword [esp + 0x1c], eax
call fcn.004c5661
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44ef5b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], esi
call fcn.004c5661
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44ef89
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x48], 1
mov eax, dword [edi + 8]
xor ebx, ebx
xor ebp, ebp
test eax, eax
jle 0x44f015
test esi, esi
jl 0x44f207
cmp esi, eax
jge 0x44f207
mov ecx, dword [edi + 4]
lea eax, [ecx + esi*4]
push eax
lea ecx, [esp + 0x14]
call fcn.00404e30
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x44f00b
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
jb 0x44f00b
mov eax, dword [esp + 0x24]
ja 0x44eff9
cmp eax, ebx
jbe 0x44f00b
mov ebx, eax
lea eax, [esp + 0x10]
mov ebp, ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404e30
mov eax, dword [edi + 8]
add esi, 1
cmp esi, eax
jl 0x44efa9
push 0x637
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041c990
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.00404e30
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004165d0
push 0x5f5b00
push eax
lea ecx, [esp + 0x2c]
mov bl, 3
push ecx
mov byte [esp + 0x60], bl
call fcn.00404c80
add esp, 0x18
mov byte [esp + 0x48], 4
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 0x3c]
push eax
call fcn.00404e30
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f0bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
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 0x44f0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x638
lea ecx, [esp + 0x20]
push ecx
call fcn.0041c990
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00404e30
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f123
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004165d0
push 0x5f5b00
push eax
lea ecx, [esp + 0x34]
mov bl, 6
push ecx
mov byte [esp + 0x60], bl
call fcn.00404c80
add esp, 0x18
lea ecx, [esi + 0x40]
push eax
mov byte [esp + 0x4c], 7
call fcn.00404e30
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f182
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x44f1a7
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f1f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
jmp fcn.004c700e