Function at 0x445530
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
push 0xfffffffffffffff0
mov dword [ebp - 0x1c], edi
movups xmm0, xmmword [edi + 0x1c]
mov esi, dword [edi + 0x18]
push dword [ebx + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
and ecx, 6
mov al, byte [edi + 0x10]
and al, 1
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x15], al
test al, al
je 0x44557e
mov eax, dword [ebx + 0x30]
jmp 0x445581
mov eax, dword [ebx + 0x2c]
test ecx, ecx
je 0x445588
mov eax, dword [ebx + 0x34]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, eax
cmp edi, 0xffffffff
je 0x4455b6
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [ebx + 0x38]
cmp eax, 0xffffffff
je 0x4455ec
cmp dword [ebp - 0x24], 0
je 0x4455cc
push 0xa
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
lea eax, [ebp - 0x14]
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
test edi, edi
je 0x4455ec
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x10], 0x10
je 0x44562b
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x1a
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
lea eax, [ebp - 0x14]
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
test edi, edi
je 0x44562b
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [ebp - 0x15], 0
je 0x44564c
push 1
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebx + 0x44], 0xffffffff
mov edi, dword [ebx + 0x40]
cmovne edi, dword [ebx + 0x44]
jmp 0x44564f
mov edi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4456e5
cmp edi, 0xffffffff
je 0x4456e5
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
cmp dword [ebx + 0x4c], 1
mov eax, dword [ebp - 0x10]
jne 0x445683
mov ecx, dword [ebp - 0x14]
add eax, 0xfffffffe
jmp 0x44568f
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x30]
sub ecx, 0xf
add eax, 3
cmp dword [ebp - 0x24], 0
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
je 0x4456cf
push 0
push edi
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push 0x23
push dword [ebp - 0x2c]
mov edi, eax
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0
push edi
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4456dc
push 1
push eax
push ecx
push esi
push edi
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [ebp - 0x30]
add eax, 3
add dword [ebp - 0x14], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x1c], eax
lea eax, [eax*2 + 2]
call fcn.004c6740
mov ecx, dword [ebp - 0x1c]
mov eax, esp
inc ecx
mov dword [ebp - 0x20], eax
push ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x28]
xor eax, eax
test edx, 0x100
jne 0x445731
test edx, 0x200
mov ecx, 2
mov eax, 1
cmovne eax, ecx
test edx, 0x400
jne 0x445749
test edx, 0x800
je 0x445746
or eax, 8
jmp 0x445749
or eax, 4
mov ecx, eax
or ecx, 0x20
and edx, 0x2000
push 1
cmovne ecx, eax
push esi
mov dword [ebp - 0x28], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [ebp - 0x15], 0
je 0x44576e
mov eax, dword [ebx + 0x28]
jmp 0x445771
mov eax, dword [ebx + 0x24]
cmp dword [ebp - 0x24], 0
je 0x44577f
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp byte [ebp - 0x15], 0
jne 0x445793
cmp byte [ebx + 0x48], 0
je 0x4457b1
push esi
call dword [sym.imp.GDI32.dll_GetTextColor]
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_GetBkColor]
cmp edi, eax
jne 0x4457b1
push dword [ebx + 0x28]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, 1
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10