Function at 0x414a79
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push 0xb24
mov eax, 0x53e30f
call fcn.0051adce
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xb30], eax
mov dword [ebp - 0xb2c], edi
lea esi, [ebp - 0x114]
mov dword [ebp - 4], edi
call fcn.0040e6ac
xor eax, eax
mov dword [ebp - 0xaf4], 7
mov dword [ebp - 0xaf8], edi
mov word [ebp - 0xb08], ax
xor ebx, ebx
inc ebx
mov eax, esi
mov byte [ebp - 4], bl
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x414acd
sub eax, esi
je 0x414aed
movzx edx, byte [ebp + ecx - 0x114]
mov word [ebp + ecx*2 - 0x31c], dx
inc ecx
cmp ecx, eax
jb 0x414ad8
xor ecx, ecx
mov word [ebp + eax*2 - 0x31c], cx
lea eax, [ebp - 0x31c]
lea ecx, [ebp - 0xb08]
call fcn.00402bbc
cmp dword [0x5946ec], edi
jne 0x414b9a
mov esi, dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
lea eax, [ebp - 0xb28]
push eax
push edi
lea eax, [ebp - 0xb2c]
push eax
push 8
mov dword [ebp - 0xb2c], ebx
mov dword [ebp - 0xb28], edi
call esi
test eax, eax
je 0x414b9a
mov eax, dword [ebp - 0xb28]
add eax, eax
push eax
mov dword [ebp - 0xb2c], eax
call fcn.00518d5b
mov edi, eax
pop ecx
test edi, edi
je 0x414b98
push dword [ebp - 0xb2c]
push 0
push edi
call fcn.0051b3c0
add esp, 0xc
lea eax, [ebp - 0xb28]
push eax
push edi
lea eax, [ebp - 0xb2c]
push eax
push 8
mov dword [ebp - 0xb2c], ebx
call esi
mov eax, edi
mov ecx, 0x5946dc
call fcn.00402bbc
push edi
call fcn.00518def
pop ecx
mov dword [ebp - 4], ebx
xor edi, edi
push 0x570b64
lea eax, [ebp - 0xb08]
push eax
call fcn.00402b91
push edi
push 0x5946dc
or eax, 0xffffffff
lea edi, [ebp - 0xb08]
call fcn.00402d1f
push str..lng
mov eax, edi
push eax
call fcn.00402b91
mov ebx, 0x570b80
push ebx
lea esi, [ebp - 0xb24]
call fcn.00402b62
xor esi, esi
push esi
lea eax, [ebp + 0xc]
push eax
or eax, 0xffffffff
lea edi, [ebp - 0xb24]
mov byte [ebp - 4], 4
call fcn.00402d1f
push ebx
mov eax, edi
push eax
call fcn.00402b91
mov eax, dword [ebp - 0xb08]
push 8
pop ebx
cmp dword [ebp - 0xaf4], ebx
jae 0x414c16
lea eax, [ebp - 0xb08]
push eax
push esi
push 0x570b84
mov edi, str.Strings
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x414cf1
mov eax, dword [0x5946dc]
cmp dword [0x5946f0], ebx
jae 0x414c43
mov eax, 0x5946dc
push eax
lea ecx, [ebp - 0xb28]
call fcn.00403493
push esi
push 0x2d
lea ecx, [ebp - 0xb28]
mov byte [ebp - 4], 5
call fcn.00404996
cmp eax, esi
jle 0x414cdf
push eax
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [ebp - 0xb28]
call fcn.00402b1b
push eax
lea ecx, [ebp - 0xb28]
mov byte [ebp - 4], 6
call fcn.00403196
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb2c]
add ecx, 0xfffffff0
call fcn.004014d0
lea eax, [ebp - 0x31c]
lea ecx, [ebp - 0xb08]
call fcn.00402bbc
push 0x570b64
lea eax, [ebp - 0xb08]
push eax
call fcn.00402b91
push dword [ebp - 0xb28]
lea eax, [ebp - 0xb08]
push eax
call fcn.00402b91
push str..lng
lea eax, [ebp - 0xb08]
push eax
call fcn.00402b91
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xb28]
add ecx, 0xfffffff0
call fcn.004014d0
mov edx, dword [ebp - 0xb08]
cmp dword [ebp - 0xaf4], ebx
jae 0x414d05
lea edx, [ebp - 0xb08]
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x20], ebx
jae 0x414d10
lea ecx, [ebp + 0xc]
mov eax, dword [ebp - 0xb24]
cmp dword [ebp - 0xb10], ebx
jae 0x414d24
lea eax, [ebp - 0xb24]
push edx
push 0x3e8
lea edx, [ebp - 0xaec]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [ebp - 0x31e], ax
lea eax, [ebp - 0xaec]
lea ecx, [ebp + 0xc]
call fcn.00402bbc
mov eax, dword [ebp - 0xb08]
cmp dword [ebp - 0xaf4], ebx
jae 0x414d65
lea eax, [ebp - 0xb08]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xb30]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], esi
lea ebx, [ebp + 0xc]
mov word [eax], cx
call fcn.00407161
push 1
xor edi, edi
lea esi, [ebp - 0xb24]
call fcn.00402c49
push 1
lea esi, [ebp - 0xb08]
call fcn.00402c49
push 1
mov esi, ebx
call fcn.00402c49
mov eax, dword [ebp - 0xb30]
call fcn.0051ae51
ret