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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x464], ecx
mov eax, dword [str.Readme.ini]
mov dword [ebp - 0x438], eax
mov ecx, dword [0x4bc814]
mov dword [ebp - 0x434], ecx
mov edx, dword [0x4bc818]
mov dword [ebp - 0x430], edx
mov eax, dword [0x4bc81c]
mov dword [ebp - 0x42c], eax
mov ecx, dword [0x4bc820]
mov dword [ebp - 0x428], ecx
mov dx, word [0x4bc824]
mov word [ebp - 0x424], dx
mov ecx, 0x5376f0
call fcn.00411a00
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00488f19
add esp, 8
push 0x5c
lea ecx, [ebp - 0x418]
push ecx
call fcn.00403720
add esp, 8
mov dword [ebp - 4], eax
lea edx, [ebp - 0x418]
push edx
call fcn.004885d6
add esp, 4
lea eax, [ebp + eax*2 - 0x41a]
cmp dword [ebp - 4], eax
jne 0x42dc22
mov ecx, dword [ebp - 4]
mov word [ecx], 0
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00488f19
add esp, 8
push 0x4bc828
lea ecx, [ebp - 0x210]
push ecx
call fcn.00488eef
add esp, 8
lea edx, [ebp - 0x438]
push edx
push 0x4bc82c
lea eax, [ebp - 0x418]
push eax
call fcn.004885d6
add esp, 4
lea ecx, [ebp + eax*2 - 0x418]
push ecx
call fcn.0048aa67
add esp, 0xc
mov dword [ebp - 0x440], 0xffffffff
mov ecx, 0x5376f0
call fcn.0042ad20
mov word [ebp - 0x420], ax
mov ecx, 0x5376f0
call fcn.00410880
mov word [ebp - 0x41e], ax
mov ecx, 0x5376f0
call fcn.00410840
mov word [ebp - 0x41c], ax
mov ecx, 0x5376f0
call fcn.0042ad00
mov word [ebp - 0x41a], ax
lea edx, [ebp - 0x210]
push edx
call fcn.004885d6
add esp, 4
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x444], 0
jmp 0x42dcf5
mov eax, dword [ebp - 0x444]
add eax, 1
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 4
jge 0x42dead
mov ecx, dword [ebp - 0x444]
movzx edx, word [ebp + ecx*2 - 0x420]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [0x53d218]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
mov dword [ebp - 0x448], eax
mov eax, 0x104
sub eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0x43c]
lea eax, [ebp + edx*2 - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.0041e550
add esp, 0x10
test eax, eax
je 0x42dea8
push 0
push 0x80
push 3
push 0
push 1
push bind
lea edx, [ebp - 0x210]
push edx
call dword [0x4e5664]
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
je 0x42dda2
cmp dword [ebp - 0x458], 0xffffffff
jne 0x42dda7
jmp 0x42dce6
push 0
mov eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047645c
add esp, 4
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x450], eax
push 0
lea ecx, [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42de2e
mov edx, dword [ebp - 0x44c]
shr edx, 1
mov eax, dword [ebp - 0x450]
mov word [eax + edx*2], 0
jmp 0x42de39
mov ecx, dword [ebp - 0x450]
mov word [ecx], 0
mov edx, dword [ebp - 0x458]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x450]
movzx ecx, word [eax]
cmp ecx, 0xfeff
jne 0x42de68
mov edx, dword [ebp - 0x450]
add edx, 2
mov dword [ebp - 0x468], edx
jmp 0x42de74
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
push ecx
push 0x4a2
mov ecx, dword [ebp - 0x464]
call fcn.0047bd95
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x460], edx
mov eax, dword [ebp - 0x460]
push eax
call fcn.00476457
add esp, 4
jmp 0x42dead
jmp 0x42dce6
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret