Function at 0x4113d6
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4175ec
call fcn.00417000
sub esp, 0x204
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x44], 0xc49
mov dword [ebp - 0x40], 0xc48
mov dword [ebp - 0x3c], 0xc47
mov ebx, 0x102e
mov eax, dword [ebp - 0x10]
mov ecx, 0x417ad0
push dword [ebp + eax - 0x34]
call fcn.004107d3
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x411647
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, 0x417ad0
push dword [ebp + eax - 0x34]
call fcn.00410823
mov edi, eax
test edi, edi
je 0x411638
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0040c895
and dword [ebp - 4], 0
push 0x404ca4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004104a8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040c36c
mov eax, dword [0x404590]
mov dword [ebp - 0x14], eax
push 0x28
lea eax, [ebp - 0x6c]
push 0
push eax
mov byte [ebp - 4], 3
call sub.MSVCRT.dll_memset
and dword [ebp - 0x68], 0
add esp, 0xc
mov ecx, edi
mov dword [ebp - 0x6c], 5
call fcn.0041035c
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.00410360
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040c44a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040c36c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.0040c648
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x58], eax
call fcn.0040c6af
lea eax, [ebp - 0x6c]
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 - 0xb4], 1
push dword [ebp + eax - 0x44]
call fcn.0040d9d2
mov dword [ebp - 0xa8], eax
pop ecx
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call esi
mov edi, dword [edi + 0x38]
xor eax, eax
test edi, edi
setne al
inc eax
mov dword [ebp - 0xfc], 0xf000
shl eax, 0xc
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x18]
push 0x102b
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x34], 3
je 0x411620
and byte [ebp - 0x210], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
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 - 0x210]
push 0x103
push eax
push 0x417d04
push 0x404e08
push 0x404c88
call edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x210]
push 0x103
push eax
push 0x417d04
push 0x404e00
push 0x404c88
call edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0xdc], 3
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe4]
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.0040c36c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040c36c
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jl 0x411442
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 0xc
jl 0x411422
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret