Function at 0x4114af
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x418288
call fcn.00417cf0
sub esp, 0x214
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x54], 0xc49
mov dword [ebp - 0x50], 0xc48
mov dword [ebp - 0x4c], 0xc47
mov dword [ebp - 0x48], 0xc4d
mov dword [ebp - 0x44], 0xc4e
mov ebx, 0x102e
mov eax, dword [ebp - 0x10]
push 0
mov ecx, 0x418800
mov eax, dword [ebp + eax - 0x40]
push eax
call fcn.00410712
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x411744
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
mov ecx, 0x418800
push dword [ebp + eax - 0x40]
call fcn.00410773
mov edi, eax
test edi, edi
je 0x411735
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00412b95
and dword [ebp - 4], 0
push 0x404cd0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004103c4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040c21b
mov eax, dword [0x4045c8]
mov dword [ebp - 0x14], eax
push 0x28
lea eax, [ebp - 0x7c]
push 0
push eax
mov byte [ebp - 4], 3
call sub.MSVCRT.dll_memset
and dword [ebp - 0x78], 0
add esp, 0xc
mov ecx, edi
mov dword [ebp - 0x7c], 5
call fcn.004101a3
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.004101a7
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040c3a3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040c21b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.0040c4fc
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x68], eax
call fcn.0040c563
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x1007
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc4], 1
push dword [ebp + eax - 0x54]
call fcn.0040d75f
mov dword [ebp - 0xb8], eax
pop ecx
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call esi
mov edi, dword [edi + 0x40]
xor eax, eax
test edi, edi
setne al
inc eax
mov dword [ebp - 0x10c], 0xf000
shl eax, 0xc
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x18]
push 0x102b
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x40], 3
je 0x41171d
and byte [ebp - 0x220], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x21f]
push dword [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x220]
push 0x103
push eax
push 0x418a34
push 0x404e7c
push 0x404cb4
call edi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x220]
push 0x103
push eax
push 0x418a34
push 0x404e74
push 0x404cb4
call edi
lea eax, [ebp - 0x220]
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040c21b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040c21b
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jl 0x41153a
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 0x14
jl 0x411517
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret