Function at 0x440503
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp dword [0x4803fc], 0
push ebx
push esi
push edi
mov esi, eax
je 0x440527
push dword [ebp + 8]
call fcn.0044030e
jmp 0x4407d6
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x18]
mov ecx, eax
and ecx, 0x10
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 6
and eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x44055f
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [ebp + 8]
jmp 0x44057a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x48]
cmp eax, 0xffffffff
jne 0x440572
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x44]
cmp eax, 0xffffffff
jne 0x44059c
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xf
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x4405aa
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [esp + 0x10]
mov dword [esp + 0x30], eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
add esi, 0x1c
cmp dword [esp + 0xc], 0
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], eax
movsd dword es:[edi], dword [esi]
je 0x440611
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]
mov esi, eax
push esi
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_FrameRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x440637
cmp dword [esp + 0x18], 0
je 0x440627
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x10
push 4
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [esp + 0x30]
cmp dword [esp + 0xc], edi
je 0x44065c
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x44067b
cmp dword [esp + 0x18], edi
je 0x440668
push 0xfffffffffffffffd
push 0xfffffffffffffffd
jmp 0x44066c
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
dec dword [esp + 0x30]
dec dword [esp + 0x34]
push dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [esp + 0xc], edi
jne 0x440697
cmp dword [esp + 0x24], edi
je 0x4406a1
add dword [esp + 0x30], 2
add dword [esp + 0x34], 2
mov esi, dword [ebp + 8]
push 0xfffffffffffffff0
push dword [esi]
mov dword [esp + 0x1c], 0x105
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x2000
jne 0x4406c5
mov dword [esp + 0x14], 0x125
push edi
push edi
push 0xe
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455667
pop ecx
push esi
push eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push dword [esp + 0x18]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [esp + 0x24], edi
je 0x440752
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [esp + 0x30]
inc dword [esp + 0x34]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push dword [esp + 0x18]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [esp + 0x18], 0
je 0x44079e
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_FrameRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xfffffffffffffffc
push 0xfffffffffffffffc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push dword [esp + 0xc]
call fcn.0045526c
pop ecx
push dword [esp + 0x28]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4