Function at 0x180012d3c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rbx, rcx
xor r14d, r14d
mov rcx, qword [0x1800502a8]
add rcx, rdx
call fcn.180001434
mov rdi, rax
lea rdx, [rax - 0x1000000]
movabs r12, 0x7ffffef00000
cmp rdx, r12
ja 0x1800130de
test dil, 7
jne 0x1800130de
mov rcx, qword [0x1800502b8]
add rcx, rax
call fcn.180001434
mov rsi, rax
lea rcx, [rax - 0x1000000]
cmp rcx, r12
ja 0x1800130de
test sil, 7
jne 0x1800130de
mov rcx, qword [0x1800502b0]
add rcx, rdi
call fcn.180005a9c
cmp al, 4
ja 0x1800130de
movzx eax, al
lea rcx, [rsi + rax*8]
call fcn.180001434
mov rdi, rax
lea rcx, [rax - 0x1000000]
cmp rcx, r12
ja 0x1800130de
test dil, 7
jne 0x1800130de
mov rcx, rax
call fcn.1800125bc
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1800122d0
nop
mov r8, qword [rbp - 0x59]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
cmp r8, 4
jb 0x180013113
lea rax, [r8 - 4]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova rdx, qword [rbp - 0x69]
add rdx, 4
lea rcx, [rbp - 0x49]
call fcn.180001494
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.18000e8a8
mov esi, 0x1000
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x180012e9f
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rsi
jb 0x180012e9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012f0f
call fcn.18002ab28
mov rax, qword [rbp - 0x59]
lea r8, [rax - 2]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.180001494
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.18000e8a8
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x180012f1b
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rsi
jb 0x180012f16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180012f16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002ab28
mov rcx, qword [0x180050098]
add rcx, rdi
call fcn.180005ac0
movsx edx, ax
lea rcx, [rbp + 0x1f]
call fcn.1800097c0
nop
nop
mov dword [rbp + 0x6f], 0xee115854
nop
mov byte [rbp + 0x73], 0x46
mov ecx, 0xa0fcaf8e
mov rdx, r14
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
shr eax, 0x10
xor byte [rbp + rdx + 0x6f], al
inc rdx
cmp rdx, 5
jb 0x180012f4c
lea rax, [rbp + 0x6f]
mov qword [rbp - 0x19], rax
lea rcx, [rbp + 0x6f]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r14b
jne 0x180012f7a
mov qword [rbp - 0x11], rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x49]
call fcn.18000e010
mov qword [rbp - 0x29], 1
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
movaps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.18000e128
nop
lea r8, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova r8, qword [rbp - 0x69]
mov r9, qword [rbp - 0x59]
xor edx, edx
lea rcx, [rbp - 1]
call fcn.1800160c0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x180013046
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, rsi
jb 0x180013041
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013041
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002ab28
movdqa xmm0, xmmword [0x18002d630]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], r14b
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x180013099
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, rsi
jb 0x18001308c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001308c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002ab28
movdqa xmm0, xmmword [0x18002d630]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], r14b
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x1800130f3
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, rsi
jb 0x1800130d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800130d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002ab28
jmp 0x1800130f3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rax, rbx
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
call fcn.1800058fc
nop
int3