Function at 0x1401376f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xb8
call fcn.1400b21a0
sub rsp, rax
mov rax, qword [0x14021f0c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x120]
xor r15d, r15d
mov esi, r15d
mov qword [rsp + 0x48], r8
mov r13, r9
mov qword [rsp + 0x50], rdx
mov rbp, r8
mov rdi, rcx
call fcn.1400de030
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140137aeb
test r13, r13
mov rcx, rbp
cmove r13, rbp
call fcn.1400e50b0
mov dword [rsp + 0x38], eax
mov r14d, eax
test eax, eax
js 0x1401377f4
mov ebp, dword [rsp + 0x128]
cmp ebp, 0xffffffff
jne 0x1401377cf
mov ebp, eax
mov rcx, qword [rdi + 0x18]
call fcn.1400c9eb0
mov rcx, rdi
lea r12d, [rax - 1]
and r12d, 7
call fcn.140105750
mov ecx, r12d
mov edx, 0xff
shl edx, cl
mov edi, eax
test byte [rbx], dl
je 0x1401377fe
mov edx, 0x7e
mov dword [rsp + 0x20], 0x45
lea r9, str.crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 7]
call fcn.1400c2e00
mov rbp, qword [rsp + 0x30]
jmp 0x140137aee
cmp ebp, 0xfffffffd
jge 0x14013777c
mov dword [rsp + 0x20], 0x3e
mov edx, 0x7e
lea r9, str.crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 0xa]
call fcn.1400c2e00
mov rbp, qword [rsp + 0x30]
jmp 0x140137aee
test r12d, r12d
jne 0x140137808
inc rbx
dec edi
cmp ebp, 0xfffffffd
jne 0x14013784b
mov ebp, edi
sub ebp, r14d
sub ebp, 2
lea eax, [rdi - 1]
movsxd rcx, eax
cmp byte [rcx + rbx], 0xbc
je 0x14013787f
mov edx, 0x7e
mov dword [rsp + 0x20], 0x53
lea r9, str.crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 8]
call fcn.1400c2e00
mov rbp, qword [rsp + 0x30]
jmp 0x140137aee
lea eax, [r14 + 2]
add eax, ebp
cmp edi, eax
jge 0x140137815
mov edx, 0x7e
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_79
lea r9, str.crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx - 0x11]
call fcn.1400c2e00
mov rbp, qword [rsp + 0x30]
jmp 0x140137aee
sub edi, r14d
lea rdx, str.crypto_rsa_rsa_pss.c
dec edi
mov r8d, 0x58
movsxd r14, edi
mov rcx, r14
lea rax, [r14 + rbx]
mov qword [rsp + 0x40], rax
call fcn.1400b3480
mov rsi, rax
test rax, rax
jne 0x1401378d5
lea r9, str.crypto_rsa_rsa_pss.c
mov dword [rsp + 0x20], 0x5a
lea edx, [rax + 0x7e]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1400c2e00
mov rbp, qword [rsp + 0x30]
jmp 0x140137aee
mov r8, qword [rsp + 0x40]
mov edx, edi
mov qword [rsp + 0x20], r13
mov rcx, rsi
movsxd r13, dword [rsp + 0x38]
mov r9d, r13d
call fcn.140105de0
test eax, eax
js 0x1401377f4
mov edx, r15d
test edi, edi
jle 0x140137988
cmp edi, 0x20
jb 0x140137988
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x140137921
cmp r8, rbx
jae 0x140137988
mov ecx, edi
and ecx, 0x8000001f
jge 0x140137932
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, edi
mov r8, rbx
sub eax, ecx
sub r8, rsi
mov r9, rsi
movsxd r10, eax
neg r9
mov rcx, rsi
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx]
add edx, 0x20
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x20]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp rax, r10
jl 0x140137950
movsxd rax, edx
cmp rax, r14
jge 0x1401379b0
sub rbx, rsi
lea rcx, [rax + rsi]
sub r14, rax
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x1401379a0
test r12d, r12d
je 0x1401379c6
mov ecx, 8
mov eax, 0xff
sub ecx, r12d
sar eax, cl
and byte [rsi], al
mov ebx, r15d
cmp byte [rsi], bl
jne 0x1401379e1
lea ecx, [rdi - 1]
mov rax, rsi
cmp ebx, ecx
jge 0x1401379e1
inc rax
inc ebx
cmp byte [rax], r15b
je 0x1401379d3
movsxd rax, ebx
inc ebx
cmp byte [rax + rsi], 1
je 0x140137a16
mov edx, 0x7e
mov dword [rsp + 0x20], 0x65
lea r9, str.crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 9]
call fcn.1400c2e00
mov rbp, qword [rsp + 0x30]
jmp 0x140137aee
cmp ebp, 0xfffffffe
je 0x140137a30
mov eax, edi
sub eax, ebx
cmp eax, ebp
je 0x140137a30
mov dword [rsp + 0x20], WSAGetLastError
jmp 0x1401377dc
mov rbp, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, rbp
call fcn.1400ddb00
test eax, eax
je 0x140137aee
mov r8d, 8
lea rdx, [0x1401e84a8]
mov rcx, rbp
call fcn.1400ddd70
test eax, eax
je 0x140137aee
mov rdx, qword [rsp + 0x50]
mov r8, r13
mov rcx, rbp
call fcn.1400ddd70
test eax, eax
je 0x140137aee
sub edi, ebx
je 0x140137a97
movsxd rdx, ebx
mov rcx, rbp
add rdx, rsi
movsxd r8, edi
call fcn.1400ddd70
test eax, eax
je 0x140137aee
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.1400dda20
test eax, eax
je 0x140137aee
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140137ae3
mov edx, 0x7e
mov dword [rsp + 0x20], 0x77
lea r9, str.crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx - 0x16]
call fcn.1400c2e00
jmp 0x140137aee
mov r15d, 1
jmp 0x140137aee
mov rbp, rax
mov r8d, 0x7d
lea rdx, str.crypto_rsa_rsa_pss.c
mov rcx, rsi
call fcn.1400b34d0
mov rcx, rbp
call fcn.1400ddff0
mov eax, r15d
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b1b60
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret