Function at 0x401f10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe10
mov eax, 0x40df0c
push ebx
push esi
push edi
lea esi, [ebp - 0x98]
mov edi, dword [ebp + 8]
call fcn.0040669c
jmp 0x402301
push 0x411050
lea edx, [ebp - 0x1f0]
push 0x100
push edx
push 0x40dbdc
push str.Group
push edi
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov ebx, dword [0x411034]
cmp ebx, dword [0x411038]
je 0x401f7f
push dword [ebx]
lea eax, [ebp - 0x1f0]
push eax
call sub.KERNEL32.DLL_lstrcmpA
mov dword [ebp - 0x9c], eax
test eax, eax
jge 0x402286
mov word [esi + 0x10], 8
inc dword [esi + 0x1c]
xor edx, edx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor eax, eax
inc dword [esi + 0x1c]
mov dword [ebp - 8], eax
inc dword [esi + 0x1c]
mov dword [ebp - 0xa0], 0x100
mov dword [ebp - 0xa4], 1
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ebp - 0xa0]
jbe 0x401fc7
lea ecx, [ebp - 0xa4]
jmp 0x401fcd
lea ecx, [ebp - 0xa0]
mov eax, dword [ecx]
lea edx, [ebp - 0x1f0]
mov dword [ebp - 0x20], eax
inc dword [esi + 0x1c]
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x20
push edx
call fcn.004065b0
pop ecx
mov dword [ebp - 0x24], eax
push edi
call fcn.004065b0
pop ecx
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x40203b
mov dword [ebp - 0xac], eax
mov word [esi + 0x10], 0x38
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xa8]
mov dword [ecx], eax
add dword [ebp - 0x18], 4
dec dword [esi + 0x1c]
mov word [esi + 0x10], 0x2c
jmp 0x40204f
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x20]
push edx
push eax
push ecx
call fcn.004024d8
add esp, 0xc
mov ecx, ebx
mov eax, ecx
sub eax, dword [0x411034]
mov ebx, 0x24
cdq
idiv ebx
mov dword [ebp - 0xb4], eax
mov eax, dword [0x411038]
cmp eax, dword [0x411048]
je 0x40222c
cmp ecx, dword [0x411038]
jne 0x40222c
mov edx, dword [0x411038]
mov dword [ebp - 0xb8], edx
mov word [esi + 0x10], 0x50
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x40221a
mov word [esi + 0x10], 0x5c
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
mov dword [eax], edx
mov ebx, dword [ebp - 0x40]
xor eax, eax
add ebx, 4
xor edx, edx
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov word [esi + 0x10], 0x68
inc dword [esi + 0x1c]
inc dword [esi + 0x1c]
mov dword [ebp - 0xbc], ecx
lea eax, [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0xc0], eax
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0xc0]
mov dword [edx + 8], ecx
inc dword [esi + 0x1c]
dec dword [esi + 0x1c]
mov word [esi + 0x10], 0x5c
mov dword [ebp - 0xc4], 0x100
mov dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0xc4]
jbe 0x40212a
lea edx, [ebp - 0xc8]
jmp 0x402130
lea edx, [ebp - 0xc4]
mov eax, dword [edx]
mov dword [ebx], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
test ecx, ecx
jns 0x402141
add ecx, 3
sar ecx, 2
mov dword [ebp - 0xcc], ecx
mov word [esi + 0x10], 0x74
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0xcc]
shl eax, 2
push eax
call fcn.00405004
pop ecx
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x4021a7
push esi
push 0
push 0
push 0
push 1
push 0x4023ec
push 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], 0x40e65c
inc dword [esi + 0x1c]
mov dword [ebp - 0x54], 0x40e664
inc dword [esi + 0x1c]
push edx
push 0x402398
call fcn.0040adc3
add esp, 0x24
mov ecx, dword [ebp - 0xd0]
mov dword [ebx + 4], ecx
push dword [ebx + 4]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00402d2c
mov dword [ebx + 8], eax
lea eax, [ebx + 8]
mov dword [ebp - 0xd4], eax
lea edx, [ebx + 0x10]
mov dword [ebp - 0xd8], edx
add esp, 0xc
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ecx]
mov dword [edx + 8], eax
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x5c], eax
inc dword [esi + 0x1c]
add dword [esi + 0x1c], 2
sub dword [esi + 0x1c], 2
dec dword [esi + 0x1c]
dec dword [esi + 0x1c]
mov word [esi + 0x10], 0x5c
inc dword [esi + 0x1c]
add dword [esi + 0x1c], 0xfffffffd
mov word [esi + 0x10], 0x50
add dword [0x411038], 0x24
dec dword [esi + 0x1c]
mov word [esi + 0x10], 0x44
jmp 0x40223e
lea edx, [ebp - 0x24]
push edx
push ecx
push 0x411030
call fcn.004026f0
add esp, 0xc
dec dword [esi + 0x1c]
dec dword [esi + 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ecx
call fcn.00401548
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
mov word [esi + 0x10], 0x8c
inc dword [esi + 0x1c]
push ebx
call fcn.00404fd0
pop ecx
dec dword [esi + 0x1c]
mov word [esi + 0x10], 0x80
mov word [esi + 0x10], 0x20
dec dword [esi + 0x1c]
dec dword [esi + 0x1c]
jmp 0x4022fa
cmp dword [ebp - 0x9c], 0
jne 0x4022f2
push edi
call fcn.004065b0
pop ecx
mov dword [ebp - 0xdc], eax
lea eax, [ebx + 4]
mov edx, dword [eax + 8]
cmp edx, dword [eax + 0x18]
je 0x4022df
mov dword [ebp - 0xe0], edx
mov word [esi + 0x10], 0xa4
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xdc]
mov dword [edx], ecx
add dword [eax + 8], 4
dec dword [esi + 0x1c]
mov word [esi + 0x10], 0x98
jmp 0x4022fa
lea ecx, [ebp - 0xdc]
push ecx
push edx
push eax
call fcn.004024d8
add esp, 0xc
jmp 0x4022fa
add ebx, 0x24
jmp 0x401f5b
mov al, byte [edi]
inc edi
test al, al
jne 0x4022fa
cmp byte [edi], 0
jne 0x401f34
mov eax, dword [0x411038]
sub eax, dword [0x411034]
mov ecx, 0x24
cdq
idiv ecx
mov ebx, eax
test ebx, ebx
je 0x402388
dec ebx
mov dword [ebp - 0xe8], ebx
mov eax, dword [ebp - 0xe8]
shl eax, 2
lea eax, [eax + eax*8]
add eax, dword [0x411034]
mov edx, dword [eax]
cmp byte [edx], 0xff
jne 0x402388
mov dword [ebp - 0xec], ebx
mov ecx, dword [ebp - 0xec]
shl ecx, 2
lea ecx, [ecx + ecx*8]
add ecx, dword [0x411034]
push dword [ecx]
call fcn.00405458
pop ecx
push 0x40dbde
call fcn.004065b0
pop ecx
mov dword [ebp - 0xf0], ebx
mov edx, dword [ebp - 0xf0]
shl edx, 2
lea edx, [edx + edx*8]
add edx, dword [0x411034]
mov dword [edx], eax
mov eax, dword [esi]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret