Function at 0x140012e2c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400991b0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r13, rcx
lea rcx, [0x14009ec90]
cmp qword [0x14009eca8], 0x10
cmovae rcx, qword [0x14009ec90]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
xor ebx, ebx
test rax, rax
je 0x140012e9b
xor eax, eax
jmp 0x1400136ab
movdqa xmm0, xmmword [0x140086db0]
movdqu xmmword [rbp + 0x190], xmm0
mov dword [rbp + 0xb0], 0xe93b68a8
mov word [rbp + 0xb4], 0xc724
mov byte [rbp + 0xb6], 0xaf
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14009ea7c], eax
jle 0x140012f31
lea rcx, [0x14009ea7c]
call fcn.14004b21c
cmp dword [0x14009ea7c], 0xffffffff
jne 0x140012f31
mov word [0x14009e96e], 0x1af
mov eax, dword [rbp + 0xb0]
mov dword [0x14009e968], eax
movzx eax, word [rbp + 0xb4]
mov word [0x14009e96c], ax
lea rcx, [0x14006d78c]
call fcn.14004b990
lea rcx, [0x14009ea7c]
call fcn.14004b1bc
lea rdi, [0x14009e968]
cmp byte [0x14009e96f], bl
je 0x140012f6a
mov rdx, rbx
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0xdfafb5419f490ddb
shr rax, cl
xor byte [rdx + rdi], al
inc rdx
cmp rdx, 7
jb 0x140012f43
mov byte [0x14009e96f], bl
call fcn.140012b00
cmp qword [rax + 0x50], rbx
jne 0x140012f7e
call fcn.140012b00
mov qword [rax + 0x50], rbx
call fcn.140012b00
lea rdx, [r13 + 0x40]
mov rcx, rax
call fcn.140005cd8
mov word [rsp + 0x38], ax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x40100
mov dword [rsp + 0x20], 0x6cf0000
mov r9, rdi
lea r8, [rbp + 0x190]
mov rcx, r13
call fcn.14001b9fc
mov r14d, 3
mov ecx, 0x20
call fcn.14004b5e8
mov r15, rax
mov qword [rbp - 0x20], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_std::thread_.0
mov qword [r15], rax
lea r12, [r15 + 0x10]
mov ecx, 8
call fcn.14004b5e8
mov rdi, rax
mov qword [rax], r13
mov qword [rbp - 0x30], rax
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp + 0xc8]
call fcn.14004d380
lea rcx, [rbp + 0xd0]
call fcn.14002b664
test eax, eax
je 0x14001302b
mov ecx, eax
call fcn.14002b924
xor eax, eax
mov qword [rbp + 0x100], rax
mov byte [rbp + 0x100], 1
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x108], rax
mov edx, 1
lea rcx, [rbp + 0xd8]
call fcn.14002c54c
test eax, eax
je 0x140013065
mov ecx, eax
call fcn.14002b924
xor eax, eax
mov qword [rbp + 0xf0], rax
mov byte [rbp + 0xf0], 1
mov rcx, qword [rbp + 0xd8]
mov qword [rbp + 0xf8], rcx
mov byte [rbp + 0xe0], bl
call fcn.14002c5d0
test eax, eax
je 0x140013099
mov ecx, eax
call fcn.14002b924
mov byte [rbp + 0xf0], bl
mov byte [rbp + 0x100], bl
lea rax, vtable.std::_LaunchPad_class_std::unique_ptr_class_std::tuple_class__lambda_026f8825ea9ec2c4f8537b48c0e1fcae____struct_std::default_delete_class_std::tuple_class__lambda_026f8825ea9ec2c4f8537b48c0e1fcae_____.0
mov qword [rbp + 0xc8], rax
mov qword [rbp - 0x30], rbx
mov qword [rbp + 0xe8], rdi
lea r8, [rbp + 0xc8]
lea rdx, [0x14000846c]
mov rcx, r12
call fcn.14002cae4
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x140013103
jmp 0x1400130fe
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xd0]
call fcn.14002b6c8
test eax, eax
je 0x140013103
mov ecx, eax
call fcn.14002b924
cmp byte [rbp + 0xe0], bl
je 0x1400130e5
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140013122
mov edx, 8
call fcn.14004b024
nop
mov rsi, qword [rbp + 0xd0]
mov rdi, qword [rbp + 0xd8]
mov rcx, rdi
call fcn.14002c5f4
test eax, eax
je 0x140013143
mov ecx, eax
call fcn.14002b924
mov rcx, rdi
call fcn.14002c50c
mov rcx, rsi
call fcn.14002b62c
nop
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], r15
lea rdx, [rbp + 0xb8]
lea rcx, [r13 + 0x1f8]
call fcn.1400142f8
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1400131b9
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400131b9
mov rdi, qword [rbp + 0xc0]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400131b9
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
call qword [rax + 8]
nop
sub r14, 1
jne 0x140012fc1
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_bed558b18fa06c1db326a5cc9e074301___void__struct_HWND______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_.0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r13
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
lea rdi, [r13 + 0x240]
mov qword [rbp - 0x78], rbx
mov rax, qword [vtable.std::_Func_impl_no_alloc_class__lambda_bed558b18fa06c1db326a5cc9e074301___void__struct_HWND______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_.0]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call rax
mov rcx, rax
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x140013222
cmp qword [rdi + 0x38], rdi
je 0x140013222
mov rax, rcx
mov rcx, qword [rdi + 0x38]
mov qword [rbp - 0x78], rcx
mov qword [rdi + 0x38], rax
jmp 0x140013361
mov r8, rbx
mov qword [rbp + 0x148], rbx
test rcx, rcx
je 0x14001328d
lea rax, [rsp + 0x50]
cmp rcx, rax
jne 0x14001327c
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
call qword [rax + 8]
mov r8, rax
mov qword [rbp + 0x148], rax
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14001327a
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, rbx
mov qword [rbp - 0x78], rbx
mov r8, qword [rbp + 0x148]
jmp 0x14001328d
mov r8, rcx
mov qword [rbp + 0x148], rcx
mov rcx, rbx
mov qword [rbp - 0x78], rbx
mov r9, qword [rdi + 0x38]
test r9, r9
je 0x1400132e1
mov rcx, r9
cmp r9, rdi
jne 0x1400132d9
mov rax, qword [r9]
lea rdx, [rsp + 0x50]
call qword [rax + 8]
mov rcx, rax
mov qword [rbp - 0x78], rax
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1400132d0
mov rax, qword [r8]
cmp r8, rdi
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov qword [rdi + 0x38], rbx
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp + 0x148]
jmp 0x1400132e1
mov qword [rbp - 0x78], rcx
mov qword [rdi + 0x38], rbx
test r8, r8
je 0x140013342
lea rax, [rbp + 0x110]
cmp r8, rax
jne 0x140013334
mov rax, qword [r8]
mov rdx, rdi
mov rcx, r8
call qword [rax + 8]
mov qword [rdi + 0x38], rax
mov r8, qword [rbp + 0x148]
test r8, r8
je 0x14001332e
mov rax, qword [r8]
lea rcx, [rbp + 0x110]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov r8, rbx
mov qword [rbp + 0x148], rbx
mov rcx, qword [rbp - 0x78]
jmp 0x140013342
mov qword [rdi + 0x38], r8
mov r8, rbx
mov qword [rbp + 0x148], rbx
test r8, r8
je 0x140013361
mov rax, qword [r8]
lea rcx, [rbp + 0x110]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140013378
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140013392
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_8a9e5071202d96c148f87863d87821a3___void___.0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r13
lea rax, [rbp + 0x30]
mov qword [rbp + 0x68], rax
lea rdi, [r13 + 0xe8]
mov qword [rbp - 0x38], rbx
mov rax, qword [vtable.std::_Func_impl_no_alloc_class__lambda_8a9e5071202d96c148f87863d87821a3___void___.0]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call rax
mov rcx, rax
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x1400133ef
cmp qword [rdi + 0x38], rdi
je 0x1400133ef
mov rax, rcx
mov rcx, qword [rdi + 0x38]
mov qword [rbp - 0x38], rcx
mov qword [rdi + 0x38], rax
jmp 0x14001352b
mov r8, rbx
mov qword [rbp + 0x188], rbx
test rcx, rcx
je 0x140013458
lea rax, [rbp - 0x70]
cmp rcx, rax
jne 0x140013447
mov rax, qword [rcx]
lea rdx, [rbp + 0x150]
call qword [rax + 8]
mov r8, rax
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140013445
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, rbx
mov qword [rbp - 0x38], rbx
mov r8, qword [rbp + 0x188]
jmp 0x140013458
mov r8, rcx
mov qword [rbp + 0x188], rcx
mov rcx, rbx
mov qword [rbp - 0x38], rbx
mov r9, qword [rdi + 0x38]
test r9, r9
je 0x1400134ab
mov rcx, r9
cmp r9, rdi
jne 0x1400134a3
mov rax, qword [r9]
lea rdx, [rbp - 0x70]
call qword [rax + 8]
mov rcx, rax
mov qword [rbp - 0x38], rax
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x14001349a
mov rax, qword [r8]
cmp r8, rdi
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov qword [rdi + 0x38], rbx
mov rcx, qword [rbp - 0x38]
mov r8, qword [rbp + 0x188]
jmp 0x1400134ab
mov qword [rbp - 0x38], rcx
mov qword [rdi + 0x38], rbx
test r8, r8
je 0x14001350c
lea rax, [rbp + 0x150]
cmp r8, rax
jne 0x1400134fe
mov rax, qword [r8]
mov rdx, rdi
mov rcx, r8
call qword [rax + 8]
mov qword [rdi + 0x38], rax
mov r8, qword [rbp + 0x188]
test r8, r8
je 0x1400134f8
mov rax, qword [r8]
lea rcx, [rbp + 0x150]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov r8, rbx
mov qword [rbp + 0x188], rbx
mov rcx, qword [rbp - 0x38]
jmp 0x14001350c
mov qword [rdi + 0x38], r8
mov r8, rbx
mov qword [rbp + 0x188], rbx
test r8, r8
je 0x14001352b
mov rax, qword [r8]
lea rcx, [rbp + 0x150]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140013541
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14001355b
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
lea rdi, [r13 + 8]
mov esi, 0xfffffff0
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
and r8d, 0xfffaffff
cmp eax, r8d
je 0x140013589
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
and r8d, 0xff34ffff
bts r8d, 0x1f
cmp eax, r8d
je 0x1400135b3
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, 0xffffffec
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
btr r8d, 0x12
bts r8d, 7
cmp eax, r8d
je 0x1400135e0
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rdi
call fcn.140005eb0
mov edx, 5
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_be928e7221cd91c69bc26983267081f4___long_long___int64___struct_HWND______ptr64__unsigned_int__unsigned_long_long_unsigned___int64___long_long___int64___int____ptr64_.0
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x70]
mov qword [rbp + 0xa8], rax
lea r8, [rbp + 0x70]
mov edx, 2
mov rcx, r13
call fcn.140006330
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14001365f
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.14004d380
jmp 0x140013692
cmp eax, 0xffffffff
je 0x1400136ab
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140013673
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14004b000
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret