Function at 0x140223e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x80
call fcn.1402a8310
sub rsp, rax
mov r12, qword [rsp + 0xd0]
xor esi, esi
mov rax, r12
mov qword [rsp + 0x48], rsi
shl rax, 4
mov rdi, r8
add rax, 6
mov qword [rsp + 0x40], rsi
mov r14, rdx
mov r13d, esi
cmp rax, 0x1555555
ja 0x1402246e2
mov qword [rsp + 0xb8], rbx
lea rdx, str.cryptoececp_nistz256.c
lea rbx, [r12 + r12*2]
mov r8d, 0x273
shl rbx, 9
lea rcx, [rbx + 0x220]
call fcn.140131570
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1402246da
imul rcx, r12, 0x21
mov r8d, 0x275
lea rdx, str.cryptoececp_nistz256.c
call fcn.140131570
mov qword [rsp + 0x60], rax
mov r13, rax
test rax, rax
je 0x1402246da
lea rcx, [r12*8]
mov r8d, 0x276
lea rdx, str.cryptoececp_nistz256.c
call fcn.140131570
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1402246da
mov qword [rsp + 0x78], rbp
mov rbp, qword [rsp + 0x40]
and rbp, 0xffffffffffffffc0
mov qword [rsp + 0x70], r15
add rbp, 0x40
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
lea r15, [rbx + rbp]
test r12, r12
je 0x140224390
mov rbx, qword [rsp + 0xd8]
mov r12, rdi
mov qword [rsp + 0x20], rbp
mov rbp, qword [rsp + 0xc0]
sub rax, rbp
mov qword [rsp + 0x28], rsi
sub qword [rsp + 0xc8], rbp
mov qword [rsp + 0x50], rax
nop dword [rax]
mov rcx, qword [r12]
call fcn.140161560
cmp eax, 0x100
jg 0x140223fb3
mov rcx, qword [r12]
call fcn.1401613e0
test eax, eax
jne 0x140223fb3
mov rdi, qword [r12]
jmp 0x140223fea
mov rcx, rbx
call fcn.1401ce820
mov rdi, rax
test rax, rax
je 0x1402246d0
mov rax, qword [rsp + 0xb0]
mov r9, rbx
mov rdx, qword [r12]
mov rcx, rdi
mov r8, qword [rax + 0x10]
call fcn.1401d1600
test eax, eax
je 0x14022476c
mov rcx, qword [rsp + 0x48]
mov rax, r12
sub rax, rbp
mov ebx, esi
mov qword [rax + rcx], rdi
mov rcx, rdi
call fcn.14013bdb0
shl eax, 3
test eax, eax
jle 0x1402240ba
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
nop dword [rax + rax]
mov rcx, qword [r12 + rbp]
call fcn.1401308f0
mov rdx, rax
mov eax, ebx
test ebx, ebx
jns 0x140224035
lea eax, [rbx + 7]
sar eax, 3
add ebx, 8
movsxd rcx, eax
add rsi, 8
mov rdx, qword [rdx + rcx*8]
mov byte [rdi + r13], dl
mov rax, rdx
shr rax, 8
mov byte [rdi + r13 + 1], al
mov rax, rdx
shr rax, 0x10
mov byte [rdi + r13 + 2], al
shr rdx, 0x18
mov byte [rdi + r13 + 3], dl
shr rdx, 8
mov byte [rdi + r13 + 4], dl
mov rax, rdx
shr rax, 8
mov byte [rdi + r13 + 5], al
mov rax, rdx
shr rax, 0x10
mov byte [rdi + r13 + 6], al
shr rdx, 0x18
mov byte [rdi + r13 + 7], dl
add rdi, 8
mov rcx, qword [r12 + rbp]
call fcn.14013bdb0
shl eax, 3
cmp ebx, eax
jl 0x140224020
mov rbp, qword [rsp + 0x28]
cmp rsi, 0x21
jge 0x1402240d6
jmp 0x1402240bf
mov rbp, qword [rsp + 0x28]
lea rcx, [rsi + rbp]
mov r8d, 0x21
add rcx, r13
sub r8, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [rsp + 0xc8]
mov r8d, 4
mov rcx, r15
mov rax, qword [rbx + r12]
mov rdx, qword [rax + 0x10]
call fcn.1401d10a0
test eax, eax
je 0x140224737
mov rax, qword [rbx + r12]
lea rcx, [r15 + 0x20]
mov r8d, 4
mov rdx, qword [rax + 0x18]
call fcn.1401d10a0
test eax, eax
je 0x140224737
mov rax, qword [rbx + r12]
lea rcx, [r15 + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.1401d10a0
test eax, eax
je 0x140224737
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, select
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, select
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 + 0x30]
add rdi, 0x600
add qword [rsp + 0x28], 0x21
inc rax
mov rbx, qword [rsp + 0xd8]
add r12, 8
mov esi, 0
mov rbp, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rdi
cmp rax, qword [rsp + 0xd0]
jb 0x140223f90
mov r12, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x38]
movzx eax, byte [r13 + 0x1f]
mov ebx, 0xff
shr eax, 6
mov rdx, rbp
mov r8d, eax
mov dword [rsp + 0x28], ebx
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]
nop word [rax + rax]
cmp ebx, 0xff
mov rdx, rsi
sete dl
cmp rdx, r12
jae 0x14022457d
mov rax, qword [rsp + 0xd0]
lea ecx, [rbx - 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 r8d, [rcx + 1]
mov dword [rsp + 0x20], r9d
sub rax, rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rax
nop word [rax + rax]
lea rax, [r8 + r12]
movzx r8d, byte [rax + r13]
lea rax, [rcx + r13]
movzx ecx, byte [rax + r12]
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
and ebx, 1
mov r8, r15
neg rbx
mov rdx, rbx
mov rax, rbx
and rax, qword [r15 + 0x80]
not rdx
mov rcx, rdx
and rcx, qword [r15 + 0x20]
xor rcx, rax
mov rax, rdx
mov qword [r15 + 0x20], rcx
and rax, qword [r15 + 0x28]
mov rcx, qword [r15 + 0x88]
and rcx, rbx
xor rcx, rax
mov rax, rdx
mov qword [r15 + 0x28], rcx
and rax, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x90]
and rcx, rbx
xor rcx, rax
mov qword [r15 + 0x30], rcx
mov rcx, qword [r15 + 0x98]
mov rax, qword [r15 + 0x38]
and rcx, rbx
and rax, rdx
mov rdx, r14
xor rcx, rax
mov qword [r15 + 0x38], rcx
mov rcx, r14
call fcn.14007c8c0
mov r9d, dword [rsp + 0x20]
lea r12, [r12 + 0x21]
mov r8, qword [rsp + 0x50]
add rbp, 0x600
sub qword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x58]
jne 0x140224460
mov ebx, dword [rsp + 0x28]
xor esi, esi
mov r12, qword [rsp + 0xd0]
add ebx, 0xfffffffb
mov rdx, r14
mov rcx, r14
mov dword [rsp + 0x28], ebx
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 ebx, 5
jae 0x140224400
test r12, r12
je 0x1402246cb
mov rbp, qword [rsp + 0x38]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r13]
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]
and ebx, 1
mov rax, qword [r15 + 0x80]
neg rbx
and rax, rbx
mov rdx, rbx
not rdx
mov r8, r15
and rcx, rdx
xor rcx, rax
mov rax, rdx
mov qword [r15 + 0x20], rcx
and rax, qword [r15 + 0x28]
mov rcx, qword [r15 + 0x88]
and rcx, rbx
xor rcx, rax
mov rax, rdx
mov qword [r15 + 0x28], rcx
and rax, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x90]
and rcx, rbx
xor rcx, rax
mov qword [r15 + 0x30], rcx
mov rcx, qword [r15 + 0x98]
mov rax, qword [r15 + 0x38]
and rcx, rbx
and rax, rdx
mov rdx, r14
xor rcx, rax
mov qword [r15 + 0x38], rcx
mov rcx, r14
call fcn.14007c8c0
add rbp, 0x600
lea r13, [r13 + 0x21]
sub r12, 1
jne 0x1402245e0
mov r13, qword [rsp + 0x60]
mov esi, 1
mov rbp, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x40]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x304
call fcn.140131630
mov r8d, 0x305
lea rdx, str.cryptoececp_nistz256.c
mov rcx, r13
call fcn.140131630
mov rcx, qword [rsp + 0x48]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x306
call fcn.140131630
mov eax, esi
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.1401322a0
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x2a2
lea rcx, str.cryptoececp_nistz256.c
call fcn.1401323c0
xor r8d, r8d
mov edx, 0x92
lea ecx, [r8 + 0x10]
call fcn.140132520
xor esi, esi
jmp 0x1402246d0
call fcn.1401322a0
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x286
lea rcx, str.cryptoececp_nistz256.c
call fcn.1401323c0
xor r8d, r8d
mov edx, 0x80003
lea ecx, [r8 + 0x10]
call fcn.140132520
jmp 0x1402246d0