Function at 0x140305ce0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.14045ae40
sub rsp, rax
mov r14, qword [rsp + 0xd0]
xor esi, esi
mov rax, r14
mov qword [rsp + 0x50], rsi
shl rax, 4
mov rdi, r8
add rax, 6
mov r15, rdx
mov r12d, esi
mov ebx, esi
cmp rax, 0x1555555
ja 0x1403065fa
lea rbx, [r14 + r14*2]
mov r8d, 0x27c
shl rbx, 9
lea rdx, str.cryptoececp_nistz256.c
lea rcx, [rbx + 0x220]
call fcn.14020def0
mov qword [rsp + 0x30], rax
mov rbp, rax
test rax, rax
je 0x1403065f7
imul rcx, r14, 0x21
mov r8d, 0x27e
lea rdx, str.cryptoececp_nistz256.c
call fcn.14020def0
mov qword [rsp + 0x60], rax
mov r12, rax
test rax, rax
je 0x1403065f2
lea rcx, [r14*8]
mov r8d, 0x27f
lea rdx, str.cryptoececp_nistz256.c
call fcn.14020def0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1403065f2
and rbp, 0xffffffffffffffc0
mov qword [rsp + 0xb8], r13
add rbp, 0x40
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbp
lea r13, [rbx + rbp]
test r14, r14
je 0x1403062db
mov qword [rsp + 0x20], rbp
mov r14, rdi
mov rbp, qword [rsp + 0xc0]
sub rax, rbp
mov qword [rsp + 0x28], rsi
sub qword [rsp + 0xc8], rbp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rdi
nop dword [rax]
mov rcx, qword [r14]
mov rbx, qword [rsp + 0xd8]
call fcn.140232540
cmp eax, 0x100
jg 0x140305e38
mov rcx, qword [r14]
call fcn.140232210
test eax, eax
jne 0x140305e38
mov rdi, qword [r14]
jmp 0x140305e6e
mov rcx, rbx
call fcn.1402acc20
mov rdi, rax
test rax, rax
je 0x140306249
mov rax, qword [rsp + 0xb0]
mov r9, rbx
mov rdx, qword [r14]
mov rcx, rdi
mov r8, qword [rax + 0x10]
call fcn.1402e22b0
test eax, eax
je 0x1403062a8
mov rcx, qword [rsp + 0x50]
mov rax, r14
sub rax, rbp
mov ebx, esi
mov qword [rax + rcx], rdi
mov rcx, rdi
call fcn.140213150
shl eax, 3
test eax, eax
jle 0x140305f39
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
nop dword [rax]
mov rcx, qword [r14 + rbp]
call fcn.14022eb80
mov rcx, rax
mov eax, ebx
test ebx, ebx
jns 0x140305eb5
lea eax, [rbx + 7]
sar eax, 3
add ebx, 8
cdqe
add rsi, 8
mov rcx, qword [rcx + rax*8]
mov rax, rcx
mov byte [rdi + r12], cl
shr rax, 8
mov byte [rdi + r12 + 1], al
mov rax, rcx
shr rax, 0x10
mov byte [rdi + r12 + 2], al
shr rcx, 0x18
mov byte [rdi + r12 + 3], cl
shr rcx, 8
mov rax, rcx
mov byte [rdi + r12 + 4], cl
shr rax, 8
mov byte [rdi + r12 + 5], al
mov rax, rcx
shr rcx, 0x18
mov byte [rdi + r12 + 7], cl
shr rax, 0x10
mov byte [rdi + r12 + 6], al
add rdi, 8
mov rcx, qword [r14 + rbp]
call fcn.140213150
shl eax, 3
cmp ebx, eax
jl 0x140305ea0
mov rbp, qword [rsp + 0x28]
cmp rsi, 0x21
jge 0x140305f55
jmp 0x140305f3e
mov rbp, qword [rsp + 0x28]
lea rcx, [rsi + rbp]
mov r8d, 0x21
add rcx, r12
sub r8, rsi
xor edx, edx
call fcn.14045da30
mov rdi, qword [rsp + 0xc8]
mov r8d, 4
mov rcx, r13
mov rax, qword [rdi + r14]
mov rdx, qword [rax + 0x10]
call fcn.1402e1d80
test eax, eax
je 0x140306219
mov rax, qword [rdi + r14]
lea rbx, [r13 + 0x20]
mov r8d, 4
mov rcx, rbx
mov rdx, qword [rax + 0x18]
call fcn.1402e1d80
test eax, eax
je 0x140306219
mov rax, qword [rdi + r14]
lea rcx, [r13 + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.1402e1d80
test eax, eax
je 0x140306219
mov rdi, qword [rsp + 0x20]
mov r8d, 1
mov rcx, rdi
mov rdx, r13
call fcn.140075e00
mov rdx, r13
lea rcx, [r13 + 0x60]
call fcn.140076580
mov r8d, 2
lea rdx, [r13 + 0x60]
mov rcx, rdi
call fcn.140075e00
lea rbp, [r13 + 0xc0]
mov r8, r13
mov rcx, rbp
lea rdx, [r13 + 0x60]
call fcn.1400768c0
mov r8d, 3
mov rdx, rbp
mov rcx, rdi
call fcn.140075e00
lea rdx, [r13 + 0x60]
lea rcx, [r13 + 0x60]
call fcn.140076580
mov r8d, 4
lea rdx, [r13 + 0x60]
mov rcx, rdi
call fcn.140075e00
mov rdx, rbp
mov rcx, rbp
call fcn.140076580
mov r8d, 6
mov rdx, rbp
mov rcx, rdi
call fcn.140075e00
lea rsi, [r13 + 0x120]
mov r8, r13
mov rcx, rsi
lea rdx, [r13 + 0x60]
call fcn.1400768c0
mov r8d, 5
mov rdx, rsi
mov rcx, rdi
call fcn.140075e00
lea rdi, [r13 + 0x180]
mov r8, r13
mov rcx, rdi
mov rdx, rbp
call fcn.1400768c0
mov rcx, qword [rsp + 0x20]
mov r8d, 7
mov rdx, rdi
call fcn.140075e00
lea rdx, [r13 + 0x60]
lea rcx, [r13 + 0x60]
call fcn.140076580
mov rcx, qword [rsp + 0x20]
lea rdx, [r13 + 0x60]
mov r8d, 8
call fcn.140075e00
mov rdx, rbp
mov rcx, rbp
call fcn.140076580
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rdx, rbp
call fcn.140075e00
mov rdx, rsi
mov rcx, rsi
call fcn.140076580
mov rcx, qword [rsp + 0x20]
mov r8d, 0xa
mov rdx, rsi
call fcn.140075e00
mov rdx, rdi
mov rcx, rdi
call fcn.140076580
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_ntohl
mov rdx, rdi
call fcn.140075e00
mov r8, r13
mov rdx, rbp
mov rcx, rbp
call fcn.1400768c0
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_listen
mov rdx, rbp
call fcn.140075e00
mov r8, r13
mov rdx, rsi
mov rcx, rsi
call fcn.1400768c0
mov rdx, rsi
mov r8d, reloc.WS2_32.dll_inet_addr
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.140075e00
mov r8, r13
mov rdx, rdi
mov rcx, rdi
call fcn.1400768c0
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rdi
mov rcx, rsi
call fcn.140075e00
mov r8, r13
lea rdx, [r13 + 0x60]
mov rcx, rbp
call fcn.1400768c0
mov r8d, 9
mov rdx, rbp
mov rcx, rsi
call fcn.140075e00
lea rdx, [r13 + 0x60]
lea rcx, [r13 + 0x60]
call fcn.140076580
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [r13 + 0x60]
mov rcx, rsi
call fcn.140075e00
mov rax, qword [rsp + 0x40]
add rsi, 0x600
mov r14, qword [rsp + 0x38]
inc rax
add qword [rsp + 0x28], 0x21
add r14, 8
mov rbp, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rsi
mov esi, 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
cmp rax, qword [rsp + 0xd0]
jb 0x140305e10
mov r14, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x48]
jmp 0x1403062df
call fcn.140217b60
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x2ad
lea rcx, str.cryptoececp_nistz256.c
call fcn.140217c80
xor r8d, r8d
mov edx, DllRegisterServer
lea ecx, [r8 + 0x10]
call fcn.140217d80
xor esi, esi
mov rbx, qword [rsp + 0x30]
mov r13, qword [rsp + 0xb8]
mov r8d, 0x30f
lea rdx, str.cryptoececp_nistz256.c
mov rcx, rbx
call fcn.14020df40
mov r8d, 0x310
lea rdx, str.cryptoececp_nistz256.c
mov rcx, r12
call fcn.14020df40
mov rcx, qword [rsp + 0x50]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x311
call fcn.14020df40
mov eax, esi
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140217b60
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x291
lea rcx, str.cryptoececp_nistz256.c
call fcn.140217c80
xor r8d, r8d
mov edx, 0x80003
lea ecx, [r8 + 0x10]
call fcn.140217d80
jmp 0x140306249
lea rbx, [r13 + 0x20]
movzx eax, byte [r12 + 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, r13
call fcn.140075e60
movups xmm0, xmmword [r13]
lea rsi, [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 word [rax + rax]
xor edx, edx
cmp edi, 0xff
sete dl
cmp rdx, r14
jae 0x1403064b6
mov rax, qword [rsp + 0xd0]
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 + 0x48]
imul r14, rdx, 0x21
lea r8d, [rcx + 1]
mov dword [rsp + 0x20], r9d
sub rax, rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
nop word [rax + rax]
lea rax, [r8 + r14]
movzx r8d, byte [rax + r12]
lea rax, [rcx + r14]
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, r13
lea edi, [rdx + rax*2]
mov rdx, rbp
mov r8d, edi
shr r8d, 1
call fcn.140075e60
mov rdx, rbx
mov rcx, rsi
call fcn.1400744c0
and edi, 1
mov r8, r13
neg rdi
mov rdx, rdi
mov rax, rdi
and rax, qword [rsi]
not rdx
mov rcx, rdx
and rcx, qword [rbx]
xor rcx, rax
mov rax, rdx
mov qword [rbx], rcx
and rax, qword [rbx + 8]
mov rcx, qword [rsi + 8]
and rcx, rdi
xor rcx, rax
mov rax, rdx
mov qword [rbx + 8], rcx
and rax, qword [rbx + 0x10]
mov rcx, qword [rsi + 0x10]
and rcx, rdi
xor rcx, rax
mov qword [rbx + 0x10], rcx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rbx + 0x18]
and rcx, rdi
and rax, rdx
mov rdx, r15
xor rcx, rax
mov qword [rbx + 0x18], rcx
mov rcx, r15
call fcn.1400768c0
mov r9d, dword [rsp + 0x20]
lea r14, [r14 + 0x21]
mov r8, qword [rsp + 0x58]
add rbp, 0x600
sub qword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x40]
jne 0x1403063b0
mov edi, dword [rsp + 0x28]
mov r14, qword [rsp + 0xd0]
add edi, 0xfffffffb
mov rdx, r15
mov rcx, r15
mov dword [rsp + 0x28], edi
call fcn.140076580
mov rdx, r15
mov rcx, r15
call fcn.140076580
mov rdx, r15
mov rcx, r15
call fcn.140076580
mov rdx, r15
mov rcx, r15
call fcn.140076580
mov rdx, r15
mov rcx, r15
call fcn.140076580
cmp edi, 5
jae 0x140306350
test r14, r14
je 0x1403065e8
mov rbp, qword [rsp + 0x48]
nop dword [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, r13
lea edi, [r8 + rax*2]
mov r8d, edi
shr r8d, 1
call fcn.140075e60
mov rdx, rbx
mov rcx, rsi
call fcn.1400744c0
mov rcx, qword [rbx]
and edi, 1
mov rax, qword [rsi]
neg rdi
and rax, rdi
mov rdx, rdi
not rdx
mov r8, r13
and rcx, rdx
xor rcx, rax
mov rax, rdx
mov qword [rbx], rcx
and rax, qword [rbx + 8]
mov rcx, qword [rsi + 8]
and rcx, rdi
xor rcx, rax
mov rax, rdx
mov qword [rbx + 8], rcx
and rax, qword [rbx + 0x10]
mov rcx, qword [rsi + 0x10]
and rcx, rdi
xor rcx, rax
mov qword [rbx + 0x10], rcx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rbx + 0x18]
and rcx, rdi
and rax, rdx
mov rdx, r15
xor rcx, rax
mov qword [rbx + 0x18], rcx
mov rcx, r15
call fcn.1400768c0
add rbp, 0x600
lea r12, [r12 + 0x21]
sub r14, 1
jne 0x140306510
mov r12, qword [rsp + 0x60]
mov esi, 1
jmp 0x140306249
mov rbx, rbp
jmp 0x1403065fa
mov rbx, rax
call fcn.140217b60
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x280
lea rcx, str.cryptoececp_nistz256.c
call fcn.140217c80
xor r8d, r8d
mov edx, 0xc0100
lea ecx, [r8 + 0x10]
call fcn.140217d80
jmp 0x140306256