Function at 0x1400cecc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x140140880]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov dword [rsp + 0x20], 0x31425352
cmp qword [rdx + 0x18], 0xf
jbe 0x1400ced14
mov r12, qword [rdx]
add r12, qword [rdx + 0x10]
mov rdi, qword [rdx]
jmp 0x1400ced1b
mov r12, qword [rdx + 0x10]
add r12, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov r14, rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x80], rbx
mov r14, r12
sub r14, rdi
je 0x1400cedc0
movabs r15, 0x7fffffffffffffff
cmp r14, r15
ja 0x1400cf887
cmp r14, 0x1000
jb 0x1400ced85
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1400cf88c
call fcn.14010a6fc
test rax, rax
je 0x1400cf837
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400ced90
mov rcx, r14
call fcn.14010a6fc
mov rsi, rax
mov qword [rsp + 0x70], rsi
add r14, rsi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x80], r14
sub r12, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r12, r14
mov qword [rsp + 0x78], r14
jmp 0x1400cedca
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x28], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rbx
mov ecx, 4
call fcn.14010a6fc
mov r14, rax
mov qword [rsp + 0xd0], rax
add rax, 4
mov qword [rsp + 0xe0], rax
xor ecx, ecx
mov dword [r14], ecx
mov qword [rsp + 0xd8], rax
mov r9, rbx
lea rax, [rsp + 0x20]
mov r10, rsi
sub r10, rax
lea rax, [rsp + 0x20]
mov r11, r14
sub r11, rax
nop word [rax + rax]
lea r8, [rsp + 0x20]
add r8, r9
movzx edx, byte [r10 + r8]
xor dl, byte [r8]
movzx eax, r9b
imul ecx, eax, 0x29
sub dl, cl
mov byte [r11 + r8], dl
inc r9
cmp r9, 4
jb 0x1400cee30
mov rdx, rbx
mov r9, r12
sub r9, rsi
je 0x1400cee90
mov r8, rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, rdx
and ecx, 3
movzx eax, r8b
add al, byte [rcx + r14]
xor byte [rsi + rdx], al
inc rdx
add r8, 0x29
cmp rdx, r9
jb 0x1400cee70
nop dword [rax]
movzx edi, byte [r14 + 3]
shl edi, 8
movzx eax, byte [r14 + 2]
or edi, eax
shl edi, 8
movzx eax, byte [r14 + 1]
or edi, eax
shl edi, 8
movzx eax, byte [r14]
or edi, eax
mov rdx, r12
sub rdx, rsi
mov r8d, 0x2a
mov rcx, rsi
call sub.xxhash.dll_XXH32
cmp eax, edi
je 0x1400cf180
xor edx, edx
mov cl, 0x46
call fcn.14007b670
mov byte [rsp + 0xf0], al
mov edx, 1
mov cl, 0x61
call fcn.14007b670
mov byte [rsp + 0xf1], al
mov edx, 2
mov cl, 0x69
call fcn.14007b670
mov byte [rsp + 0xf2], al
mov edx, 3
mov cl, 0x6c
call fcn.14007b670
mov byte [rsp + 0xf3], al
mov edx, 4
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0xf4], al
mov edx, 5
mov cl, 0x64
call fcn.14007b670
mov byte [rsp + 0xf5], al
mov edx, 6
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0xf6], al
mov edx, 7
mov cl, reloc.WSOCK32.dll_WSACleanup
call fcn.14007b670
mov byte [rsp + 0xf7], al
mov edx, 8
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rsp + 0xf8], al
mov edx, 9
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0xf9], al
mov edx, 0xa
mov cl, 0x64
call fcn.14007b670
mov byte [rsp + 0xfa], al
mov edx, ntohl
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0xfb], al
mov edx, reloc.WSOCK32.dll_ioctlsocket
mov cl, 0x63
call fcn.14007b670
mov byte [rsp + 0xfc], al
mov edx, reloc.WSOCK32.dll_listen
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rsp + 0xfd], al
mov edx, reloc.WSOCK32.dll_ntohl
mov cl, 0x6d
call fcn.14007b670
mov byte [rsp + 0xfe], al
mov edx, reloc.WSOCK32.dll_ntohs
mov cl, reloc.WSOCK32.dll_WSASetLastError
call fcn.14007b670
mov byte [rsp + 0xff], al
mov edx, select
mov cl, WSAStartup
call fcn.14007b670
mov byte [rsp + 0x100], al
mov edx, select
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x101], al
mov edx, reloc.WSOCK32.dll_select
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007b670
mov byte [rsp + 0x102], al
mov edx, setsockopt
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007b670
mov byte [rsp + 0x103], al
mov edx, setsockopt
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0x104], al
mov edx, reloc.WSOCK32.dll_setsockopt
mov cl, 0x62
call fcn.14007b670
mov byte [rsp + 0x105], al
mov edx, reloc.WSOCK32.dll_shutdown
mov cl, 0x79
call fcn.14007b670
mov byte [rsp + 0x106], al
mov edx, 0x17
mov cl, reloc.WSOCK32.dll_WSACleanup
call fcn.14007b670
mov byte [rsp + 0x107], al
mov edx, 0x18
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x108], al
mov edx, 0x19
mov cl, 0x63
call fcn.14007b670
mov byte [rsp + 0x109], al
mov edx, 0x1a
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rsp + 0x10a], al
mov edx, 0x1b
mov cl, 0x64
call fcn.14007b670
mov byte [rsp + 0x10b], al
mov edx, 0x1c
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x10c], al
mov edx, 0x1d
mov cl, 0x2e
call fcn.14007b670
mov byte [rsp + 0x10d], al
mov edx, 0x1e
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0x10e], al
mov edx, 0x1f
mov cl, 0x28
call fcn.14007b670
mov byte [rsp + 0x10f], al
mov edx, 0x20
mov cl, 0x31
call fcn.14007b670
mov byte [rsp + 0x110], al
mov edx, 0x21
mov cl, 0x29
call fcn.14007b670
mov byte [rsp + 0x111], al
xor eax, eax
mov byte [rsp + 0x112], al
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0xf0]
add rcx, rax
lea eax, [rbx + 0x13]
xor byte [rcx], al
inc ebx
cmp ebx, 0x22
jae 0x1400cf892
jmp 0x1400cf160
movzx edi, byte [rsi + 7]
shl edi, 8
movzx eax, byte [rsi + 6]
or edi, eax
shl edi, 8
movzx eax, byte [rsi + 5]
or edi, eax
shl edi, 8
movzx eax, byte [rsi + 4]
or edi, eax
mov dword [rsp + 0x20], edi
lea rax, [rsi + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rbx
mov r15, r12
sub r15, rax
je 0x1400cf251
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x1400cf8c3
cmp r15, 0x1000
jb 0x1400cf20d
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400cf8c8
call fcn.14010a6fc
test rax, rax
je 0x1400cf7b9
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x1400cf218
mov rcx, r15
call fcn.14010a6fc
mov r12, rax
mov qword [rsp + 0xf0], r12
add r15, r12
mov qword [rsp + 0x100], r15
mov r8, qword [rsp + 0x28]
lea rdx, [rsi + 8]
sub r8, rdx
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov rcx, r15
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0xf8], rcx
jmp 0x1400cf266
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0xf0]
mov r15d, edi
mov qword [rsp + 0x90], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], rbx
test edi, edi
je 0x1400cf2fd
cmp r15, 0x1000
jb 0x1400cf2bf
lea rcx, [rdi + 0x27]
cmp rcx, r15
jbe 0x1400cf8ce
call fcn.14010a6fc
test rax, rax
je 0x1400cf774
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400cf2ca
mov rcx, r15
call fcn.14010a6fc
mov rdi, rax
mov qword [rsp + 0x40], rdi
add r15, rdi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x50], r15
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rax, r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rax
jmp 0x1400cf307
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
sub r9, r12
mov edx, dword [rsp + 0x20]
mov r8, r12
mov rcx, rdi
call qword [sym.imp.zstd.dll_ZSTD_decompress]
mov qword [rsp + 0x20], rax
mov rcx, rax
call qword [sym.imp.zstd.dll_ZSTD_isError]
test eax, eax
je 0x1400cf5e1
xor edx, edx
mov cl, 0x46
call fcn.14007b670
mov byte [rsp + 0x118], al
mov edx, 1
mov cl, 0x61
call fcn.14007b670
mov byte [rsp + 0x119], al
mov edx, 2
mov cl, 0x69
call fcn.14007b670
mov byte [rsp + 0x11a], al
mov edx, 3
mov cl, 0x6c
call fcn.14007b670
mov byte [rsp + 0x11b], al
mov edx, 4
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x11c], al
mov edx, 5
mov cl, 0x64
call fcn.14007b670
mov byte [rsp + 0x11d], al
mov edx, 6
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0x11e], al
mov edx, 7
mov cl, reloc.WSOCK32.dll_WSACleanup
call fcn.14007b670
mov byte [rsp + 0x11f], al
mov edx, 8
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rsp + 0x120], al
mov edx, 9
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0x121], al
mov edx, 0xa
mov cl, 0x64
call fcn.14007b670
mov byte [rsp + 0x122], al
mov edx, ntohl
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x123], al
mov edx, reloc.WSOCK32.dll_ioctlsocket
mov cl, 0x63
call fcn.14007b670
mov byte [rsp + 0x124], al
mov edx, reloc.WSOCK32.dll_listen
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rsp + 0x125], al
mov edx, reloc.WSOCK32.dll_ntohl
mov cl, 0x6d
call fcn.14007b670
mov byte [rsp + 0x126], al
mov edx, reloc.WSOCK32.dll_ntohs
mov cl, reloc.WSOCK32.dll_WSASetLastError
call fcn.14007b670
mov byte [rsp + 0x127], al
mov edx, select
mov cl, WSAStartup
call fcn.14007b670
mov byte [rsp + 0x128], al
mov edx, select
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x129], al
mov edx, reloc.WSOCK32.dll_select
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007b670
mov byte [rsp + 0x12a], al
mov edx, setsockopt
mov cl, reloc.WSOCK32.dll_WSAStartup
call fcn.14007b670
mov byte [rsp + 0x12b], al
mov edx, setsockopt
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0x12c], al
mov edx, reloc.WSOCK32.dll_setsockopt
mov cl, 0x62
call fcn.14007b670
mov byte [rsp + 0x12d], al
mov edx, reloc.WSOCK32.dll_shutdown
mov cl, 0x79
call fcn.14007b670
mov byte [rsp + 0x12e], al
mov edx, 0x17
mov cl, reloc.WSOCK32.dll_WSACleanup
call fcn.14007b670
mov byte [rsp + 0x12f], al
mov edx, 0x18
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x130], al
mov edx, 0x19
mov cl, 0x63
call fcn.14007b670
mov byte [rsp + 0x131], al
mov edx, 0x1a
mov cl, reloc.WSOCK32.dll_WSAGetLastError
call fcn.14007b670
mov byte [rsp + 0x132], al
mov edx, 0x1b
mov cl, 0x64
call fcn.14007b670
mov byte [rsp + 0x133], al
mov edx, 0x1c
mov cl, 0x65
call fcn.14007b670
mov byte [rsp + 0x134], al
mov edx, 0x1d
mov cl, 0x2e
call fcn.14007b670
mov byte [rsp + 0x135], al
mov edx, 0x1e
mov cl, 0x20
call fcn.14007b670
mov byte [rsp + 0x136], al
mov edx, 0x1f
mov cl, 0x28
call fcn.14007b670
mov byte [rsp + 0x137], al
mov edx, 0x20
mov cl, 0x32
call fcn.14007b670
mov byte [rsp + 0x138], al
mov edx, 0x21
mov cl, 0x29
call fcn.14007b670
mov byte [rsp + 0x139], al
xor eax, eax
mov byte [rsp + 0x13a], al
movsxd rax, ebx
lea rcx, [rsp + 0x118]
add rcx, rax
lea eax, [rbx + 0x13]
xor byte [rcx], al
inc ebx
cmp ebx, 0x22
jae 0x1400cf8d4
jmp 0x1400cf5c1
mov r9, qword [rsp + 0x28]
mov rdx, r9
sub rdx, rdi
mov rcx, qword [rsp + 0x20]
cmp rcx, rdx
jae 0x1400cf5fc
lea r15, [rdi + rcx]
jmp 0x1400cf652
jbe 0x1400cf657
mov rax, qword [rsp + 0x38]
sub rax, rdi
cmp rcx, rax
jbe 0x1400cf633
lea r8, [rsp + 0x30]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400ce5b0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x1400cf657
sub rcx, rdx
mov qword [rsp + 0x20], rcx
mov r8, rcx
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov r15, qword [rsp + 0x20]
add r15, qword [rsp + 0x28]
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov eax, reloc.WSOCK32.dll_ntohs
mov qword [r13 + 0x18], rax
cmp rdi, r15
jne 0x1400cf67b
mov byte [r13], 0
jmp 0x1400cf746
sub r15, rdi
movabs rcx, 0x7fffffffffffffff
cmp r15, rcx
ja 0x1400cf905
cmp r15, rax
jbe 0x1400cf722
mov rax, r15
or rax, 0xf
cmp rax, rcx
jbe 0x1400cf6d4
mov qword [rsp + 0x28], rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14010a6fc
test rax, rax
je 0x1400cf701
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400cf715
mov ecx, reloc.WSOCK32.dll_shutdown
cmp rax, rcx
cmovb rax, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400cf708
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400cf90a
jmp 0x1400cf6b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400cf71a
call fcn.14010a6fc
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [r13], rbx
mov qword [r13 + 0x18], rax
mov rbx, r13
cmp rax, 0xf
jbe 0x1400cf72f
mov rbx, qword [r13]
mov r8, r15
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [r13 + 0x10], r15
mov byte [rbx + r15], 0
test rdi, rdi
je 0x1400cf787
mov rcx, qword [rsp + 0x38]
sub rcx, rdi
mov rax, rdi
cmp rcx, 0x1000
jb 0x1400cf77b
add rcx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cf77b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, rdi
call fcn.14010a738
nop
test r12, r12
je 0x1400cf7cc
mov rcx, qword [rsp + 0x100]
sub rcx, r12
mov rax, r12
cmp rcx, 0x1000
jb 0x1400cf7c0
add rcx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cf7c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, r12
call fcn.14010a738
nop
test r14, r14
je 0x1400cf809
mov rcx, qword [rsp + 0xe0]
sub rcx, r14
cmp rcx, 0x1000
jb 0x1400cf7fd
add rcx, 0x27
mov rdx, qword [r14 - 8]
sub r14, rdx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400cf83e
mov r14, rdx
mov rdx, rcx
mov rcx, r14
call fcn.14010a738
nop
test rsi, rsi
je 0x1400cf850
mov rcx, qword [rsp + 0x60]
sub rcx, rsi
mov rax, rsi
cmp rcx, 0x1000
jb 0x1400cf845
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cf845
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rcx
mov rcx, rsi
call fcn.14010a738
mov rax, r13
jmp 0x1400cf85a
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14010aaf0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14007b870
call fcn.14007b830
nop
mov byte [rsp + 0x112], 0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xa0]
call fcn.140095c60
lea rdx, [0x14013b8e8]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.14007b870
call fcn.14007b830
nop
call fcn.14007b830
nop
mov byte [rsp + 0x13a], 0
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xb8]
call fcn.140095c60
lea rdx, [0x14013b8e8]
lea rcx, [rsp + 0xb8]
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.14007b850
call fcn.14007b830
int3