Function at 0x1800b0980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x1a8
mov qword [rax - 0x28], r12
mov qword [rax - 0x40], r15
mov rax, qword [rsp + 0x1e8]
movsxd r15, dword [rsp + 0x1d8]
mov r12d, r9d
mov dword [rax], 0
mov ecx, r15d
call fcn.1800b0d20
test eax, eax
jne 0x1800b0cba
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x170], r14
lea rax, [0x18022d530]
mov edi, 0
mov r14, r15
imul r14, r14, 0x78
mov ecx, dword [r14 + rax + 0xc]
mov eax, dword [rsp + 0x1e0]
test al, 7
mov dword [rsp + 0x30], ecx
setne dil
shr eax, 3
add edi, eax
mov eax, dword [rsp + 0x1d0]
cmp eax, edi
ja 0x1800b0d10
lea eax, [rcx + rax + 2]
cmp edi, eax
jb 0x1800b0d10
cmp r12d, edi
jne 0x1800b0d10
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x198], rbp
mov ecx, edi
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x178], r13
call fcn.180079290
mov ecx, edi
mov rbp, rax
call fcn.180079290
mov ecx, edi
mov rsi, rax
call fcn.180079290
mov ecx, edi
mov qword [rsp + 0x38], rax
call fcn.180079290
test rbp, rbp
mov r13, rax
je 0x1800b0cda
test rsi, rsi
je 0x1800b0cd2
cmp qword [rsp + 0x38], 0
je 0x1800b0cd2
test rax, rax
je 0x1800b0cd2
mov rax, qword [rsp + 0x1c0]
lea ecx, [r12 - 1]
cmp byte [rcx + rax], 0xbc
je 0x1800b0ab9
mov ebx, 0x7d5
jmp 0x1800b0c66
mov r12d, edi
mov rdx, rax
mov rcx, rbp
sub r12d, dword [rsp + 0x30]
lea ebx, [r12 - 1]
mov r8d, ebx
call fcn.1800ae650
mov ecx, dword [rsp + 0x30]
mov edx, edi
sub edx, ecx
mov r8, rcx
mov qword [rsp + 0x40], rcx
dec edx
mov rcx, r13
add rdx, qword [rsp + 0x1c0]
call fcn.1800ae650
lea ecx, [rdi*8]
mov edi, 0xff
sub ecx, dword [rsp + 0x1e0]
inc ecx
sar edi, cl
mov rcx, qword [rsp + 0x1c0]
mov eax, edi
not eax
test byte [rcx], al
je 0x1800b0b27
mov ebx, 0x7d5
jmp 0x1800b0c66
mov r8d, dword [rsp + 0x30]
mov r9, rsi
mov rdx, r13
mov ecx, r15d
mov dword [rsp + 0x20], ebx
call fcn.1800e8b10
test eax, eax
mov ebx, eax
jne 0x1800b0c66
lea eax, [r12 - 1]
test eax, eax
je 0x1800b0b70
mov r8, rsi
mov rcx, rbp
mov edx, eax
sub r8, rbp
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor byte [rcx - 1], al
dec rdx
jne 0x1800b0b60
and byte [rbp], dil
mov r15d, dword [rsp + 0x1d0]
xor edi, edi
sub r12d, r15d
sub r12d, 2
je 0x1800b0b9f
mov rax, rbp
nop
nop
cmp byte [rax], 0
jne 0x1800b0baf
inc edi
inc rax
cmp edi, r12d
jb 0x1800b0b90
cmp byte [rdi + rbp], 1
je 0x1800b0bb9
mov ebx, 0x7d5
jmp 0x1800b0c66
mov ebx, 0x7d5
jmp 0x1800b0c66
lea r12, [0x18022d530]
lea rcx, [rsp + 0x50]
call qword [r14 + r12 + 0x58]
test eax, eax
mov ebx, eax
jne 0x1800b0c66
lea edx, [rax + 8]
mov rcx, rsi
call fcn.1800af3a0
lea r8d, [rbx + 8]
lea rcx, [rsp + 0x50]
mov rdx, rsi
call qword [r14 + r12 + 0x60]
test eax, eax
mov ebx, eax
jne 0x1800b0c66
mov r8d, dword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x50]
call qword [r14 + r12 + 0x60]
test eax, eax
mov ebx, eax
jne 0x1800b0c66
lea edx, [rdi + 1]
lea rcx, [rsp + 0x50]
mov r8d, r15d
add rdx, rbp
call qword [r14 + r12 + 0x60]
test eax, eax
mov ebx, eax
jne 0x1800b0c66
lea rcx, [rsp + 0x50]
mov rdx, rsi
call qword [r14 + r12 + 0x68]
test eax, eax
mov ebx, eax
jne 0x1800b0c66
mov r8, qword [rsp + 0x40]
mov rdx, r13
mov rcx, rsi
call fcn.1800afec0
test eax, eax
jne 0x1800b0c64
mov rax, qword [rsp + 0x1e8]
mov dword [rax], 1
xor ebx, ebx
mov rcx, r13
call fcn.180078fc0
mov rcx, qword [rsp + 0x38]
call fcn.180078fc0
mov rcx, rsi
call fcn.180078fc0
mov rcx, rbp
call fcn.180078fc0
mov eax, ebx
mov r13, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x188]
mov r14, qword [rsp + 0x170]
mov r15, qword [rsp + 0x168]
mov r12, qword [rsp + 0x180]
add rsp, 0x1a8
ret
mov rcx, rbp
call fcn.180078fc0
test rsi, rsi
je 0x1800b0ce7
mov rcx, rsi
call fcn.180078fc0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1800b0cf9
mov rcx, rax
call fcn.180078fc0
test r13, r13
je 0x1800b0d06
mov rcx, r13
call fcn.180078fc0
mov eax, reloc.WSOCK32.dll_ioctlsocket
jmp 0x1800b0c8a
mov eax, 0x7e2
jmp 0x1800b0caa