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

Disassembly:
push 0x3dc
mov eax, 0x4ff8ac
call fcn.004da01f
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3e4], ecx
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d0], ebx
xor esi, esi
call fcn.0043b8cb
push eax
lea ecx, [ebp - 0x94]
call fcn.0043af84
mov dword [ebp - 4], ebx
call fcn.0043b8d1
mov edi, eax
mov ecx, eax
call fcn.0043ac70
lea ecx, [ebp - 0x94]
test al, al
je 0x43ea9f
push dword [ebp - 0x3d8]
call fcn.0043ad09
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea ecx, [ebp - 0x94]
call fcn.0043ab5c
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43ea46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0043ab42
jmp 0x43ec1c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43ea32
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.004d4abd
pop ecx
push ebx
lea ecx, [ebp - 0x3e0]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x3d0], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3e0], esi
je 0x43ec05
push dword [ebp - 0x3d0]
call fcn.004d6991
pop ecx
mov dword [ebp - 0x3d0], ebx
jmp 0x43ea32
push edi
call fcn.0043acec
call fcn.0043b8dd
test al, al
je 0x43eab7
call fcn.0043b8e3
mov edi, eax
jmp 0x43eb1b
call fcn.0043b8d7
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043af84
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043ab5c
push eax
call fcn.00471209
pop ecx
pop ecx
mov edi, eax
push edi
lea ecx, [ebp - 0x94]
call fcn.0043ab5c
push eax
call fcn.0046c874
pop ecx
pop ecx
mov dword [ebp - 0x3d4], eax
cmp edi, ebx
je 0x43eb07
push edi
call fcn.004d6991
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0043ab42
mov edi, dword [ebp - 0x3d4]
cmp edi, ebx
je 0x43ea32
push 0xffffffffffffffff
push dword [ebp - 0x3d8]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3dc], ebx
call fcn.0043af60
push 0x50ab28
push 0x50ab24
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0043b0e4
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0043ab5c
push eax
push edi
call fcn.0046adee
add esp, 0x14
test eax, eax
je 0x43eb91
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call fcn.0043ab42
jmp 0x43ea32
mov esi, dword [ebp - 0x1a0]
cmp esi, ebx
je 0x43eb7e
push esi
call fcn.004d4abd
push esi
push eax
push dword [ebp - 0x3dc]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.0046c8db
add esp, 0x14
cmp eax, ebx
je 0x43ebe7
cmp eax, 0x600
je 0x43ebe7
push dword [ebp - 0x3d0]
call fcn.004d6991
pop ecx
mov dword [ebp - 0x3d0], ebx
call fcn.0043b8dd
test al, al
jne 0x43eb7e
push edi
call fcn.0046c8f6
pop ecx
jmp 0x43eb7e
call fcn.0043b8dd
test al, al
jne 0x43ebf7
push edi
call fcn.0046c8f6
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call fcn.0043ab42
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0043ab42
cmp dword [ebp - 0x3d0], ebx
jne 0x43ec92
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ec92
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43ec92
push esi
mov dword [ebp - 0x3d4], ebx
call fcn.004d4abd
pop ecx
push ebx
lea ecx, [ebp - 0x3d4]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x3d0], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], esi
je 0x43ec92
push dword [ebp - 0x3d0]
call fcn.004d6991
pop ecx
mov dword [ebp - 0x3d0], ebx
lea eax, [ebp - 0x3e8]
push eax
push ebx
push esi
push dword [ebp - 0x3d0]
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
push dword [ebp - 0x3d0]
mov esi, eax
call fcn.004d6991
pop ecx
mov ecx, dword [ebp - 0x3e4]
push esi
add ecx, 0x50c
call fcn.0043a992
call fcn.004da0a2
ret 4