Function at 0x439760
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
mov ebp, dword [esi + 0x18]
mov ecx, eax
and ecx, 0x10
and eax, 6
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
je 0x439797
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [esp + 0x54]
jmp 0x4397b3
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
jne 0x4397ab
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x38]
cmp eax, 0xffffffff
jne 0x4397d7
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xf
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, eax
jmp 0x4397e5
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [edi + 0x38]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], 0
je 0x4397f6
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x4397fb
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 ebp
mov dword [esp + 0x40], eax
call ebx
push edi
push ebp
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [esp + 0x14]
mov dword [esp + 0x40], eax
push ebp
call ebx
add esi, 0x1c
mov dword [esp + 0x2c], esi
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], eax
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
push 5
push 5
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ebp
call dword [sym.imp.GDI32.dll_RoundRect]
mov esi, dword [esp + 0x54]
push 0xfffffffffffffff0
push dword [esi]
mov dword [esp + 0x28], 0x105
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ax, 0x2000
jne 0x43988c
mov dword [esp + 0x20], 0x125
push 0
push 0
push 0xe
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b6ac
pop ecx
push esi
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x28], 0
je 0x4398f4
mov esi, dword [esp + 0x2c]
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffd
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffd
lea eax, [esp + 0x48]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawFocusRect]
cmp dword [esp + 0x1c], 0
je 0x43990b
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
push 0xffffffffffffffff
push dword [esp + 0x30]
push ebp
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x24]
call fcn.0044b716
pop ecx
push dword [esp + 0x30]
push ebp
call ebx
push dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x34]
push ebp
call ebx
push dword [esp + 0x38]
call esi
push dword [esp + 0x18]
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x3c]
push ebp
call dword [sym.imp.GDI32.dll_SetBkColor]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x40
ret 4