Function at 0x41653e
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
mov eax, dword [0x4cb598]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
call dword [0x4cc94c]
push esi
push dword [ebp + 8]
call fcn.0041553e
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x416573
push eax
call fcn.0047a3cc
call fcn.004140cc
cmp eax, ebx
jne 0x416804
cmp dword [0x4cce58], ebx
push edi
je 0x4165de
xor edi, edi
mov esi, 0x4dde9c
mov ecx, dword [0x4ddea0]
cmp ecx, ebx
je 0x4165de
mov eax, dword [0x4ddea4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4165de
push edi
mov ecx, esi
call fcn.00402926
push dword [eax]
push edi
push str._n_Language__d_:_s
call fcn.0044dc0a
add esp, 0xc
push edi
mov ecx, esi
call fcn.00402926
push dword [eax]
call fcn.0041611a
cmp eax, ebx
pop ecx
jne 0x4165d7
inc edi
jmp 0x416590
mov esi, eax
jmp 0x4167fc
cmp dword [0x4dd678], ebx
je 0x416740
lea eax, [ebp - 0x404]
push eax
call fcn.00413853
pop ecx
lea eax, [ebp - 0x404]
push eax
push 0x400
lea eax, [ebp - 0xc04]
push eax
mov esi, str.none
push esi
push str.ExcludeLang
push str.Misc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xc04]
push esi
push eax
call fcn.004755e6
test eax, eax
pop ecx
pop ecx
je 0x4166ba
mov esi, 0x4a6eb4
lea eax, [ebp - 0xc04]
push esi
push eax
call fcn.004761a8
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x4166ba
push edi
call fcn.00475882
lea eax, [eax + eax + 2]
push eax
call fcn.00476994
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc08], ebx
je 0x41671e
push edi
push ebx
call fcn.00476279
pop ecx
pop ecx
lea eax, [ebp - 0xc08]
push eax
mov ecx, 0x4ddecc
call fcn.004154e9
push ebx
call fcn.00475882
cmp dword [0x4dde88], eax
pop ecx
jae 0x4166a8
push ebx
call fcn.00475882
pop ecx
mov dword [0x4dde88], eax
push esi
push 0
call fcn.004761a8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x416651
xor ebx, ebx
xor edi, edi
mov esi, 0x4ddebc
mov ecx, dword [0x4ddec0]
cmp ecx, ebx
je 0x416740
mov eax, dword [0x4ddec4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x416740
push edi
mov ecx, esi
call fcn.00402926
push dword [eax]
call fcn.00414be7
test eax, eax
pop ecx
jne 0x416731
push edi
mov ecx, esi
call fcn.00402926
push dword [eax]
push edi
push str._n_String_Pack_File___d_:_s_parsed_Successfully
call fcn.0044dc0a
add esp, 0xc
push edi
mov ecx, esi
call fcn.00402926
push dword [eax]
push str._n_String_Packs_from_File:_s_Included_Successfully
call fcn.00479727
pop ecx
pop ecx
inc edi
jmp 0x4166c1
push str._n_Memory_Allocation_Error..Failed_to_allocate_Memory
call fcn.00479727
pop ecx
push 0xc
pop esi
jmp 0x4167fc
push str._n_Error:Parsing_String_Packs_Failed
call fcn.00479727
pop ecx
push 0x13
jmp 0x41672b
cmp dword [0x4dd67c], ebx
je 0x41675d
call fcn.004163c8
mov esi, eax
cmp esi, ebx
je 0x41675d
push str._n_Error:Parsing_the_Uni_File_Failed
jmp 0x4167f6
cmp dword [0x4dd26c], ebx
jne 0x41677d
cmp dword [0x4cce58], ebx
jne 0x41677d
cmp dword [0x4dd678], ebx
jne 0x41677d
cmp dword [0x4dd67c], ebx
je 0x416793
call fcn.00414eac
mov esi, eax
cmp esi, ebx
jne 0x4167f1
push str._nSuccess:Temp_File_Generated__
call fcn.00479727
pop ecx
cmp dword [0x4dd268], ebx
je 0x4167be
call fcn.00414a68
test eax, eax
jne 0x4167de
cmp dword [0x4dde94], ebx
je 0x4167b3
push str._n_Font_Pack_Generated_with_missing_glyphs.__n
jmp 0x4167b8
push str._n_Success:Font_Pack_Generated____n
call fcn.00479727
pop ecx
call fcn.004150ff
cmp dword [0x4c8934], ebx
je 0x4167ed
cmp dword [0x4dde94], ebx
je 0x4167ed
push 8
mov dword [0x4dde94], ebx
pop eax
jmp 0x416803
push str._n_Error:_Font_Pack_Generation_Failed__n
call fcn.00479727
xor esi, esi
inc esi
jmp 0x4167fb
xor eax, eax
jmp 0x416803
push str._nError:Writing_Temp_File_Failed
call fcn.00479727
pop ecx
call fcn.004150ff
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00475cba
leave
ret