Function at 0x14022ce00
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 r13
push r14
mov eax, 0x88
call fcn.1402ae840
sub rsp, rax
mov r13, qword [rsp + 0xd0]
xor esi, esi
mov rax, r13
mov qword [rsp + 0x48], rsi
shl rax, 4
mov r14, rdx
add rax, 6
mov qword [rsp + 0x40], rsi
mov ebx, esi
cmp rax, 0x1555555
ja 0x14022d67c
mov qword [rsp + 0x80], rdi
lea rdx, str.cryptoececp_nistz256.c
lea rdi, [r13*2]
mov r8d, 0x27c
add rdi, r13
shl rdi, 9
lea rcx, [rdi + 0x220]
call fcn.14013fe30
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14022d674
imul rcx, r13, 0x21
mov r8d, 0x27e
lea rdx, str.cryptoececp_nistz256.c
call fcn.14013fe30
mov qword [rsp + 0x30], rax
mov rbx, rax
test rax, rax
je 0x14022d674
lea rcx, [r13*8]
mov r8d, 0x27f
lea rdx, str.cryptoececp_nistz256.c
call fcn.14013fe30
mov qword [rsp + 0x48], rax
mov rdx, rax
test rax, rax
je 0x14022d674
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rbp
and eax, 0x3f
mov rbp, qword [rsp + 0x40]
sub rbp, rax
mov qword [rsp + 0x78], r12
add rbp, 0x40
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x60], rsi
lea r15, [rdi + rbp]
test r13, r13
je 0x14022d33a
mov rcx, qword [rsp + 0xc0]
lea rax, [rbx + 2]
mov rdi, qword [rsp + 0xd8]
mov r12, rcx
mov qword [rsp + 0x50], rax
mov rax, rdx
sub rax, rcx
mov qword [rsp + 0x28], rsi
sub qword [rsp + 0xc8], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rbp
nop dword [rax + rax]
mov rcx, qword [r12]
call fcn.1401623a0
cmp eax, 0x100
jg 0x14022cf83
mov rcx, qword [r12]
call fcn.140162210
test eax, eax
jne 0x14022cf83
mov rbp, qword [r12]
jmp 0x14022cfba
mov rcx, rdi
call fcn.1401cffe0
mov rbp, rax
test rax, rax
je 0x14022d662
mov rax, qword [rsp + 0xb0]
mov r9, rdi
mov rdx, qword [r12]
mov rcx, rbp
mov r8, qword [rax + 0x10]
call fcn.1401d2cc0
test eax, eax
je 0x14022d704
mov rcx, qword [rsp + 0x48]
mov rax, r12
sub rax, qword [rsp + 0xc0]
mov edi, esi
mov qword [rax + rcx], rbp
mov rcx, rbp
call fcn.140181b30
shl eax, 3
test eax, eax
jle 0x14022d075
mov rbx, qword [rsp + 0x28]
add rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [r12 + rbp]
call fcn.140145a40
mov rdx, rax
mov eax, edi
test edi, edi
jns 0x14022d007
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.140181b30
shl eax, 3
cmp edi, eax
jl 0x14022cff2
mov rbx, qword [rsp + 0x30]
cmp rsi, 0x21
jge 0x14022d090
mov rcx, qword [rsp + 0x28]
mov r8d, 0x21
add rcx, rsi
sub r8, rsi
add rcx, rbx
xor edx, edx
call fcn.1402b1ba0
mov rdi, qword [rsp + 0xc8]
mov r8d, 4
mov rcx, r15
mov rax, qword [rdi + r12]
mov rdx, qword [rax + 0x10]
call fcn.1401d2790
test eax, eax
je 0x14022d6cf
mov rax, qword [rdi + r12]
lea rcx, [r15 + 0x20]
mov r8d, 4
mov rdx, qword [rax + 0x18]
call fcn.1401d2790
test eax, eax
je 0x14022d6cf
mov rax, qword [rdi + r12]
lea rcx, [r15 + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.1401d2790
test eax, eax
je 0x14022d6cf
mov rbx, qword [rsp + 0x20]
mov r8d, 1
mov rcx, rbx
mov rdx, r15
call fcn.14007be00
mov rdx, r15
lea rcx, [r15 + 0x60]
call fcn.14007c580
mov r8d, 2
lea rdx, [r15 + 0x60]
mov rcx, rbx
call fcn.14007be00
lea rsi, [r15 + 0xc0]
mov r8, r15
mov rcx, rsi
lea rdx, [r15 + 0x60]
call fcn.14007c8c0
mov r8d, 3
mov rdx, rsi
mov rcx, rbx
call fcn.14007be00
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x60]
call fcn.14007c580
mov r8d, 4
lea rdx, [r15 + 0x60]
mov rcx, rbx
call fcn.14007be00
mov rdx, rsi
mov rcx, rsi
call fcn.14007c580
mov r8d, 6
mov rdx, rsi
mov rcx, rbx
call fcn.14007be00
lea rdi, [r15 + 0x120]
mov r8, r15
mov rcx, rdi
lea rdx, [r15 + 0x60]
call fcn.14007c8c0
mov r8d, 5
mov rdx, rdi
mov rcx, rbx
call fcn.14007be00
lea rbx, [r15 + 0x180]
mov r8, r15
mov rcx, rbx
mov rdx, rsi
call fcn.14007c8c0
mov rcx, qword [rsp + 0x20]
mov r8d, 7
mov rdx, rbx
call fcn.14007be00
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x60]
call fcn.14007c580
mov rcx, qword [rsp + 0x20]
lea rdx, [r15 + 0x60]
mov r8d, 8
call fcn.14007be00
mov rdx, rsi
mov rcx, rsi
call fcn.14007c580
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rdx, rsi
call fcn.14007be00
mov rdx, rdi
mov rcx, rdi
call fcn.14007c580
mov rcx, qword [rsp + 0x20]
mov r8d, 0xa
mov rdx, rdi
call fcn.14007be00
mov rdx, rbx
mov rcx, rbx
call fcn.14007c580
mov rcx, qword [rsp + 0x20]
mov r8d, send
mov rdx, rbx
call fcn.14007be00
mov r8, r15
mov rdx, rsi
mov rcx, rsi
call fcn.14007c8c0
mov rcx, qword [rsp + 0x20]
mov r8d, recv
mov rdx, rsi
call fcn.14007be00
mov r8, r15
mov rdx, rdi
mov rcx, rdi
call fcn.14007c8c0
mov rdx, rdi
mov r8d, reloc.WS2_32.dll_inet_addr
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.14007be00
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.14007c8c0
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbx
mov rcx, rdi
call fcn.14007be00
mov r8, r15
lea rdx, [r15 + 0x60]
mov rcx, rsi
call fcn.14007c8c0
mov r8d, 9
mov rdx, rsi
mov rcx, rdi
call fcn.14007be00
lea rdx, [r15 + 0x60]
lea rcx, [r15 + 0x60]
call fcn.14007c580
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [r15 + 0x60]
mov rcx, rdi
call fcn.14007be00
mov rax, qword [rsp + 0x60]
add rdi, 0x600
add qword [rsp + 0x28], 0x21
inc rax
mov rbx, qword [rsp + 0x30]
add r12, 8
mov qword [rsp + 0x20], rdi
mov esi, 0
mov rdi, qword [rsp + 0xd8]
mov qword [rsp + 0x60], rax
cmp rax, r13
jb 0x14022cf60
mov rbp, qword [rsp + 0x38]
movzx eax, byte [rbx + 0x1f]
mov edi, 0xff
shr eax, 6
mov rdx, rbp
mov r8d, eax
mov dword [rsp + 0x28], edi
shr r8d, 1
and eax, 1
add r8d, eax
mov rcx, r15
call fcn.14007be60
movups xmm0, xmmword [r15]
movups xmmword [r14], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [r15 + 0x30]
movups xmmword [r14 + 0x30], xmm1
movups xmm0, xmmword [r15 + 0x40]
movups xmmword [r14 + 0x40], xmm0
movups xmm1, xmmword [r15 + 0x50]
movups xmmword [r14 + 0x50], xmm1
nop dword [rax + rax]
cmp edi, 0xff
mov rdx, rsi
sete dl
cmp rdx, r13
jae 0x14022d50e
lea ecx, [rdi - 1]
mov r9d, ecx
lea rbp, [rdx + rdx*2]
shr ecx, 3
and r9d, 7
shl rbp, 9
add rbp, qword [rsp + 0x38]
imul r12, rdx, 0x21
lea eax, [rcx + 1]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x58], rax
sub r13, rdx
mov qword [rsp + 0x50], rcx
nop dword [rax + rax]
add rax, r12
movzx r8d, byte [rax + rbx]
lea rax, [rcx + r12]
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, r15
lea ebx, [rdx + rax*2]
mov rdx, rbp
mov r8d, ebx
shr r8d, 1
call fcn.14007be60
lea rdx, [r15 + 0x20]
lea rcx, [r15 + 0x80]
call fcn.14007a4c0
mov r8d, ebx
and r8d, 1
neg r8
mov rdx, r8
mov rax, r8
and rax, qword [r15 + 0x80]
not rdx
mov rcx, rdx
and rcx, qword [r15 + 0x20]
xor rcx, rax
mov qword [r15 + 0x20], rcx
mov rcx, qword [r15 + 0x88]
mov rax, qword [r15 + 0x28]
and rcx, r8
and rax, rdx
xor rcx, rax
mov qword [r15 + 0x28], rcx
mov rcx, qword [r15 + 0x90]
mov rax, qword [r15 + 0x30]
and rcx, r8
and rax, rdx
xor rcx, rax
mov qword [r15 + 0x30], rcx
mov rcx, r14
and rdx, qword [r15 + 0x38]
mov rax, qword [r15 + 0x98]
and rax, r8
mov r8, r15
xor rax, rdx
mov rdx, r14
mov qword [r15 + 0x38], rax
call fcn.14007c8c0
mov rbx, qword [rsp + 0x30]
add r12, 0x21
mov r9d, dword [rsp + 0x20]
add rbp, 0x600
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub r13, 1
jne 0x14022d3f0
mov edi, dword [rsp + 0x28]
xor esi, esi
mov r13, qword [rsp + 0xd0]
add edi, 0xfffffffb
mov rdx, r14
mov rcx, r14
mov dword [rsp + 0x28], edi
call fcn.14007c580
mov rdx, r14
mov rcx, r14
call fcn.14007c580
mov rdx, r14
mov rcx, r14
call fcn.14007c580
mov rdx, r14
mov rcx, r14
call fcn.14007c580
mov rdx, r14
mov rcx, r14
call fcn.14007c580
cmp edi, 5
jae 0x14022d3a0
test r13, r13
je 0x14022d658
mov rbp, qword [rsp + 0x38]
mov r12, rbx
nop word [rax + rax]
movzx edx, byte [r12]
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, r15
lea ebx, [r8 + rax*2]
mov r8d, ebx
shr r8d, 1
call fcn.14007be60
lea rdx, [r15 + 0x20]
lea rcx, [r15 + 0x80]
call fcn.14007a4c0
mov rcx, qword [r15 + 0x20]
mov r8d, ebx
mov rax, qword [r15 + 0x80]
and r8d, 1
neg r8
and rax, r8
mov rdx, r8
not rdx
and rcx, rdx
xor rcx, rax
mov qword [r15 + 0x20], rcx
mov rcx, qword [r15 + 0x88]
mov rax, qword [r15 + 0x28]
and rcx, r8
and rax, rdx
xor rcx, rax
mov rax, rdx
mov qword [r15 + 0x28], rcx
and rax, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x90]
and rcx, r8
xor rcx, rax
mov qword [r15 + 0x30], rcx
mov rcx, r14
and rdx, qword [r15 + 0x38]
mov rax, qword [r15 + 0x98]
and rax, r8
mov r8, r15
xor rax, rdx
mov rdx, r14
mov qword [r15 + 0x38], rax
call fcn.14007c8c0
add rbp, 0x600
lea r12, [r12 + 0x21]
sub r13, 1
jne 0x14022d570
mov rbx, qword [rsp + 0x30]
mov esi, 1
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x30d
call fcn.14013fee0
mov r8d, 0x30e
lea rdx, str.cryptoececp_nistz256.c
mov rcx, rbx
call fcn.14013fee0
mov rcx, qword [rsp + 0x48]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x30f
call fcn.14013fee0
mov eax, esi
add rsp, 0x88
pop r14
pop r13
pop rsi
pop rbx
ret
call fcn.140140b30
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x2ab
lea rcx, str.cryptoececp_nistz256.c
call fcn.140140c50
xor r8d, r8d
mov edx, 0x92
lea ecx, [r8 + 0x10]
call fcn.140140d90
xor esi, esi
jmp 0x14022d662
call fcn.140140b30
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x28f
lea rcx, str.cryptoececp_nistz256.c
call fcn.140140c50
xor r8d, r8d
mov edx, 0x80003
lea ecx, [r8 + 0x10]
call fcn.140140d90
jmp 0x14022d662