Function at 0x1402eb7d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xc8
call fcn.1403831c0
sub rsp, rax
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x138]
lea ebx, [r8 - 1]
mov r15d, dword [rsp + 0x130]
xor ebp, ebp
mov rdi, qword [rsp + 0x150]
mov r13, rdx
mov qword [rsp + 0x50], rax
mov r12d, ebp
mov rax, qword [rsp + 0x148]
mov r14d, ebp
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], ebx
test rax, rax
jne 0x1402eb85c
call fcn.140274d90
mov qword [rsp + 0x38], rax
test rdi, rdi
mov rcx, rax
cmove rdi, rax
mov qword [rsp + 0x40], rdi
call fcn.140206560
movsxd rsi, eax
test eax, eax
jg 0x1402eb8ac
call fcn.140204080
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
mov edx, 0x51
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1402041a0
xor r8d, r8d
mov edx, 0xb5
lea ecx, [r8 + 4]
call fcn.1402042a0
xor eax, eax
jmp 0x1402ebc8e
lea ecx, [rsi + rsi]
mov edi, ebx
sub edi, ecx
lea eax, [rdi - 1]
cmp r15d, eax
jle 0x1402eb8ee
call fcn.140204080
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
mov edx, 0x57
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1402041a0
xor r8d, r8d
lea edx, [r8 + 0x6e]
lea ecx, [rdx - 0x6a]
call fcn.1402042a0
xor eax, eax
jmp 0x1402ebc8e
lea eax, [rcx + 1]
cmp ebx, eax
jge 0x1402eb928
call fcn.140204080
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
mov edx, 0x5c
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1402041a0
xor r8d, r8d
lea edx, [r8 + 0x78]
lea ecx, [rdx - 0x74]
call fcn.1402042a0
xor eax, eax
jmp 0x1402ebc8e
mov rax, qword [rsp + 0x38]
xor r9d, r9d
mov r15, qword [rsp + 0x48]
mov rbx, rsi
movsxd rdx, dword [rsp + 0x140]
inc r15
mov rcx, qword [rsp + 0x50]
add r15, rsi
mov byte [r13], bpl
mov r8, r15
mov qword [rsp + 0x28], rbp
inc r13
mov qword [rsp + 0x20], rax
call fcn.14020a8f0
test eax, eax
je 0x1402ebc65
sub edi, dword [rsp + 0x30]
lea rcx, [rsi + r15]
dec edi
xor edx, edx
movsxd r8, edi
call fcn.1403850b0
movsxd rcx, dword [rsp + 0x30]
movsxd rdi, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x58]
mov eax, edi
sub eax, ecx
mov r8d, ecx
sub eax, esi
cdqe
mov byte [rax + r15 - 1], 1
mov rax, rcx
mov rcx, rdi
sub rcx, rax
sub rcx, rbx
add rcx, r15
call fcn.140384a00
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov r8, rbx
mov rdx, r13
call fcn.14021e280
test eax, eax
jle 0x1402ebc65
mov r14d, edi
lea rdx, str.crypto_rsa_rsa_oaep.c
sub r14d, esi
mov r8d, WSACleanup
movsxd rdi, r14d
mov rcx, rdi
call fcn.1401ffe10
mov r12, rax
test rax, rax
jne 0x1402eba29
call fcn.140204080
lea r8, str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
lea edx, [r12 + 0x74]
lea rcx, str.crypto_rsa_rsa_oaep.c
call fcn.1402041a0
xor r8d, r8d
lea ecx, [r12 + 4]
mov edx, 0xc0100
call fcn.1402042a0
jmp 0x1402ebc65
mov rax, qword [rsp + 0x40]
mov r9d, esi
mov r8, r13
mov qword [rsp + 0x20], rax
mov edx, r14d
mov rcx, r12
call fcn.1402eadb0
test eax, eax
js 0x1402ebc65
mov r8d, ebp
test r14d, r14d
jle 0x1402ebb10
cmp r14d, 0x40
jb 0x1402ebb10
lea eax, [r14 - 1]
movsxd rcx, eax
lea rax, [rcx + r12]
lea rdx, [rcx + r15]
cmp r15, rax
ja 0x1402eba7f
cmp rdx, r12
jae 0x1402ebb10
mov ecx, r14d
and ecx, 0x8000003f
jge 0x1402eba91
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r14d
mov rdx, r12
sub eax, ecx
sub rdx, r15
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, r15
lea rcx, [r15 + 0x10]
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rcx + rdx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1402ebab0
movsxd rax, r8d
cmp rax, rdi
jge 0x1402ebb40
mov rdx, r12
lea rcx, [rax + r15]
sub rdx, r15
sub rdi, rax
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x1402ebb30
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
mov r9d, r14d
mov qword [rsp + 0x20], rax
mov r8, r15
mov edx, esi
call fcn.1402eadb0
test eax, eax
js 0x1402ebc65
cmp esi, 0x40
jb 0x1402ebc31
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x70]
add rax, rcx
lea rdx, [rcx + r13]
cmp r13, rax
ja 0x1402ebb92
lea rax, [rsp + 0x70]
cmp rdx, rax
jae 0x1402ebc31
mov eax, esi
and eax, 0x8000003f
jge 0x1402ebba2
dec eax
or eax, 0xffffffc0
inc eax
sub esi, eax
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x80]
movsxd r10, esi
sub rdx, r13
lea rcx, [r13 + 0x20]
sub r8, r13
mov r9, 0xffffffffffffffe0
sub r9, r13
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add ebp, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x20]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r8 + rcx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r10
jl 0x1402ebbd0
movsxd rcx, ebp
cmp rcx, rbx
jge 0x1402ebc60
lea rdx, [rsp + 0x70]
sub rdx, r13
lea rax, [rcx + r13]
sub rbx, rcx
nop dword [rax + rax]
movzx ecx, byte [rax + rdx]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x1402ebc50
mov ebp, 1
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.140001240
movsxd rdx, r14d
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0x89
mov rcx, r12
call fcn.1401fff50
mov eax, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140382da0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret