Function at 0x445896
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp dword [0x4a7584], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x4458c1
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00434b8d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
mov ebx, eax
mov ecx, eax
and ebx, 6
and ecx, 0x10
and eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x4458e8
push 0xe
jmp 0x4458f5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x48]
cmp eax, 0xffffffff
jne 0x4458fb
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x44]
cmp eax, 0xffffffff
jne 0x445928
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xf
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x445939
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x44]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x14], 0
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
je 0x4459b4
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_FrameRect]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4459da
cmp dword [esp + 0x18], 0
je 0x4459ca
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x10
push 4
lea ecx, [esp + 0x38]
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
cmp dword [esp + 0x14], 0
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
je 0x445a0e
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x445a3c
cmp dword [esp + 0x18], 0
je 0x445a20
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea ecx, [esp + 0x38]
push ecx
jmp 0x445a29
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, 1
sub dword [esp + 0x30], eax
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [esp + 0x14], 0
jne 0x445a58
test ebx, ebx
je 0x445a65
mov eax, 2
add dword [esp + 0x30], eax
add dword [esp + 0x34], eax
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x1c], 0x105
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x2000
jne 0x445a8a
mov dword [esp + 0x14], 0x125
mov eax, dword [ebx]
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004128c9
add esp, 4
push ebx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [esp + 0x24], 0
je 0x445b2a
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x28]
inc eax
inc ecx
push 0x11
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0xffffffffffffffff
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [esp + 0x18], 0
je 0x445b86
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x28]
push 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_FrameRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xfffffffffffffffc
push 0xfffffffffffffffc
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
push ebx
call fcn.00410eb6
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x1c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x2c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8