Function at 0x44c090
Capabilities:
Get disk size
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x58]
call fcn.0044c3b0
cmp dword [ebp + 8], 0
je 0x44c0b8
mov eax, dword [ebp + 8]
push eax
call fcn.00430f60
add esp, 4
test eax, eax
jne 0x44c0bf
xor eax, eax
jmp 0x44c39c
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x58]
add edx, 0x28
push edx
call fcn.00443c20
add esp, 8
mov ax, word [0x459db4]
mov word [ebp - 0x10], ax
mov cl, byte [0x459db6]
mov byte [ebp - 0xe], cl
mov edx, dword [ebp - 0x58]
mov al, byte [edx + 0x28]
mov byte [ebp - 0x10], al
push 0
push 0
mov ecx, dword [ebp - 0x58]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x44c112
xor eax, eax
jmp 0x44c39c
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, dword [ecx]
imul eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x44c14d
xor eax, eax
jmp 0x44c39c
mov edx, dword [ebp - 0x58]
add edx, 8
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44c173
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44c39c
mov dword [ebp - 0xc], 0x20
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0x58]
add edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
adc ecx, eax
sub edx, 1
sbb ecx, 0
mov eax, dword [ebp - 0x20]
xor esi, esi
push esi
push eax
push ecx
push edx
call fcn.0042c760
push 0
push 0x10
push edx
push eax
call fcn.0042c720
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040b46c
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 8
lea ecx, [ebp - 8]
push ecx
push 0x90073
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44c36b
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 0x58]
add eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
adc edx, ecx
sub eax, 1
sbb edx, 0
mov ecx, dword [ebp - 0x20]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.0042c760
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x1c], eax
xor ecx, ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x1c]
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b46c
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
jmp 0x44c28c
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax]
jae 0x44c36b
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x1c]
jae 0x44c36b
mov ecx, dword [ebp - 0x34]
shl ecx, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x18]
mov ecx, dword [edx + ecx + 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
jmp 0x44c2e2
mov edx, dword [ebp - 0x48]
add edx, 1
mov eax, dword [ebp - 0x44]
adc eax, 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x34]
shl ecx, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x10]
sub eax, dword [ebp - 0x30]
mov ecx, dword [edx + ecx + 0x14]
sbb ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x5c]
jg 0x44c34f
jl 0x44c311
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x60]
jae 0x44c34f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x1c]
jae 0x44c34f
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x40]
add edx, 1
mov eax, dword [ebp - 0x3c]
adc eax, 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x44c2d0
mov ecx, dword [ebp - 0x34]
shl ecx, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x10]
mov ecx, dword [edx + ecx + 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x44c283
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0040b49b
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x58]
call fcn.0044c410
test eax, eax
jne 0x44c397
xor eax, eax
jmp 0x44c39c
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4