Function at 0x140158d20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0xb8
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x120]
lea r13, [0x14028fed0]
mov r10, qword [rsp + 0x110]
lea esi, [rdx - 1]
test rax, rax
movsxd r12, r9d
mov r14, rcx
mov qword [rsp + 0x38], r8
mov rcx, qword [rsp + 0x128]
cmovne r13, rax
test rcx, rcx
mov qword [rsp + 0x30], r10
cmove rcx, r13
mov qword [rsp + 0x40], rcx
test r13, r13
jne 0x140158dbe
mov edx, 0xa2
mov dword [rsp + 0x20], 0x139
lea r9, str..cryptoevpevp_lib.c
lea ecx, [r13 + 6]
lea r8d, [rdx - 3]
call fcn.1400a36f0
mov r10, qword [rsp + 0x30]
or edi, 0xffffffff
jmp 0x140158dc2
mov edi, dword [r13 + 8]
lea ecx, [rdi + rdi]
mov ebp, esi
sub ebp, ecx
lea eax, [rbp - 1]
cmp r12d, eax
jle 0x140158dfa
mov edx, 0xa0
mov dword [rsp + 0x20], Ordinal_60
lea r9, [0x14035d350]
mov ecx, 4
lea r8d, [rdx - 0x32]
call fcn.1400a36f0
xor eax, eax
jmp 0x1401590cd
lea eax, [rcx + 1]
cmp esi, eax
jge 0x140158e2a
mov edx, 0xa0
mov dword [rsp + 0x20], 0x40
lea r9, [0x14035d368]
mov ecx, 4
lea r8d, [rdx - 0x28]
call fcn.1400a36f0
xor eax, eax
jmp 0x1401590cd
movsxd rdx, dword [rsp + 0x118]
xor r9d, r9d
mov byte [r14], 0
mov rcx, r10
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], r15
lea r15, [r14 + 1]
inc r14
movsxd rbx, edi
add r14, rbx
mov qword [rsp + 0x20], r13
mov r8, r14
call fcn.1400c84b0
test eax, eax
je 0x140158ef6
sub ebp, r12d
lea rcx, [rbx + r14]
dec ebp
xor edx, edx
movsxd r8, ebp
call fcn.14020fde0
mov rdx, qword [rsp + 0x38]
mov eax, esi
sub eax, r12d
movsxd rcx, esi
sub eax, edi
mov r8d, r12d
sub rcx, r12
dec eax
cdqe
sub rcx, rbx
add rcx, r14
mov byte [rax + r14], 1
call fcn.14020f990
mov edx, edi
mov rcx, r15
call fcn.1400a4430
test eax, eax
jle 0x140158ef6
sub esi, edi
lea rdx, [0x14035d3b0]
mov ecx, esi
mov r8d, 0x55
call fcn.1400b3ae0
mov r12, rax
test rax, rax
jne 0x140158efd
lea r9, [0x14035d3c8]
mov dword [rsp + 0x20], 0x57
mov edx, 0xa0
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1400a36f0
xor eax, eax
jmp 0x1401590bd
mov r13, qword [rsp + 0x40]
mov r9d, edi
mov r8, r15
mov qword [rsp + 0x20], r13
mov edx, esi
mov rcx, r12
call fcn.140159680
test eax, eax
js 0x140158ef6
xor ebp, ebp
mov edx, ebp
test esi, esi
jle 0x140158fa8
cmp esi, 0x20
jb 0x140158fa8
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + r12]
lea r8, [rcx + r14]
cmp r14, rax
ja 0x140158f44
cmp r8, r12
jae 0x140158fa8
mov ecx, esi
and ecx, 0x8000001f
jge 0x140158f55
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, esi
mov r8, r12
sub eax, ecx
sub r8, r14
mov r9, r14
movsxd r10, eax
neg r9
mov rcx, r14
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 0x140158f70
movsxd rax, edx
movsxd rdx, esi
cmp rax, rdx
jge 0x140158fd1
mov r8, r12
lea rcx, [rax + r14]
sub r8, r14
sub rdx, rax
movzx eax, byte [rcx + r8]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140158fc0
mov r9d, esi
mov qword [rsp + 0x20], r13
mov r8, r14
lea rcx, [rsp + 0x50]
mov edx, edi
call fcn.140159680
test eax, eax
js 0x140158ef6
test edi, edi
jle 0x140159087
cmp edi, 0x20
jb 0x140159087
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea rdx, [rcx + r15]
cmp r15, rax
ja 0x140159022
lea rax, [rsp + 0x50]
cmp rdx, rax
jae 0x140159087
mov eax, edi
and eax, 0x8000001f
jge 0x140159032
dec eax
or eax, 0xffffffe0
inc eax
sub edi, eax
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x60]
movsxd r10, edi
sub rdx, r15
sub r8, r15
mov r9, r15
mov rcx, r15
neg r9
movdqu xmm0, xmmword [rcx]
add ebp, 0x20
movdqu xmm1, xmmword [rdx + rcx]
lea rcx, [rcx + 0x20]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [r8 + rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp rax, r10
jl 0x140159050
movsxd rax, ebp
cmp rax, rbx
jge 0x1401590b0
lea rdx, [rsp + 0x50]
sub rdx, r15
lea rcx, [rax + r15]
sub rbx, rax
nop
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x1401590a0
mov rcx, r12
call fcn.1400b3dd0
mov eax, 1
mov rbx, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0xb8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret