Function at 0x14004bac0
Capabilities:
Get graphical window text
Set global application hook

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov edi, r9d
mov dword [rbp - 0x68], r9d
mov ebx, r8d
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r15d, eax
test eax, eax
je 0x14004bf92
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x14004bb44
cmp dword [rcx], r15d
je 0x14004bf92
add rcx, 0x38
cmp rcx, rax
jne 0x14004bb32
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x14004bc6b
mov edx, 0x208
lea rcx, [rbp - 0x40]
call fcn.14005c350
mov ecx, 0x208
lea rax, [rbp - 0x40]
cmp word [rax], r12w
je 0x14004bb78
add rax, 2
sub rcx, 1
jne 0x14004bb68
test rcx, rcx
je 0x14004bbe0
mov eax, 0x208
sub rax, rcx
test rcx, rcx
cmove rax, r12
mov edx, 0x208
sub rdx, rax
lea rcx, [rbp - 0x40]
lea rcx, [rcx + rax*2]
je 0x14004bbd1
mov eax, 0x7ffffffe
lea r9, [0x1400b8b50]
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14004bbd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14004bbd1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14004bbb0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea r8, str.nViewH64.dll
mov edx, 0x208
lea rcx, [rbp - 0x40]
call fcn.14004b8c0
lea rcx, [rbp - 0x40]
call fcn.140057b60
mov rbx, rax
test rax, rax
je 0x14004bc18
mov edi, 3
lea r12d, [rdi + 0x67]
lea r13, str.loaded_hook_dll:__s
jmp 0x14004bc28
mov edi, 1
lea r12d, [rdi + 0x6d]
lea r13, str.failed_to_load_hook_dll:__s
call fcn.1400588c0
mov rcx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r12d
lea r9, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nView_nViewMainThreadHookManager.cpp
lea r8, str.ThreadHookManager::loadHookDll
mov edx, edi
call fcn.140058e40
mov qword [rsi + 0x18], rbx
mov edi, dword [rbp - 0x68]
xor r12d, r12d
test rbx, rbx
je 0x14004bfe4
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov ecx, 0x28
call fcn.14006ec1c
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x78], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x60], r15d
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], r12d
movabs r13, 0x666666666666666
cmp byte [rax + 0x19], 0
jne 0x14004bcd9
cmp r14, qword [rax + 0x20]
jae 0x14004bd2e
cmp qword [rsp + 0x70], r13
je 0x14004c016
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov ecx, 0x28
call fcn.14006ec1c
nop
mov qword [rax + 0x20], r14
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.14001a710
test edi, edi
je 0x14004bd70
mov dword [rsp + 0x78], 1
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14004bd5b
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14004b500
add qword [rsi + 8], 0x38
jmp 0x14004bf81
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.14004b090
jmp 0x14004bf81
mov rdi, qword [rsi + 0x18]
mov dword [rsp + 0x60], r15d
lea rdx, str.fnCallMessageHookEx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, r15d
mov r8, rdi
mov rdx, rax
mov ecx, 4
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp - 0x80], rax
mov ebx, dword [rsp + 0x60]
lea rdx, str.fnCallReturnMessageHookEx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, ebx
mov r8, rdi
mov rdx, rax
mov ecx, 0xc
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp - 0x78], rax
mov ebx, dword [rsp + 0x60]
lea rdx, str.fnGetMessageHookEx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, ebx
mov r8, rdi
mov rdx, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp - 0x70], rax
cmp qword [rbp - 0x80], 0
je 0x14004bf81
cmp qword [rbp - 0x78], 0
je 0x14004bf81
test rax, rax
je 0x14004bf81
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x7c], eax
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx + 8]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], r12d
mov rcx, rbx
cmp byte [rax + 0x19], 0
jne 0x14004be67
nop word [rax + rax]
mov qword [rbp - 0x58], rax
cmp qword [rax + 0x20], r14
jae 0x14004be54
mov dword [rbp - 0x50], r12d
mov rax, qword [rax + 0x10]
jmp 0x14004be61
mov dword [rbp - 0x50], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14004be40
cmp byte [rcx + 0x19], 0
jne 0x14004be73
cmp r14, qword [rcx + 0x20]
jae 0x14004bec8
cmp qword [rsp + 0x70], r13
je 0x14004c010
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov ecx, 0x28
call fcn.14006ec1c
nop
mov qword [rax + 0x20], r14
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.14001a710
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14004bee6
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14004b500
add qword [rsi + 8], 0x38
jmp 0x14004bef6
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.14004b090
xor r9d, r9d
xor r8d, r8d
mov rax, qword [0x1400d5758]
mov edx, dword [rax + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rbp - 0x68], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8d, [r9 + 0x28]
mov rax, qword [0x1400d5758]
mov edx, dword [rax + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp qword [rbp - 0x68], 0
jne 0x14004bf81
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [0x14009df18]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14004bf81
mov rdx, r14
mov rcx, rsi
call fcn.14004c3f0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14004b320
jmp 0x14004bfe4
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x14004bfc7
nop
cmp dword [rcx], r15d
je 0x14004bfb0
add rcx, 0x38
cmp rcx, rax
jne 0x14004bfa0
jmp 0x14004bfc7
add rcx, 8
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x68]
call fcn.14004b400
mov r14, qword [rsp + 0x50]
test edi, edi
jne 0x14004bfe4
mov r9, rbx
xor r8d, r8d
mov rax, qword [0x1400d5758]
mov edx, dword [rax + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14001aa50
nop
call fcn.14001aa50
int3