Function at 0x44c4e0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esi + 0x264]
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0x8c
lea eax, [esp + 0x44]
push ebx
push eax
mov dword [esi + 0x260], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
call fcn.004f9810
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov eax, 0xd41d41d5
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 7
push ebx
mov edi, ecx
call fcn.004f4ccd
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edx
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], eax
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x44c587
mov ebx, dword [esp + 0x24]
jmp 0x44c58a
or ebx, 0xffffffff
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x44c5aa
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
jmp 0x44c5b2
mov dword [esp + 8], 0xffffffff
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x44c5ce
mov ecx, dword [esp + 0x1c]
jmp 0x44c5d1
or ecx, 0xffffffff
mov eax, dword [esp + 8]
mov edx, ebx
shl edx, 4
sub edx, ebx
lea eax, [eax + edx*4]
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [ecx + edx*4]
mov ecx, dword [esi + 0x1e0]
cmp ecx, eax
jle 0x44c5f8
mov eax, 0x15180
sub eax, ecx
test edi, edi
mov ecx, dword [esi + 0x260]
mov dword [esi + 0x1e4], eax
push 0
jle 0x44c6ef
imul edi, edi, 0x8c
push 0
add edi, 0xffffff74
push edi
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x260]
push 0
lea edx, [esp + 0x1c]
push edx
push 0x8c
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x64
lea ecx, [esi + 0x1fc]
lea edx, [esp + 0x68]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x44c66f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x44c657
test eax, eax
je 0x44c6cc
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x44c6be
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x44c6cc
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x44c6be
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x44c6cc
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x44c6be
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x44c6cc
movzx edi, byte [edx]
movzx edx, byte [ecx]
sub edi, edx
je 0x44c6cc
test edi, edi
mov eax, 1
jg 0x44c6ce
or eax, 0xffffffff
jmp 0x44c6ce
xor eax, eax
test eax, eax
mov ecx, dword [esi + 0x260]
push 0
jne 0x44c6ef
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x260]
push 0
lea edx, [esp + 0x10]
push edx
push 0x8c
lea eax, [esi + 0x1d4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xd4]
pop edi
pop ebx
xor ecx, esp
mov dword [esi + 0x260], 0xffffffff
call fcn.004f2719
mov esp, ebp
pop ebp
ret