Function at 0x18002d810
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x1800ad828]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov edi, dword [rbp + 0x450]
mov r15, r9
mov r12, qword [rbp + 0x458]
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x40], rcx
lea r13d, [rdi + 0x499]
cmp edi, r13d
jae 0x18002dbca
mov qword [rsp + 0x4e8], rbx
mov ebx, dword [rsp + 0x30]
cmp edi, 0xf8
ja 0x18002dae3
je 0x18002db9e
mov eax, edi
sub eax, 0x1e
je 0x18002d97a
sub eax, 0x6b
je 0x18002d951
sub eax, 4
je 0x18002d90b
sub eax, 3
je 0x18002d8e6
cmp eax, 0x64
jne 0x18002dad2
mov eax, dword [r15]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov rdx, r12
mov ecx, 0x10d
call fcn.18007c820
lea r8, [rsp + 0x50]
mov ecx, 0xb1
lea rdx, [rbp + 0x250]
call fcn.18000c6c0
jmp 0x18002dacd
mov r9, r14
mov qword [rsp + 0x20], rsi
mov r8, r15
mov edx, 0x128
mov rcx, r12
call fcn.1800846f0
mov byte [rsp + 0x30], al
mov ebx, dword [rsp + 0x30]
jmp 0x18002dacd
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x228
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x7f
lea r8, [rbp + 0x20]
mov rdx, r14
mov rcx, rsi
call fcn.18002d2e0
mov r9d, 0x85
lea rdx, [rbp + 0x20]
mov r8, r15
mov rcx, r12
call fcn.180034a60
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x18002dacd
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], 0x80
lea r8, [rsp + 0x38]
mov ecx, 0x10d
lea rdx, [rbp + 0x2d0]
call fcn.18007c820
jmp 0x18002dacd
mov eax, dword [r14]
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x280], xmm0
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm0
movups xmmword [rbp + 0x2b0], xmm0
movups xmmword [rbp + 0x2c0], xmm0
cmp eax, 0x80
jbe 0x18002d9df
lea r9, [rbp + 0x250]
mov qword [rsp + 0x38], rax
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, 0xd0
call fcn.18006ccb0
jmp 0x18002d9f1
mov r8, rax
lea rcx, [rbp + 0x250]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm3, xmmword [0x1800a7780]
xor eax, eax
movdqa xmm4, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movdqu xmm2, xmmword [rbp + rax + 0x250]
movdqa xmm1, xmm4
pxor xmm1, xmm2
movdqa xmm0, xmm2
movdqu xmm2, xmmword [rbp + rax + 0x260]
pxor xmm0, xmm3
movdqu xmmword [rbp + rax + 0x350], xmm0
movdqu xmmword [rbp + rax + 0x2d0], xmm1
movdqu xmm1, xmmword [rbp + rax + 0x270]
movdqa xmm0, xmm2
pxor xmm2, xmm4
pxor xmm0, xmm3
movdqu xmmword [rbp + rax + 0x360], xmm0
movdqu xmmword [rbp + rax + 0x2e0], xmm2
movdqu xmm2, xmmword [rbp + rax + 0x280]
movdqa xmm0, xmm1
pxor xmm1, xmm4
pxor xmm0, xmm3
movdqu xmmword [rbp + rax + 0x370], xmm0
movdqa xmm0, xmm2
pxor xmm2, xmm4
movdqu xmmword [rbp + rax + 0x2f0], xmm1
pxor xmm0, xmm3
movdqu xmmword [rbp + rax + 0x380], xmm0
movdqu xmmword [rbp + rax + 0x300], xmm2
add rax, 0x40
cmp rax, 0x80
jl 0x18002da03
xor r9d, r9d
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea r8d, [r9 + 0x57]
call fcn.18008ebf0
mov rcx, qword [rsp + 0x40]
add edi, 0x6b
cmp edi, r13d
jb 0x18002d873
jmp 0x18002db9e
mov eax, edi
sub eax, 0xf9
je 0x18002db63
sub eax, 2
je 0x18002db9e
sub eax, 0x64
je 0x18002dab3
sub eax, 0x6b
je 0x18002db16
cmp eax, 0x6b
jne 0x18002dad2
mov rdx, rcx
lea r8, [rsp + 0x50]
lea ecx, [rax + 0x46]
call fcn.18000c6c0
jmp 0x18002dacd
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], 0x80
lea r8, [rsp + 0x38]
mov ecx, 0x10d
lea rdx, [rbp + 0x350]
call fcn.18007c820
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], 0x40
lea r8, [rsp + 0x38]
mov ecx, 0x10d
lea rdx, [rbp + 0x250]
call fcn.18007c820
jmp 0x18002dacd
mov rdx, rsi
mov ecx, 0x4d
call fcn.18000ff20
test al, al
jne 0x18002db9e
nop dword [rax]
nop dword [rax + rax]
imul ecx, dword [r14], 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rsi
mov ecx, 0x4d
call fcn.18000ff20
test al, al
je 0x18002db80
mov eax, ebx
mov rbx, qword [rsp + 0x4e8]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.180092fc0
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x30]
jmp 0x18002dba8