Function at 0x443328
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp dword [0x48e90c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x443353
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0043586c
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 0x44337a
push 0xe
jmp 0x443387
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x48]
cmp eax, 0xffffffff
jne 0x44338d
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 0x4433ba
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xf
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x4433cb
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 0x443446
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 0x44346c
cmp dword [esp + 0x18], 0
je 0x44345c
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 0x4434a0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x4434ce
cmp dword [esp + 0x18], 0
je 0x4434b2
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea ecx, [esp + 0x38]
push ecx
jmp 0x4434bb
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 0x4434ea
test ebx, ebx
je 0x4434f7
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 + 0x28], 0x105
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x2000
jne 0x44351c
mov dword [esp + 0x20], 0x125
mov eax, dword [ebx]
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
inc ebx
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
add esp, 4
push ebx
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
push edx
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ecx
push edi
call ebx
cmp dword [esp + 0x24], 0
je 0x4435bd
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x28]
dec eax
push 0x11
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x14]
push 0x125
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ecx
push edi
call ebx
cmp dword [esp + 0x18], 0
je 0x443619
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]
mov eax, dword [esp + 0x14]
push eax
call fcn.00412979
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x2c]
push ecx
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