Function at 0x42aed0
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 0x42af1f
push edi
push eax
push esi
push ecx
call edx
mov eax, dword [ebp - 0x138]
add esp, 0x10
cmp dword [edi], 0
je 0x42b311
mov ecx, dword [ebx]
test ecx, ecx
je 0x42af37
push edi
push eax
push esi
push ebx
call ecx
add esp, 0x10
cmp dword [edi], 0
je 0x42b311
cmp dword [esi + 4], 0x201
jne 0x42af92
push dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
call fcn.00430040
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x134], eax
cmp dword [ecx + 8], eax
je 0x42af92
push eax
call fcn.00438150
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x134]
cmp dword [ecx + 8], eax
jne 0x42af7f
cmp dword [ecx + 0xfa], 0
je 0x42af92
mov dword [edi], 0
mov eax, dword [ebx + 0x14]
mov dword [eax + 0xfa], 0
mov eax, dword [esi + 4]
cmp eax, 0x102
ja 0x42b324
je 0x42b2e4
sub eax, 2
je 0x42b2a9
sub eax, 0x29
je 0x42b04c
sub eax, 0xd5
jne 0x42b2ea
mov eax, dword [esi + 8]
mov dword [ebp - 0x134], eax
cmp eax, 0x25
je 0x42afea
cmp eax, 0x26
je 0x42afea
cmp eax, 0x27
je 0x42afe0
cmp eax, 0x28
jne 0x42b00a
mov ecx, dword [ebx + 0x14]
call fcn.00438570
jmp 0x42aff2
mov ecx, dword [ebx + 0x14]
call fcn.004385e0
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov eax, dword [ebp - 0x134]
mov dword [edi], 0
cmp eax, 0x70
jne 0x42b021
mov ecx, ebx
call fcn.0042bc00
mov dword [edi], 0
jmp 0x42b30b
cmp dword [edi], 0
je 0x42b30b
cmp eax, 0x7b
jne 0x42b2ea
mov ecx, dword [ebx + 0x14]
push dword [ebx + 0xc]
push ecx
mov ecx, dword [ecx]
call fcn.00478a20
mov dword [edi], 0
jmp 0x42b30b
cmp dword [ebx + 0x2c], 0
je 0x42b2ea
mov ecx, dword [ebx + 8]
mov eax, dword [esi + 0xc]
test ecx, ecx
je 0x42b07e
push eax
push ebx
call ecx
mov eax, dword [ebp - 0x138]
add esp, 8
mov dword [eax], 1
mov dword [edi], 0
jmp 0x42b30b
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 0x42b0e4
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 0x42b1fd
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 0x42b212
push 0xa
jmp 0x42b214
push 5
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
push dword [ebx + 0x34]
mov ecx, dword [0x4a9734]
call fcn.00427560
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.00453c50
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 0x42b30b
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.0042fd40
cmp eax, 0xffffffff
je 0x42b2d0
mov ecx, dword [ebx + 0x14]
push eax
call fcn.00437560
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov dword [edi], 0
jmp 0x42b30b
cmp byte [esi + 8], 0xd
je 0x42b369
cmp dword [edi], 0
je 0x42b30b
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.00452f44
mov esp, ebp
pop ebp
ret 0xc
sub eax, 0x111
je 0x42b369
sub eax, 0x24
jne 0x42b2ea
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42b311
cmp dword [ebx + 0x20], 1
jne 0x42b311
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 0x42b303
mov eax, dword [ebx + 4]
test eax, eax
je 0x42b2ea
push ebx
call eax
mov eax, dword [ebp - 0x138]
add esp, 4
mov dword [eax], 0
mov dword [edi], 0
jmp 0x42b30b