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

Disassembly:
push 0xffffffffffffffff
push 0x5a16d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x40]
cmp edi, ebx
je 0x414cd6
cmp dword [esp + 0x44], ebx
je 0x414cd6
mov eax, dword [0x5f8a44]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f8a44
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x40], esi
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
mov dword [esp + 0x4c], ebx
push edi
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x414a90
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
lea ecx, [esp + 0x44]
call fcn.00415350
cmp eax, ebx
je 0x414a8c
push ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x40]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0056ec1b
add esp, 8
cmp eax, ebx
jl 0x414a82
cmp eax, dword [esi - 8]
jg 0x414a82
xor edx, edx
mov dword [esi - 0xc], eax
push edi
mov word [esi + eax*2], dx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414a90
push 0x80070057
call fcn.00416180
mov esi, dword [esp + 0x40]
cmp dword [esi - 0xc], ebx
je 0x414c83
cmp dword [esp + 0x18], ebx
je 0x414c83
mov eax, dword [0x5f8a44]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f8a44
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x34], 1
cmp dword [esi - 4], 1
jle 0x414ad5
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x44]
call fcn.00415e20
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push ecx
push esi
push ebx
push 0xfde9
call edi
mov esi, eax
cmp esi, ebx
jle 0x414b27
push esi
lea ecx, [esp + 0x18]
call fcn.00415350
cmp eax, ebx
je 0x414b18
mov edx, dword [esp + 0x18]
push esi
push eax
push edx
lea ecx, [esp + 0x4c]
call fcn.00415db0
push eax
push ebx
push 0xfde9
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00415dd0
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.00416070
mov eax, dword [0x5f8a44]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f8a44
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov bl, 2
mov byte [esp + 0x34], bl
cmp dword [ebp - 0xc], 0
jl 0x414c1a
push str._language_font_face_
push ebp
call fcn.0056b0a4
add esp, 8
test eax, eax
je 0x414c1a
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
je 0x414c1a
push eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.00415250
cmp eax, 0xffffffff
je 0x414c1a
push eax
push str.face_
lea ecx, [esp + 0x1c]
call fcn.00415250
mov esi, eax
cmp esi, 0xffffffff
je 0x414c1a
add esi, 6
push esi
push 0x5c9158
lea ecx, [esp + 0x1c]
call fcn.00415250
cmp eax, 0xffffffff
je 0x414c1a
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00415290
lea edx, [esp + 0x24]
push edx
push 0x5c915c
lea eax, [esp + 0x30]
mov byte [esp + 0x3c], 3
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], 0
call fcn.00415120
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 4
call fcn.00415500
lea ecx, [esp + 0x28]
call fcn.00423040
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00423040
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
push esi
call fcn.004160f0
mov edi, dword [esp + 0x40]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x34], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c51
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebp - 0x10]
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
jmp 0x414ca7
mov edx, dword [0x5f8a44]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f8a44
call eax
mov edi, dword [esp + 0x3c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x34], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414cc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [0x5f8a44]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f8a44
call eax
mov ecx, eax
mov eax, dword [esp + 0x3c]
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret