Function at 0x14006c460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140102060]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, r8
mov qword [rbp - 0x20], rdx
mov r14, rcx
mov qword [rbp - 0x50], rdx
mov qword [rbp + 0xb8], r8
xor ebx, ebx
mov dword [rbp - 0x58], ebx
call fcn.14006a410
mov dword [rsp + 0x30], 0xa4bea7e1
mov dword [rsp + 0x34], 0xaaa4beae
mov word [rsp + 0x38], 0xf2
mov byte [rsp + 0x3a], 1
mov ecx, ebx
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x14006c4d0
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x40], 0xa7a8a6e1
mov dword [rsp + 0x44], 0x100f1ae
mov dword [rsp + 0x68], 0xb9acbbe1
mov dword [rsp + 0x6c], 0xa0a2a5b8
mov dword [rsp + 0x70], 0xecb4a6
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xa6a0aee1
mov dword [rsp + 0x4c], 0xf3a9a5ae
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xafb9b1b3
mov dword [rsp + 0x5c], 0xa2a4aaf6
mov word [rsp + 0x60], 0xaa
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x48]
call fcn.14006cf50
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14006c566
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000dec0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x28]
call fcn.14006b9c0
nop
lea rdx, [r14 + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006c5b8
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000dec0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 8]
call fcn.14006b760
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14006c5fe
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14000dec0
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14006c650
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.14000dec0
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [r14 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006c6a7
mov rdx, qword [rdx]
lea rcx, [rbp - 0x48]
call fcn.14000dec0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14006c712
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c70d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c70d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14006c766
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c761
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c761
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14006c7bd
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c7b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c7b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006c80c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c806
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c806
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14006c84a
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c845
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c845
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14006c899
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c893
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x14006c8d7
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c8d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c8d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
lea rax, [rbp - 0x18]
mov qword [rbp + 0x88], rax
lea rdx, [r14 + 0xa0]
lea rcx, [rbp - 0x18]
call fcn.14000dda0
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x98]
mov qword [rbp + 0x90], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp + 0x98]
call fcn.14000dda0
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea r15, [rbp + 0x110]
mov rsi, qword [rbp + 0x110]
mov r12, qword [rbp + 0x128]
cmp r12, 0x10
cmovae r15, rsi
movabs rcx, 0x7fffffffffffffff
mov r13, qword [rbp + 0x120]
cmp r13, 0x10
jae 0x14006c97a
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x14006c9ec
mov rbx, r13
or rbx, 0xf
cmp rbx, rcx
cmova rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14006c9c7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006cf39
mov rcx, rax
call fcn.1400c87a0
mov rcx, rax
test rax, rax
je 0x14006c9c0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006c9d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14006c9d3
call fcn.1400c87a0
jmp 0x14006c9d5
xor eax, eax
mov qword [rbp - 0x78], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], rbx
mov r9, qword [rbp - 0x50]
mov r8, rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xf0]
call fcn.14006d250
nop
call fcn.14006a410
xor r13d, r13d
mov qword [rbp + 0x80], r13
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xe0]
call fcn.14006e900
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.14006d6b0
mov rdx, rax
mov rcx, r14
call fcn.140069ff0
lea rdx, str.success
lea rcx, [rbp + 0xe0]
call fcn.14006e7c0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r13
cmp byte [rcx], r13b
je 0x14006ce10
lea rdx, str.contents
lea rcx, [rbp + 0xe0]
call fcn.14006e7c0
nop
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], r13b
mov dword [rbp - 0x58], 0xbe
cmp byte [rax], 3
jne 0x14006cab9
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x78]
cmp rax, rdx
je 0x14006cad4
jmp 0x14006cabc
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14006caca
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.140006cb0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xc0]
call fcn.14006d0c0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006cb23
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cb1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cb1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov r14, qword [rbp + 0xd0]
lea r15, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r15, qword [rbp + 0xc0]
cmp r14, 0x10
jae 0x14006cb65
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x68], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x14006cbdc
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14006cbb9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006cf3f
mov rcx, rax
call fcn.1400c87a0
mov rcx, rax
test rax, rax
je 0x14006cc99
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006cbc8
test rcx, rcx
je 0x14006cbc5
call fcn.1400c87a0
jmp 0x14006cbc8
mov rax, r13
mov qword [rsp + 0x68], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x14006cc08
lea r12, [r14 + rcx]
mov r15, rcx
jmp 0x14006cc11
lea r12, [rax + r14]
lea r15, [rsp + 0x68]
mov r13, qword [rbp - 0x20]
xor eax, eax
mov qword [r13], rax
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], rax
mov r14, r12
sub r14, r15
je 0x14006cc6e
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14006cf33
mov rdx, r14
mov rcx, r13
call fcn.1400247c0
mov rbx, qword [r13]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r15
add rbx, r12
mov qword [r13 + 8], rbx
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x14006cca5
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], bl
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14006ccfc
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ccf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ccf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
movzx edx, byte [rbp + 0xe0]
lea rcx, [rbp + 0xe8]
call fcn.14006de20
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14006cd6d
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cd68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cd68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14006cdc7
inc rdx
mov rax, rsi
cmp rdx, 0x1000
jb 0x14006cdbe
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cdbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400c8500
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14006cdfd
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006cdf8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006ce09
mov rcx, r8
call fcn.1400c8500
mov qword [rdi + 0x10], rbx
mov rax, r13
jmp 0x14006cef7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx edx, byte [rbp + 0xe0]
lea rcx, [rbp + 0xe8]
call fcn.14006de20
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14006ce68
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ce63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ce63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8500
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf0], 0
cmp r12, 0x10
jb 0x14006cebd
lea rdx, [r12 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14006ceb4
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ceb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400c8500
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14006cef3
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006ceee
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006cf2c
mov rcx, r8
call fcn.1400c8500
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400c84e0
mov rbx, qword [rsp + 0x298]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000f0b0
nop
call fcn.140001fe0
nop
call fcn.140001fe0
int3