Function at 0x40841a
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41b367
call fcn.00411bc4
mov eax, 0x166c
call fcn.00411da0
push ebx
push esi
push edi
mov esi, ecx
call fcn.004087c2
test eax, eax
jne 0x408452
mov eax, 0x66b
push eax
mov dword [0x425e20], eax
call fcn.0040c311
pop ecx
jmp 0x408751
mov ecx, esi
call fcn.00401046
mov esi, 0xff
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1277]
mov byte [ebp - 0x1278], bl
mov byte [ebp - 0x1678], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1677]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1278]
push eax
lea eax, [ebp - 0x1678]
push eax
push dword [ebp + 8]
call fcn.0040c8b4
lea eax, [ebp - 0x1278]
push eax
push 0x424184
push dword [ebp + 0x10]
call fcn.0040c9f5
push 0x7c
xor eax, eax
pop ecx
lea edi, [ebp - 0x28f]
mov byte [ebp - 0x290], bl
push 0x7c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x483]
mov byte [ebp - 0x484], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x484]
push 0x1f4
push eax
push 0x64d
call fcn.0040c385
add esp, 0xc
lea eax, [ebp - 0x484]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x3eb
lea eax, [ebp - 0x290]
push dword [0x424f4c]
push eax
call fcn.0040d21a
add esp, 0x18
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], 0x41c5bc
call fcn.004096aa
mov dword [ebp - 0x84], 0x41c5a8
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x84]
push dword [ebp + 8]
call fcn.00401dd5
test eax, eax
jne 0x4085ed
push 0x7c
lea edi, [ebp - 0x677]
pop ecx
mov byte [ebp - 0x678], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x678]
push 0x1f4
push eax
push 0x64e
call fcn.0040c385
add esp, 0xc
lea eax, [ebp - 0x678]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x9c]
push eax
push ebx
call fcn.0040d322
add esp, 0x14
lea eax, [ebp - 0x9c]
push 5
push eax
lea eax, [ebp - 0x290]
push eax
push dword [0x424f4c]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp + 0x10]
mov edi, eax
call fcn.0040cba1
cmp edi, 4
je 0x40854c
jmp 0x40873b
lea ecx, [ebp - 0x1c]
call fcn.004013aa
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401505
cmp dword [0x424f48], ebx
je 0x408613
xor esi, esi
jmp 0x408764
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xa77]
mov byte [ebp - 0xa78], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x424f58
lea eax, [ebp - 0xa78]
push 0x400
mov edi, 0x424180
push eax
push edi
push dword [0x41c594]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xa78]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x408761
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xe77]
mov byte [ebp - 0xe78], bl
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040a918
test eax, eax
je 0x4086ad
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0xa78]
push 1
push eax
call fcn.0040ab1e
test eax, eax
je 0x408730
lea eax, [ebp - 0xa78]
push eax
push 0x424184
jmp 0x4086b9
lea eax, [ebp - 0xa78]
push eax
push 0x425a1c
lea eax, [ebp - 0xe78]
push eax
call fcn.0040c9f5
lea ecx, [ebp + 8]
call fcn.004037ea
lea eax, [ebp - 0xe78]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 2
push dword [ebp + 0x10]
call fcn.004038e6
test eax, eax
jne 0x408755
cmp dword [0x425e24], ebx
jne 0x40871a
push dword [0x424f4c]
lea ecx, [ebp + 8]
push dword [ebp + 0x10]
call fcn.0040380c
cmp eax, ebx
je 0x408755
lea ecx, [ebp - 0x1278]
mov dword [0x425e20], eax
push ecx
push eax
call fcn.0040c311
pop ecx
pop ecx
jmp 0x408724
mov dword [0x425e20], 0x655
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004037fe
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004013d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], 0x41c5a8
call fcn.004098b2
xor eax, eax
jmp 0x408787
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004037fe
push 1
pop esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004013d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], 0x41c5a8
call fcn.004098b2
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc