Function at 0x18002f1a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 8]
xor r8d, r8d
movabs rbx, 0xcccccccccccccccd
nop word cs:[rax + rax]
mov rax, rcx
mul rbx
shr rdx, 3
lea eax, [rdx + rdx]
lea eax, [rax + rax*4]
mov r9d, ecx
sub r9d, eax
or r9b, 0x30
mov byte [rbp + r8 + 4], r9b
dec r8
cmp rcx, 9
mov rcx, rdx
ja 0x18002f1e0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
test r8, r8
je 0x18002f231
lea rdx, [r8 + rbp]
add rdx, 5
neg r8
lea rcx, [rbp - 0x30]
call fcn.180013420
jmp 0x18002f23d
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rcx, qword [rdi + 0x10]
inc rcx
xor r8d, r8d
nop word [rax + rax]
mov rax, rcx
mul rbx
shr rdx, 3
lea eax, [rdx + rdx]
lea eax, [rax + rax*4]
mov r9d, ecx
sub r9d, eax
or r9b, 0x30
mov byte [rbp + r8 - 0x3c], r9b
dec r8
cmp rcx, 9
mov rcx, rdx
ja 0x18002f250
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
test r8, r8
je 0x18002f2a1
lea rdx, [r8 + rbp]
add rdx, 0xffffffffffffffc5
neg r8
lea rcx, [rbp - 0x10]
call fcn.180013420
jmp 0x18002f2ad
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rax, qword [0x18004de90]
cmp byte [0x18004fedf], 0
jne 0x18002f354
movabs rcx, 0x338971fb1a4ada43
add rcx, rax
movabs rdx, 0x338971fb1a4ada5b
add rdx, rax
xor r8d, r8d
lea r9, [0x18004fed5]
nop word cs:[rax + rax]
movzx r11d, byte [rdx + r8]
movzx r10d, byte [rcx + r8]
mov ebx, r11d
and bl, 0xd0
mov edi, ebx
xor dil, 0xd0
xor r11b, 0x2f
or r11b, dil
mov edi, r11d
and dil, 0x91
and r11b, 0x6e
or r11b, 0x80
xor dil, bl
xor dil, r11b
mov r11d, edi
xor r11b, 0xaf
xor dil, 0x50
mov ebx, r10d
xor bl, 0x2f
or bl, r11b
xor r10b, 0xd0
or r10b, dil
xor r10b, bl
mov byte [r8 + r9], r10b
inc r8
cmp r8, 0xa
jne 0x18002f2f0
mov byte [0x18004fedf], 1
cmp byte [0x18004fed4], 0
jne 0x18002f4b2
movabs rcx, 0x338971fb1a4ada0d
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada20
xor cl, byte [rax + rdx]
mov byte [0x18004feca], cl
movabs rcx, 0x338971fb1a4ada0e
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada21
xor cl, byte [rax + rdx]
mov byte [0x18004fecb], cl
movabs rcx, 0x338971fb1a4ada0f
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada22
xor cl, byte [rax + rdx]
mov byte [0x18004fecc], cl
movabs rcx, 0x338971fb1a4ada10
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada23
xor cl, byte [rax + rdx]
mov byte [0x18004fecd], cl
movabs rcx, 0x338971fb1a4ada11
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada24
xor cl, byte [rax + rdx]
mov byte [0x18004fece], cl
movabs rcx, 0x338971fb1a4ada12
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada25
xor cl, byte [rax + rdx]
mov byte [0x18004fecf], cl
movabs rcx, 0x338971fb1a4ada13
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada26
xor cl, byte [rax + rdx]
mov byte [0x18004fed0], cl
movabs rcx, 0x338971fb1a4ada14
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada27
xor cl, byte [rax + rdx]
mov byte [0x18004fed1], cl
movabs rcx, 0x338971fb1a4ada15
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada28
xor cl, byte [rax + rdx]
mov byte [0x18004fed2], cl
movabs rcx, 0x338971fb1a4ada16
movzx ecx, byte [rax + rcx]
movabs rdx, 0x338971fb1a4ada29
xor cl, byte [rax + rdx]
mov byte [0x18004fed3], cl
mov byte [0x18004fed4], 1
movabs r9, 0x338971fb1a4aab5e
mov rdx, qword [0x18004de98]
add rdx, r9
add r9, qword [0x18004dea0]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
mov rcx, rsi
call fcn.18002f870
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x18002f51d
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x18002f518
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x18002f567
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180039c44
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x18002f558
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x18002f553
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x18002f567
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180039c44
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3