Function at 0x1800114c0
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 0x180011621
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 [0x1800383c8], eax
jg 0x1800116ee
cmp qword [0x180038390], 0
jne 0x18001163d
mov dword [rbp - 0x79], 0xf377f30e
mov dword [rbp - 0x75], 0xf378f30a
mov dword [rbp - 0x71], 0xf33bf31f
mov dword [rbp - 0x6d], 0xf330f332
mov dword [rbp - 0x69], 0xf33af338
mov dword [rbp - 0x65], 0xf314f37f
mov dword [rbp - 0x61], 0xf342f30e
mov dword [rbp - 0x5d], 0xf30df305
mov dword [rbp - 0x59], 0xf302f30b
mov dword [rbp - 0x55], 0xf33af347
mov dword [rbp - 0x51], 0xf306f31d
mov dword [rbp - 0x4d], 0xf309f32f
mov dword [rbp - 0x49], 0xf30bf301
mov dword [rbp - 0x45], 0xf315f31b
mov dword [rbp - 0x41], 0xf31ef334
mov dword [rbp - 0x3d], 0xf319f316
mov dword [rbp - 0x39], 0xf318f310
mov dword [rbp - 0x35], 0xf33ff303
mov dword [rbp - 0x31], 0xf314f31c
mov dword [rbp - 0x2d], 0xf30ef31e
mov dword [rbp - 0x29], 0xf31df314
mov dword [rbp - 0x25], 0xf3e1f32b
mov dword [rbp - 0x21], 0xf3eef3e3
mov dword [rbp - 0x1d], 0xf3c5f3e6
mov dword [rbp - 0x19], 0xf3eaf3f3
xor eax, eax
mov word [rbp - 0x15], ax
mov eax, r14d
mov r8d, 0xcab
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x79]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r8w
xor word [rdx], cx
inc eax
cmp eax, 0x32
jb 0x1800115e0
mov word [rbp - 0x15], r14w
lea rdx, [rbp - 0x79]
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 al, al
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
inc r8
cmp byte [rax + r8], 0
je 0x18001168e
jmp 0x180011631
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800164c0
test al, al
je 0x18001166d
cmp byte [rsp + 0x30], 0
je 0x18001166d
mov al, 1
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1800383c8]
call fcn.18002a168
jmp 0x18001150f
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.180006240
nop
lea r8, [rbp - 9]
mov rdx, qword [0x180037eb8]
mov rcx, rdi
call fcn.1800104e0
mov qword [0x180038390], rax
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18001167d
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001174a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001174a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x1800383c8]
call fcn.18002a1c8
cmp dword [0x1800383c8], 0xffffffff
jne 0x18001150f
movdqa xmm0, xmmword [0x18002ebf0]
movdqu xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x18002e960]
movdqu xmmword [rbp + 0x27], xmm1
lea rcx, [rbp + 0x17]
call fcn.18000db10
mov qword [rbp - 9], r14
mov qword [rbp + 7], r14
mov qword [rbp + sendto], 0xf
mov byte [rbp - 9], 0
mov r8, 0xffffffffffffffff
jmp 0x180011631
call fcn.180029c7c
jmp 0x18001167d