Function at 0x419d4e
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x4a0e9c
call fcn.00475cc9
mov esi, ecx
mov dword [ebp - 0x28], esi
xor edi, edi
push 0x100000
mov dword [ebp - 0x14], edi
call fcn.00476994
mov ebx, eax
cmp ebx, edi
pop ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
jne 0x419db4
call fcn.0044bc9f
push eax
lea ecx, [ebp - 0x24]
call fcn.0044be7a
push 0xf02b
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401566
mov esi, dword [ebp - 0x24]
push edi
push edi
push esi
call fcn.004535b7
lea ecx, [esi - 0x10]
call fcn.004010ea
xor eax, eax
inc eax
jmp 0x41a129
push 0x4ab9a8
push str.fontfile.bin
call fcn.0047a909
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
jne 0x419ddc
push ebx
call fcn.00478435
mov eax, 0x1000
jmp 0x41a128
mov eax, dword [ebp + 8]
push 0x18
pop edi
lea esi, [esi + eax*4 + 0x4454502]
mov eax, dword [esi]
mov eax, dword [eax + 9]
push 0x100000
push 0
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], eax
call fcn.004762a0
mov eax, dword [esi]
push edi
push dword [eax + 0xd]
push ebx
call fcn.004765e0
mov eax, dword [ebp - 0x28]
add esp, 0x18
cmp dword [eax + 0x4459682], 0x2100000
push 4
jae 0x419f7d
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004765e0
mov eax, dword [ebp - 0x20]
add eax, 0xffffffea
add esp, 0xc
cmp eax, edi
jbe 0x419f1c
cmp dword [ebp - 0x14], 0
je 0x419f1c
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push 6
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004765e0
add esp, 0xc
cmp word [ebp - 0x2c], 1
jne 0x419ed5
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push 1
push 6
push eax
call fcn.00479dbd
add esp, 0x10
cmp word [ebp - 0x2c], 1
jne 0x419f3f
cmp dword [ebp - 0x30], 0xa
jbe 0x419f3f
push 0
push 0
push dword [ebp - 0x18]
call fcn.0047985d
push dword [ebp - 0x18]
lea eax, [ebx + edi]
push 1
push dword [ebp - 0x30]
push eax
call fcn.00479dbd
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi]
sub ecx, dword [ebp - 0x14]
push 3
add dword [eax + 9], ecx
mov eax, dword [esi]
add eax, 9
push eax
push ebx
call fcn.004765e0
add esp, 0x28
add edi, dword [ebp - 0x30]
jmp 0x419ef0
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
push dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
push eax
lea eax, [ebx + edi]
push eax
call fcn.004765e0
add esp, 0xc
add edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004765e0
mov eax, dword [ebp - 0x20]
add eax, 0xffffffea
add esp, 0xc
cmp dword [ebp - 0x10], eax
jb 0x419e47
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push 0x16
push eax
lea eax, [ebx + edi]
push eax
call fcn.004765e0
add dword [ebp - 0x10], 0x16
add esp, 0xc
add edi, 0x16
jmp 0x41a0bc
call fcn.0044bc9f
push eax
lea ecx, [ebp - 0x24]
call fcn.0044be7a
xor esi, esi
inc esi
push 0xf02e
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401566
mov edi, dword [ebp - 0x24]
push 0
push 0
push edi
call fcn.004535b7
lea ecx, [edi - 0x10]
mov dword [ebp - 0x24], esi
call fcn.004010ea
jmp 0x41a116
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004762a0
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, 0x18
push 3
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004765e0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
add esp, 0x18
cmp eax, 0x18
jbe 0x41a0bc
mov ebx, 0xffffff
cmp dword [ebp - 0x14], 0
je 0x41a0b9
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push 4
push eax
lea eax, [ebp + 8]
push eax
call fcn.004765e0
mov eax, dword [ebp + 8]
shr eax, 0x18
add esp, 0xc
cmp eax, 5
je 0x41a003
cmp eax, 7
je 0x41a003
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edi
push eax
call fcn.004765e0
add esp, 0xc
add edi, dword [ebp - 0x14]
jmp 0x41a080
push dword [ebp - 0x18]
lea eax, [ebp + 8]
push 1
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 0x41a02c
cmp ecx, 7
jne 0x41a131
and eax, ebx
cmp eax, 0xa
jbe 0x41a131
push 0
push 0
push dword [ebp - 0x18]
call fcn.0047985d
push dword [ebp - 0x18]
mov eax, dword [ebp + 8]
and eax, ebx
push 1
push eax
mov eax, dword [ebp - 0x1c]
add eax, edi
push eax
call fcn.00479dbd
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
and ecx, ebx
sub ecx, dword [ebp - 0x14]
push 3
add dword [eax + 9], ecx
mov eax, dword [esi]
add eax, 9
push eax
push dword [ebp - 0x1c]
call fcn.004765e0
mov eax, dword [ebp + 8]
and eax, ebx
add esp, 0x28
add edi, eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004762a0
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push 3
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004765e0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
add esp, 0x18
cmp dword [ebp - 0x10], eax
jb 0x419fb3
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x10], eax
jae 0x41a0dd
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd]
add eax, dword [ebp - 0x10]
push eax
lea eax, [ebx + edi]
push eax
call fcn.004765e0
add esp, 0xc
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 ebx
push dword [esi + 0xd]
call fcn.004765e0
add esp, 0x20
push ebx
call fcn.00478435
push dword [ebp - 0x18]
call fcn.00478828
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
call fcn.00475d68
ret 4
call fcn.0044bc9f
push eax
lea ecx, [ebp - 0x24]
call fcn.0044be7a
push 0xf02e
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00401566
mov esi, dword [ebp - 0x24]
push 0
push 0
push esi
call fcn.004535b7
lea ecx, [esi - 0x10]
mov dword [ebp - 0x24], 1
call fcn.004010ea
mov ebx, dword [ebp - 0x1c]
jmp 0x41a116