Function at 0x140137f20
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.1400b2870
sub rsp, rax
mov rax, qword [0x14021e0c0]
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.1400de860
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14013831b
test r13, r13
mov rcx, rbp
cmove r13, rbp
call fcn.1400e58e0
mov dword [rsp + 0x38], eax
mov r14d, eax
test eax, eax
js 0x140138024
mov ebp, dword [rsp + 0x128]
cmp ebp, 0xffffffff
jne 0x140137fff
mov ebp, eax
mov rcx, qword [rdi + 0x18]
call fcn.1400ca6e0
mov rcx, rdi
lea r12d, [rax - 1]
and r12d, 7
call fcn.140105f80
mov ecx, r12d
mov edx, 0xff
shl edx, cl
mov edi, eax
test byte [rbx], dl
je 0x14013802e
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.1400c3630
mov rbp, qword [rsp + 0x30]
jmp 0x14013831e
cmp ebp, 0xfffffffd
jge 0x140137fac
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.1400c3630
mov rbp, qword [rsp + 0x30]
jmp 0x14013831e
test r12d, r12d
jne 0x140138038
inc rbx
dec edi
cmp ebp, 0xfffffffd
jne 0x14013807b
mov ebp, edi
sub ebp, r14d
sub ebp, 2
lea eax, [rdi - 1]
movsxd rcx, eax
cmp byte [rcx + rbx], 0xbc
je 0x1401380af
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.1400c3630
mov rbp, qword [rsp + 0x30]
jmp 0x14013831e
lea eax, [r14 + 2]
add eax, ebp
cmp edi, eax
jge 0x140138045
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.1400c3630
mov rbp, qword [rsp + 0x30]
jmp 0x14013831e
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.1400b3cb0
mov rsi, rax
test rax, rax
jne 0x140138105
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.1400c3630
mov rbp, qword [rsp + 0x30]
jmp 0x14013831e
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.140106610
test eax, eax
js 0x140138024
mov edx, r15d
test edi, edi
jle 0x1401381b8
cmp edi, 0x20
jb 0x1401381b8
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x140138151
cmp r8, rbx
jae 0x1401381b8
mov ecx, edi
and ecx, 0x8000001f
jge 0x140138162
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 0x140138180
movsxd rax, edx
cmp rax, r14
jge 0x1401381e0
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 0x1401381d0
test r12d, r12d
je 0x1401381f6
mov ecx, 8
mov eax, 0xff
sub ecx, r12d
sar eax, cl
and byte [rsi], al
mov ebx, r15d
cmp byte [rsi], bl
jne 0x140138211
lea ecx, [rdi - 1]
mov rax, rsi
cmp ebx, ecx
jge 0x140138211
inc rax
inc ebx
cmp byte [rax], r15b
je 0x140138203
movsxd rax, ebx
inc ebx
cmp byte [rax + rsi], 1
je 0x140138246
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.1400c3630
mov rbp, qword [rsp + 0x30]
jmp 0x14013831e
cmp ebp, 0xfffffffe
je 0x140138260
mov eax, edi
sub eax, ebx
cmp eax, ebp
je 0x140138260
mov dword [rsp + 0x20], WSASetLastError
jmp 0x14013800c
mov rbp, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, rbp
call fcn.1400de330
test eax, eax
je 0x14013831e
mov r8d, 8
lea rdx, [0x1401e83a8]
mov rcx, rbp
call fcn.1400de5a0
test eax, eax
je 0x14013831e
mov rdx, qword [rsp + 0x50]
mov r8, r13
mov rcx, rbp
call fcn.1400de5a0
test eax, eax
je 0x14013831e
sub edi, ebx
je 0x1401382c7
movsxd rdx, ebx
mov rcx, rbp
add rdx, rsi
movsxd r8, edi
call fcn.1400de5a0
test eax, eax
je 0x14013831e
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.1400de250
test eax, eax
je 0x14013831e
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140138313
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.1400c3630
jmp 0x14013831e
mov r15d, 1
jmp 0x14013831e
mov rbp, rax
mov r8d, 0x7d
lea rdx, str.crypto_rsa_rsa_pss.c
mov rcx, rsi
call fcn.1400b3d00
mov rcx, rbp
call fcn.1400de820
mov eax, r15d
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b2240
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret