Function at 0x42bea0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4a9d30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [ebp - 0x138], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x13c], edi
mov edx, dword [ecx + 0x156]
test edx, edx
je 0x42beef
push edi
push eax
push esi
push ecx
call edx
mov eax, dword [ebp - 0x138]
add esp, 0x10
cmp dword [edi], 0
je 0x42c2e1
mov ecx, dword [ebx]
test ecx, ecx
je 0x42bf07
push edi
push eax
push esi
push ebx
call ecx
add esp, 0x10
cmp dword [edi], 0
je 0x42c2e1
cmp dword [esi + 4], 0x201
jne 0x42bf62
push dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
call fcn.00431040
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x134], eax
cmp dword [ecx + 8], eax
je 0x42bf62
push eax
call fcn.00439150
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x134]
cmp dword [ecx + 8], eax
jne 0x42bf4f
cmp dword [ecx + 0xfa], 0
je 0x42bf62
mov dword [edi], 0
mov eax, dword [ebx + 0x14]
mov dword [eax + 0xfa], 0
mov eax, dword [esi + 4]
cmp eax, 0x102
ja 0x42c2f4
je 0x42c2b4
sub eax, 2
je 0x42c279
sub eax, 0x29
je 0x42c01c
sub eax, 0xd5
jne 0x42c2ba
mov eax, dword [esi + 8]
mov dword [ebp - 0x134], eax
cmp eax, 0x25
je 0x42bfba
cmp eax, 0x26
je 0x42bfba
cmp eax, 0x27
je 0x42bfb0
cmp eax, 0x28
jne 0x42bfda
mov ecx, dword [ebx + 0x14]
call fcn.00439570
jmp 0x42bfc2
mov ecx, dword [ebx + 0x14]
call fcn.004395e0
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov eax, dword [ebp - 0x134]
mov dword [edi], 0
cmp eax, 0x70
jne 0x42bff1
mov ecx, ebx
call fcn.0042cbd0
mov dword [edi], 0
jmp 0x42c2db
cmp dword [edi], 0
je 0x42c2db
cmp eax, 0x7b
jne 0x42c2ba
mov ecx, dword [ebx + 0x14]
push dword [ebx + 0xc]
push ecx
mov ecx, dword [ecx]
call fcn.00469440
mov dword [edi], 0
jmp 0x42c2db
cmp dword [ebx + 0x2c], 0
je 0x42c2ba
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 0xc]
test ecx, ecx
je 0x42c04e
push eax
push ebx
call ecx
mov eax, dword [ebp - 0x138]
add esp, 8
mov dword [eax], 1
mov dword [edi], 0
jmp 0x42c2db
mov esi, dword [eax + 0x18]
movdqu xmm0, xmmword [eax + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x140], eax
and eax, 0x10
mov dword [ebp - 0x134], esi
movdqu xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x144], eax
je 0x42c0b4
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [ebp - 0x124]
push esi
push eax
push dword [ebp - 0x134]
call dword [sym.imp.USER32.dll_FillRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x134]
push dword [ebx + 0x38]
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp - 0x144], 0
je 0x42c1cd
movdqu xmm0, xmmword [ebp - 0x124]
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp - 0x114]
push eax
movdqu xmmword [ebp - 0x114], xmm0
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebx + 0x30]
dec dword [ebp - 0x10c]
dec dword [ebp - 0x108]
push 0
push 0
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x130]
push eax
push 1
push 8
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x128], 0
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push dword [ebp - 0x110]
mov edi, eax
push dword [ebp - 0x114]
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x110]
push dword [ebp - 0x10c]
push esi
mov esi, dword [sym.imp.GDI32.dll_LineTo]
call esi
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebp - 0x134]
call esi
push dword [ebp - 0x108]
push dword [ebp - 0x114]
push dword [ebp - 0x134]
call esi
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x134]
call esi
mov esi, dword [ebp - 0x134]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x13c]
test byte [ebp - 0x140], 1
lea eax, [ebp - 0x124]
push 0xf
je 0x42c1e2
push 0xa
jmp 0x42c1e4
push 5
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
push dword [ebx + 0x34]
mov ecx, dword [0x4a9734]
call fcn.004283d0
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x30]
mov esi, eax
push dword [ebp - 0x134]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00453df0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x100
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, dword [ebp - 0x134]
lea eax, [ebp - 0x124]
push 0x25
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x138]
mov dword [eax], 1
mov dword [edi], 0
jmp 0x42c2db
push dword [ebx + 0x18]
push 0xfffffffffffffffc
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
call fcn.00430d40
cmp eax, 0xffffffff
je 0x42c2a0
mov ecx, dword [ebx + 0x14]
push eax
call fcn.00438560
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov dword [edi], 0
jmp 0x42c2db
cmp byte [esi + 8], 0xd
je 0x42c339
cmp dword [edi], 0
je 0x42c2db
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov ecx, dword [ebp - 0x138]
mov dword [ecx], eax
mov dword [edi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004530e4
mov esp, ebp
pop ebp
ret 0xc
sub eax, 0x111
je 0x42c339
sub eax, 0x24
jne 0x42c2ba
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42c2e1
cmp dword [ebx + 0x20], 1
jne 0x42c2e1
mov esi, dword [esi + 8]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
xor eax, 0x80
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebx + 0x24]
jmp 0x42c2d3
mov eax, dword [ebx + 4]
test eax, eax
je 0x42c2ba
push ebx
call eax
mov eax, dword [ebp - 0x138]
add esp, 4
mov dword [eax], 0
mov dword [edi], 0
jmp 0x42c2db