Function at 0x402503
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4a6560
call fcn.0043cb10
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 0x40255f
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
je 0x40255f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp eax, edi
je 0x40254f
push eax
call fcn.0049cedd
mov eax, dword [ebp - 0x14]
pop ecx
mov dword [eax + 0x10], edi
lea ecx, [ebp - 0x14]
call fcn.004032fe
mov eax, dword [esi + 0x40]
cmp dword [ebp - 0x14], eax
jne 0x402538
lea ecx, [esi + 0x3c]
call fcn.004032b0
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 0x40276a
mov ecx, dword [0x4df718]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
jle 0x402725
jmp 0x4025a1
xor edi, edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x4dc72c
push eax
call fcn.00496e37
add esp, 0xc
push dword [esi + 0x54]
push edi
push 0x4dc728
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 0x4dc718
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4df718]
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.00402e46
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0049cafd
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0049c9c4
push 6
call fcn.0049ceb4
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 0x402752
cmp eax, 0x8050
je 0x40270a
push 0x28
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0043cd10
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.004029d3
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
push 1
push dword [ebp - 0x68]
call fcn.0049788a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0049c9c4
mov ax, word [edi + 2]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040191b
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 4
push 2
push dword [ebp - 0x68]
call fcn.0049788a
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0049c9c4
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.0040317b
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0049c9c4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x40259f
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x5c]
je 0x402734
mov ecx, esi
call fcn.00402c6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049c9c4
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.0049c9c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049c9c4
xor eax, eax
jmp 0x402743