Function at 0x10066152
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push 0x40
mov eax, 0x10183073
call fcn.10145d80
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], esi
xor eax, eax
test byte [ebx + 0x34], 4
mov dword [ebp - 4], eax
je 0x10066211
cmp dword [ebx + 0x2c], eax
je 0x10066211
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, eax
sub ecx, dword [ebp - 0x2c]
push 0
add dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x18]
push dword [ebx + 4]
add dword [ebp - 0x24], 2
mov edx, ecx
sub edx, dword [ebp - 0x28]
add eax, 0xfffffffe
add dword [ebp - 0x20], edx
add dword [ebp - 0x20], 2
add ecx, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
call edi
push dword [ebx + 4]
call esi
push 1
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push dword [ebx + 4]
call edi
jmp 0x10066381
lea eax, [ebp - 0x4c]
push eax
push dword [ebx + 4]
mov dword [ebx + 0x2c], 1
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [ebx + 0x34], 4
jne 0x1006623a
push dword [ebx + 0x40]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10065a70
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
mov esi, 0x400
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000401e
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
mov edi, dword [ebp - 0x10]
cmp dword [edi - 8], 0
je 0x10066379
test byte [ebx + 0x34], 1
je 0x1006628e
push dword [ebx + 0x30]
call fcn.100659d1
pop ecx
jmp 0x10066291
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call esi
test byte [ebx + 0x34], 4
je 0x100662b3
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp 0x100662bf
push dword [ebx + 0x3c]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 8]
call esi
xor esi, esi
cmp dword [ebx + 0x4c], esi
je 0x100662d9
push dword [ebx + 0x38]
jmp 0x100662e2
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x420
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
push dword [edi - 8]
mov esi, dword [sym.imp.USER32.dll_DrawTextW]
push edi
push dword [ebp + 8]
call esi
push 0x20
lea eax, [ebp - 0x3c]
push eax
push dword [edi - 8]
push edi
push dword [ebp + 8]
call esi
test byte [ebx + 0x34], 2
je 0x1006635f
mov eax, dword [ebx + 0x44]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x48]
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, eax
cmp dword [ebx + 0x4c], 0
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
je 0x1006634a
push dword [ebx + 0x38]
jmp 0x10066353
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10065a70
test byte [ebx + 0x34], 1
je 0x1006636e
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [ebp - 0x10]
call fcn.10003b75
call fcn.10145e58
ret 4