Function at 0x4494a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d6a5
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x58fa2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
xor esi, esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 4], esi
xor ebx, ebx
mov dword [ebp - 0x1f4], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x208], edi
cmp edi, 0xffffffff
je 0x449724
mov dword [ebp - 0x1fc], ebx
push ebx
lea eax, [ebp - 0x1f8]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x4495d1
cmp dword [ebp - 0x1f8], 0xc
jne 0x4495d1
cmp dword [ebp - 0x1c], 0xff231ac2
jne 0x4495d1
cmp dword [ebp - 0x18], 0x60000
jne 0x4495e8
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x1f8]
push eax
push 0x1d0
lea eax, [ebp - 0x1f0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x4495d1
cmp dword [ebp - 0x1f8], 0x1d0
jne 0x4495d1
cmp dword [ebp - 0x1ec], 0xff231ac2
jne 0x4495d1
cmp dword [ebp - 0x1e8], 0x60000
jne 0x4495d1
push 0x1cc
lea eax, [ebp - 0x1ec]
push eax
push 0xffffffffffffffff
call fcn.00476920
add esp, 0xc
cmp dword [ebp - 0x1f0], eax
je 0x449604
mov ebx, 5
mov dword [ebp - 0x1f4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44973f
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0044f420
add esp, 0xc
test eax, eax
je 0x449710
mov dword [ebp - 0x1fc], 1
push 0x332
call fcn.00472260
add esp, 4
mov edi, eax
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x218], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x449643
push 0x332
push 0
push edi
call fcn.004b8570
add esp, 0xc
jmp 0x44964b
xor edi, edi
mov dword [ebp - 0x204], edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x20c], edi
push 0x103
push dword [ebp - 0x210]
push edi
call fcn.004c59d0
add esp, 0xc
mov dword [ebp - 0x200], 0
lea eax, [ebp - 0x200]
push eax
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
add edi, 0x15a
mov ecx, 0x74
lea esi, [ebp - 0x1f0]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, dword [ebp - 0x200]
add eax, edx
adc ecx, 0
mov esi, dword [ebp - 0x204]
mov dword [esi + 0x32a], eax
mov dword [esi + 0x32e], ecx
mov eax, dword [ebp - 0x14c]
mov dword [esi + 0x124], eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.0044c600
mov dword [esi + 0x120], eax
push 0x32
lea eax, [ebp - 0x1cc]
push eax
lea eax, [esi + 0x128]
push eax
call fcn.004c59d0
add esp, 0x10
mov byte [esi + 0x159], 0
mov dword [esi + 0x11c], 1
mov edi, dword [ebp - 0x208]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44973f
mov ebx, 6
mov dword [ebp - 0x1f4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44973f
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
mov ebx, 2
jne 0x449739
mov ebx, 1
mov dword [ebp - 0x1f4], ebx
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x44974b
mov dword [eax], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x44977a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4566
mov esp, ebp
pop ebp
ret