Function at 0x44a460
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x38], 3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x44a49d
mov dword [ebp - 0x6c], 0
jmp 0x44a527
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x44a4bf
mov dword [ebp - 0x70], 0
jmp 0x44a521
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004f86f0
mov dword [ebp - 0x60], esp
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x60], 0
je 0x44a4de
cmp dword [ebp - 0x4c], 0
jne 0x44a4e7
mov dword [ebp - 0x70], 0
jmp 0x44a521
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov word [ecx], ax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x60]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x44a51b
mov dword [ebp - 0x70], 0
jmp 0x44a521
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], ecx
push 0
push 0
push 3
push 0
push 7
push 0x80
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x44a6c7
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
xor edx, edx
div dword [ebp + 0xc]
shl eax, 4
add eax, 0x20
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
call fcn.004f8626
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 8
lea ecx, [ebp - 0x10]
push ecx
push 0x90073
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44a6b1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + edx - 1]
xor edx, edx
div dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 3
push eax
call fcn.004f8626
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0
jmp 0x44a60b
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
cmp eax, dword [edx]
jae 0x44a6b1
mov ecx, dword [ebp - 0x44]
shl ecx, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x18]
mov ecx, dword [edx + ecx + 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x44]
shl edx, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx + 0x10]
sub ecx, dword [ebp - 0x40]
mov edx, dword [eax + edx + 0x14]
sbb edx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
jmp 0x44a670
mov eax, dword [ebp - 0x48]
sub eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov eax, dword [ebp - 0x24]
adc eax, 0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x48], 0
je 0x44a695
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ecx]
jae 0x44a693
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*8 + 4], edx
jmp 0x44a64c
mov eax, dword [ebp - 0x44]
shl eax, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 0x10]
mov eax, dword [ecx + eax + 0x14]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x44a602
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004f84cf
add esp, 4
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0x70]
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 0x10