Function at 0x180011760
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1800118c3
mov ecx, dword [0x180037d98]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
xor r14d, r14d
mov eax, dword [rdx + rcx]
cmp dword [0x1800383e0], eax
jg 0x18001197a
cmp qword [0x180038398], 0
jne 0x1800118df
mov dword [rsp + 0x30], 0xf377f30e
mov dword [rsp + 0x34], 0xf378f30a
mov dword [rsp + 0x38], 0xf33bf31f
mov dword [rbp - 0x7d], 0xf330f332
mov dword [rbp - 0x79], 0xf33af338
mov dword [rbp - 0x75], 0xf314f37f
mov dword [rbp - 0x71], 0xf342f30e
mov dword [rbp - 0x6d], 0xf30df305
mov dword [rbp - 0x69], 0xf302f30b
mov dword [rbp - 0x65], 0xf33af347
mov dword [rbp - 0x61], 0xf306f31d
mov dword [rbp - 0x5d], 0xf303f327
mov dword [rbp - 0x59], 0xf305f302
mov dword [rbp - 0x55], 0xf300f31a
mov dword [rbp - 0x51], 0xf31ef334
mov dword [rbp - 0x4d], 0xf319f316
mov dword [rbp - 0x49], 0xf318f310
mov dword [rbp - 0x45], 0xf33ff303
mov dword [rbp - 0x41], 0xf314f31c
mov dword [rbp - 0x3d], 0xf30ef31e
mov dword [rbp - 0x39], 0xf31df314
mov dword [rbp - 0x35], 0xf3e1f32b
mov dword [rbp - 0x31], 0xf3eef3e3
mov dword [rbp - 0x2d], 0xf3c5f3e6
mov dword [rbp - 0x29], 0xf3eaf3f3
xor eax, eax
mov word [rbp - 0x25], ax
mov eax, r14d
mov r8d, 0xcab
nop
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r8w
xor word [rdx], cx
inc eax
cmp eax, 0x32
jb 0x180011880
mov word [rbp - 0x25], r14w
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180015960
lea rdx, [0x180015b40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
inc r8
cmp byte [rax + r8], 0
je 0x18001191a
jmp 0x1800118d3
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.180016710
test al, al
je 0x1800118c3
mov rax, qword [rbp - 0x19]
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1800383e0]
call fcn.18002a168
jmp 0x1800117af
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.180006240
nop
lea r8, [rbp - 0x11]
mov rdx, qword [0x180037eb8]
mov rcx, rdi
call fcn.1800104e0
mov qword [0x180038398], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x180011909
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800119d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800119d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x1800383e0]
call fcn.18002a1c8
cmp dword [0x1800383e0], 0xffffffff
jne 0x1800117af
movdqa xmm0, xmmword [0x18002ebe0]
movdqu xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x18002e960]
movdqu xmmword [rbp + 0x1f], xmm1
lea rcx, [rbp + 0xf]
call fcn.18000db10
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], sendto
mov byte [rbp - 0x11], 0
mov r8, 0xffffffffffffffff
jmp 0x1800118d3
call fcn.180029c7c
jmp 0x180011909