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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4393cb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x44c654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
call fcn.00403180
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0
push 0x440a04
lea ecx, [ebp - 0x14]
call fcn.00402320
mov byte [ebp - 4], 1
push 0
push 0x8000000
push 3
push 0
push 7
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.00402810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x434e16
push 0x440a08
mov ecx, dword [ebp + 8]
call fcn.004012e0
mov eax, dword [ebp - 0x4c]
or eax, 1
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ae0
mov eax, dword [ebp + 8]
jmp 0x43504e
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x435004
mov edx, dword [ebp - 0x20]
add edx, 2
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403afd
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041faf0
add esp, 0xc
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov word [eax + edx*2], cx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0x65
je 0x434eba
cmp dword [ebp - 0x50], 0x66
je 0x434f52
cmp dword [ebp - 0x50], 0x67
je 0x434fb6
jmp 0x434feb
mov eax, dword [ebp - 0x30]
add eax, 2
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403afd
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + ecx + 4]
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.0041faf0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x34]
push ecx
push 0x440a0c
lea edx, [ebp - 0x14]
push edx
call fcn.004035c0
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00403b08
add esp, 4
mov dword [ebp - 0x34], 0
jmp 0x434feb
mov edx, dword [ebp - 0x30]
lea eax, [edx + edx + 2]
push eax
call fcn.00420b4a
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x38]
push eax
call fcn.0041faf0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x38]
push ecx
push 0x440a14
lea edx, [ebp - 0x14]
push edx
call fcn.004035c0
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
call fcn.00420a6d
add esp, 4
jmp 0x434feb
mov ecx, dword [ebp - 0x24]
push ecx
push 0x440a1c
lea edx, [ebp - 0x14]
push edx
call fcn.004035c0
add esp, 0xc
push 0
lea ecx, [ebp - 0x14]
call fcn.00403a20
movzx eax, ax
cmp eax, 0xfeff
jne 0x434feb
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00403960
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.00403b08
add esp, 4
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x43501b
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a60
mov edx, dword [ebp - 0x4c]
or edx, 1
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ae0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret