Function at 0x434de0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x18]
mov ecx, eax
and ecx, 0x10
and eax, 6
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
je 0x434e17
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ebx, dword [ebp + 0xc]
jmp 0x434e32
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x48]
cmp eax, 0xffffffff
jne 0x434e2a
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
jne 0x434e52
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xf
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x434e5f
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x44]
cmp dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
je 0x434e72
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x434e77
mov eax, 0x743c00
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
mov dword [ebp - 0x24], eax
call ebx
mov ecx, dword [ebp - 8]
push ecx
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [ebp + 8]
push edx
push esi
mov dword [ebp - 0x28], eax
call ebx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x1c]
push 0xffffffffffffffff
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x28]
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push 5
push 5
push edx
mov edx, dword [ebp - 0x38]
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_RoundRect]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0xfffffffffffffff0
push ecx
mov dword [ebp - 8], 0x105
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x2000
jne 0x434f0e
mov dword [ebp - 8], 0x125
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412999
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
add esp, 4
push ecx
push eax
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp - 0x14], 0
je 0x434f88
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x24]
push 0xfffffffffffffffd
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0x28]
push 0xfffffffffffffffd
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
cmp dword [ebp - 0xc], 0
je 0x434f9e
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0xffffffffffffffff
push edi
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push edi
call fcn.00410f86
mov eax, dword [ebp - 0x1c]
add esp, 4
push eax
push esi
call ebx
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call edi
mov edx, dword [ebp - 0x20]
push edx
push esi
call ebx
mov eax, dword [ebp - 0x24]
push eax
call edi
mov ecx, dword [ebp - 4]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp - 0x28]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8