Function at 0x42c150
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4a7ea0]
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 0x42c19f
push edi
push eax
push esi
push ecx
call edx
mov eax, dword [ebp - 0x138]
add esp, 0x10
cmp dword [edi], 0
je 0x42c591
mov ecx, dword [ebx]
test ecx, ecx
je 0x42c1b7
push edi
push eax
push esi
push ebx
call ecx
add esp, 0x10
cmp dword [edi], 0
je 0x42c591
cmp dword [esi + 4], 0x201
jne 0x42c212
push dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
call fcn.00431310
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x134], eax
cmp dword [ecx + 8], eax
je 0x42c212
push eax
call fcn.004393f0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x134]
cmp dword [ecx + 8], eax
jne 0x42c1ff
cmp dword [ecx + 0xfa], 0
je 0x42c212
mov dword [edi], 0
mov eax, dword [ebx + 0x14]
mov dword [eax + 0xfa], 0
mov eax, dword [esi + 4]
cmp eax, 0x102
ja 0x42c5a4
je 0x42c564
sub eax, 2
je 0x42c529
sub eax, 0x29
je 0x42c2cc
sub eax, 0xd5
jne 0x42c56a
mov eax, dword [esi + 8]
mov dword [ebp - 0x134], eax
cmp eax, 0x25
je 0x42c26a
cmp eax, 0x26
je 0x42c26a
cmp eax, 0x27
je 0x42c260
cmp eax, 0x28
jne 0x42c28a
mov ecx, dword [ebx + 0x14]
call fcn.00439810
jmp 0x42c272
mov ecx, dword [ebx + 0x14]
call fcn.00439880
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov eax, dword [ebp - 0x134]
mov dword [edi], 0
cmp eax, 0x70
jne 0x42c2a1
mov ecx, ebx
call fcn.0042c620
mov dword [edi], 0
jmp 0x42c58b
cmp dword [edi], 0
je 0x42c58b
cmp eax, 0x7b
jne 0x42c56a
mov ecx, dword [ebx + 0x14]
push dword [ebx + 0xc]
push ecx
mov ecx, dword [ecx]
call fcn.00428140
mov dword [edi], 0
jmp 0x42c58b
cmp dword [ebx + 0x2c], 0
je 0x42c56a
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 0xc]
test ecx, ecx
je 0x42c2fe
push eax
push ebx
call ecx
mov eax, dword [ebp - 0x138]
add esp, 8
mov dword [eax], 1
mov dword [edi], 0
jmp 0x42c58b
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 0x42c364
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 0x42c47d
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 0x42c492
push 0xa
jmp 0x42c494
push 5
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
push dword [ebx + 0x34]
mov ecx, dword [0x4a6734]
call fcn.00428670
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.00452db0
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 0x42c58b
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.00431010
cmp eax, 0xffffffff
je 0x42c550
mov ecx, dword [ebx + 0x14]
push eax
call fcn.00438800
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov dword [edi], 0
jmp 0x42c58b
cmp byte [esi + 8], 0xd
je 0x42c5e9
cmp dword [edi], 0
je 0x42c58b
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.004520a4
mov esp, ebp
pop ebp
ret 0xc
sub eax, 0x111
je 0x42c5e9
sub eax, 0x24
jne 0x42c56a
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42c591
cmp dword [ebx + 0x20], 1
jne 0x42c591
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 0x42c583
mov eax, dword [ebx + 4]
test eax, eax
je 0x42c56a
push ebx
call eax
mov eax, dword [ebp - 0x138]
add esp, 4
mov dword [eax], 0
mov dword [edi], 0
jmp 0x42c58b