Function at 0x4297e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc9ab
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov esi, ecx
je 0x429ad7
cmp byte [esi + 0x39], 0
je 0x429887
lea edi, [esi + 4]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi]
jne 0x429887
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x429887
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x234]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [edi]
mov ecx, edi
jne 0x429870
call fcn.004290d0
test al, 4
jne 0x429887
push 1
mov ecx, edi
call fcn.004290f0
jmp 0x429ad7
call fcn.004290d0
test al, 4
je 0x429887
push 0
mov ecx, edi
call fcn.004290f0
jmp 0x429ad7
push 0x206
lea eax, [ebp - 0x216]
push 0
push eax
mov word [ebp - 0x218], 0
call sub.MSVCR80.dll_memset
mov edi, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebp - 0x22c], edi
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x224], edx
push 0x103
lea edx, [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebx + 0x28]
push edx
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebp - 0x270]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebx + 0x10]
test al, 4
je 0x429990
mov eax, dword [esi + 0x48]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
jne 0x429944
push 0xf
call ebx
push eax
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00429110
jmp 0x429952
push 0
push 0
push eax
push edi
call fcn.004250d0
add esp, 0x10
cmp dword [esi + 0x60], 0
je 0x42996a
push 0xf
push 5
lea eax, [ebp - 0x228]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
push 0x11
call ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429980
jmp 0x429abb
test al, 1
je 0x4299e4
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x4299b8
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00429110
jmp 0x4299c6
push 0
push 0
push eax
push edi
call fcn.004250d0
add esp, 0x10
cmp dword [esi + 0x60], 0
je 0x429a5d
push 0xf
push 0xa
lea ecx, [ebp - 0x228]
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x429a5d
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x429a08
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00429110
jmp 0x429a2a
cmp byte [esi + 0x38], 0
je 0x429a1c
mov eax, dword [esi + 0x50]
test eax, eax
je 0x429a1c
push 0
push 0
push eax
jmp 0x429a21
push 0
push 0
push ecx
push edi
call fcn.004250d0
add esp, 0x10
cmp dword [esi + 0x60], 0
je 0x429a42
push 0xf
push 5
lea eax, [ebp - 0x228]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x429a5d
cmp dword [esi + 0x6c], 0
je 0x429a5d
push 0
push 0
push eax
push edi
call fcn.004250d0
add esp, 0x10
test byte [ebx + 0x10], 0x10
je 0x429a97
cmp word [esi + 0x54], 0
jle 0x429a97
movsx eax, word [esi + 0x54]
mov edx, dword [ebx + 0x18]
add dword [ebp - 0x228], eax
add dword [ebp - 0x224], eax
sub dword [ebp - 0x220], eax
sub dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x228]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esi + 0x58]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x429ab0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429ab0
push 0x25
sub eax, edx
lea ecx, [ebp - 0x228]
push ecx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret 8