Function at 0x18007b5d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r13
push r14
push r15
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.1801c83e0
sub rsp, rax
mov rax, qword [rsp + 0xc0]
xor ebx, ebx
mov r13, rcx
test rax, rax
mov rcx, r9
mov r14, r9
cmove rax, r9
mov rbp, rdx
mov esi, ebx
mov qword [rsp + 0xc0], rax
call fcn.18001d1d0
movsxd r15, eax
test eax, eax
js 0x18007b6e2
mov qword [rsp + 0xa0], rdi
mov edi, dword [rsp + 0xc8]
cmp edi, 0xffffffff
jne 0x18007b6f9
mov edi, r15d
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0xa8], r12
call fcn.18000c9d0
mov rcx, r13
lea r12d, [rax - 1]
and r12d, 7
mov dword [rsp + 0x30], r12d
call fcn.1800022f0
mov r13d, eax
test r12d, r12d
jne 0x18007b678
mov byte [rbp], bl
inc rbp
dec r13d
cmp edi, 0xfffffffe
jne 0x18007b72d
mov edi, r13d
sub edi, r15d
sub edi, 2
test edi, edi
jle 0x18007b76f
lea rdx, [0x1802c1a68]
mov r8d, 0xe9
mov ecx, edi
call fcn.18000bcf0
mov rsi, rax
test rax, rax
jne 0x18007b75d
mov dword [rsp + 0x20], 0xec
lea r9, str..crypto_rsa_rsa_pss.c
mov edx, __WSAFDIsSet
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.180004810
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
cmp edi, 0xfffffffe
jne 0x18007b703
jmp 0x18007b641
jge 0x18007b641
mov edx, __WSAFDIsSet
lea r9, [0x1802c1a38]
mov ecx, 4
lea r8d, [rdx - 0xc]
mov dword [rsp + 0x20], 0xd7
call fcn.180004810
jmp 0x18007b6da
lea eax, [r15 + rdi + 2]
cmp r13d, eax
jge 0x18007b68a
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0xe5
lea r9, [0x1802c1a50]
lea r8d, [rdx - 0x26]
mov ecx, 4
jmp 0x18007b6cd
mov edx, edi
mov rcx, rax
call fcn.1800103b0
test eax, eax
jle 0x18007b8a8
mov r12d, r13d
lea rcx, [rsp + 0x40]
sub r12d, r15d
lea eax, [r12 - 1]
cdqe
add rax, rbp
mov qword [rsp + 0x38], rax
call fcn.1800343c0
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
call fcn.180034430
test eax, eax
je 0x18007b8a8
mov r14d, 8
lea rdx, [0x180221fb0]
lea rcx, [rsp + 0x40]
mov r8d, r14d
call fcn.180034690
test eax, eax
je 0x18007b8a8
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.180034690
test eax, eax
je 0x18007b8a8
test edi, edi
je 0x18007b801
lea rcx, [rsp + 0x40]
movsxd r8, edi
mov rdx, rsi
call fcn.180034690
test eax, eax
je 0x18007b8a8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.1800346b0
test eax, eax
je 0x18007b8a8
lea rcx, [rsp + 0x40]
call fcn.180034750
mov r11, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x38]
lea edx, [r12 - 1]
mov r9d, r15d
mov rcx, rbp
mov qword [rsp + 0x20], r11
call fcn.180031360
test eax, eax
jne 0x18007b8a8
sub r12d, edi
sub r12d, 2
movsxd rdx, r12d
add rdx, rbp
inc rdx
xor byte [rdx - 1], 1
test edi, edi
jle 0x18007b882
movsxd r8, edi
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
inc rbx
inc rdx
xor byte [rdx - 1], al
cmp rbx, r8
jl 0x18007b870
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18007b89b
sub r14d, eax
mov eax, 0xff
movzx ecx, r14b
sar eax, cl
and byte [rbp], al
movsxd rax, r13d
mov ebx, 1
mov byte [rax + rbp - 1], 0xbc
test rsi, rsi
je 0x18007b6d2
mov rcx, rsi
call fcn.18000bff0
jmp 0x18007b6d2