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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1081
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x4e5114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3e8], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push 0x84
xor esi, esi
mov dword [ebp - 0x3e4], ebx
push esi
push eax
xor edi, edi
call fcn.0048e340
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 0x4e7c00
call fcn.004273b0
mov ecx, 0x4e7c88
mov dword [ebp - 4], esi
call fcn.004283e0
lea ecx, [ebp - 0xa4]
test al, al
je 0x42a3dc
push ebx
call fcn.004279d0
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp - 0xa4]
call fcn.00427920
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42a363
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], eax
call fcn.00427610
jmp 0x42a5f3
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x42a389
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00427610
jmp 0x42a5f3
push esi
mov dword [ebp - 0x14], 0
call fcn.0048b5fa
add esp, 4
mov edi, eax
lea eax, [ebp - 0x14]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x42a5dd
push edi
call fcn.0048b603
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
xor edi, edi
call fcn.00427610
jmp 0x42a5f3
push 0x4e7c88
call fcn.004279b0
cmp byte [section..data], 0
je 0x42a3fa
mov ebx, dword [0x4e7bf8]
jmp 0x42a4cd
push 0x84
lea eax, [ebp - 0x1ac]
push 0
push eax
call fcn.0048e340
add esp, 0xc
lea ecx, [ebp - 0x1ac]
push 0x4e7d10
call fcn.004273b0
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.00427920
mov dword [ebp - 0x3e0], eax
test eax, eax
je 0x42a48e
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x14], eax
inc eax
push eax
mov dword [ebp - 0x18], eax
call fcn.0048b5fa
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42a48e
push dword [ebp - 0x18]
push 0
push ebx
call fcn.0048e340
add esp, 0xc
push 0
push 0
push dword [ebp - 0x14]
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x3e0]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x42a490
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00427920
push eax
call fcn.00439d30
add esp, 8
mov dword [ebp - 0x3e0], eax
test ebx, ebx
je 0x42a4b8
push ebx
call fcn.0048b603
add esp, 4
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0
call fcn.00427610
mov ebx, dword [ebp - 0x3e0]
test ebx, ebx
jne 0x42a4e8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00427610
jmp 0x42a5f3
push 0x84
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1c], 0
push 0
push eax
call fcn.0048e340
add esp, 0xc
lea ecx, [ebp - 0x128]
push 0xffffffffffffffff
push dword [ebp - 0x3e4]
call fcn.00427480
push 0x4b59f8
push 0x4d7d4c
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.004286e0
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea ecx, [ebp - 0x128]
call fcn.00427920
push eax
push ebx
call fcn.00439450
add esp, 0x14
test eax, eax
je 0x42a576
lea ecx, [ebp - 0x128]
call fcn.00427610
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00427610
jmp 0x42a5f3
mov esi, dword [ebp - 0x1b0]
test esi, esi
je 0x42a557
push esi
call fcn.0048b5fa
push esi
mov edi, eax
push edi
push dword [ebp - 0x1c]
push ebx
call fcn.0043a330
add esp, 0x14
test eax, eax
je 0x42a5c0
cmp eax, 0x600
je 0x42a5c0
push edi
call fcn.0048b603
add esp, 4
xor edi, edi
cmp byte [section..data], 0
jne 0x42a557
push ebx
call fcn.00438fb0
add esp, 4
jmp 0x42a557
cmp byte [section..data], 0
jne 0x42a5d2
push ebx
call fcn.00438fb0
add esp, 4
lea ecx, [ebp - 0x128]
call fcn.00427610
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00427610
test edi, edi
jne 0x42a65f
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x3e4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42a65f
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x42a65f
push esi
mov dword [ebp - 0x18], 0
call fcn.0048b5fa
add esp, 4
mov edi, eax
lea eax, [ebp - 0x18]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x42a65f
push edi
call fcn.0048b603
add esp, 4
xor edi, edi
lea eax, [ebp - 0x20]
push eax
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push edi
mov esi, eax
call fcn.0048b603
mov ecx, dword [ebp - 0x3e8]
add esp, 4
add ecx, 0x508
push esi
call fcn.00427a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b588
mov esp, ebp
pop ebp
ret 4