Function at 0x4057b4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff994
push esi
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov eax, 0x4aca94
call fcn.00484c88
mov byte [ebp - 0x39], 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x338]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov esi, 0x4aa90d
lea edi, [ebp - 0x158]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4aaa11
lea edi, [ebp - 0x25c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4aab15
lea edi, [ebp - 0x360]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], 1
mov esi, 0x4aac19
lea edi, [ebp - 0x464]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push str..datLanguage.ini
push 0x103
lea eax, [ebp - 0x158]
push eax
push str.ENGLISH
push str.SELECTED
push str.LANGUAGE
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x158]
push edx
call fcn.0048adb8
pop ecx
push dword [ebp - 0x40]
push 0x4ac218
lea ecx, [ebp - 0x360]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp - 0x38]
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0x4ac230
lea edx, [ebp - 0x360]
push edx
push 0x4ac224
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp dword [ebp - 0x40], 0xa
jg 0x405c23
lea ecx, [ebp - 0x464]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
je 0x405bda
push dword [ebp - 0x40]
push str.group_ver__d
lea eax, [ebp - 0x360]
push eax
call fcn.00487f0c
add esp, 0xc
push str..datUpdateLocal.ini
push 0x104
lea edx, [ebp - 0x25c]
push edx
push 0x4ac24a
lea ecx, [ebp - 0x360]
push ecx
push 0x4ac23e
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x25c]
push eax
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x44], eax
push dword [ebp - 0x34]
push 0x104
lea edx, [ebp - 0x25c]
push edx
push 0x4ac26e
lea ecx, [ebp - 0x360]
push ecx
push 0x4ac262
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x25c]
push eax
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x48]
jl 0x405992
inc dword [ebp - 0x40]
push dword [ebp - 0x40]
push 0x4ac270
lea ecx, [ebp - 0x360]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp - 0x38]
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0x4ac288
lea edx, [ebp - 0x360]
push edx
push 0x4ac27c
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x4058a4
mov esi, 0x4aad1d
lea edi, [ebp - 0x568]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4aae21
lea edi, [ebp - 0x66c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x38]
push 0x104
lea eax, [ebp - 0x568]
push eax
push 0x4ac294
push 0x4ac289
lea edx, [ebp - 0x464]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp - 0x38]
push 0x104
lea ecx, [ebp - 0x66c]
push ecx
push 0x4ac2a0
push str.group_lang
lea eax, [ebp - 0x464]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x66c]
push edx
call fcn.0048adb8
pop ecx
lea ecx, [ebp - 0x66c]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
je 0x405a94
push 0x4ac2a1
lea eax, [ebp - 0x66c]
push eax
call fcn.004849c5
add esp, 8
test eax, eax
jne 0x405a94
lea edx, [ebp - 0x66c]
push edx
lea ecx, [ebp - 0x158]
push ecx
call fcn.004849c5
add esp, 8
test eax, eax
jne 0x405a94
inc dword [ebp - 0x40]
push dword [ebp - 0x40]
push 0x4ac2a5
lea eax, [ebp - 0x360]
push eax
call fcn.00487f0c
add esp, 0xc
push dword [ebp - 0x38]
push 0x104
lea edx, [ebp - 0x464]
push edx
push 0x4ac2bd
lea ecx, [ebp - 0x360]
push ecx
push 0x4ac2b1
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x4058a4
lea eax, [ebp - 0x568]
push eax
call fcn.004848b4
pop ecx
test eax, eax
jne 0x405ae9
inc dword [ebp - 0x40]
push dword [ebp - 0x40]
push 0x4ac2be
lea edx, [ebp - 0x360]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp - 0x38]
push 0x104
lea ecx, [ebp - 0x464]
push ecx
push 0x4ac2d6
lea eax, [ebp - 0x360]
push eax
push 0x4ac2ca
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x4058a4
push dword [ebp - 0x40]
push str.group_size__d
lea edx, [ebp - 0x360]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp - 0x34]
push 0x104
lea ecx, [ebp - 0x25c]
push ecx
push 0x4ac2f1
lea eax, [ebp - 0x360]
push eax
push 0x4ac2e5
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x25c]
push edx
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x338]
mov eax, dword [eax + 0x22c]
call fcn.00478868
mov dword [ebp - 0x50], eax
mov word [ebp - 0x1c], 8
lea edx, [ebp - 0x568]
lea eax, [ebp - 4]
call fcn.004a5548
inc dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
call fcn.00478308
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a55bc
mov ecx, dword [ebp - 0x50]
add ecx, 8
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
call fcn.0041c674
lea edx, [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a55bc
mov ecx, 1
mov edx, 2
mov eax, dword [ebp - 0x50]
call fcn.004784c0
mov dl, 1
mov eax, dword [ebp - 0x50]
call fcn.004782a0
inc dword [ebp - 0x40]
push dword [ebp - 0x40]
push 0x4ac2f2
lea ecx, [ebp - 0x360]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp - 0x38]
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0x4ac30a
lea edx, [ebp - 0x360]
push edx
push 0x4ac2fe
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp dword [ebp - 0x40], 0xa
jle 0x4058ae
mov al, byte [ebp - 0x39]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret