Function at 0x180038930
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 0x180038977
mov eax, dword [rax + 4]
nop
test al, 1
jne 0x180038c9d
mov qword [rsp + 0x1a0], 0x64
lea rcx, [rsp + 0x1a0]
call fcn.180025900
call fcn.18027b2e4
mov rbx, rax
call fcn.18027b2c8
mov rcx, rax
cmp rbx, 0x989680
jne 0x1800389af
imul rdx, rcx, 0x64
jmp 0x180038a1f
cmp rbx, 0x16e3600
jne 0x180038a03
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 0x180038a1f
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 0x180038c9d
lea r13, [rax + 8]
mov qword [rsp + 0x28], r13
mov rcx, r13
call fcn.18027bd70
test eax, eax
jne 0x180038cd5
mov eax, dword [r13 + 0x4c]
cmp eax, 0x7fffffff
je 0x180038cfb
mov rsi, qword [r15]
mov rsi, qword [rsi + 0x60]
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x180038bf1
mov r14, qword [rdi + 0x10]
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x50]
call fcn.1802d1800
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 0x180038aa4
cmp rbx, 5
jb 0x180038be5
lea rbp, [rsp + rbx + 0x4c]
lea rax, [rsp + 0x50]
mov r8, rbp
sub r8, rax
mov edx, 0x55
lea rcx, [rsp + 0x50]
call fcn.1802d0fc0
test rax, rax
je 0x180038b19
nop dword [rax + rax]
cmp dword [rax], 0x53344555
jne 0x180038aee
cmp byte [rax + 4], 0x53
je 0x180038b0b
inc rax
mov r8, rbp
sub r8, rax
mov edx, 0x55
mov rcx, rax
call fcn.1802d0fc0
test rax, rax
jne 0x180038ae0
jmp 0x180038b19
lea rcx, [rsp + 0x50]
sub rax, rcx
cmp rax, 0xffffffffffffffff
jne 0x180038b91
cmp rbx, 7
jb 0x180038be5
lea rbx, [rsp + rbx + 0x4a]
lea rax, [rsp + 0x50]
mov r8, rbx
sub r8, rax
mov edx, 0x50
lea rcx, [rsp + 0x50]
call fcn.1802d0fc0
test rax, rax
je 0x180038be5
nop dword [rax + rax]
cmp dword [rax], 0x616d6950
jne 0x180038b66
cmp word [rax + 4], 0x5878
jne 0x180038b66
cmp byte [rax + 6], 0x52
je 0x180038b83
inc rax
mov r8, rbx
sub r8, rax
mov edx, 0x50
mov rcx, rax
call fcn.1802d0fc0
test rax, rax
jne 0x180038b50
jmp 0x180038be5
lea rcx, [rsp + 0x50]
sub rax, rcx
cmp rax, 0xffffffffffffffff
je 0x180038be5
mov rbp, qword [r15]
mov qword [rsp + 0x1a8], r14
lea rbx, [rbp + 8]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.18027bd70
test eax, eax
jne 0x180038cf0
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180038ce0
lea rcx, [rbp + 0xe0]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x38]
call fcn.1800382b0
nop
mov rcx, rbx
call fcn.18027bdb4
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x180038a72
mov rdi, qword [r15]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x180038c88
mov rax, qword [rdi + 0x90]
shr rax, 3
cmp rax, rcx
jbe 0x180038c26
mov rdx, qword [rdi + 0x60]
mov r8, rdx
mov rdx, qword [rdx]
lea rcx, [rdi + 0x58]
call fcn.180039020
jmp 0x180038c88
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x180038c55
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18027ee90
mov rcx, rbx
test rbx, rbx
jne 0x180038c40
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.180023a20
nop
mov rcx, r13
call fcn.18027bdb4
mov rdi, qword [rsp + 0x198]
jmp 0x180038959
mov rcx, qword [rdi]
test rcx, rcx
je 0x180038cba
lock xadd dword [rcx], r12d
cmp r12d, 1
jne 0x180038cba
lea edx, [r12 + 0x1f]
call fcn.18027ee90
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.18027c200
nop
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18027c200
int3
mov ecx, 5
call fcn.18027c200
nop
dec eax
mov dword [r13 + 0x4c], eax
mov ecx, 6
call fcn.18027c200
int3