Function at 0x412520
Capabilities:
Contain obfuscated stackstrings
Get graphical window text
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43b3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x45e768
lea ecx, [esp + 0x34]
call fcn.0042e803
mov eax, dword [edi + 0x1a8]
xor esi, esi
push eax
push 4
push 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], esi
call fcn.0042ead2
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push esi
push 0x45a33c
push 0x45a328
call ebp
mov eax, dword [esp + 0x30]
push eax
call fcn.0041df71
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1a4], eax
push 0x45e768
call fcn.0042e803
mov eax, dword [edi + 0x1a8]
lea ecx, [esp + 0x2c]
push eax
push 4
push 4
mov byte [esp + 0x64], 1
call fcn.0042ead2
push eax
push esi
push 0x45a334
push 0x45a328
call ebp
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041df71
mov edx, dword [edi + 0xb4]
add esp, 4
mov ebx, eax
push esi
push esi
push 0x1004
push edx
mov dword [esp + 0x54], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, eax
jne 0x41292a
cmp ebx, esi
jle 0x412d5f
push 0x45e768
lea ecx, [esp + 0x18]
call fcn.0042e803
lea eax, [esi + 1]
mov byte [esp + 0x58], 2
mov dword [esp + 0x4c], eax
push eax
lea eax, [esp + 0x18]
push 0x45a2d8
push eax
call fcn.0042c966
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x45e768
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 3
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 4
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 5
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 6
call fcn.0042e803
mov eax, dword [edi + 0x1a8]
mov ebx, dword [esp + 0x14]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 7
call fcn.0042ead2
push eax
push 0
push 0x44827c
push ebx
call ebp
mov eax, dword [edi + 0x1a8]
mov ebx, dword [esp + 0x14]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x30]
call fcn.0042ead2
push eax
push 0
push 0x448274
push ebx
call ebp
mov eax, dword [edi + 0x1a8]
mov ebx, dword [esp + 0x14]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x2c]
call fcn.0042ead2
push eax
push 0
push 0x448268
push ebx
call ebp
mov eax, dword [edi + 0x1a8]
mov ebx, dword [esp + 0x14]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x28]
call fcn.0042ead2
push eax
push 0
push 0x44825c
push ebx
call ebp
mov eax, dword [edi + 0x1a8]
mov ebx, dword [esp + 0x14]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x24]
call fcn.0042ead2
push eax
push 0
push 0x448250
push ebx
call ebp
push 1
lea ecx, [esp + 0x4c]
push esi
lea ebx, [edi + 0x98]
push ecx
mov ecx, ebx
call fcn.00418960
mov eax, dword [eax]
mov edx, dword [esp + 0x28]
push eax
push edx
mov byte [esp + 0x60], 8
call fcn.0041e05e
add esp, 8
test eax, eax
jne 0x41285e
push 2
lea eax, [esp + 0x44]
push esi
push eax
mov ecx, ebx
call fcn.00418960
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.0041e05e
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne byte [esp + 0x13]
call fcn.0042e795
mov al, byte [esp + 0x13]
test al, al
jne 0x41285e
push 3
lea edx, [esp + 0x40]
push esi
push edx
mov ecx, ebx
call fcn.00418960
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0041e05e
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne byte [esp + 0x13]
call fcn.0042e795
mov al, byte [esp + 0x13]
test al, al
jne 0x41285e
push 4
lea ecx, [esp + 0x3c]
push esi
push ecx
mov ecx, ebx
call fcn.00418960
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.0041e05e
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
setne byte [esp + 0x13]
call fcn.0042e795
mov al, byte [esp + 0x13]
test al, al
jne 0x41285e
push 5
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, ebx
call fcn.00418960
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0041e05e
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne bl
call fcn.0042e795
test bl, bl
je 0x412860
mov bl, 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x58], 7
call fcn.0042e795
test bl, bl
mov byte [esp + 0x58], 6
lea ecx, [esp + 0x18]
jne 0x4128db
call fcn.0042e795
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 5
call fcn.0042e795
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0042e795
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call fcn.0042e795
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 2
call fcn.0042e795
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.0042e795
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
cmp esi, eax
jl 0x4125f9
jmp 0x412d5f
call fcn.0042e795
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 5
call fcn.0042e795
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 4
call fcn.0042e795
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
call fcn.0042e795
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 2
call fcn.0042e795
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.0042e795
mov ebx, dword [esp + 0x44]
mov edx, dword [edi + 0xb4]
push 0
push 0
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
test ebx, ebx
jle 0x412d30
lea ebx, [edi + 0x98]
push 0x45e768
lea ecx, [esp + 0x18]
call fcn.0042e803
lea eax, [esi + 1]
mov byte [esp + 0x58], 9
mov dword [esp + 0x48], eax
push eax
lea eax, [esp + 0x18]
push 0x45a2d8
push eax
call fcn.0042c966
add esp, 0xc
lea ecx, [esp + 0x40]
push 0x45e768
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0xa
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0xb
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0xc
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0xd
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 0xe
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0xf
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 0x10
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0x11
call fcn.0042e803
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x100
push 0x100
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 0x12
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x44827c
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x100
push 0x100
lea ecx, [esp + 0x48]
call fcn.0042ead2
push eax
mov edx, dword [esp + 0x58]
push 0
push 0x448274
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x100
push 0x100
lea ecx, [esp + 0x44]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x448268
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x100
push 0x100
lea ecx, [esp + 0x40]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x44825c
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x100
push 0x100
lea ecx, [esp + 0x24]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x448250
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x100
push 0x100
lea ecx, [esp + 0x28]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x448248
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x200
push 0x200
lea ecx, [esp + 0x2c]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x44823c
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
push 0x100
mov dword [esp + 0x54], ecx
push 0x100
lea ecx, [esp + 0x30]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x448230
push edx
call ebp
mov eax, dword [edi + 0x1a8]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], ecx
push 0x200
push 0x200
lea ecx, [esp + 0x34]
call fcn.0042ead2
mov edx, dword [esp + 0x54]
push eax
push 0
push 0x448228
push edx
call ebp
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push eax
push esi
push 1
mov ecx, ebx
call fcn.0042cc50
mov ecx, dword [esp + 0x40]
push ecx
push 1
push esi
mov ecx, ebx
call fcn.0042ccc7
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push edx
push 2
push esi
call fcn.0042ccc7
mov eax, dword [esp + 0x38]
mov ecx, ebx
push eax
push 3
push esi
call fcn.0042ccc7
mov ecx, dword [esp + 0x34]
push ecx
push 4
push esi
mov ecx, ebx
call fcn.0042ccc7
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
push 5
push esi
call fcn.0042ccc7
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
push 6
push esi
call fcn.0042ccc7
mov ecx, dword [esp + 0x20]
push ecx
push 7
push esi
mov ecx, ebx
call fcn.0042ccc7
mov edx, dword [esp + 0x24]
mov ecx, ebx
push edx
push 8
push esi
call fcn.0042ccc7
mov eax, dword [esp + 0x28]
push eax
push 9
push esi
mov ecx, ebx
call fcn.0042ccc7
mov ecx, dword [edi + 0xb4]
push 0
push esi
push 0x102a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0x11
call fcn.0042e795
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 0x10
call fcn.0042e795
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0xf
call fcn.0042e795
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0xe
call fcn.0042e795
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 0xd
call fcn.0042e795
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0xc
call fcn.0042e795
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xb
call fcn.0042e795
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xa
call fcn.0042e795
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 9
call fcn.0042e795
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.0042e795
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
cmp esi, eax
jl 0x412950
mov edx, dword [edi + 0xb4]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x412d58
push eax
push eax
push 0x45a394
call fcn.00434db8
jmp 0x412d5f
mov ecx, edi
call fcn.00411b80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 0
call fcn.0042e795
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call fcn.0042e795
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret