Function at 0x43ada4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [0x4785fc], 0
push ebx
push esi
push edi
mov esi, eax
je 0x43adc5
push dword [ebp + 8]
call fcn.0043ab96
jmp 0x43b036
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x18]
mov ecx, eax
and ecx, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, eax
and ecx, 6
and eax, 1
test ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], eax
je 0x43adfa
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 0x43ae15
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
jne 0x43ae0d
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x38]
cmp eax, 0xffffffff
jne 0x43ae35
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xf
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x43ae42
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x38]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 8]
mov dword [ebp - 0x24], eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
add esi, 0x1c
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
movsd dword es:[edi], dword [esi]
je 0x43aea1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
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, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_FrameRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43aec4
cmp dword [ebp - 0x10], 0
je 0x43aeb5
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x10
push 4
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x34]
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 esi, esi
cmp dword [ebp - 0xc], esi
lea eax, [ebp - 0x34]
je 0x43aee5
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x43af01
cmp dword [ebp - 0x10], esi
je 0x43aef0
push 0xfffffffffffffffd
push 0xfffffffffffffffd
jmp 0x43aef4
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
dec dword [ebp - 0x34]
dec dword [ebp - 0x30]
push dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebp - 0xc], esi
jne 0x43af19
cmp dword [ebp - 0x1c], esi
je 0x43af21
add dword [ebp - 0x34], 2
add dword [ebp - 0x30], 2
mov esi, dword [ebp + 8]
push 0xfffffffffffffff0
push dword [esi]
mov edi, 0x105
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ax, 0x2000
jne 0x43af3c
add edi, 0x20
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.0044e2dc
pop ecx
push esi
push eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x1c], 0
je 0x43afbd
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec dword [ebp - 0x34]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x125
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x10], 0
je 0x43b003
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x34]
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, [ebp - 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, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push dword [ebp - 0xc]
call fcn.0044e346
pop ecx
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4