Function at 0x10696c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x60
xor r12d, r12d
test dl, 4
mov esi, edx
mov rbx, rcx
mov r13d, 1
je 0x10697e8
bt edx, 0x1c
jb 0x10697e8
mov eax, dword [0x010aaf6c]
bt edx, 0xa
cmovb eax, r13d
cmp eax, r12d
mov dword [0x010aaf6c], eax
jne 0x106976a
mov eax, dword [0x010aaf64]
bt edx, 9
cmovb eax, r13d
mov dword [0x010aaf64], eax
call fcn.0107a16c
mov ecx, dword [0x010aaf64]
cmp eax, r12d
cmove ecx, r13d
xor edx, edx
mov dword [0x010aaf64], ecx
lea rcx, [0x010682f8]
call fcn.01079e74
cmp eax, r12d
jne 0x1069762
call fcn.010796ec
cmp eax, r12d
jne 0x1069762
mov dword [0x010aaf68], r13d
mov eax, dword [0x010aaf6c]
jmp 0x1069788
mov ecx, 8
mov dword [0x010aae98], r12d
mov dword [0x010aae9c], ecx
mov dword [0x010aaea0], ecx
mov dword [0x010aaea4], ecx
cmp eax, r12d
jne 0x106979f
cmp dword [0x010aaf64], r12d
jne 0x106979f
cmp dword [0x010aaf68], r12d
je 0x10697e8
lea r9, [0x01066fd8]
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rax
mov qword [0x010aacf0], rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r8, [0x0106acd0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.0107ddb8
mov qword [0x010aaf48], rax
mov qword [0x010aacf8], rbx
call fcn.0106a1d8
cmp eax, 4
jl 0x106985e
lea rcx, [0x01066928]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, r12
mov qword [0x010aaee8], rax
je 0x1069ab5
lea rdx, [0x01066938]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x010aaee8]
lea rdx, [0x01066958]
mov qword [0x010aaed8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
mov qword [0x010aaee0], rax
je 0x1069ab5
cmp qword [0x010aaed8], r12
je 0x1069ab5
mov ecx, 0x220
call fcn.0107d574
cmp rax, r12
je 0x1069887
mov qword [rax], r12
mov qword [rax + 8], r12
mov dword [rax + 0x218], 5
mov qword [0x010aaf08], rax
jmp 0x106988e
mov qword [0x010aaf08], r12
mov ecx, 0x140
call fcn.0107d574
cmp rax, r12
je 0x10698a7
mov rcx, rax
call fcn.01075d48
jmp 0x10698aa
mov rax, r12
cmp qword [0x010aaf08], r12
mov qword [0x010aaf10], rax
je 0x1069ab5
cmp rax, r12
je 0x1069ab5
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov eax, 0x80000000
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], eax
lea r8, [0x010aadd0]
lea rdx, [0x010aad00]
mov r9d, 0xcf0000
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
cmp rax, r12
mov rbp, rax
je 0x1069ab5
cmp dword [0x010aafdc], r12d
je 0x106993a
xor r9d, r9d
mov edx, 0x107
mov r8d, 0x7d0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x010aaef4], r12d
je 0x10699dd
mov ecx, 0xd8
call fcn.0107d574
cmp rax, r12
mov rdi, rax
je 0x10699c5
lea rax, [0x01068480]
lea rcx, [rdi + 0x58]
mov qword [rdi], rax
lea rax, [0x010684b8]
mov qword [rdi + 8], rax
call fcn.0107c11c
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x60], rax
lea rcx, [rdi + 0x88]
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x78], r12
call fcn.0107209c
mov qword [rdi + 0x98], r12
mov qword [rdi + 0x90], rax
lea rcx, [rdi + 0xa0]
mov qword [rdi + 0xc8], rbp
mov dword [rdi + 0xd0], r12d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [0x010aaf20], rdi
jmp 0x10699cf
mov rdi, r12
mov qword [0x010aaf20], r12
cmp rdi, r12
je 0x10699dd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, qword [0x010aaf08]
mov rcx, rbp
mov qword [rbx], rbp
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, r12d
je 0x1069a49
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
mov eax, 2
mov ecx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.0107d614
cmp rax, r12
mov qword [rbx + 8], rax
je 0x1069a36
mov rcx, qword [rbx]
mov r8d, edi
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
lea rdx, [rbx + 0x10]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, qword [0x010aaf10]
mov rdx, rbp
call fcn.01075fe0
mov rcx, qword [0x010aaf10]
mov r8, r13
mov edx, 0x8006
call fcn.01076168
cmp dword [0x010aaf80], r12d
je 0x1069a81
mov rcx, qword [0x010aaf10]
call fcn.01077698
test r13b, sil
je 0x1069a92
mov rcx, qword [0x010aaf08]
call fcn.010790a8
mov rcx, rbp
call fcn.0106b548
and esi, 0x1000000
mov rcx, rbp
neg esi
sbb edx, edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, r13d
jmp 0x1069ab7
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret