Function at 0x41a174
Capabilities:
Read file on windows

Disassembly:
push 0xc
mov eax, 0x4a0ec7
call fcn.00475cc9
mov ebx, ecx
mov esi, 0x100000
push esi
call fcn.00476994
mov edi, eax
test edi, edi
pop ecx
jne 0x41a1cf
call fcn.0044bc9f
push eax
lea ecx, [ebp + 8]
call fcn.0044be7a
xor esi, esi
push 0xf02b
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00401566
push esi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004535b7
lea ecx, [esi - 0x10]
call fcn.004010ea
xor eax, eax
inc eax
jmp 0x41a3b5
push 0x4ab9a8
push str.fontfile.bin
call fcn.0047a909
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x41a1f7
push edi
call fcn.00478435
mov eax, 0x1000
jmp 0x41a3b4
push esi
push 0
push edi
call fcn.004762a0
mov eax, dword [ebp + 8]
lea esi, [ebx + eax*4 + 0x4454502]
mov eax, dword [esi]
push 0x14
push dword [eax + 0xd]
push edi
call fcn.004765e0
mov eax, dword [esi]
inc dword [eax + 0x11]
mov eax, dword [esi]
add eax, 0x11
push 4
push eax
lea eax, [edi + 0x14]
push eax
call fcn.004765e0
add esp, 0x24
cmp dword [ebx + 0x4459682], 0x2100000
push dword [ebp - 0x10]
push 1
jae 0x41a2a3
lea eax, [ebp - 0x18]
push 6
push eax
call fcn.00479dbd
add esp, 0x10
cmp word [ebp - 0x14], 1
jne 0x41a36c
cmp dword [ebp - 0x18], 0xa
jbe 0x41a36c
push 0
push 0
push dword [ebp - 0x10]
call fcn.0047985d
push dword [ebp - 0x10]
lea eax, [edi + 0x18]
push 1
push dword [ebp - 0x18]
push eax
call fcn.00479dbd
mov eax, dword [esi]
mov ecx, dword [eax + 9]
mov eax, dword [eax + 0xd]
sub ecx, 0x18
add eax, 0x18
push ecx
push eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi + 0x18]
push eax
call fcn.004765e0
mov ecx, dword [ebp - 0x18]
jmp 0x41a31b
lea eax, [ebp + 8]
push 4
push eax
call fcn.00479dbd
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0x18
add esp, 0x10
cmp ecx, 5
je 0x41a2c7
cmp ecx, 7
jne 0x41a36c
mov ebx, 0xffffff
and eax, ebx
cmp eax, 0xa
jbe 0x41a36c
push 0
push 0
push dword [ebp - 0x10]
call fcn.0047985d
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
and eax, ebx
push 1
push eax
lea eax, [edi + 0x18]
push eax
call fcn.00479dbd
mov eax, dword [esi]
mov ecx, dword [eax + 9]
mov eax, dword [eax + 0xd]
add eax, 0x18
sub ecx, 0x18
push ecx
push eax
mov eax, dword [ebp + 8]
and eax, ebx
lea eax, [eax + edi + 0x18]
push eax
call fcn.004765e0
mov ecx, dword [ebp + 8]
and ecx, ebx
mov eax, dword [esi]
add dword [eax + 9], ecx
mov eax, dword [esi]
add esp, 0x28
push 3
add eax, 9
push eax
push edi
call fcn.004765e0
mov eax, dword [esi]
push dword [eax + 0xd]
call fcn.00478435
mov eax, dword [esi]
push dword [eax + 9]
call fcn.00476994
mov ecx, dword [esi]
mov dword [ecx + 0xd], eax
mov eax, dword [esi]
push dword [eax + 9]
push 0
push dword [eax + 0xd]
call fcn.004762a0
mov esi, dword [esi]
push dword [esi + 9]
push edi
push dword [esi + 0xd]
call fcn.004765e0
add esp, 0x2c
jmp 0x41a3a3
call fcn.0044bc9f
push eax
lea ecx, [ebp + 8]
call fcn.0044be7a
push 0xf010
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.00401566
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.004535b7
lea ecx, [esi - 0x10]
call fcn.004010ea
push edi
call fcn.00478435
push dword [ebp - 0x10]
call fcn.00478828
pop ecx
xor eax, eax
pop ecx
call fcn.00475d68
ret 4