Function at 0x1402a6bf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r14
push r15
mov eax, 0x80
call fcn.1403b2fd0
sub rsp, rax
mov r12, qword [rsp + 0xd0]
xor r14d, r14d
mov rax, r12
mov qword [rsp + 0x48], r14
shl rax, 4
mov rsi, r8
add rax, 6
mov qword [rsp + 0x40], r14
mov r15, rdx
mov ebx, r14d
cmp rax, 0x1555555
ja 0x1402a74c1
mov qword [rsp + 0x78], rdi
lea rdx, str.cryptoececp_nistz256.c
lea rdi, [r12 + r12*2]
mov r8d, 0x27c
shl rdi, 9
lea rcx, [rdi + 0x220]
call fcn.140179f90
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1402a74bc
imul rcx, r12, 0x21
mov r8d, 0x27e
lea rdx, str.cryptoececp_nistz256.c
call fcn.140179f90
mov qword [rsp + 0x28], rax
mov rbx, rax
test rax, rax
je 0x1402a74bc
lea rcx, [r12*8]
mov r8d, 0x27f
lea rdx, str.cryptoececp_nistz256.c
call fcn.140179f90
mov qword [rsp + 0x48], rax
mov rcx, rax
test rax, rax
je 0x1402a74bc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rbp
and eax, 0x3f
mov rbp, qword [rsp + 0x40]
sub rbp, rax
mov qword [rsp + 0x70], r13
add rbp, 0x40
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x38], rbp
lea r13, [rdi + rbp]
test r12, r12
je 0x1402a71a0
mov rdi, qword [rsp + 0xd8]
lea rax, [rbx + 2]
mov qword [rsp + 0x20], rbp
mov r12, rsi
mov rbp, rcx
mov qword [rsp + 0x30], r14
sub rbp, rsi
mov qword [rsp + 0x50], rax
sub qword [rsp + 0xc8], rsi
mov qword [rsp + 0x58], rbp
jmp 0x1402a6d43
xor r14d, r14d
mov rcx, qword [r12]
call fcn.140199890
cmp eax, 0x100
jg 0x1402a6d66
mov rcx, qword [r12]
call fcn.140199710
test eax, eax
jne 0x1402a6d66
mov rbx, qword [r12]
jmp 0x1402a6d9d
mov rcx, rdi
call fcn.1401efe70
mov rbx, rax
test rax, rax
je 0x1402a74aa
mov rax, qword [rsp + 0xb0]
mov r9, rdi
mov rdx, qword [r12]
mov rcx, rbx
mov r8, qword [rax + 0x10]
call fcn.14028dad0
test eax, eax
je 0x1402a716d
mov rcx, qword [rsp + 0x48]
mov rax, r12
sub rax, rsi
mov edi, r14d
mov rsi, r14
mov qword [rax + rcx], rbx
mov rcx, rbx
call fcn.14017f620
shl eax, 3
test eax, eax
jle 0x1402a6e4e
mov rbx, qword [rsp + 0x50]
add rbx, qword [rsp + 0x30]
nop
mov rcx, qword [r12 + rbp]
call fcn.14018ce70
mov rdx, rax
mov eax, edi
test edi, edi
jns 0x1402a6de5
lea eax, [rdi + 7]
sar eax, 3
add edi, 8
cdqe
add rsi, 8
mov rdx, qword [rdx + rax*8]
mov byte [rbx - 2], dl
mov rax, rdx
shr rax, 8
mov byte [rbx - 1], al
mov rax, rdx
shr rax, 0x10
mov byte [rbx], al
shr rdx, 0x18
mov byte [rbx + 1], dl
shr rdx, 8
mov byte [rbx + 2], dl
mov rax, rdx
shr rax, 8
mov byte [rbx + 3], al
mov rax, rdx
shr rax, 0x10
mov byte [rbx + 4], al
shr rdx, 0x18
mov byte [rbx + 5], dl
add rbx, 8
mov rcx, qword [r12 + rbp]
call fcn.14017f620
shl eax, 3
cmp edi, eax
jl 0x1402a6dd0
cmp rsi, 0x21
jge 0x1402a6e6e
mov rbx, qword [rsp + 0x28]
mov r8d, reloc.WLDAP32.dll_Ordinal_33
sub r8, rsi
xor edx, edx
lea rcx, [rsi + rbx]
add rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
jmp 0x1402a6e73
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0xc8]
mov r8d, 4
mov rcx, r13
mov rax, qword [rdi + r12]
mov rdx, qword [rax + 0x10]
call fcn.14028d5a0
test eax, eax
je 0x1402a713a
mov rax, qword [rdi + r12]
lea r14, [r13 + 0x20]
mov r8d, 4
mov rcx, r14
mov rdx, qword [rax + 0x18]
call fcn.14028d5a0
test eax, eax
je 0x1402a7137
mov rax, qword [rdi + r12]
lea rcx, [r13 + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.14028d5a0
test eax, eax
je 0x1402a7137
mov rbx, qword [rsp + 0x20]
mov r8d, 1
mov rcx, rbx
mov rdx, r13
call fcn.140076e00
mov rdx, r13
lea rcx, [r13 + 0x60]
call fcn.140077580
mov r8d, 2
lea rdx, [r13 + 0x60]
mov rcx, rbx
call fcn.140076e00
lea rsi, [r13 + 0xc0]
mov r8, r13
mov rcx, rsi
lea rdx, [r13 + 0x60]
call fcn.1400778c0
mov r8d, 3
mov rdx, rsi
mov rcx, rbx
call fcn.140076e00
lea rdx, [r13 + 0x60]
lea rcx, [r13 + 0x60]
call fcn.140077580
mov r8d, 4
lea rdx, [r13 + 0x60]
mov rcx, rbx
call fcn.140076e00
mov rdx, rsi
mov rcx, rsi
call fcn.140077580
mov r8d, 6
mov rdx, rsi
mov rcx, rbx
call fcn.140076e00
lea rdi, [r13 + 0x120]
mov r8, r13
mov rcx, rdi
lea rdx, [r13 + 0x60]
call fcn.1400778c0
mov r8d, 5
mov rdx, rdi
mov rcx, rbx
call fcn.140076e00
lea rbx, [r13 + 0x180]
mov r8, r13
mov rcx, rbx
mov rdx, rsi
call fcn.1400778c0
mov rcx, qword [rsp + 0x20]
mov r8d, 7
mov rdx, rbx
call fcn.140076e00
lea rdx, [r13 + 0x60]
lea rcx, [r13 + 0x60]
call fcn.140077580
mov rcx, qword [rsp + 0x20]
lea rdx, [r13 + 0x60]
mov r8d, 8
call fcn.140076e00
mov rdx, rsi
mov rcx, rsi
call fcn.140077580
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rdx, rsi
call fcn.140076e00
mov rdx, rdi
mov rcx, rdi
call fcn.140077580
mov rcx, qword [rsp + 0x20]
mov r8d, 0xa
mov rdx, rdi
call fcn.140076e00
mov rdx, rbx
mov rcx, rbx
call fcn.140077580
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_ntohl
mov rdx, rbx
call fcn.140076e00
mov r8, r13
mov rdx, rsi
mov rcx, rsi
call fcn.1400778c0
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_listen
mov rdx, rsi
call fcn.140076e00
mov r8, r13
mov rdx, rdi
mov rcx, rdi
call fcn.1400778c0
mov rdx, rdi
mov r8d, reloc.WS2_32.dll_inet_addr
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140076e00
mov r8, r13
mov rdx, rbx
mov rcx, rbx
call fcn.1400778c0
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbx
mov rcx, rdi
call fcn.140076e00
mov r8, r13
lea rdx, [r13 + 0x60]
mov rcx, rsi
call fcn.1400778c0
mov r8d, 9
mov rdx, rsi
mov rcx, rdi
call fcn.140076e00
lea rdx, [r13 + 0x60]
lea rcx, [r13 + 0x60]
call fcn.140077580
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [r13 + 0x60]
mov rcx, rdi
call fcn.140076e00
mov rax, qword [rsp + 0x60]
add rdi, 0x600
add qword [rsp + 0x30], 0x21
inc rax
mov rbp, qword [rsp + 0x58]
add r12, 8
mov rsi, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rdi
mov rdi, qword [rsp + 0xd8]
mov qword [rsp + 0x60], rax
cmp rax, qword [rsp + 0xd0]
jb 0x1402a6d40
mov rbx, qword [rsp + 0x28]
mov r12, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x38]
jmp 0x1402a71a4
xor r14d, r14d
call fcn.140180910
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x2ab
lea rcx, str.cryptoececp_nistz256.c
call fcn.140180a30
xor r8d, r8d
mov edx, 0x92
lea ecx, [r8 + 0x10]
call fcn.140180b70
jmp 0x1402a74af
call fcn.140180910
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x28f
lea rcx, str.cryptoececp_nistz256.c
call fcn.140180a30
xor r8d, r8d
mov edx, 0x80003
lea ecx, [r8 + 0x10]
call fcn.140180b70
jmp 0x1402a74aa
lea r14, [r13 + 0x20]
movzx eax, byte [rbx + 0x1f]
mov esi, 0xff
shr eax, 6
mov rdx, rbp
mov r8d, eax
mov dword [rsp + 0x30], esi
shr r8d, 1
and eax, 1
add r8d, eax
mov rcx, r13
call fcn.140076e60
movups xmm0, xmmword [r13]
lea rdi, [r13 + 0x80]
movups xmmword [r15], xmm0
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [r13 + 0x20]
movups xmmword [r15 + 0x20], xmm0
movups xmm1, xmmword [r13 + 0x30]
movups xmmword [r15 + 0x30], xmm1
movups xmm0, xmmword [r13 + 0x40]
movups xmmword [r15 + 0x40], xmm0
movups xmm1, xmmword [r13 + 0x50]
movups xmmword [r15 + 0x50], xmm1
nop dword [rax]
xor edx, edx
cmp esi, 0xff
sete dl
cmp rdx, r12
jae 0x1402a736b
lea ecx, [rsi - 1]
mov r9d, ecx
lea rsi, [rdx + rdx*2]
shr ecx, 3
and r9d, 7
shl rsi, 9
add rsi, qword [rsp + 0x38]
imul rbp, rdx, 0x21
lea eax, [rcx + 1]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x58], rax
sub r12, rdx
mov qword [rsp + 0x50], rcx
nop word [rax + rax]
add rax, rbp
movzx r8d, byte [rax + rbx]
lea rax, [rcx + rbp]
movzx ecx, byte [rax + rbx]
shl r8d, 8
or r8d, ecx
mov ecx, r9d
shr r8d, cl
mov ecx, 0x3f
and r8d, 0x3f
sub ecx, r8d
mov eax, r8d
shr eax, 5
dec eax
mov edx, eax
and eax, r8d
not edx
and ecx, edx
and edx, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
mov rcx, r13
lea ebx, [rdx + rax*2]
mov rdx, rsi
mov r8d, ebx
shr r8d, 1
call fcn.140076e60
mov rdx, r14
mov rcx, rdi
call fcn.1400754c0
mov rcx, qword [r14]
mov r8d, ebx
mov rax, qword [rdi]
and r8d, 1
neg r8
and rax, r8
mov rdx, r8
not rdx
and rcx, rdx
xor rcx, rax
mov qword [r14], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [r14 + 8]
and rcx, r8
and rax, rdx
xor rcx, rax
mov rax, rdx
mov qword [r14 + 8], rcx
and rax, qword [r14 + 0x10]
mov rcx, qword [rdi + 0x10]
and rcx, r8
xor rcx, rax
mov qword [r14 + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov rax, qword [r14 + 0x18]
and rcx, r8
and rax, rdx
mov r8, r13
xor rcx, rax
mov rdx, r15
mov qword [r14 + 0x18], rcx
mov rcx, r15
call fcn.1400778c0
mov rbx, qword [rsp + 0x28]
add rbp, 0x21
mov r9d, dword [rsp + 0x20]
add rsi, 0x600
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub r12, 1
jne 0x1402a7260
mov esi, dword [rsp + 0x30]
mov r12, qword [rsp + 0xd0]
add esi, 0xfffffffb
mov rdx, r15
mov rcx, r15
mov dword [rsp + 0x30], esi
call fcn.140077580
mov rdx, r15
mov rcx, r15
call fcn.140077580
mov rdx, r15
mov rcx, r15
call fcn.140077580
mov rdx, r15
mov rcx, r15
call fcn.140077580
mov rdx, r15
mov rcx, r15
call fcn.140077580
cmp esi, 5
jae 0x1402a7210
test r12, r12
je 0x1402a74a4
mov rbp, qword [rsp + 0x38]
mov rsi, rbx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rsi]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
sub ecx, edx
mov eax, edx
shr eax, 5
dec eax
mov r8d, eax
and eax, edx
not r8d
mov rdx, rbp
and ecx, r8d
and r8d, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
mov rcx, r13
lea ebx, [r8 + rax*2]
mov r8d, ebx
shr r8d, 1
call fcn.140076e60
mov rdx, r14
mov rcx, rdi
call fcn.1400754c0
mov r8d, ebx
and r8d, 1
neg r8
mov rdx, r8
mov rax, r8
and rax, qword [rdi]
not rdx
mov rcx, rdx
and rcx, qword [r14]
xor rcx, rax
mov rax, rdx
mov qword [r14], rcx
and rax, qword [r14 + 8]
mov rcx, qword [rdi + 8]
and rcx, r8
xor rcx, rax
mov qword [r14 + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rax, qword [r14 + 0x10]
and rcx, r8
and rax, rdx
xor rcx, rax
mov qword [r14 + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov rax, qword [r14 + 0x18]
and rcx, r8
and rax, rdx
mov r8, r13
xor rcx, rax
mov rdx, r15
mov qword [r14 + 0x18], rcx
mov rcx, r15
call fcn.1400778c0
add rbp, 0x600
lea rsi, [rsi + 0x21]
sub r12, 1
jne 0x1402a73d0
mov r14d, 1
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0xb8]
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x30d
call fcn.14017a040
mov r8d, 0x30e
lea rdx, str.cryptoececp_nistz256.c
mov rcx, rbx
call fcn.14017a040
mov rcx, qword [rsp + 0x48]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x30f
call fcn.14017a040
mov eax, r14d
add rsp, 0x80
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret