Function at 0x1800cbad0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x50], r14
movsxd r14, dword [rsp + 0xc8]
mov ecx, r14d
mov ebx, edx
call fcn.1800b0d20
test eax, eax
jne 0x1800cbe13
mov ecx, dword [rsp + 0xc0]
call fcn.1800cbe60
test eax, eax
jne 0x1800cbe13
mov qword [rsp + 0x68], rdi
lea rcx, [0x180000000]
mov qword [rsp + 0x58], r13
mov edi, 0
mov rax, r14
mov qword [rsp + 0x48], r15
imul rax, rax, 0x78
mov r13d, dword [rax + rcx + 0x22d53c]
mov eax, dword [rsp + 0xb0]
test al, 7
lea ecx, [r13 + r13]
setne dil
shr eax, 3
add edi, eax
lea eax, [rdi - 2]
cmp ecx, eax
jae 0x1800cbe51
mov r15d, edi
sub r15d, ecx
lea eax, [r15 - 2]
cmp ebx, eax
ja 0x1800cbe51
mov qword [rsp + 0x78], rbp
mov ecx, edi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x60], r12
call fcn.180079290
mov ecx, edi
mov rsi, rax
call fcn.180079290
mov rcx, r13
mov rbp, rax
call fcn.180079290
test rsi, rsi
mov r12, rax
je 0x1800cbe30
test rbp, rbp
je 0x1800cbe28
test rax, rax
je 0x1800cbe28
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x30], edi
test rax, rax
je 0x1800cbc09
mov r8d, dword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x20], rcx
mov ecx, r14d
mov rdx, rax
call fcn.1800f2970
test eax, eax
mov ebx, eax
jne 0x1800cbddb
jmp 0x1800cbc2e
lea rax, [rsp + 0x30]
mov r9, rsi
xor r8d, r8d
mov rdx, rsi
mov ecx, r14d
mov qword [rsp + 0x20], rax
call fcn.1800f2970
test eax, eax
mov ebx, eax
jne 0x1800cbddb
mov ebx, dword [rsp + 0x98]
lea rcx, [rsi + r13]
xor edx, edx
sub r15d, ebx
mov dword [rsp + 0x30], r13d
sub r15d, 2
mov r8d, r15d
call fcn.1800a0240
mov r11d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x90]
add r11d, r15d
mov r8, rbx
mov dword [rsp + 0x30], r11d
mov byte [r11 + rsi], 1
mov eax, dword [rsp + 0x30]
inc eax
mov ecx, eax
mov dword [rsp + 0x30], eax
add rcx, rsi
call fcn.1800ae650
movsxd rax, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
add dword [rsp + 0x30], ebx
lea r9, [rax + rax*8]
lea rax, [0x180000000]
mov edx, r13d
mov rcx, r12
call qword [rax + r9*8 + 0x237788]
cmp eax, r13d
je 0x1800cbcbc
mov ebx, 0x7d7
jmp 0x1800cbddb
mov r15d, edi
mov r9, rbp
mov r8d, r13d
sub r15d, r13d
mov rdx, r12
mov ecx, r14d
add r15d, 0xffffffff
mov dword [rsp + 0x20], r15d
call fcn.1800e8b10
test eax, eax
mov ebx, eax
jne 0x1800cbddb
test r15d, r15d
je 0x1800cbd10
mov r9, rbp
mov rdx, rsi
mov r8d, r15d
sub r9, rsi
nop
nop
nop
movzx eax, byte [r9 + rdx]
inc rdx
xor byte [rdx - 1], al
dec r8
jne 0x1800cbd00
mov r9, rbp
mov r8d, r15d
mov rdx, rsi
mov ecx, r14d
mov dword [rsp + 0x20], r13d
call fcn.1800e8b10
test eax, eax
mov ebx, eax
jne 0x1800cbddb
test r13d, r13d
je 0x1800cbd62
mov r8, rbp
mov rcx, r12
mov r9, r13
sub r8, r12
mov rdx, r13
nop
nop
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor byte [rcx - 1], al
dec rdx
jne 0x1800cbd50
jmp 0x1800cbd65
mov r9, r13
mov r14, qword [rsp + 0xd8]
cmp dword [r14], edi
jae 0x1800cbd7c
mov dword [r14], edi
mov ebx, 0x7d4
jmp 0x1800cbddb
mov rbx, qword [rsp + 0xd0]
mov dword [rsp + 0x30], 0
mov r8, r9
mov byte [rbx], 0
mov eax, dword [rsp + 0x30]
mov rdx, r12
inc eax
mov ecx, eax
mov dword [rsp + 0x30], eax
add rcx, rbx
call fcn.1800ae650
mov r11d, dword [rsp + 0x30]
mov r8d, r15d
add r11d, r13d
mov rdx, rsi
mov ecx, r11d
mov dword [rsp + 0x30], r11d
add rcx, rbx
call fcn.1800ae650
mov eax, dword [rsp + 0x30]
sub edi, r13d
lea ecx, [rax + rdi - 1]
xor ebx, ebx
mov dword [rsp + 0x30], ecx
mov dword [r14], ecx
mov rcx, r12
call fcn.180078fc0
mov rcx, rbp
call fcn.180078fc0
mov rcx, rsi
call fcn.180078fc0
mov eax, ebx
mov rsi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rcx, rsi
call fcn.180078fc0
test rbp, rbp
je 0x1800cbe3d
mov rcx, rbp
call fcn.180078fc0
test r12, r12
je 0x1800cbe4a
mov rcx, r12
call fcn.180078fc0
mov eax, reloc.WSOCK32.dll_ioctlsocket
jmp 0x1800cbdf5
mov eax, 0x7e2
jmp 0x1800cbe04