Function at 0x1800601a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc88
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc00], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rcx
lea rcx, [rbp + 0x3a8]
call fcn.18005f340
cmp dword [rbp + 0x3a8], 1
lea rdx, [rbp + 0x3b0]
jne 0x18006020e
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x60], xmm0
mov qword [rdi + 0x18], rax
movups xmmword [rdi + 8], xmm0
mov qword [rdi], 1
mov rax, rdi
jmp 0x1800602d2
mov qword [rbp + 0xbf8], rdi
lea rdi, [rbp - 0x60]
mov r8d, 0x400
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rbp + 0x7b0]
mov r8d, 0x400
mov rcx, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x3a8]
mov rdx, rbx
xor r8d, r8d
call fcn.18005f520
cmp dword [rbp + 0x3a8], 1
je 0x180060298
lea rcx, [rbp + 0x3a8]
lea rdx, [rbp + 0x7b0]
xor r8d, r8d
call fcn.18005f520
cmp dword [rbp + 0x3a8], 1
je 0x180060298
lea rcx, [rbp + 0x3a8]
lea rdx, [rbp + 0x7b0]
xor r8d, r8d
call fcn.18005f520
cmp dword [rbp + 0x3a8], 1
jne 0x1800602e6
mov rax, qword [rbp + 0x3c0]
mov rcx, qword [rbp + 0xbf8]
mov qword [rcx + 0x18], rax
mov rax, rcx
movups xmm0, xmmword [rbp + 0x3b0]
movups xmmword [rcx + 8], xmm0
mov qword [rax], 1
lea rcx, [rbp + 0x7b0]
call fcn.180061260
mov rax, qword [rbp + 0xbf8]
add rsp, 0xc88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180060613
mov rax, rcx
mov rcx, qword [rsi]
shl rax, 5
add rax, rcx
mov qword [rbp + 0xbd8], rax
xor eax, eax
mov qword [rbp + 0xbe0], rax
jmp 0x180060340
mov rcx, qword [rbp + 0xbc8]
add rcx, 0x20
add qword [rbp + 0xbe0], 1
cmp rcx, qword [rbp + 0xbd8]
je 0x180060613
mov qword [rbp + 0xbc8], rcx
call fcn.18007e6e0
mov qword [rbp + 0xbf0], rdx
mov rdx, qword [rbp + 0xa50]
mov rcx, qword [rbp + 0xbf0]
cmp rdx, rcx
cmovbe rdx, rcx
mov qword [rbp + 0xa50], rdx
add qword [rbp + 0xa58], 1
mov esi, dword [rbp + 0xa90]
test rcx, rcx
mov qword [rbp + 0xbd0], rax
je 0x180060564
mov rbx, rax
add rax, rcx
mov qword [rbp + 0xbe8], rax
xor r14d, r14d
xor r12d, r12d
jmp 0x1800603c1
add rbx, 1
cmp rbx, qword [rbp + 0xbe8]
je 0x180060564
mov r13b, byte [rbx]
mov r15d, esi
test r14b, 1
mov r14b, 1
jne 0x1800603f5
mov rdx, qword [rbp + 0xa88]
cmp rdx, r15
jbe 0x1800609aa
mov rax, qword [rbp + 0xa78]
lea rcx, [r15 + r15*8]
cmp qword [rax + rcx*8 + 0x30], 0
setne r14b
mov rcx, qword [rbp + 0x7b0]
add rcx, 8
call fcn.180066930
test al, r14b
jne 0x180060320
lea rcx, [rbp + 0xb98]
mov edx, r13d
mov r8d, r13d
call fcn.180069670
mov rax, qword [rbp + 0x7b0]
cmp byte [rax + 0xb], 0
je 0x180060446
mov ecx, r13d
call fcn.180068a00
lea rcx, [rbp + 0xb98]
mov edx, eax
mov r8d, eax
call fcn.180069670
mov rdx, qword [rbp + 0xa88]
cmp rdx, r15
jbe 0x180060988
add r12, 1
mov rdx, qword [rbp + 0xa78]
lea rdi, [r15 + r15*8]
cmp dword [rdx + rdi*8], 1
lea rax, [rdx + rdi*8 + 8]
jne 0x1800604a0
movzx ecx, r13b
mov rdx, qword [rdx + rdi*8 + 0x18]
cmp rdx, rcx
jbe 0x1800609bb
shl rcx, 2
add rcx, qword [rax]
mov esi, dword [rcx]
test esi, esi
jne 0x1800603b0
jmp 0x1800604d0
mov rsi, qword [rax]
mov rax, qword [rdx + rdi*8 + 0x18]
lea rax, [rsi + rax*8]
nop dword [rax]
cmp rsi, rax
je 0x1800604d0
mov rcx, rsi
add rsi, 8
cmp byte [rcx], r13b
jne 0x1800604b0
add rcx, 4
mov esi, dword [rcx]
test esi, esi
jne 0x1800603b0
nop
lea rcx, [rbp + 0x3a8]
lea rdx, [rbp + 0x7b0]
mov r8, r12
call fcn.18005f520
cmp dword [rbp + 0x3a8], 1
je 0x1800605f4
mov rdx, qword [rbp + 0xa88]
cmp rdx, r15
jbe 0x180060999
mov esi, dword [rbp + 0x3ac]
shl rdi, 3
mov rcx, qword [rbp + 0xa78]
add rcx, rdi
mov edx, r13d
mov r8d, esi
call fcn.18005de10
mov rax, qword [rbp + 0x7b0]
cmp byte [rax + 0xb], 0
je 0x1800603b0
mov ecx, r13d
call fcn.180068a00
mov rdx, qword [rbp + 0xa88]
cmp rdx, r15
jbe 0x1800609c9
add rdi, qword [rbp + 0xa78]
mov rcx, rdi
mov edx, eax
mov r8d, esi
call fcn.18005de10
jmp 0x1800603b0
mov ecx, esi
mov rdx, qword [rbp + 0xa88]
cmp rdx, rcx
jbe 0x1800609da
mov rax, qword [rbp + 0xa78]
lea rcx, [rcx + rcx*8]
lea rsi, [rax + rcx*8]
add rsi, 0x20
mov rdx, qword [rax + rcx*8 + 0x30]
cmp rdx, qword [rax + rcx*8 + 0x28]
jne 0x1800605a1
mov rcx, rsi
call fcn.18002b880
mov rdx, qword [rsi + 0x10]
mov rax, qword [rsi]
shl rdx, 4
mov rcx, qword [rbp + 0xbe0]
mov qword [rax + rdx], rcx
mov rcx, qword [rbp + 0xbf0]
mov qword [rax + rdx + 8], rcx
add qword [rsi + 0x10], 1
mov rax, qword [rbp + 0x7b0]
cmp byte [rax + 9], 0
je 0x180060320
lea rcx, [rbp + 0x7b8]
mov rdx, qword [rbp + 0xbd0]
mov r8, qword [rbp + 0xbf0]
call fcn.180067400
jmp 0x180060320
mov rax, qword [rbp + 0x3b0]
movups xmm0, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0xbb0], xmm0
cmp rax, 2
jne 0x1800606b0
lea rcx, [rbp + 0x7b0]
call fcn.18005df10
mov rdx, qword [rbp + 0xa88]
cmp rdx, 1
jbe 0x1800609e8
mov rsi, qword [rbp + 0xa78]
call fcn.180005ef0
lea r14, [rbp + 0xa50]
add rsi, 0x48
mov word [rbp + 0x3a8], ax
lea rbx, [rbp + 0x3a8]
nop word cs:[rax + rax]
nop
mov rcx, rbx
call fcn.180073aa0
test al, 1
je 0x18006067c
mov rcx, rsi
mov r8d, 1
call fcn.18005de10
jmp 0x180060660
mov rax, qword [rbp + 0x7b0]
cmp byte [rax + 0xa], 0
jne 0x1800606da
mov al, byte [rax + 8]
mov byte [rbp + 0x3a8], al
lea rcx, [rbp + 0x3a8]
call fcn.180066920
test al, al
je 0x1800606ce
lea rcx, [rbp + 0x7b0]
call fcn.18005e180
jmp 0x1800606da
movaps xmm0, xmmword [rbp + 0xbb0]
mov rcx, qword [rbp + 0xbf8]
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 8], rax
mov rax, rcx
jmp 0x1800602b8
lea rcx, [rbp + 0x7b0]
call fcn.18005ebe0
lea rcx, [rbp + 0x7b0]
call fcn.18005e000
lea rcx, [rbp + 0x3a8]
lea rdx, [rbp + 0xb98]
call fcn.1800696e0
lea rcx, [rbp + 0xa96]
lea rdx, [rbp + 0x3a8]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x7b0]
cmp byte [rax + 0xa], 0
jne 0x180060790
lea rcx, [rbp + 0x7b8]
call fcn.180066c30
mov rdi, rax
mov rsi, rdx
mov rcx, qword [rbp + 0xa68]
test rcx, rcx
je 0x180060782
mov qword [rbp + 0xbf0], rdi
mov qword [rbp + 0xbe8], rsi
mov rax, qword [rbp + 0xa70]
call qword [rax]
mov rax, qword [rbp + 0xa70]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rsi, qword [rbp + 0xbe8]
mov rdi, qword [rbp + 0xbf0]
je 0x180060782
mov rcx, qword [rbp + 0xa68]
mov r8, qword [rax + 0x10]
call fcn.180018710
mov qword [rbp + 0xa68], rdi
mov qword [rbp + 0xa70], rsi
mov rax, qword [rbp + 0xa88]
test rax, rax
je 0x1800607d1
lea rax, [rax + rax*8]
lea rcx, [rax*8 - 0x48]
movabs rdx, 0xe38e38e38e38e38f
mov rax, rcx
mul rdx
mov r9, qword [rbp + 0xa78]
shr rdx, 6
add rdx, 1
cmp rcx, 0x48
jae 0x1800607d8
xor eax, eax
jmp 0x18006083d
xor eax, eax
jmp 0x180060861
mov r8, rdx
and r8, 0xfffffffffffffffe
xor eax, eax
mov rbx, r9
nop word cs:[rax + rax]
nop
cmp dword [rbx], 1
sete cl
mov rdi, qword [rbx + 0x18]
xor cl, 3
shl rdi, cl
mov rsi, qword [rbx + 0x30]
shl rsi, 4
add rsi, rax
add rsi, rdi
cmp dword [rbx + 0x48], 1
lea r9, [rbx + 0x90]
sete cl
mov rdi, qword [rbx + 0x60]
xor cl, 3
shl rdi, cl
mov rax, qword [rbx + 0x78]
shl rax, 4
add rax, rsi
add rax, rdi
mov rbx, r9
add r8, 0xfffffffffffffffe
jne 0x1800607f0
test dl, 1
je 0x180060861
mov rdx, qword [r9 + 0x30]
shl rdx, 4
add rdx, rax
mov rax, qword [r9 + 0x18]
cmp dword [r9], 1
sete cl
xor cl, 3
shl rax, cl
add rax, rdx
mov qword [rbp + 0xa60], rax
mov rsi, qword [rbp + 0xbf8]
lea rcx, [rsi + 8]
mov r8d, 0x148
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
mov qword [rsi], 0
mov rdx, qword [rbp + 0x7c8]
test rdx, rdx
je 0x1800608b0
mov rcx, qword [rbp + 0x7c0]
mov r8d, 1
call fcn.180018710
mov rax, qword [rbp + 0xbf8]
cmp byte [rbp + 0xa44], 2
je 0x180060961
mov rcx, qword [rbp + 0xa08]
test rcx, rcx
je 0x180060905
mov rax, qword [rbp + 0x9f8]
lea rcx, [rcx + rcx*2]
lea rsi, [rax + rcx*8]
jmp 0x1800608e8
mov rax, rdi
cmp rdi, rsi
je 0x180060905
lea rdi, [rax + 0x18]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800608e0
mov rcx, qword [rax]
mov r8d, 1
call fcn.180018710
jmp 0x1800608e0
mov rax, qword [rbp + 0xa00]
test rax, rax
je 0x180060930
shl rax, 3
lea rdx, [rax + rax*2]
test rdx, rdx
je 0x180060930
mov rcx, qword [rbp + 0x9f8]
mov r8d, 8
call fcn.180018710
mov rdx, qword [rbp + 0xa18]
test rdx, rdx
mov rax, qword [rbp + 0xbf8]
je 0x180060961
add rdx, rdx
je 0x180060961
mov rcx, qword [rbp + 0xa10]
mov r8d, 2
call fcn.180018710
mov rax, qword [rbp + 0xbf8]
mov rdx, qword [rbp + 0xba0]
test rdx, rdx
je 0x1800602d2
mov rcx, qword [rbp + 0xb98]
mov r8d, 1
call fcn.180018710
jmp 0x1800602cb
lea r8, [0x1800fae18]
mov rcx, r15
call fcn.1800eb730
jmp 0x1800609f9
lea r8, [0x1800fae48]
mov rcx, r15
call fcn.1800eb730
jmp 0x1800609f9
lea r8, [0x1800fae18]
mov rcx, r15
call fcn.1800eb730
jmp 0x1800609f9
lea r8, [0x1800faf10]
call fcn.1800eb730
jmp 0x1800609f9
lea r8, [0x1800fae48]
mov rcx, r15
call fcn.1800eb730
jmp 0x1800609f9
lea r8, [0x1800fae48]
call fcn.1800eb730
jmp 0x1800609f9
lea r8, [0x1800fae48]
mov ecx, 1
call fcn.1800eb730
ud2