Function at 0x44f2eb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x824]
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esi + 0x48], 0
jne 0x44f34b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push dword [esi + 4]
lea ecx, [esi + 0x48]
call fcn.00452ae7
push eax
lea ecx, [esi + 0x48]
call fcn.0044e744
lea eax, [ebp - 0x814]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x84c]
call fcn.0044f22a
mov eax, dword [ebp - 0x808]
sub eax, dword [ebp - 0x810]
mov ecx, dword [ebp - 0x80c]
sub ecx, dword [ebp - 0x814]
push eax
push ecx
push dword [ebp - 0x84c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x84c]
mov dword [ebp - 0x850], eax
call edi
push dword [esi + 0x48]
push dword [ebp - 0x84c]
call edi
mov ebx, eax
mov eax, dword [ebp - 0x808]
sub eax, dword [ebp - 0x810]
push 0xf00021
push eax
mov eax, dword [ebp - 0x80c]
sub eax, dword [ebp - 0x814]
push eax
push dword [ebp - 0x810]
push dword [ebp - 0x814]
push dword [ebp - 0x84c]
call dword [sym.imp.GDI32.dll_PatBlt]
push ebx
push dword [ebp - 0x84c]
call edi
mov bl, byte [esi + 0x24]
push dword [esi + 4]
and dword [ebp - 0x82c], 0
and bl, 1
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x44f40a
and dword [ebp - 0x82c], eax
jmp 0x44f435
mov eax, dword [esi + 0x44]
test al, 4
je 0x44f41d
mov dword [ebp - 0x82c], 2
jmp 0x44f435
test bl, bl
jne 0x44f427
test al, 2
jne 0x44f42b
jmp 0x44f435
test al, 1
je 0x44f435
mov dword [ebp - 0x82c], 1
and dword [ebp - 0x828], 0
test byte [esi + 0x44], 4
je 0x44f458
test byte [esi + 0x24], 6
je 0x44f458
cmp dword [esi + 0x30], 0xffffffff
jne 0x44f458
mov dword [ebp - 0x828], 1
push 1
push dword [ebp - 0x84c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x828]
mov ecx, dword [esi + 0x4c]
push dword [ebp - 0x828]
push dword [ebp - 0x82c]
push dword [ebp - 0x84c]
call fcn.0044ee7c
mov eax, dword [esi + 0x24]
test al, 6
je 0x44f511
mov ecx, dword [esi + 0x44]
test cl, 4
je 0x44f4a6
shl eax, 2
not eax
and eax, 8
or eax, 2
jmp 0x44f4b9
test bl, bl
je 0x44f4af
test cl, 1
je 0x44f4cf
shr eax, 1
not eax
and eax, 1
or eax, 4
push 0xf
push eax
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x84c]
call dword [sym.imp.USER32.dll_DrawEdge]
test bl, bl
jne 0x44f511
test byte [esi + 0x44], 2
je 0x44f511
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2e
call ebx
neg eax
add eax, eax
push eax
push 0x2d
call ebx
neg eax
add eax, eax
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x84c]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
xor ebx, ebx
lea eax, [ebp - 0x802]
push ebx
push eax
call fcn.0046e0e0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x44f5fd
push 1
push dword [ebp - 0x84c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x84c]
call edi
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0x828], eax
inc ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x300
je 0x44f590
xor ebx, ebx
inc ebx
jmp 0x44f5a5
test eax, 0x100
je 0x44f59b
xor ebx, ebx
jmp 0x44f5a5
test eax, 0x200
je 0x44f5a5
push 2
pop ebx
test byte [esi + 0x44], 4
je 0x44f5bc
push 1
push 1
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0xffffff
push dword [ebp - 0x84c]
call dword [sym.imp.GDI32.dll_SetTextColor]
or ebx, 0x24
push ebx
lea eax, [ebp - 0x824]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x84c]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x828]
push dword [ebp - 0x84c]
call edi
xor ebx, ebx
mov eax, dword [ebp - 0x808]
sub eax, dword [ebp - 0x810]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x84c]
push eax
mov eax, dword [ebp - 0x80c]
sub eax, dword [ebp - 0x814]
push eax
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x850]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x84c]
call fcn.0044f29d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret 4