Function at 0x402652
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4c76e0
call fcn.0045d02c
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push edi
push 0x1009
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x48], edi
jbe 0x4026ae
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
je 0x4026ae
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp eax, edi
je 0x40269e
push eax
call fcn.004bdf95
mov eax, dword [ebp - 0x14]
pop ecx
mov dword [eax + 0x10], edi
lea ecx, [ebp - 0x14]
call fcn.0040349c
mov eax, dword [esi + 0x40]
cmp dword [ebp - 0x14], eax
jne 0x402687
lea ecx, [esi + 0x3c]
call fcn.0040344e
push dword [esi + 0x54]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push str.Count
push str.Total
call ebx
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x4028b9
mov ecx, dword [0x5056f0]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
jle 0x402874
jmp 0x4026f0
xor edi, edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x500774
push eax
call fcn.004b7e2b
add esp, 0xc
push dword [esi + 0x54]
push edi
push 0x500770
push dword [ebp - 0x10]
call ebx
push dword [esi + 0x54]
mov dword [ebp - 0x1c], eax
push edi
push str.combokey
push dword [ebp - 0x10]
call ebx
push dword [esi + 0x54]
mov dword [ebp - 0x28], eax
push edi
push 0x500760
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5056f0]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
mov ecx, esi
mov byte [ebp - 4], 1
push eax
call fcn.00402f85
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004bdb41
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004bda08
push 6
call fcn.004bdf6c
pop ecx
mov edi, eax
mov cl, byte [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov byte [edi], cl
mov cx, word [ebp - 0x2c]
test edi, edi
mov word [edi + 4], ax
mov word [edi + 2], cx
je 0x4028a1
cmp eax, 0x8050
je 0x402859
push 0x28
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0045d230
add esp, 0xc
push 0
push 0
push 0x1004
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0x1007
mov dword [ebp - 0x6c], 5
push dword [esi + 0x1c]
mov dword [ebp - 0x4c], edi
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ax, byte [edi]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00402b12
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
push 1
push dword [ebp - 0x68]
call fcn.004b88d1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004bda08
mov ax, word [edi + 2]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401a74
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 4
push 2
push dword [ebp - 0x68]
call fcn.004b88d1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004bda08
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x38], edi
call fcn.004032e3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004bda08
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x4026ee
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x5c]
je 0x402883
mov ecx, esi
call fcn.00402dad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bda08
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004bda08
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bda08
xor eax, eax
jmp 0x402892