Function at 0x380742ae0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov r12d, dword [0x3807586a0]
test r12d, r12d
je 0x380742b18
lea rsp, [rbp + 8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dword [0x3807586a0], 1
call fcn.380743250
cdqe
lea rax, [rax + rax*4]
lea rax, [rax*8 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.3807434c0
mov r13, qword [0x380754570]
mov rbx, qword [0x380754580]
mov dword [0x3807586a4], 0
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [0x3807586a8], rax
mov rax, r13
sub rax, rbx
cmp rax, 7
jle 0x380742b01
mov edx, dword [rbx]
cmp rax, 0xb
jg 0x380742c80
mov eax, dword [rbx]
test eax, eax
jne 0x380742df0
mov eax, dword [rbx + 4]
test eax, eax
jne 0x380742df0
mov edx, dword [rbx + 8]
cmp edx, 1
jne 0x380742e30
add rbx, 0xc
cmp rbx, r13
jae 0x380742b01
mov r14, qword [0x380754560]
mov r15d, 0xffffffff
jmp 0x380742c1f
cmp ecx, 8
je 0x380742ca0
cmp ecx, 0x10
jne 0x380742e22
movzx esi, word [rdi]
and edx, 0xc0
test si, si
jns 0x380742db0
or rsi, 0xffffffffffff0000
sub rsi, rax
add rsi, r9
test edx, edx
jne 0x380742c07
cmp rsi, 0xffffffffffff8000
jl 0x380742c63
cmp rsi, 0xffff
jg 0x380742c63
mov rcx, rdi
call fcn.380742970
mov word [rdi], si
add rbx, 0xc
cmp rbx, r13
jae 0x380742cf0
mov eax, dword [rbx]
mov edx, dword [rbx + 8]
mov edi, dword [rbx + 4]
add rax, r14
movzx ecx, dl
mov r9, qword [rax]
add rdi, r14
cmp ecx, 0x20
je 0x380742d48
jbe 0x380742bc0
cmp ecx, 0x40
jne 0x380742e22
mov rsi, qword [rdi]
mov ecx, edx
sub rsi, rax
add rsi, r9
and ecx, 0xc0
jne 0x380742da0
test rsi, rsi
js 0x380742c12
mov qword [rsp + 0x20], rsi
mov edx, ecx
mov r8, rdi
lea rcx, str._d_bit_pseudo_relocation_at__p_out_of_range__targeting__p__yielding_the_value__p._n
call fcn.380742900
nop dword [rax]
test edx, edx
jne 0x380742df0
mov eax, dword [rbx + 4]
mov edx, eax
or edx, dword [rbx + 8]
jne 0x380742b8a
add rbx, 0xc
jmp 0x380742b7d
movzx esi, byte [rdi]
and edx, 0xc0
test sil, sil
jns 0x380742dd8
or rsi, 0xffffffffffffff00
sub rsi, rax
add rsi, r9
test edx, edx
jne 0x380742cd2
cmp rsi, 0xff
jg 0x380742c63
cmp rsi, 0xffffffffffffff80
jl 0x380742c63
mov rcx, rdi
add rbx, 0xc
call fcn.380742970
mov byte [rdi], sil
cmp rbx, r13
jb 0x380742c1f
nop word [rax + rax]
mov edx, dword [0x3807586a4]
test edx, edx
jle 0x380742b01
mov rsi, qword [sym.imp.KERNEL32.dll_GetWindowText_37]
xor ebx, ebx
lea rdi, [rbp - 4]
nop dword [rax + rax]
mov rax, qword [0x3807586a8]
add rax, rbx
mov r8d, dword [rax]
test r8d, r8d
je 0x380742d2f
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax + 8]
mov r9, rdi
call rsi
add r12d, 1
add rbx, 0x28
cmp r12d, dword [0x3807586a4]
jl 0x380742d10
jmp 0x380742b01
mov esi, dword [rdi]
and edx, 0xc0
test esi, esi
jns 0x380742dc8
movabs r11, 0xffffffff00000000
or rsi, r11
sub rsi, rax
add rsi, r9
test edx, edx
jne 0x380742d87
cmp rsi, r15
jg 0x380742c63
movabs rax, 0xffffffff7fffffff
cmp rsi, rax
jle 0x380742c63
mov rcx, rdi
call fcn.380742970
mov dword [rdi], esi
jmp 0x380742c12
mov rcx, rdi
call fcn.380742970
mov qword [rdi], rsi
jmp 0x380742c12
sub rsi, rax
add rsi, r9
test edx, edx
je 0x380742bf5
jmp 0x380742c07
sub rsi, rax
add rsi, r9
test edx, edx
je 0x380742d6b
jmp 0x380742d87
sub rsi, rax
add rsi, r9
test edx, edx
je 0x380742cc3
jmp 0x380742cd2
cmp rbx, r13
jae 0x380742b01
mov r14, qword [0x380754560]
mov esi, dword [rbx + 4]
mov edi, dword [rbx]
add rbx, 8
add rsi, r14
add edi, dword [rsi]
mov rcx, rsi
call fcn.380742970
mov dword [rsi], edi
cmp rbx, r13
jb 0x380742e00
jmp 0x380742cf0
mov edx, ecx
lea rcx, str.__Unknown_pseudo_relocation_bit_size__d._n
call fcn.380742900
lea rcx, str.__Unknown_pseudo_relocation_protocol_version__d._n
call fcn.380742900
nop
nop
nop
nop