Function at 0x4589b0
Capabilities:
Get graphical window text
Read .ini file

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
test ebp, ebp
je 0x4589d8
mov ecx, ebp
call fcn.0042d7b0
mov dword [esp + 0x14], eax
mov edi, eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
test esi, esi
jne 0x458a13
mov eax, dword [ebx + 0x68]
cmp eax, 0xffffffff
jne 0x4589fd
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x4589fd
cmp eax, 1
je 0x4589fd
mov ebx, dword [ebx + 0x28]
jmp 0x458a01
mov ebx, dword [ebx + eax*4 + 0x28]
push 0x4bfc48
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x2c], eax
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push edi
push 0x413
push eax
call ebx
test edi, edi
je 0x458a44
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
cmp eax, 0x4dce1c
jne 0x458a44
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx + 0x5c]
push edx
jmp 0x458a49
push 0x4c0024
mov ecx, esi
call fcn.004655a0
test ebp, ebp
je 0x458a82
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 4]
push 0
push eax
push 0x449
push ecx
call ebx
movzx dx, byte [ebp + 0x20]
mov ecx, dword [esi + 4]
shl dx, 8
movzx eax, dx
push 0
or eax, 0xd
push eax
push 0x41d
push ecx
call ebx
call fcn.00403350
mov edi, eax
mov dword [esp + 0x1c], edi
test ebp, ebp
je 0x458ac8
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x1b]
push edx
push str.ColMarker
push str.Edit
mov ecx, edi
mov byte [esp + 0x27], 0
call fcn.00403f90
cmp byte [esp + 0x13], 0
je 0x458ac8
mov eax, dword [esi + 4]
push 1
add ebp, 0x24
push ebp
push 0x443
push eax
jmp 0x458ad5
mov ecx, dword [esi + 4]
push 1
push 0
push 0x443
push ecx
call ebx
push edi
push 0xbc614e
push 0x4c0008
push str.Edit
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
cmp ebp, 0xbc614e
jne 0x458afb
xor ebp, ebp
jmp 0x458b15
test ebp, ebp
je 0x458b15
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x458b10
call fcn.00429be0
test al, al
jne 0x458b15
mov ebp, 3
cmp dword [esp + 0x20], 0
je 0x458b48
mov eax, dword [esp + 0x28]
test eax, eax
je 0x458b35
mov edx, dword [eax + 0x18]
mov eax, dword [esi + 4]
push 0
push edx
push 0x42c
push eax
call ebx
mov ecx, dword [esi + 4]
push 0
push ebp
push 0x43b
push ecx
call ebx
jmp 0x458bcf
mov eax, dword [esp + 0x18]
xor edx, edx
xor edi, edi
cmp dword [eax + 0x68], 0xffffffff
sete dl
inc edx
test edx, edx
jle 0x458bcb
add eax, 0x28
mov dword [esp + 0x14], eax
test edi, edi
je 0x458b6c
cmp edi, 1
jne 0x458b86
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x458b86
push 0x4bfc48
push eax
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
jmp 0x458b88
xor esi, esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x458ba1
mov ecx, dword [eax + 0x18]
mov edx, dword [esi + 4]
push 0
push ecx
push 0x42c
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push ebp
push 0x43b
push eax
call ebx
add dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
xor ecx, ecx
inc edi
cmp dword [edx + 0x68], 0xffffffff
sete cl
inc ecx
cmp edi, ecx
jl 0x458b63
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
push edi
push 0xbc614e
push str.ParseMax
push str.Edit
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xbc614e
je 0x458bfe
test eax, eax
jle 0x458bfe
push 0
push eax
mov eax, dword [esi + 4]
push 0x447
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8