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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4393bb
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.00403280
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0
push 0x440ad0
lea ecx, [ebp - 0x14]
call fcn.004023b0
mov byte [ebp - 4], 1
push 0
push 0x8000000
push 3
push 0
push 7
push SysReAllocString
lea ecx, [ebp + 0xc]
call fcn.00402aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x434e06
push 0x440ad4
mov ecx, dword [ebp + 8]
call fcn.00401340
mov eax, dword [ebp - 0x4c]
or eax, 1
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004013c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004013c0
mov eax, dword [ebp + 8]
jmp 0x43503e
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 0x434ff4
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.00403b12
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.0041fb00
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 0x434eaa
cmp dword [ebp - 0x50], 0x66
je 0x434f42
cmp dword [ebp - 0x50], 0x67
je 0x434fa6
jmp 0x434fdb
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.00403b12
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.0041fb00
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 0x440ad8
lea edx, [ebp - 0x14]
push edx
call fcn.00401b20
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00403b07
add esp, 4
mov dword [ebp - 0x34], 0
jmp 0x434fdb
mov edx, dword [ebp - 0x30]
lea eax, [edx + edx + 2]
push eax
call fcn.00420b5a
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.0041fb00
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 0x440ae0
lea edx, [ebp - 0x14]
push edx
call fcn.00401b20
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
call fcn.00420a7d
add esp, 4
jmp 0x434fdb
mov ecx, dword [ebp - 0x24]
push ecx
push 0x440ae8
lea edx, [ebp - 0x14]
push edx
call fcn.00401b20
add esp, 0xc
push 0
lea ecx, [ebp - 0x14]
call fcn.004039d0
movzx eax, ax
cmp eax, 0xfeff
jne 0x434fdb
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00403340
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.00403b07
add esp, 4
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x43500b
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.00402890
mov edx, dword [ebp - 0x4c]
or edx, 1
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004013c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004013c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret