Function at 0x424070
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x4e178c]
sub esp, 0x14
test eax, eax
push ebx
push ebp
je 0x4244a1
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4244a1
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4244a1
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
push edi
lea edx, [esp + 0x10]
push ecx
push edx
push 0xb0
push eax
call esi
mov eax, dword [0x4e178c]
push 0x7918
push 0x7918
push 0xb1
push eax
call esi
mov eax, dword [0x4e178c]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0xb0
push eax
call esi
cmp dword [esp + 0x2c], 0x7530
jle 0x424218
mov ecx, dword [0x4e178c]
push 0
push 0
push 0xb
push ecx
call esi
push 0x7d2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x3e7
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [0x4e178c]
push edx
push 0
push 0x44b
push eax
call esi
mov ecx, dword [esp + 0x20]
push 0xd
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x424154
sub eax, edx
inc eax
mov edi, eax
jmp 0x424162
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
push edx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [0x4e178c]
add esp, 4
push edi
push 0
push 0xb1
push edx
call esi
mov eax, dword [0x4e178c]
push 0x4ddbb0
push 0
push 0xc2
push eax
call esi
mov eax, dword [esp + 0x2c]
sub eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0xffff
cmp ecx, edi
jg 0x4241bc
mov ecx, 0x7530
mov eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4241cc
mov ecx, dword [esp + 0x14]
sub eax, edi
sub ecx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edx, dword [0x4e178c]
and ecx, 0xffff
and eax, 0xffff
push ecx
push eax
push 0xb1
push edx
call esi
mov eax, dword [0x4e178c]
push 0
push 2
push 0xb5
push eax
call esi
mov ecx, dword [0x4e178c]
push 0
push 1
push 0xb
push ecx
call esi
mov edx, dword [0x4e178c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x4c6f38
push ebx
call edi
add esp, 8
test eax, eax
je 0x42423f
push 0x4c6f38
push ebx
mov byte [eax], 0x20
call edi
add esp, 8
test eax, eax
jne 0x42422d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 0x7918
repne scasb al, byte es:[edi]
mov eax, dword [0x4e178c]
push 0x7918
not ecx
dec ecx
push 0xb1
mov edi, ecx
push eax
inc edi
call esi
mov eax, dword [0x4e178c]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0xb0
push eax
call esi
mov ecx, dword [0x4e178c]
push 0
push 1
push 0x43f
push ecx
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4242ab
mov edx, dword [0x4e178c]
push 0x4c6f34
push 0
push 0xc2
push edx
call esi
mov eax, dword [0x4e178c]
push ebx
push 0
push 0xc2
push eax
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4242c8
lea ecx, [eax + 1]
jmp 0x4242ca
xor ecx, ecx
add edi, eax
push edi
push ecx
mov ecx, dword [0x4e178c]
push 0xb1
push ecx
call esi
mov edx, dword [0x4e178c]
push ebp
push 1
push 0x444
push edx
call esi
mov edi, dword [esp + 0x30]
test edi, edi
je 0x424309
mov eax, dword [0x4e178c]
push 0x4e1640
push 0
push 0x447
push eax
jmp 0x42431c
mov ecx, dword [0x4e178c]
push 0x4e16f0
push 0
push 0x447
push ecx
call esi
test edi, edi
mov ebp, ebx
jne 0x424337
push 0x3a
push ebx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x424337
lea ebp, [eax + 1]
mov ebx, dword [sym.imp.MSVCRT.dll__isctype]
mov dword [esp + 0x30], 0
mov al, byte [ebp]
mov edi, ebp
test al, al
je 0x42436d
movsx edx, al
mov eax, dword [str.__t_r_n]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x42436d
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x42434e
mov al, byte [ebp]
test al, al
jne 0x42437e
mov dword [esp + 0x30], 1
jmp 0x4243bc
mov edx, dword [str.__t_r_n]
movsx ecx, al
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x4243aa
cmp byte [ebp], 0x2e
jne 0x4243a2
cmp byte [ebp + 1], 0x2e
je 0x4243aa
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x42437e
cmp byte [ebp], 0
jne 0x4243b8
mov dword [esp + 0x30], 1
mov byte [ebp], 0
mov al, byte [edi]
test al, al
je 0x4243fd
mov ecx, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [ecx], 1
jle 0x4243dd
movsx edx, al
push 0x107
push edx
call ebx
add esp, 8
jmp 0x4243f1
mov ecx, dword [sym.imp.MSVCRT.dll__pctype]
movsx eax, al
mov edx, dword [ecx]
mov ax, word [edx + eax*2]
and eax, 0x107
test eax, eax
jne 0x4243fd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4243c2
push edi
call fcn.004244b0
add esp, 4
test eax, eax
je 0x42444d
mov eax, dword [esp + 0x28]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x2c]
add edx, eax
test eax, eax
je 0x42441d
inc edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x4e178c]
not ecx
dec ecx
add ecx, edx
push ecx
push edx
push 0xb1
push eax
call esi
mov ecx, dword [0x4e178c]
push 0x4e15e0
push 1
push 0x444
push ecx
call esi
mov eax, dword [esp + 0x30]
inc ebp
test eax, eax
je 0x424345
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4e178c]
and edx, 0xffff
and eax, 0xffff
push edx
push eax
push 0xb1
push ecx
call esi
mov dx, word [esp + 0x10]
cmp dx, word [esp + 0x14]
je 0x42449a
mov eax, dword [0x4e178c]
push 0
push 0
push 0x43f
push eax
call esi
call fcn.00423c80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret