Function at 0x1800667a0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [0x18014f1c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r12, qword [rcx + 8]
mov r10, rcx
mov eax, dword [rcx + 0x34]
mov r13d, edx
mov r14, qword [rcx + 0x38]
sub r13d, r12d
mov dword [rsp + 0x38], eax
mov rbx, rdx
mov eax, dword [rcx + 0x18]
mov r11d, 1
mov esi, dword [r10 + 0x10c]
mov rbp, r8
mov dword [rsp + 0x48], eax
mov edi, 3
add rax, r12
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0xb0], rax
mov r9d, r13d
mov qword [rsp + 0x88], rdx
mov eax, r13d
mov edx, r11d
mov qword [rsp + 0x70], r8
mov r8, qword [rcx + 0x70]
mov ecx, dword [rcx + 0x100]
shl edx, cl
mov ecx, dword [r10 + 0x1c]
sub r9d, edx
sub eax, ecx
mov qword [rsp + 0x90], r8
cmp eax, edx
mov qword [rsp + 0x60], r14
mov rdx, qword [r10 + 0xf8]
mov rax, qword [r10 + 0x60]
cmovbe r9d, ecx
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x68], rax
movabs rax, 0xcf1bbcdcbb000000
cmovne r9d, ecx
mov qword [rsp + 0x50], r12
mov ecx, 4
mov dword [rsp + 0x80], r9d
mov r9, qword [rbx]
cmp esi, ecx
mov dword [rsp + 0x40], r13d
cmovb ecx, esi
mov qword [rsp + 0x58], rdx
shl r11d, cl
mov ecx, 0x42
sub ecx, dword [rdx + 0x108]
imul r9, rax
mov dword [rsp + 0x3c], r11d
mov rax, r9
shr rax, cl
lea rax, [rax*4]
lea rcx, [rax*4]
mov qword [rsp + 0xa8], rax
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x98], rcx
prefetcht0 byte [rcx + rax]
xor r15d, r15d
cmp esi, 4
jbe 0x1800668f2
lea ecx, [rsi - 4]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x34], eax
jmp 0x1800668f7
mov dword [rsp + 0x34], r15d
mov ecx, 0x38
mov dword [rsp + 0x30], 0xf
cmp dword [r10 + 0x12c], r15d
jne 0x180066bf2
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov r9d, dword [rsp + 0x38]
sub eax, r11d
mov rsi, r8
mov r8d, r9d
mov rdx, r12
cmp eax, 0x180
jbe 0x180066ad2
lea edx, [r11 + 0x60]
mov qword [rsp + 0x78], r12
cmp r11d, edx
jae 0x180066a0e
mov rdi, qword [rsp + 0x60]
lea r14, [r12 + 8]
mov r12, qword [rsp + 0x90]
mov ebp, ecx
sub ebp, r9d
mov esi, r11d
add r14, r11
mov r13d, edx
movabs rbx, 0xcf1bbcdcbb000000
mov rdx, qword [r14]
mov ecx, ebp
imul rdx, rbx
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rdi + rax]
mov rax, rsi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rdi + rax]
lea rdx, [rdi + rax]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, r15d
cmove eax, dword [rsp + 0x30]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [r12 + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x180066970
mov rax, qword [r10 + 8]
mov edi, 3
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
lea ecx, [rdi + 0x35]
mov qword [rsp + 0x78], rax
mov edx, dword [r10 + 0x34]
lea r11d, [r13 - 0x20]
mov rsi, qword [r10 + 0x70]
lea rax, [rbx + 1]
mov r14, qword [r10 + 0x38]
lea r9, [r11 + r12]
mov dword [rsp + 0x44], edx
mov edx, eax
sub edx, r12d
mov r8d, r11d
sub edx, r11d
inc edx
cmp r9, rax
mov eax, 8
cmova edx, r15d
cmp edx, eax
cmova edx, eax
lea eax, [r11 + rdx]
cmp r11d, eax
jae 0x180066ac4
sub ecx, dword [rsp + 0x44]
movabs rbx, 0xcf1bbcdcbb000000
mov ebp, edx
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r9]
imul rdx, rbx
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [r14 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rbp, 1
jne 0x180066a70
mov rsi, qword [r10 + 0x70]
mov r14, qword [r10 + 0x38]
mov rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x70]
jmp 0x180066ac9
mov rdx, qword [rsp + 0x78]
mov r8d, dword [r10 + 0x34]
mov ecx, 0x38
cmp r11d, r13d
jae 0x180066b8f
mov edi, ecx
mov r12d, r11d
sub edi, r8d
lea rbp, [r11 + 8]
add rbp, rdx
movabs rbx, 0xcf1bbcdcbb000000
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbp]
mov ecx, edi
imul rdx, rbx
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [r14 + rax]
mov rax, r12
lea rbp, [rbp + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rax + r14]
lea rdx, [rax + r14]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, r15d
cmove eax, dword [rsp + 0x30]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x180066b00
mov rbx, qword [rsp + 0x88]
mov edi, 3
mov rbp, qword [rsp + 0x70]
mov r12, qword [rsp + 0x50]
movabs rax, 0xcf1bbcdcbb000000
mov r8d, r13d
mov ecx, 0x38
mov dword [r10 + 0x2c], r13d
sub ecx, dword [rsp + 0x38]
mov rdx, qword [r8 + r12 + 8]
imul rdx, rax
xor rdx, qword [rsp + 0x68]
shr rdx, cl
mov rcx, qword [rsp + 0x90]
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r14, qword [rsp + 0x60]
prefetcht0 byte [rax + r14]
mov r11d, dword [rsp + 0x3c]
and r8d, 7
mov r9d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
mov r8, rcx
jmp 0x180066c02
xor r9, qword [rsp + 0x68]
sub ecx, dword [rsp + 0x38]
shr r9, cl
mov dword [r10 + 0x2c], r13d
add dword [r10 + 0x68], r9d
mov eax, r9d
shr eax, 4
mov rsi, r15
and eax, 0xffffff0
mov qword [rsp + 0x60], r9
movdqu xmm0, xmmword [rax + r14]
lea rdx, [rax + r14]
mov r14, r15
mov qword [rsp + 0x78], rdx
lea rcx, [r8 + rax*4]
movsx eax, r9b
mov qword [rsp + 0x68], rcx
movzx ecx, byte [rdx]
mov dword [rsp + 0x30], ecx
movd xmm1, eax
mov eax, ecx
and eax, 0xf
punpcklbw xmm1, xmm1
mov edx, eax
punpcklwd xmm1, xmm1
mov ecx, eax
pshufd xmm1, xmm1, 0
neg ecx
pcmpeqb xmm0, xmm1
pmovmskb r8d, xmm0
and ecx, 0xf
movzx eax, r8w
shl ax, cl
movzx ecx, dl
mov edx, dword [rsp + 0x30]
movzx r9d, ax
movzx eax, r8w
mov r8, qword [rsp + 0x68]
shr rax, cl
or r9, rax
jbe 0x180066ccf
mov ebp, dword [rsp + 0x80]
test r11d, r11d
je 0x180066cc5
bsf rcx, r9
add ecx, edx
and ecx, 0xf
mov ecx, dword [r8 + rcx*4]
je 0x180066cbc
cmp ecx, ebp
jb 0x180066cc5
prefetcht0 byte [rcx + r12]
mov dword [rsp + r14*4 + 0xc0], ecx
inc r14
dec r11d
lea rax, [r9 - 1]
and r9, rax
ja 0x180066c91
mov rbp, qword [rsp + 0x70]
mov dword [rsp + 0x3c], r11d
lea ecx, [rdx - 1]
mov eax, r15d
and ecx, 0xf
mov edx, 0xf
cmove eax, edx
mov rdx, qword [rsp + 0x78]
add ecx, eax
mov rax, qword [rsp + 0x60]
mov byte [rdx], cl
mov byte [rcx + rdx], al
mov eax, dword [r10 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x180066d60
mov r15, qword [rsp + 0x50]
nop word [rax + rax]
mov r12d, dword [rsp + rsi*4 + 0xc0]
mov eax, dword [rdi + rbx - 3]
lea rdx, [r15 + r12]
cmp dword [rdx + rdi - 3], eax
jne 0x180066d55
mov r8, rbp
mov rcx, rbx
call fcn.180052cc0
cmp rax, rdi
jbe 0x180066d55
mov rdx, qword [rsp + 0xa0]
mov ecx, r13d
sub ecx, r12d
mov rdi, rax
add ecx, 3
add rax, rbx
mov qword [rdx], rcx
cmp rax, rbp
je 0x180066d5d
inc rsi
cmp rsi, r14
jb 0x180066d10
xor r15d, r15d
mov r9, qword [rsp + 0x58]
mov r10d, 3
mov r12d, dword [rsp + 0x34]
mov esi, r10d
add r12d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x98]
mov r8, qword [r9]
mov r14, qword [r9 + 8]
mov r11, qword [r9 + 0x70]
mov eax, r14d
sub eax, r8d
mov qword [rsp + 0x50], r8
add eax, dword [rsp + 0x48]
cmp r12d, r10d
mov dword [rsp + 0x34], eax
lea rcx, [r11 + rdx]
cmovb esi, r12d
mov dword [rsp + 0x48], esi
nop dword [rax]
mov eax, dword [rcx]
prefetcht0 byte [rax + r14]
lea rcx, [rcx + 4]
sub r10, 1
jne 0x180066db0
mov rax, qword [rsp + 0xa8]
mov ecx, dword [r11 + rax*4 + 0xc]
mov rax, qword [r9 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov r13d, r15d
test esi, esi
je 0x180066e86
nop dword [rax + rax]
mov rax, qword [r9 + 0x70]
mov esi, dword [rdx + rax]
lea rdx, [r14 + rsi]
test esi, esi
je 0x180066f4a
mov eax, dword [rbx]
cmp dword [rdx], eax
jne 0x180066e64
mov rax, qword [rsp + 0xb0]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.180052d60
lea rcx, [rax + 4]
cmp rcx, rdi
jbe 0x180066e5a
mov eax, dword [rsp + 0x40]
mov rdi, rcx
mov rdx, qword [rsp + 0xa0]
sub eax, esi
sub eax, dword [rsp + 0x34]
add eax, 3
mov qword [rdx], rax
lea rax, [rcx + rbx]
cmp rax, rbp
je 0x180066f71
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x98]
inc r13d
add rdx, 4
mov qword [rsp + 0x98], rdx
cmp r13d, dword [rsp + 0x48]
jb 0x180066df0
mov rax, qword [r9 + 0x70]
sub r12d, r13d
mov rcx, qword [rsp + 0xa8]
mov edx, r15d
mov ecx, dword [rax + rcx*4 + 0xc]
mov esi, ecx
shr esi, 8
movzx eax, cl
cmp r12d, eax
cmova r12d, eax
test r12d, r12d
je 0x180066f4a
mov r10, qword [r9 + 0x80]
nop dword [rax + rax]
lea eax, [rdx + rsi]
mov eax, dword [r10 + rax*4]
prefetcht0 byte [rax + r14]
inc edx
cmp edx, r12d
jb 0x180066ec0
mov rax, qword [r9 + 0x80]
mov r13d, dword [rax + rsi*4]
mov eax, dword [rbx]
lea rdx, [r14 + r13]
cmp dword [rdx], eax
jne 0x180066f3b
mov rax, qword [rsp + 0xb0]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.180052d60
add rax, 4
cmp rax, rdi
jbe 0x180066f36
mov ecx, dword [rsp + 0x40]
mov rdi, rax
mov rdx, qword [rsp + 0xa0]
sub ecx, r13d
sub ecx, dword [rsp + 0x34]
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rbx]
cmp rcx, rbp
je 0x180066f4a
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
inc esi
inc r15d
cmp r15d, r12d
jb 0x180066ed3
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800d2190
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, rcx
jmp 0x180066f4d