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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2258
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push edi
cmp ebp, 0xffffffff
jne 0x42cec7
push 0x1a4
push 1
call fcn.0042d8e0
add esp, 8
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
xor edi, edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push edi
push edi
push ebp
call esi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call fcn.0042d620
add esp, 0xc
test eax, eax
je 0x42cf0d
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x42cf03
cmp dword [esp + 0x14], edi
je 0x42cf0d
lea edx, [esp + 0x14]
push edi
push edx
push eax
push ebp
call esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x4f4c50
lea ecx, [esp + 0x68]
mov esi, eax
call fcn.00447770
mov eax, esi
lea ecx, [esp + 0x64]
shr eax, 1
inc eax
mov dword [esp + 0x5c], edi
push eax
mov dword [esp + 0x20], edi
call fcn.004482d0
lea ecx, [esi + 2]
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
xor ebx, ebx
and ecx, 3
push ebx
rep stosb byte es:[edi], al
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
or edi, 0xffffffff
lea ecx, [esp + 0x64]
push edi
mov esi, eax
call fcn.004483b0
cmp esi, ebx
pop esi
jne 0x42cf8c
push 0x1bb
push 1
call fcn.0042d8e0
add esp, 8
jmp 0x42d071
lea ecx, [esp + 0xc]
call fcn.0044ae30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0xc]
mov byte [esp + 0x58], 1
push edx
push eax
push ecx
call fcn.0042d7d0
add esp, 0xc
test eax, eax
jne 0x42cff2
push 0x1c3
push 0x12
call fcn.0042d8e0
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], bl
call fcn.0044af00
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], edi
call fcn.00447cd0
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
lea ecx, [esp + 0x1c]
call fcn.0042b5c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 2
call fcn.0044b330
push eax
lea ecx, [esp + 0x20]
call fcn.0042b720
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0042d0e0
add esp, 0x20
test eax, eax
jne 0x42d092
push 0x1cc
push 1
call fcn.0042d8e0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0042b650
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], bl
call fcn.0044af00
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], edi
call fcn.00447cd0
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0042b650
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], bl
call fcn.0044af00
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], edi
call fcn.00447cd0
mov ecx, dword [esp + 0x50]
pop edi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret