Function at 0x44e1e0
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.0044e500
cmp dword [ebp + 8], 0
je 0x44e208
mov eax, dword [ebp + 8]
push eax
call fcn.00433380
add esp, 4
test eax, eax
jne 0x44e20f
xor eax, eax
jmp 0x44e4ec
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x58]
add edx, 0x28
push edx
call fcn.0044a170
add esp, 8
mov ax, word [0x4606bc]
mov word [ebp - 0x10], ax
mov cl, byte [0x4606be]
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 0x44e262
xor eax, eax
jmp 0x44e4ec
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 0x44e29d
xor eax, eax
jmp 0x44e4ec
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 0x44e2c3
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44e4ec
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.0042ed00
push 0
push 0x10
push edx
push eax
call fcn.0042ecc0
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040b5c4
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 0x44e4bb
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.0042ed00
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.0040b5c4
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 0x44e3dc
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 0x44e4bb
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x1c]
jae 0x44e4bb
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 0x44e432
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 0x44e49f
jl 0x44e461
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x60]
jae 0x44e49f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x1c]
jae 0x44e49f
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 0x44e420
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 0x44e3d3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0040b5f3
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x58]
call fcn.0044e560
test eax, eax
jne 0x44e4e7
xor eax, eax
jmp 0x44e4ec
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4