Function at 0x402655
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4c7ba0
call fcn.0045d534
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 0x4026b1
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
je 0x4026b1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp eax, edi
je 0x4026a1
push eax
call fcn.004be44f
mov eax, dword [ebp - 0x14]
pop ecx
mov dword [eax + 0x10], edi
lea ecx, [ebp - 0x14]
call fcn.00403510
mov eax, dword [esi + 0x40]
cmp dword [ebp - 0x14], eax
jne 0x40268a
lea ecx, [esi + 0x3c]
call fcn.004034c2
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 0x4028bc
mov ecx, dword [0x505810]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
jle 0x402877
jmp 0x4026f3
xor edi, edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x500774
push eax
call fcn.004b82e3
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 [0x505810]
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.00402f88
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004bdffb
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004bdec2
push 6
call fcn.004be426
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 0x4028a4
cmp eax, 0x8050
je 0x40285c
push 0x28
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0045d740
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.00402b15
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
push 1
push dword [ebp - 0x68]
call fcn.004b8d89
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004bdec2
mov ax, word [edi + 2]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401a77
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 4
push 2
push dword [ebp - 0x68]
call fcn.004b8d89
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004bdec2
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.00403357
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004bdec2
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x4026f1
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x5c]
je 0x402886
mov ecx, esi
call fcn.00402db0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bdec2
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.004bdec2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bdec2
xor eax, eax
jmp 0x402895