Function at 0x40fe9e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x422eb6
call fcn.00418354
mov eax, 0x118c
call fcn.00418450
push ebx
push esi
mov esi, ecx
push edi
push esi
push 0x452
lea ecx, [ebp - 0x2c]
call fcn.004018c4
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00401907
test eax, eax
je 0x410368
cmp dword [0x42f844], ebx
jne 0x410368
and byte [ebp - 0x998], bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x997]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
stosb byte es:[edi], al
call fcn.00410411
test eax, eax
je 0x40ff10
push 0x42db84
jmp 0x40ff16
push dword [esi + 0x3264]
lea eax, [ebp - 0x998]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esi + 0x14b8], ebx
lea eax, [esi + 0x290c]
lea edi, [esi + 0x14b8]
push eax
lea eax, [ebp - 0x998]
lea ebx, [esi + 0x10ac]
push eax
jne 0x40ff61
push dword [esi + 0xa8]
push ebx
push edi
push 0x64
push 0xbba
push dword [esi + 0x327c]
call fcn.00406cf9
jmp 0x40ff82
push 0
lea eax, [ebp - 0x10]
push ebx
push eax
push 0x64
push 0xbba
push dword [esi + 0x327c]
call fcn.00406cf9
mov ecx, dword [edi]
mov dword [0x430274], ecx
xor edi, edi
cmp eax, edi
jne 0x410368
mov ecx, esi
call fcn.0040fbb2
test eax, eax
je 0x410368
cmp dword [0x430b30], edi
jne 0x410044
cmp dword [esi + 0x14b4], edi
jne 0x410044
and byte [ebp - 0x494], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x493]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x494]
mov ecx, esi
push eax
push dword [0x430274]
call fcn.004109a1
test eax, eax
jne 0x41009b
lea eax, [ebp - 0x494]
xor edi, edi
push eax
push edi
mov ecx, esi
call fcn.004109a1
test eax, eax
jne 0x41009d
mov ecx, esi
call fcn.00410411
test eax, eax
je 0x41001d
push edi
push edi
push dword [0x4246fc]
mov ecx, esi
call fcn.0041062b
jmp 0x410040
push dword [0x4246fc]
lea eax, [ebp - 0x494]
push 0x43072c
push eax
call fcn.00412568
lea eax, [ebp - 0x494]
push eax
call fcn.004126ca
test eax, eax
jne 0x41009d
mov dword [ebp - 0x10], edi
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [0x430274]
call fcn.00412c8a
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x4100c1
lea eax, [ebp - 0x598]
push eax
push dword [0x430274]
call fcn.00412ef6
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x430b2c], eax
lea ecx, [ebp - 0x598]
push ecx
push eax
call fcn.00411d66
pop ecx
pop ecx
jmp 0x41015b
xor edi, edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x494]
push eax
call fcn.00401087
cmp eax, edi
jne 0x410044
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00410aa6
mov dword [ebp - 0x10], eax
jmp 0x410047
mov edi, 0x400
lea eax, [esi + 0xcac]
push edi
push 0
push eax
call fcn.00417ce0
add esp, 0xc
cmp dword [ebx], 1
jbe 0x41019b
cmp dword [esi + 0x14bc], 5
je 0x41019b
push edi
lea eax, [ebp - 0x494]
push 0
push eax
call fcn.00417ce0
lea eax, [ebp - 0x494]
push 0xa
push eax
push dword [esi + 0x14b8]
call fcn.0041921c
push dword [0x42a20c]
lea eax, [ebp - 0x494]
push eax
call fcn.00417de0
add esp, 0x20
lea eax, [ebp - 0x494]
mov ecx, esi
push eax
call fcn.0041042e
test eax, eax
lea eax, [ebp - 0x494]
push eax
je 0x41018d
lea eax, [esi + 0xcac]
push 0x42db84
push eax
call fcn.00412568
mov ecx, esi
call fcn.004105bd
test eax, eax
jne 0x41016e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004018fc
xor eax, eax
jmp 0x410378
push 1
lea eax, [esi + 0xcac]
pop ebx
mov ecx, esi
push ebx
push eax
push str._LangTransform
call fcn.00410826
mov dword [esi + 0xa0], ebx
jmp 0x41019b
lea eax, [esi + 0xcac]
push eax
call fcn.00417dd0
pop ecx
pop ecx
cmp dword [ebp - 0x10], 0
mov ebx, 0x3e8
jne 0x4101ec
push 0x42fc58
push 0x3e9
push dword [0x424704]
push dword [0x4246f8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 4
mov ebx, eax
call fcn.00417cc8
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x4101e0
mov ecx, eax
call fcn.004065aa
jmp 0x4101e2
xor eax, eax
and byte [ebp - 4], 0
mov dword [esi + 0x2e40], eax
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x2e40]
push ebx
push esi
push dword [esi + 0x327c]
call fcn.004065d6
lea eax, [ebp - 0xd98]
push edi
push eax
push 0x44e
call fcn.00411e46
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [ebp - 0xd98]
push eax
call edi
test eax, eax
je 0x41025d
mov ebx, 0x4291e4
lea eax, [ebp - 0xd98]
push ebx
push eax
call fcn.00418e50
pop ecx
test eax, eax
pop ecx
je 0x41025d
inc eax
inc eax
push eax
mov dword [ebp - 0x10], eax
call edi
test eax, eax
je 0x41025d
push ebx
push dword [ebp - 0x10]
call fcn.00418e50
pop ecx
test eax, eax
pop ecx
jne 0x410273
mov eax, 0x486
push eax
mov dword [0x430b2c], eax
call fcn.00411d66
pop ecx
jmp 0x410368
lea eax, [ebp - 0x94]
push eax
push 1
pop ebx
push ebx
call fcn.00412f88
pop ecx
lea eax, [ebp - 0x94]
pop ecx
push eax
lea eax, [esi + 0x4ac]
push eax
lea eax, [ebp - 0xd98]
push eax
lea eax, [ebp - 0x1198]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x1198]
mov ecx, esi
push eax
call fcn.004103ee
mov ecx, dword [esi + 0x2e40]
mov edi, 0x3e8
push edi
call fcn.004068a2
test eax, eax
je 0x4102d4
mov esi, ebx
jmp 0x41036a
push esi
push 0x44f
lea ecx, [ebp - 0x20]
call fcn.0040e6b9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0040e6fc
test eax, eax
je 0x41035c
cmp dword [0x42f844], 0
jne 0x41035c
mov ecx, esi
call fcn.004107c1
test eax, eax
je 0x41035c
mov ecx, dword [esi + 0x2e40]
push edi
call fcn.004068a2
test eax, eax
jne 0x4103a1
push esi
push 0x451
lea ecx, [ebp - 0x7c]
call fcn.00407a55
mov ecx, dword [esi + 0x2e40]
push edi
mov byte [ebp - 4], 3
call fcn.004068a2
test eax, eax
jne 0x410395
cmp dword [0x42f844], eax
jne 0x410395
lea ecx, [ebp - 0x7c]
call fcn.00408575
test eax, eax
jne 0x410387
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00407aaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040e6f1
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004018fc
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x3288], eax
call fcn.00406634
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00407aaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040e6f1
jmp 0x4102cd