Function at 0x1401d47f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0xd0
call fcn.140157170
sub rsp, rax
mov rax, qword [0x14037d648]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x148]
lea esi, [r8 - 1]
mov rax, qword [rsp + 0x138]
xor ebx, ebx
mov ebp, dword [rsp + 0x130]
mov r14, rdx
mov rdi, qword [rsp + 0x150]
mov r15d, ebx
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], esi
test r12, r12
jne 0x1401d486e
call fcn.140191240
mov r12, rax
test rdi, rdi
mov rcx, r12
cmove rdi, r12
mov qword [rsp + 0x38], rdi
call fcn.14013a870
movsxd rdi, eax
test eax, eax
jg 0x1401d48be
call fcn.140140db0
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
mov edx, 0x51
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.140140ed0
xor r8d, r8d
mov edx, 0xb5
lea ecx, [r8 + 4]
call fcn.140140fd0
xor eax, eax
jmp 0x1401d4d6b
mov qword [rsp + 0xc8], r13
lea ecx, [rdi + rdi]
mov r13d, esi
sub r13d, ecx
lea eax, [r13 - 1]
cmp ebp, eax
jle 0x1401d490a
call fcn.140140db0
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
mov edx, 0x57
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.140140ed0
xor r8d, r8d
lea edx, [r8 + 0x6e]
lea ecx, [rdx - 0x6a]
call fcn.140140fd0
xor eax, eax
jmp 0x1401d4d63
lea eax, [rcx + 1]
cmp esi, eax
jge 0x1401d4944
call fcn.140140db0
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
mov edx, 0x5c
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.140140ed0
xor r8d, r8d
lea edx, [r8 + 0x78]
lea ecx, [rdx - 0x74]
call fcn.140140fd0
xor eax, eax
jmp 0x1401d4d63
mov rsi, qword [rsp + 0x48]
lea rbp, [r14 + 1]
movsxd rdx, dword [rsp + 0x140]
inc rsi
mov rcx, qword [rsp + 0x50]
add rsi, rdi
mov byte [r14], bl
mov r8, rsi
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov r14, rdi
mov qword [rsp + 0x20], r12
call fcn.140138db0
test eax, eax
je 0x1401d4d37
sub r13d, dword [rsp + 0x30]
lea rcx, [rdi + rsi]
dec r13d
xor edx, edx
movsxd r8, r13d
call fcn.1402991c0
movsxd rcx, dword [rsp + 0x30]
movsxd r12, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x58]
mov eax, r12d
sub eax, ecx
mov r8d, ecx
sub eax, edi
cdqe
mov byte [rax + rsi - 1], 1
mov rax, rcx
mov rcx, r12
sub rcx, rax
sub rcx, rdi
add rcx, rsi
call fcn.140298b20
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov r8, rdi
mov rdx, rbp
call fcn.140136750
test eax, eax
jle 0x1401d4d37
mov r15d, r12d
lea rdx, str.crypto_rsa_rsa_oaep.c
sub r15d, edi
mov r8d, WSACleanup
movsxd r12, r15d
mov rcx, r12
call fcn.14013c160
mov r13, rax
test rax, rax
jne 0x1401d4a40
call fcn.140140db0
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
lea edx, [r13 + 0x74]
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.140140ed0
xor r8d, r8d
lea ecx, [r13 + 4]
mov edx, 0xc0100
call fcn.140140fd0
jmp 0x1401d4d3a
mov rax, qword [rsp + 0x38]
mov r9d, edi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, r15d
mov rcx, r13
call fcn.1401d3d40
test eax, eax
js 0x1401d4d3a
mov r8d, ebx
test r15d, r15d
jle 0x1401d4b83
cmp r15d, 8
jb 0x1401d4b83
lea eax, [r15 - 1]
movsxd rcx, eax
lea rax, [rcx + r13]
lea rdx, [rcx + rsi]
cmp rsi, rax
ja 0x1401d4a96
cmp rdx, r13
jae 0x1401d4b83
cmp r15d, 0x40
jb 0x1401d4b37
mov ecx, r15d
and ecx, 0x8000003f
jge 0x1401d4ab2
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r15d
sub eax, ecx
mov rdx, r13
movsxd r10, eax
sub rdx, rsi
lea rcx, [rsi + 0x10]
mov r9, 0xfffffffffffffff0
sub r9, rsi
nop
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x10]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rdx + rcx - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rdx + rcx - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1401d4ad0
mov eax, r15d
and al, 0x3f
cmp al, 8
jb 0x1401d4b83
jmp 0x1401d4b3d
mov rdx, r13
sub rdx, rsi
mov eax, r15d
and eax, 0x80000007
jge 0x1401d4b4e
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, r15d
sub ecx, eax
movsxd rax, r8d
movsxd r9, ecx
lea rcx, [rax + rsi]
nop dword [rax]
movq xmm0, qword [rcx]
add r8d, 8
movq xmm1, qword [rdx + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rsi
cmp rax, r9
jl 0x1401d4b60
movsxd rax, r8d
cmp rax, r12
jge 0x1401d4bb0
mov rdx, r13
lea rcx, [rax + rsi]
sub rdx, rsi
sub r12, rax
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r12, 1
jne 0x1401d4ba0
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
mov r9d, r15d
mov qword [rsp + 0x20], rax
mov r8, rsi
mov edx, edi
call fcn.1401d3d40
test eax, eax
js 0x1401d4d3a
cmp edi, 8
jb 0x1401d4d02
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x70]
add rax, rcx
lea rdx, [rcx + rbp]
cmp rbp, rax
ja 0x1401d4c02
lea rax, [rsp + 0x70]
cmp rdx, rax
jae 0x1401d4d02
cmp edi, 0x40
jb 0x1401d4cb7
mov ecx, edi
and ecx, 0x8000003f
jge 0x1401d4c1c
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
lea rdx, [rsp + 0x70]
movsxd r10, eax
lea r8, [rsp + 0x80]
sub rdx, rbp
sub r8, rbp
lea rcx, [rbp + 0x20]
mov r9, 0xffffffffffffffe0
sub r9, rbp
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add ebx, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x20]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r8 + rcx - 0x60]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r10
jl 0x1401d4c50
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x1401d4d02
jmp 0x1401d4cbf
lea rdx, [rsp + 0x70]
sub rdx, rbp
mov eax, edi
and eax, 0x80000007
jge 0x1401d4ccf
dec eax
or eax, 0xfffffff8
inc eax
sub edi, eax
movsxd rcx, ebx
add rcx, rbp
movsxd r8, edi
nop word [rax + rax]
movq xmm0, qword [rcx]
add ebx, 8
movq xmm1, qword [rdx + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rbp
cmp rax, r8
jl 0x1401d4ce0
movsxd rax, ebx
cmp rax, r14
jge 0x1401d4d30
lea rdx, [rsp + 0x70]
sub rdx, rbp
lea rcx, [rax + rbp]
sub r14, rax
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x1401d4d20
mov ebx, 1
jmp 0x1401d4d3a
mov r13, rbx
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.14013c540
movsxd rdx, r15d
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0x89
mov rcx, r13
call fcn.14013c350
mov eax, ebx
mov r13, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401571d0
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret