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

Disassembly:
push 0x360
mov eax, 0x5205c6
call fcn.004e63cc
mov dword [ebp - 0x36c], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x84
push eax
mov edi, eax
mov dword [ebp - 0x1c], ebx
mov esi, eax
lea eax, [ebp - 0xac]
push eax
call fcn.004e7ca0
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0x570f98
call fcn.00448c30
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x570f10]
cmp word [eax], cx
jne 0x43e506
test ebx, ebx
je 0x43e47a
push ebx
lea ecx, [ebp - 0xac]
call fcn.00448ca3
xor ecx, ecx
push ecx
push 0x80
push 3
push ecx
push 1
push SysReAllocString
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x368], eax
cmp eax, ebx
jne 0x43e4b6
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xac]
call fcn.00448c55
jmp 0x43e602
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x43e4a3
and dword [ebp - 0x18], 0
push esi
call fcn.004e582b
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x43e5f0
push edi
call fcn.004e5256
pop ecx
xor edi, edi
jmp 0x43e4a3
push eax
lea ecx, [ebp - 0xac]
call fcn.00448ca3
mov eax, dword [0x575b70]
mov dword [ebp - 0x368], eax
test eax, eax
jne 0x43e529
or ebx, 0xffffffff
jmp 0x43e4a3
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x134]
push 0x84
push 0
push eax
call fcn.004e7ca0
add esp, 0xc
lea ecx, [ebp - 0x134]
or ebx, 0xffffffff
push ebx
push dword [ebp - 0x1c]
call fcn.00448c0c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
push 0x54a820
push 0x5455a4
call fcn.00449038
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x368]
call fcn.004648ca
add esp, 0xc
test eax, eax
je 0x43e5a6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.00448c55
jmp 0x43e4a3
mov esi, dword [ebp - 0x138]
test esi, esi
je 0x43e592
push esi
call fcn.004e582b
mov edx, dword [ebp - 0x18]
mov edi, eax
mov ecx, dword [ebp - 0x368]
push esi
push edi
call fcn.004648fd
add esp, 0xc
test eax, eax
je 0x43e5e1
cmp eax, 0x600
je 0x43e5e1
push edi
call fcn.004e5256
pop ecx
xor edi, edi
jmp 0x43e592
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.00448c55
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xac]
call fcn.00448c55
test edi, edi
jne 0x43e66c
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x368], eax
cmp eax, ebx
je 0x43e66c
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x43e66c
push esi
mov dword [ebp - 0x1c], ebx
call fcn.004e582b
pop ecx
push ebx
mov ebx, dword [ebp - 0x368]
mov edi, eax
lea eax, [ebp - 0x1c]
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 - 0x1c], esi
je 0x43e66c
push edi
call fcn.004e5256
pop ecx
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.004e5256
pop ecx
mov ecx, dword [ebp - 0x36c]
push esi
add ecx, 0x4f8
call fcn.00448a76
call fcn.004e6376
ret 4