Function at 0x180038ca0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rdi, rdx
mov r15, rcx
mov r12, 0xffffffffffffffff
movabs rsi, 0xb2f4fc0794908cf3
mov rax, qword [rdi]
test rax, rax
je 0x180038ce7
mov eax, dword [rax + 4]
nop
test al, 1
jne 0x18003900d
mov qword [rsp + 0x1a0], 0x64
lea rcx, [rsp + 0x1a0]
call fcn.180025c20
call fcn.1802826c4
mov rbx, rax
call fcn.1802826a8
mov rcx, rax
cmp rbx, 0x989680
jne 0x180038d1f
imul rdx, rcx, 0x64
jmp 0x180038d8f
cmp rbx, 0x16e3600
jne 0x180038d73
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add rdx, r8
jmp 0x180038d8f
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rdx, [rax + rcx]
mov rax, qword [r15]
mov qword [rax + 0x120], rdx
mov rax, qword [r15]
cmp qword [rax + 0x68], 0
je 0x18003900d
lea r13, [rax + 8]
mov qword [rsp + 0x28], r13
mov rcx, r13
call fcn.180283150
test eax, eax
jne 0x180039045
mov eax, dword [r13 + 0x4c]
cmp eax, 0x7fffffff
je 0x18003906b
mov rsi, qword [r15]
mov rsi, qword [rsi + 0x60]
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x180038f61
mov r14, qword [rdi + 0x10]
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x50]
call fcn.1802bd010
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rsp + 0x50]
mov rbx, r12
inc rbx
cmp byte [rax + rbx], 0
jne 0x180038e14
cmp rbx, 5
jb 0x180038f55
lea rbp, [rsp + rbx + 0x4c]
lea rax, [rsp + 0x50]
mov r8, rbp
sub r8, rax
mov edx, 0x55
lea rcx, [rsp + 0x50]
call fcn.1802bc7d0
test rax, rax
je 0x180038e89
nop dword [rax + rax]
cmp dword [rax], 0x53344555
jne 0x180038e5e
cmp byte [rax + 4], 0x53
je 0x180038e7b
inc rax
mov r8, rbp
sub r8, rax
mov edx, 0x55
mov rcx, rax
call fcn.1802bc7d0
test rax, rax
jne 0x180038e50
jmp 0x180038e89
lea rcx, [rsp + 0x50]
sub rax, rcx
cmp rax, 0xffffffffffffffff
jne 0x180038f01
cmp rbx, 7
jb 0x180038f55
lea rbx, [rsp + rbx + 0x4a]
lea rax, [rsp + 0x50]
mov r8, rbx
sub r8, rax
mov edx, 0x50
lea rcx, [rsp + 0x50]
call fcn.1802bc7d0
test rax, rax
je 0x180038f55
nop dword [rax + rax]
cmp dword [rax], 0x616d6950
jne 0x180038ed6
cmp word [rax + 4], 0x5878
jne 0x180038ed6
cmp byte [rax + 6], 0x52
je 0x180038ef3
inc rax
mov r8, rbx
sub r8, rax
mov edx, 0x50
mov rcx, rax
call fcn.1802bc7d0
test rax, rax
jne 0x180038ec0
jmp 0x180038f55
lea rcx, [rsp + 0x50]
sub rax, rcx
cmp rax, 0xffffffffffffffff
je 0x180038f55
mov rbp, qword [r15]
mov qword [rsp + 0x1a8], r14
lea rbx, [rbp + 8]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.180283150
test eax, eax
jne 0x180039060
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180039050
lea rcx, [rbp + 0xe0]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x38]
call fcn.180038620
nop
mov rcx, rbx
call fcn.180283194
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x180038de2
mov rdi, qword [r15]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x180038ff8
mov rax, qword [rdi + 0x90]
shr rax, 3
cmp rax, rcx
jbe 0x180038f96
mov rdx, qword [rdi + 0x60]
mov r8, rdx
mov rdx, qword [rdx]
lea rcx, [rdi + 0x58]
call fcn.180039390
jmp 0x180038ff8
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x180038fc5
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.180286270
mov rcx, rbx
test rbx, rbx
jne 0x180038fb0
mov rax, qword [rdi + 0x60]
mov qword [rax], rax
mov rax, qword [rdi + 0x60]
mov qword [rax + 8], rax
mov qword [rdi + 0x68], 0
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x78]
mov rcx, qword [rdi + 0x70]
call fcn.180023d40
nop
mov rcx, r13
call fcn.180283194
mov rdi, qword [rsp + 0x198]
jmp 0x180038cc9
mov rcx, qword [rdi]
test rcx, rcx
je 0x18003902a
lock xadd dword [rcx], r12d
cmp r12d, 1
jne 0x18003902a
lea edx, [r12 + 0x1f]
call fcn.180286270
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1802835e0
nop
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1802835e0
int3
mov ecx, 5
call fcn.1802835e0
nop
dec eax
mov dword [r13 + 0x4c], eax
mov ecx, 6
call fcn.1802835e0
int3