Function at 0x4062f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 5
add esp, 0xfffff004
push eax
dec eax
jne 0x4062fd
mov eax, dword [ebp - 4]
add esp, 0xfffff4d8
push esi
push edi
mov esi, 0x43d154
lea edi, [ebp - 0x2808]
mov ecx, 0xa00
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x43f955
lea edi, [ebp - 0x500c]
mov ecx, 0xa00
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x442156
lea edi, [ebp - 0x5410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x442557
lea edi, [ebp - 0x5814]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov dword [ebp - 4], eax
mov esi, 0x442958
lea edi, [ebp - 0x591c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x442a5d
lea edi, [ebp - 0x5a24]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x442b62
lea edi, [ebp - 0x5b2c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push str.language.ini
lea eax, [ebp - 0x5b2c]
push eax
call fcn.00406704
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4063cd
push 0x400
push dword [ebp + 0x10]
lea edx, [ebp - 0x5410]
push edx
call fcn.004299c8
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x4063ea
push 0x400
push dword [ebp + 0x14]
lea ecx, [ebp - 0x5814]
push ecx
call fcn.004299c8
add esp, 0xc
lea eax, [ebp - 0x5b2c]
push eax
push 0x104
lea edx, [ebp - 0x591c]
push edx
push 0x443bab
push str.SELECTED
push str.LANGUAGE
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x5b2c]
push ecx
push 0x104
lea eax, [ebp - 0x5a24]
push eax
push 0x443bc1
push 0x443bb3
lea edx, [ebp - 0x591c]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x5a24]
push ecx
push 0x104
lea eax, [ebp - 0x2808]
push eax
push 0x443bcd
push dword [ebp + 8]
lea edx, [ebp - 0x591c]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x2808]
push ecx
call fcn.00429850
pop ecx
test eax, eax
jne 0x4064bc
lea eax, [ebp - 0x5b2c]
push eax
push 0x104
lea edx, [ebp - 0x5a24]
push edx
push str.language.en
push str.LANGUAGE_FILE
push 0x443bce
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x5a24]
push ecx
push 0x104
lea eax, [ebp - 0x2808]
push eax
push dword [ebp + 8]
push dword [ebp + 8]
push str.ENGLISH
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push 0x443bf8
push dword [ebp + 0xc]
call fcn.00429820
add esp, 8
push 0x443bfa
lea edx, [ebp - 0x2808]
push edx
call fcn.00429955
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x406539
cmp dword [ebp + 0x10], 0
je 0x406539
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
add dword [ebp - 4], 2
push dword [ebp - 4]
lea eax, [ebp - 0x5410]
push eax
lea edx, [ebp - 0x2808]
push edx
push 0x443bfd
lea ecx, [ebp - 0x500c]
push ecx
call fcn.0042c42c
add esp, 0x14
push 0x2800
lea eax, [ebp - 0x500c]
push eax
lea edx, [ebp - 0x2808]
push edx
call fcn.004299c8
add esp, 0xc
push 0x443c04
lea ecx, [ebp - 0x2808]
push ecx
call fcn.00429955
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4065a6
cmp dword [ebp + 0x14], 0
je 0x4065a6
mov eax, dword [ebp - 4]
mov byte [eax], 0
add dword [ebp - 4], 2
push dword [ebp - 4]
lea edx, [ebp - 0x5814]
push edx
lea ecx, [ebp - 0x2808]
push ecx
push str._s_s_s
lea eax, [ebp - 0x500c]
push eax
call fcn.0042c42c
add esp, 0x14
push 0x2800
lea edx, [ebp - 0x500c]
push edx
lea ecx, [ebp - 0x2808]
push ecx
call fcn.004299c8
add esp, 0xc
lea eax, [ebp - 0x2808]
push eax
call fcn.00429850
pop ecx
cmp eax, 0x400
jb 0x4065d3
push 0x3ff
lea edx, [ebp - 0x2808]
push edx
push dword [ebp + 0xc]
call fcn.004299c8
add esp, 0xc
jmp 0x4065e5
lea ecx, [ebp - 0x2808]
push ecx
push dword [ebp + 0xc]
call fcn.00429820
add esp, 8
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret