Function at 0x420670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 5
add esp, 0xfffff004
push eax
dec eax
jne 0x420679
mov eax, dword [ebp - 4]
add esp, 0xfffff4d8
push esi
push edi
mov esi, 0x5413c4
lea edi, [ebp - 0x2808]
mov ecx, 0xa00
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x543bc5
lea edi, [ebp - 0x500c]
mov ecx, 0xa00
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x5463c6
lea edi, [ebp - 0x5410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x5467c7
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, 0x546bc8
lea edi, [ebp - 0x591c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x546ccd
lea edi, [ebp - 0x5a24]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x546dd2
lea edi, [ebp - 0x5b2c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x547dfc
lea eax, [ebp - 0x5b2c]
push eax
call fcn.00420bd0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x420749
push 0x400
push dword [ebp + 0x10]
lea edx, [ebp - 0x5410]
push edx
call fcn.00503c8c
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x420766
push 0x400
push dword [ebp + 0x14]
lea ecx, [ebp - 0x5814]
push ecx
call fcn.00503c8c
add esp, 0xc
lea eax, [ebp - 0x5b2c]
push eax
push 0x104
lea edx, [ebp - 0x591c]
push edx
push 0x547e1b
push 0x547e12
push 0x547e09
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x5b2c]
push ecx
push 0x104
lea eax, [ebp - 0x5a24]
push eax
push 0x547e31
push 0x547e23
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 0x547e3d
push dword [ebp + 8]
lea edx, [ebp - 0x591c]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x2808]
push ecx
call fcn.00503a8c
pop ecx
test eax, eax
jne 0x420838
lea eax, [ebp - 0x5b2c]
push eax
push 0x104
lea edx, [ebp - 0x5a24]
push edx
push str.language.en
push str.LANGUAGE_FILE
push 0x547e3e
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 0x547e60
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push 0x547e68
push dword [ebp + 0xc]
call fcn.00503a5c
add esp, 8
push 0x547e6a
lea edx, [ebp - 0x2808]
push edx
call fcn.00503b9d
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4208b5
cmp dword [ebp + 0x10], 0
je 0x4208b5
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 0x547e6d
lea ecx, [ebp - 0x500c]
push ecx
call fcn.00506898
add esp, 0x14
push 0x2800
lea eax, [ebp - 0x500c]
push eax
lea edx, [ebp - 0x2808]
push edx
call fcn.00503c8c
add esp, 0xc
push 0x547e74
lea ecx, [ebp - 0x2808]
push ecx
call fcn.00503b9d
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x420922
cmp dword [ebp + 0x14], 0
je 0x420922
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.00506898
add esp, 0x14
push 0x2800
lea edx, [ebp - 0x500c]
push edx
lea ecx, [ebp - 0x2808]
push ecx
call fcn.00503c8c
add esp, 0xc
lea eax, [ebp - 0x2808]
push eax
call fcn.00503a8c
pop ecx
cmp eax, 0x400
jb 0x42094f
push 0x3ff
lea edx, [ebp - 0x2808]
push edx
push dword [ebp + 0xc]
call fcn.00503c8c
add esp, 0xc
jmp 0x420961
lea ecx, [ebp - 0x2808]
push ecx
push dword [ebp + 0xc]
call fcn.00503a5c
add esp, 8
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret