Function at 0x1800981c0
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, WSACleanup
call fcn.1800c7940
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 rsi, rbx
mov qword [rsp + 0xc0], rax
call fcn.18005a770
movsxd r15, eax
test eax, eax
js 0x1800984bc
mov qword [rsp + 0xa0], rdi
mov edi, dword [rsp + 0xc8]
cmp edi, 0xffffffff
jne 0x1800982c8
mov edi, r15d
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0xa8], r12
call fcn.1800530b0
mov rcx, r13
lea r12d, [rax - 1]
and r12d, 7
mov dword [rsp + 0x30], r12d
call fcn.180052840
mov r13d, eax
test r12d, r12d
jne 0x180098269
mov byte [rbp], bl
inc rbp
dec r13d
cmp edi, 0xfffffffe
jne 0x180098301
mov edi, r13d
sub edi, r15d
sub edi, 2
test edi, edi
jle 0x18009836a
lea rdx, [0x180121b68]
mov r8d, 0xf2
mov ecx, edi
call fcn.180055b80
mov rsi, rax
test rax, rax
jne 0x180098358
lea r9, str..crypto_rsa_rsa_pss.c
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, SysAllocStringByteLen
mov dword [rsp + 0x20], 0xf5
call fcn.18005eba0
jmp 0x1800984a8
cmp edi, 0xfffffffe
jne 0x1800982d2
jmp 0x180098232
cmp edi, 0xfffffffe
jge 0x180098232
mov edx, SysAllocStringByteLen
lea r9, [0x180121b38]
mov ecx, 4
lea r8d, [rdx - 0xc]
mov dword [rsp + 0x20], 0xdc
call fcn.18005eba0
mov eax, ebx
jmp 0x18009833b
lea eax, [r15 + rdi + 2]
cmp r13d, eax
jge 0x18009827b
mov edx, SysAllocStringByteLen
lea r9, [0x180121b50]
mov ecx, 4
lea r8d, [rdx - 0x26]
mov dword [rsp + 0x20], 0xed
call fcn.18005eba0
mov eax, ebx
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
mov edx, edi
mov rcx, rax
call fcn.1800543b0
test eax, eax
jle 0x1800984a8
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.18005ac10
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
call fcn.18005ac80
test eax, eax
je 0x1800984a8
mov r14d, 8
lea rdx, [0x1800ea960]
lea rcx, [rsp + 0x40]
mov r8, r14
call fcn.18005aed0
test eax, eax
je 0x1800984a8
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.18005aed0
test eax, eax
je 0x1800984a8
test edi, edi
je 0x1800983fc
lea rcx, [rsp + 0x40]
movsxd r8, edi
mov rdx, rsi
call fcn.18005aed0
test eax, eax
je 0x1800984a8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.18005aef0
test eax, eax
je 0x1800984a8
lea rcx, [rsp + 0x40]
call fcn.18005af90
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.180085820
test eax, eax
jne 0x1800984a8
sub r12d, edi
sub r12d, 2
movsxd rdx, r12d
add rdx, rbp
inc rdx
xor byte [rdx - 1], 1
test edi, edi
jle 0x180098482
movsxd r8, edi
test edi, edi
jle 0x180098482
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
inc rbx
inc rdx
xor byte [rdx - 1], al
cmp rbx, r8
jl 0x180098470
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18009849b
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 0x1800984b5
mov rcx, rsi
call fcn.180055e30
mov eax, ebx
jmp 0x180098333
mov eax, ebx
jmp 0x180098343