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

Disassembly:
push 0xffffffffffffffff
push 0x685ce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0044d5a0
mov eax, dword [esp + 0x48]
push 0x10
push 0x5622
xor ebx, ebx
push 2
push ebx
push eax
call fcn.00450560
mov cl, byte [esp + 0x5c]
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], cl
mov edi, 0x6d40f0
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
mov dword [esp + 0x1c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00403350
test al, al
je 0x44cf9c
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6d40f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
cmp eax, ebx
je 0x44d15f
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x44cfb9
mov eax, 0x6a3560
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44cff6
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x44cfe3
mov eax, 0x6a3560
push eax
push 0x6d40b4
call fcn.0044a330
add esp, 8
jmp 0x44d15f
lea ecx, [esp + 0x18]
push 0x6d40ac
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00408440
add esp, 0xc
lea eax, [esp + 0x10]
mov byte [esp + 0x40], 1
push eax
push edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ebp, eax
cmp ebp, ebx
ja 0x44d05a
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x44d03c
mov eax, 0x6a3560
push eax
call fcn.00674ba7
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 0
push 1
call fcn.004031c0
jmp 0x44d15f
push ebp
call fcn.00673b05
add esp, 4
lea ecx, [esp + 0x48]
mov esi, eax
mov dword [esp + 0x48], ebx
push ebx
push ecx
push ebp
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call ebx
push 0x1608
push 0x6081
push 0x816
push ebp
push esi
call fcn.0044f670
mov eax, dword [esp + 0x40]
add esp, 0x14
test eax, eax
jne 0x44d0a7
mov eax, 0x6a3560
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
lea edx, [esp + 0x48]
push 0
push edx
mov edi, eax
push ebp
push esi
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
push edi
call ebx
push esi
call fcn.006713a0
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x44d0eb
mov eax, 0x6a3560
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
lea ecx, [eax + 4]
call fcn.0044e310
push esi
mov edi, eax
call ebx
test edi, edi
jne 0x44d137
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x44d129
mov eax, 0x6a3560
push eax
push 0x6d4088
call fcn.0044a330
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x44d144
mov eax, 0x6a3560
push eax
call fcn.00674ba7
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 0
push 1
call fcn.004031c0
xor ebx, ebx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
cmp eax, ebx
mov dword [esp + 0x34], 0xffffffff
pop ebx
je 0x44d19f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x44d196
cmp al, 0xff
je 0x44d196
dec al
mov byte [ecx], al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4