Function at 0x1800b5830
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x3b0], rbx
mov rax, qword [0x18066dcd8]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov dword [rsp + 0x48], r9d
mov r12d, r8d
mov qword [rbp - 0x58], rdx
mov rbx, rcx
mov qword [rsp + 0x78], rcx
mov rax, qword [rbp + 0x2c8]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x34], eax
mov r14d, eax
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x30], al
mov sil, 1
mov r13d, eax
mov qword [rsp + 0x50], rax
mov edi, eax
mov qword [rsp + 0x58], rax
mov r15d, eax
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_IsWindow]
lea rbx, [r15 - 1]
test eax, eax
jne 0x1800b596f
mov byte [rsp + 0x30], sil
xor ebx, ebx
mov esi, dword [rsp + 0x48]
test rsi, rsi
je 0x1800b5b1f
test r12d, r12d
jle 0x1800b590d
lea eax, [r12 + 0xff]
add al, bl
test al, 1
je 0x1800b590d
inc r14d
jmp 0x1800b5962
mov dword [rsp + 0x70], ebx
cmp r15, rdi
je 0x1800b5923
mov dword [rdi], ebx
add rdi, 4
mov qword [rsp + 0x58], rdi
jmp 0x1800b5944
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180082100
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov eax, dword [rbp + 0x2c0]
cmp rax, rbx
jne 0x1800b5962
mov rax, rdi
sub rax, r13
sar rax, 2
dec eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
inc rbx
cmp rbx, rsi
jb 0x1800b58f5
jmp 0x1800b5a35
mov r8d, 0x104
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x210]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rbp + 0x40]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800b5992
test rax, rax
jne 0x1800b5a4d
mov byte [rsp + 0x30], 1
xor ebx, ebx
mov esi, dword [rsp + 0x48]
test rsi, rsi
je 0x1800b5b1f
nop dword [rax]
test r12d, r12d
jle 0x1800b59d8
lea eax, [r12 + 0xff]
add al, bl
test al, 1
je 0x1800b59d8
inc r14d
jmp 0x1800b5a2d
mov dword [rsp + 0x40], ebx
cmp r15, rdi
je 0x1800b59ee
mov dword [rdi], ebx
add rdi, 4
mov qword [rsp + 0x58], rdi
jmp 0x1800b5a0f
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180082100
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov eax, dword [rbp + 0x2c0]
cmp rax, rbx
jne 0x1800b5a2d
mov rax, rdi
sub rax, r13
sar rax, 2
dec eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
inc rbx
cmp rbx, rsi
jb 0x1800b59c0
mov dword [rsp + 0x38], r14d
mov byte [rsp + 0x30], 1
cmp r13, rdi
jne 0x1800b60e5
jmp 0x1800b5b1f
lea rcx, [rbp - 0x50]
call fcn.1800b6290
nop
lea rcx, [rbp + 0x40]
mov rax, rbx
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1800b5a60
lea rdx, [rbp + 0x40]
lea rdx, [rdx + rax*2]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call fcn.1800b6fa0
test al, al
jne 0x1800b5a94
xor sil, sil
mov byte [rsp + 0x30], 1
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800b5ae4
mov eax, ebx
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1800b5ad5
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1800b5ad5
xor edi, edi
test rbx, rbx
je 0x1800b5ad5
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], rdi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1800b5ab9
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov qword [rbp - 0x50], 0
lea rax, [rbp - 0x48]
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1800b5b16
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1800b5b16
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
test sil, sil
je 0x1800b60de
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor esi, esi
mov qword [rbp - 0x70], rsi
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1805bf050]
movdqu xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x20], si
lea rax, [rbp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1800b5b51
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18007d760
nop
mov edx, 0x2c
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.1800ded10
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b5bc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b5bbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], si
mov rdx, rsi
mov qword [rsp + 0x40], rdx
mov rax, qword [rbp - 0x78]
sub rax, qword [rbp - 0x80]
sar rax, 5
test rax, rax
je 0x1800b6023
xor ebx, ebx
mov ecx, ebx
mov qword [rsp + 0x70], rbx
lea r8, [0x1805a01a4]
mov rsi, qword [rbp - 0x80]
add rsi, rcx
mov r10, rsi
mov r11, qword [rsi + 0x18]
cmp r11, 8
jb 0x1800b5c15
mov r10, qword [rsi]
mov rax, qword [rsi + 0x10]
cmp rax, 1
jb 0x1800b5f38
lea r9, [r10 + rax*2]
mov rbx, r10
nop word [rax + rax]
mov rax, r9
sub rax, rbx
sar rax, 1
je 0x1800b5f31
cmp word [rbx], 0x2d
je 0x1800b5c4f
add rbx, 2
sub rax, 1
jmp 0x1800b5c39
test rbx, rbx
je 0x1800b5f31
mov edx, 1
mov rax, r8
mov r8, rbx
lea rcx, [0x1805a01a4]
sub r8, rcx
nop dword [rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x1800b5eb8
add rax, 2
sub rdx, 1
jne 0x1800b5c70
sub rbx, r10
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x1800b5f31
xor r14d, r14d
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
mov rax, qword [rsi + 0x10]
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800b5ccf
mov rdx, qword [rsi]
lea rcx, [rbp - 0x20]
call fcn.18007d760
mov ecx, dword [rsp + 0x34]
or ecx, 1
mov dword [rsp + 0x34], ecx
lea rdx, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 8]
cmp r9, 8
cmovae rdx, r8
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x1800b5d26
cmp ax, 0x39
ja 0x1800b5d22
lea r14, [r14 + r14*4]
movzx eax, ax
lea r14, [r14 - 0x18]
lea r14, [rax + r14*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800b5d00
mov ecx, dword [rsp + 0x34]
and ecx, 0xfffffffe
mov dword [rsp + 0x34], ecx
cmp r9, 8
jb 0x1800b5d68
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1800b5d60
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6054
mov rcx, r8
call fcn.18042ce14
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 7
mov word [rbp - 0x20], ax
inc rbx
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 7
mov word [rbp], ax
mov rax, qword [rsi + 0x10]
cmp rax, rbx
jb 0x1800b6232
sub rax, rbx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 8
jb 0x1800b5dbd
mov rsi, qword [rsi]
lea rdx, [rsi + rbx*2]
lea rcx, [rbp]
call fcn.18007d760
mov ecx, dword [rsp + 0x34]
or ecx, 2
mov dword [rsp + 0x34], ecx
lea rdx, [rbp]
mov r8, qword [rbp]
mov r9, qword [rbp + 0x18]
cmp r9, 8
cmovae rdx, r8
xor ebx, ebx
mov esi, ebx
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x1800b5e1c
cmp ax, 0x39
ja 0x1800b5e18
lea rsi, [rsi + rsi*4]
movzx eax, ax
lea rsi, [rsi - 0x18]
lea rsi, [rax + rsi*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800b5df6
mov ecx, dword [rsp + 0x34]
and ecx, 0xfffffffd
mov dword [rsp + 0x34], ecx
cmp r9, 8
jb 0x1800b5e5e
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1800b5e56
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b605b
mov rcx, r8
call fcn.18042ce14
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 7
mov word [rbp], bx
cmp r14d, esi
ja 0x1800b5fde
lea ebx, [r14 - 1]
test r14d, r14d
cmove ebx, r14d
mov eax, dword [rsp + 0x48]
cmp esi, eax
cmovbe eax, esi
mov esi, eax
cmp rbx, rsi
jae 0x1800b5fe5
test r12d, r12d
jle 0x1800b5ec8
lea eax, [r12 + 0xff]
add al, bl
test al, 1
je 0x1800b5ec8
mov r14d, dword [rsp + 0x38]
inc r14d
mov dword [rsp + 0x38], r14d
jmp 0x1800b5f20
add rbx, 2
lea r8, [0x1805a01a4]
jmp 0x1800b5c30
mov dword [rbp - 0x68], ebx
cmp r15, rdi
je 0x1800b5edd
mov dword [rdi], ebx
add rdi, 4
mov qword [rsp + 0x58], rdi
jmp 0x1800b5efd
lea r8, [rbp - 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180082100
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov eax, dword [rbp + 0x2c0]
mov r14d, dword [rsp + 0x38]
cmp rax, rbx
jne 0x1800b5f20
mov rax, rdi
sub rax, r13
sar rax, 2
dec eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
inc rbx
cmp rbx, rsi
jb 0x1800b5e96
jmp 0x1800b5fea
xor ebx, ebx
mov rdx, qword [rsp + 0x40]
cmp r11, 8
jb 0x1800b5f41
mov rsi, qword [rsi]
mov rcx, rbx
movzx eax, word [rsi]
cmp ax, 0x30
jb 0x1800b5f72
nop dword [rax]
cmp ax, 0x39
ja 0x1800b5f72
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rsi, 2
movzx eax, word [rsi]
cmp ax, 0x30
jae 0x1800b5f50
test ecx, ecx
je 0x1800b5ff1
cmp ecx, dword [rsp + 0x48]
ja 0x1800b5ff1
test r12d, r12d
jle 0x1800b5f89
lea eax, [rcx + r12]
test al, 1
jne 0x1800b5ff1
lea ebx, [rcx - 1]
mov dword [rbp - 0x60], ebx
cmp r15, rdi
je 0x1800b5fa1
mov dword [rdi], ebx
add rdi, 4
mov qword [rsp + 0x58], rdi
jmp 0x1800b5fc1
lea r8, [rbp - 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180082100
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
cmp dword [rbp + 0x2c0], ebx
jne 0x1800b5fea
mov rax, rdi
sub rax, r13
sar rax, 2
dec eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
jmp 0x1800b5fea
mov r14d, dword [rsp + 0x38]
jmp 0x1800b5fec
mov r14d, dword [rsp + 0x38]
xor ebx, ebx
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
mov rcx, qword [rsp + 0x70]
add rcx, 0x20
mov qword [rsp + 0x70], rcx
mov rax, qword [rbp - 0x78]
sub rax, qword [rbp - 0x80]
sar rax, 5
cmp rdx, rax
jb 0x1800b5bf7
mov rbx, 0xffffffffffffffff
cmp r13, rdi
je 0x1800b6062
lea rax, [rbp + 0x40]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1800b6030
mov rcx, qword [rsp + 0x78]
add rcx, 0x310
mov r8, rbx
lea rdx, [rbp + 0x40]
call fcn.18007d760
jmp 0x1800b6067
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [rsp + 0x30], 1
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1800b60de
mov rsi, qword [rbp - 0x78]
cmp rbx, rsi
je 0x1800b6095
nop dword [rax]
mov rcx, rbx
call fcn.18007d6f0
add rbx, 0x20
cmp rbx, rsi
jne 0x1800b6080
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800b60c8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b60c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18042ce14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor eax, eax
mov qword [rbp - 0x70], rax
cmp byte [rsp + 0x30], 0
je 0x1800b6143
mov rbx, qword [rsp + 0x78]
cmp qword [rbx + 0x320], 0
jne 0x1800b6112
lea rcx, [rbx + 0x310]
mov r9d, dword [rsp + 0x48]
mov r8d, 1
lea rdx, str._d__d
call fcn.1800dd390
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800b6148
lea rdx, [rbx + 0x310]
cmp qword [rdx + 0x18], 8
jb 0x1800b6134
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x1800b6148
mov rbx, qword [rsp + 0x78]
mov rcx, rdi
sub rcx, r13
sar rcx, 2
mov rdx, qword [rsp + 0x68]
mov eax, dword [rdx]
xor esi, esi
cmp rax, rcx
jb 0x1800b6162
mov dword [rdx], esi
mov eax, r14d
add rax, rcx
cmp rax, 1
seta al
mov byte [rbx + 0x330], al
lea rax, [rsp + 0x50]
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x1800b61ae
mov rax, qword [rcx]
mov qword [rcx], r13
mov r13, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 8]
mov qword [rcx + 8], rdi
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x10]
mov qword [rcx + 0x10], r15
mov r15, rax
mov qword [rsp + 0x60], rax
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
sar rbx, 2
test r13, r13
je 0x1800b6206
sub r15, r13
and r15, 0xfffffffffffffffc
mov rax, r13
cmp r15, 0x1000
jb 0x1800b61ed
add r15, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b61ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
mov rcx, r13
call fcn.18042ce14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov eax, ebx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.18042cdf0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18008d1e0
nop
int3