Function at 0x1401542b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0x100
call fcn.140189b00
sub rsp, rax
mov rax, qword [0x1401f3660]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x180]
xor ebp, ebp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x178]
or esi, 0xffffffff
test rax, rax
movsxd r12, r9d
mov qword [rsp + 0x40], r8
mov r13d, edx
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], rax
mov rdi, rbp
mov qword [rsp + 0x30], rbp
jne 0x14015432c
call fcn.1400dcc50
mov qword [rsp + 0x48], rax
test rbx, rbx
mov rcx, rax
cmove rbx, rax
mov qword [rsp + 0x50], rbx
call fcn.1400dce40
test r13d, r13d
movsxd r15, eax
jle 0x14015464d
test r12d, r12d
jle 0x14015464d
movsxd rbx, dword [rsp + 0x160]
mov qword [rsp + 0x148], r14
cmp ebx, r12d
jl 0x1401545ad
lea ecx, [r15 + r15 + 2]
cmp ebx, ecx
jl 0x1401545ad
mov r14d, ebx
lea rdx, [0x140235038]
mov r8d, reloc.WS2_32.dll___WSAFDIsSet
sub r14d, r15d
sub r14d, 1
mov ecx, r14d
call fcn.1400adb80
lea rdx, [0x140235050]
mov r8d, 0x98
mov ecx, ebx
mov rdi, rax
call fcn.1400adb80
test rdi, rdi
mov r13, rax
mov qword [rsp + 0x30], rax
je 0x1401545f0
test rax, rax
je 0x1401545f0
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140041940
mov rdx, qword [rsp + 0x40]
sub rbx, r12
lea rcx, [r13 + rbx]
mov r8, r12
call fcn.140042d30
movzx r11d, byte [r13]
lea r12, [r13 + 1]
lea eax, [r11 - 1]
not r11d
lea r13, [r15 + r13 + 1]
shr eax, 0x1f
shr r11d, 0x1f
lea rcx, [rsp + 0x70]
and eax, r11d
mov r9d, r14d
mov r8, r13
neg eax
mov edx, r15d
mov rbx, r15
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140153eb0
test eax, eax
jne 0x140154622
test r15d, r15d
mov rdx, rbp
jle 0x140154465
lea rax, [rsp + 0x70]
sub r12, rax
nop
nop
lea rcx, [rsp + rdx + 0x70]
add rdx, 1
movzx eax, byte [r12 + rcx]
xor byte [rcx], al
cmp rdx, rbx
jl 0x140154450
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x70]
mov r9d, r15d
mov edx, r14d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140153eb0
test eax, eax
jne 0x14015461b
test r14d, r14d
movsxd r12, r14d
jle 0x1401544b3
mov rcx, rdi
sub r13, rdi
mov rdx, r12
nop
nop
movzx eax, byte [r13 + rcx]
add rcx, 1
xor byte [rcx - 1], al
sub rdx, 1
jne 0x1401544a0
mov rax, qword [rsp + 0x48]
movsxd rdx, dword [rsp + 0x170]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1400dab10
test eax, eax
je 0x140154614
lea rdx, [rsp + 0xb0]
mov r8, rbx
mov rcx, rdi
call fcn.1400c9370
mov r10d, dword [rsp + 0x40]
mov r9d, ebp
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and r10d, ecx
cmp rbx, r12
jge 0x140154575
nop
nop
movzx r8d, byte [rbx + rdi]
mov ecx, r9d
add rbx, 1
mov eax, r8d
not ecx
xor eax, 1
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or r9d, edx
mov eax, ecx
and ecx, r15d
add r15d, 1
not eax
and ebp, eax
lea eax, [r8 - 1]
not r8d
shr eax, 0x1f
shr r8d, 0x1f
or ebp, ecx
and eax, r8d
neg eax
or eax, r9d
and r10d, eax
cmp rbx, r12
jl 0x140154520
test r10d, r9d
je 0x1401545ad
lea eax, [rbp + 1]
mov esi, r14d
sub esi, eax
cmp dword [rsp + 0x38], esi
jge 0x1401545d6
mov edx, 0xa1
lea r9, [0x140235080]
mov ecx, 4
lea r8d, [rdx - 0x34]
mov dword [rsp + 0x20], 0xdd
call fcn.1400a5900
or esi, 0xffffffff
mov edx, 0xa1
lea r9, str..crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x28]
mov dword [rsp + 0x20], 0xea
call fcn.1400a5900
mov r13, qword [rsp + 0x30]
jmp 0x140154627
mov rcx, qword [rsp + 0x58]
movsxd rdx, eax
movsxd r8, esi
add rdx, rdi
call fcn.140042d30
mov r13, qword [rsp + 0x30]
jmp 0x140154627
mov edx, 0xa1
lea r9, [0x140235068]
mov ecx, 4
lea r8d, [rdx - 0x60]
mov dword [rsp + 0x20], 0x9a
call fcn.1400a5900
jmp 0x140154627
mov r13, qword [rsp + 0x30]
jmp 0x140154627
mov r13, qword [rsp + 0x30]
jmp 0x140154627
mov r13, qword [rsp + 0x30]
test rdi, rdi
mov r14, qword [rsp + 0x148]
je 0x14015463c
mov rcx, rdi
call fcn.1400ae010
test r13, r13
je 0x140154649
mov rcx, r13
call fcn.1400ae010
mov eax, esi
jmp 0x140154650
or eax, 0xffffffff
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140041910
add rsp, 0x100
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret