Function at 0x140066c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
test rcx, rcx
jne 0x140066c71
xor eax, eax
jmp 0x14006764f
mov dword [rsp + 0x60], 0x9eb69ea4
mov dword [rsp + 0x64], 0x9eac9eb7
mov dword [rsp + 0x68], 0x9ebe9ea8
mov dword [rsp + 0x6c], 0x9eaa
xor r14d, r14d
mov ecx, r14d
mov edx, r14d
mov esi, 0x613b
nop
movzx eax, cx
sub ax, si
xor word [rsp + rdx*2 + 0x60], ax
inc ecx
movsxd rdx, ecx
cmp rdx, 7
jb 0x140066ca0
mov word [rsp + 0x6e], r14w
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc8]
call fcn.14008b70c
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x140066ddf
mov rdx, qword [rbp + 0xc8]
test rdx, rdx
je 0x140066ddf
add rdx, rdx
lea ecx, [rbx + 0x41]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x140066d28
mov qword [rsp + 0x40], r14
mov r8, r14
mov qword [rsp + 0x50], r14
mov r9d, 7
mov qword [rsp + 0x58], r9
mov word [rsp + 0x40], r14w
jmp 0x140066dfd
lea r9, [rsp + 0x60]
mov r8, qword [rbp + 0xc8]
mov rdx, rdi
lea rcx, [rbp + 0xc8]
call fcn.14008b70c
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140066d60
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140060bd0
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140067ae0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140066dd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066dce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067671
call fcn.1400775a8
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
jmp 0x140066dfd
mov qword [rsp + 0x40], r14
mov r8, r14
mov qword [rsp + 0x50], r14
mov r9d, 7
mov qword [rsp + 0x58], r9
mov word [rsp + 0x40], r14w
mov rax, r9
sub rax, r8
lea rcx, [rsp + 0x40]
cmp rax, 1
jb 0x140066e39
lea rdx, [r8 + 1]
mov qword [rsp + 0x50], rdx
cmp r9, 8
cmovae rcx, qword [rsp + 0x40]
movzx eax, word [0x1400b9cac]
mov word [rcx + r8*2], ax
mov word [rcx + rdx*2], r14w
lea rax, [rsp + 0x40]
jmp 0x140066e5b
mov qword [rsp + 0x20], 1
lea r9, [0x1400b9cac]
movzx r8d, byte [rbp + 0xc0]
mov edx, 1
call fcn.140068280
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140066ebc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066eb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067677
call fcn.1400775a8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x70], 0x9eaa9eeb
mov dword [rsp + 0x74], 0x9eba9ea3
mov dword [rsp + 0x78], 0x9eab9e95
mov dword [rsp + 0x7c], 0x9ebf9eaf
mov dword [rbp - 0x80], 0x9ebd9e92
mov dword [rbp - 0x7c], 0x9ea29ebb
mov dword [rbp - 0x78], 0x9eb69eb8
mov dword [rbp - 0x74], 0x9ea79eb6
xor eax, eax
mov word [rbp - 0x70], ax
mov ecx, r14d
mov rdx, r14
nop dword [rax + rax]
movzx eax, cx
sub ax, si
xor word [rsp + rdx*2 + 0x70], ax
inc ecx
movsxd rdx, ecx
cmp rdx, 0x10
jb 0x140066f20
mov word [rbp - 0x70], r14w
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140066f40
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rbp + 0x18]
sub rax, rcx
cmp rax, rbx
jb 0x14006767d
lea r9, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae r9, qword [rbp + 8]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x18]
call fcn.1400684d0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.140067ae0
mov rcx, rax
call fcn.140066160
test al, al
jne 0x140066fb5
mov rbx, r14
jmp 0x1400675bf
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x70]
call fcn.1400657a0
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
sub rax, rcx
cmp rax, 2
jb 0x140067683
lea r9, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], 2
lea rax, [0x1400b9cb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1400684d0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400657a0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14006705c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067689
call fcn.1400775a8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rax, qword [rbp - 8]
sub rdi, rax
cmp rdi, 2
jb 0x14006768f
lea r9, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], 2
lea rcx, [0x1400b9cb8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x38]
call fcn.1400684d0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x28]
call fcn.1400657a0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140067101
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400670fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067695
call fcn.1400775a8
mov r15, qword [rsp + 0x70]
mov r13, qword [rbp + 0x28]
mov r12, qword [rbp + 0x40]
mov rdi, qword [rbp + 0x48]
cmp r12, rdi
je 0x14006750d
cmp r13, qword [rbp + 0x30]
je 0x14006750d
cmp r15, qword [rsp + 0x78]
je 0x14006750d
sub rdi, r12
shr rdi, 2
mov qword [rbp + 0xd8], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov rax, r14
mov qword [rbp + 0xd0], rax
mov qword [rbp - 0x28], rax
movdqu xmmword [rbp - 0x68], xmm0
mov rbx, r14
mov qword [rsp + 0x60], rbx
mov qword [rbp - 0x58], rbx
test rdi, rdi
je 0x140067194
movabs rax, 0x1fffffffffffffff
cmp rdi, rax
ja 0x14006769b
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140067be0
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0xd0], rax
mov r14, qword [rbp - 0x30]
mov qword [rbp + 0xc8], r14
mov rcx, r14
mov rsi, qword [rbp - 0x38]
sub rcx, rsi
sar rcx, 3
cmp rdi, rcx
jae 0x1400671b8
lea r14, [rsi + rdi*8]
jmp 0x140067209
jbe 0x140067214
sub rax, rsi
sar rax, 3
cmp rdi, rax
jbe 0x1400671e7
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140068850
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0xd0], rax
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
jmp 0x14006720d
mov rax, rdi
sub rax, rcx
lea rbx, [r14 + rax*8]
mov r8, rbx
sub r8, r14
xor edx, edx
mov rcx, r14
call fcn.14007a0e0
mov r14, rbx
mov rbx, qword [rsp + 0x60]
mov qword [rbp - 0x30], r14
mov qword [rbp + 0xc8], r14
test rdi, rdi
je 0x14006723c
movabs rax, 0x3fffffffffffffff
cmp rdi, rax
ja 0x1400676a1
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140067c90
mov rbx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov rcx, r9
mov rax, qword [rbp - 0x68]
sub rcx, rax
sar rcx, 2
cmp rdi, rcx
jae 0x14006725d
lea rax, [rax + rdi*4]
mov qword [rbp - 0x60], rax
jmp 0x140067297
jbe 0x140067297
sub rbx, rax
sar rbx, 2
cmp rdi, rbx
jbe 0x140067279
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140068960
jmp 0x140067297
mov rax, rdi
sub rax, rcx
lea rbx, [r9 + rax*4]
mov r8, rbx
sub r8, r9
xor edx, edx
mov rcx, r9
call fcn.14007a0e0
mov qword [rbp - 0x60], rbx
test rdi, rdi
je 0x140067315
mov rbx, r13
mov r14, r12
sub r14, r13
mov r12, qword [rbp - 0x68]
sub r12, r13
movss xmm6, dword [0x1400ba428]
mov r13, rsi
nop word [rax + rax]
movsxd rdx, dword [r14 + rbx]
mov r8, qword [rbp + 0xd8]
lea rcx, [r15 + r8]
add r8, rdx
mov qword [rbp + 0xd8], r8
imul eax, dword [rbx], 0x3c
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [r12 + rbx], eax
mov r8, r13
call qword [rbp + 0xc0]
lea rbx, [rbx + 4]
add r13, 8
sub rdi, 1
jne 0x1400672c0
mov r14, qword [rbp + 0xc8]
mov r13, qword [rbp + 0x28]
mov r12, qword [rbp + 0x40]
mov ecx, 0x40
call fcn.1400775b0
mov rbx, rax
mov qword [rbp + 0xc0], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0xd8], rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x40]
call fcn.140067830
mov rdi, rax
mov qword [rbp + 0xc8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
cmp rsi, r14
je 0x1400673ab
sub r14, rsi
mov rdi, r14
sar rdi, 3
mov rdx, rdi
call fcn.140067e50
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + rdi*8]
mov qword [rbp - 0x40], rcx
mov r8, r14
mov rdx, rsi
mov rcx, rax
call fcn.140079a30
lea rax, [rbx + rdi*8]
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp + 0xc0]
mov rdi, qword [rbp + 0xc8]
lea rax, [rbp - 0x50]
mov qword [rbp + 0xd8], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140067830
nop
lea rcx, [rbx + 0x18]
lea rdx, [rbp - 0x50]
call fcn.140067740
mov byte [rbx + 0x38], 0
xor r14d, r14d
mov dword [rbx + 0x3c], r14d
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14006742c
mov rax, qword [rbp - 0x40]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006741b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676a7
call fcn.1400775a8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006747c
mov rax, qword [rdi + 0x10]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x14006746c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400676b3
mov rcx, r8
call fcn.1400775a8
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400674c3
mov rax, qword [rbp - 0x58]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400674bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676ad
call fcn.1400775a8
nop
test rsi, rsi
je 0x140067510
mov rax, qword [rbp + 0xd0]
sub rax, rsi
sar rax, 3
lea rdx, [rax*8]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140067503
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676b9
mov rcx, rsi
call fcn.1400775a8
jmp 0x140067510
mov rbx, r14
test r13, r13
je 0x14006754a
mov rdx, qword [rbp + 0x38]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x140067541
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676bf
mov rcx, r13
call fcn.1400775a8
nop
test r12, r12
je 0x140067585
mov rdx, qword [rbp + 0x50]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x14006757c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676c5
mov rcx, r12
call fcn.1400775a8
nop
test r15, r15
je 0x1400675bf
mov rdx, qword [rbp - 0x80]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x1400675b6
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676cb
mov rcx, r15
call fcn.1400775a8
nop
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1400675ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400675fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400676d1
call fcn.1400775a8
mov qword [rbp - 8], r14
mov qword [rbp], 7
mov word [rbp - 0x18], r14w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14006764c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067647
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006766b
call fcn.1400775a8
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400871d4
int3
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.140006b60
nop
call fcn.140006b60
nop
call fcn.1400871d4
int3
call fcn.140006b60
nop
call fcn.1400871d4
nop
call fcn.140011130
int3
call fcn.140011130
nop
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.1400871d4
nop
call fcn.1400871d4
int3