Function at 0x18000d390
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x58]
sub rsp, 0x140
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18007f060]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rbx, [rdx - 8]
xor r14d, r14d
test rdx, rdx
cmove rbx, r14
lea rdi, [rcx - 0xd8]
test rcx, rcx
cmove rdi, r14
mov rcx, rbx
call fcn.18000bcd0
lea r8, [r14 - 1]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18000b4b0
nop
cmp byte [rbx + 0x1f1], r14b
je 0x18000d41d
mov r8, qword [rbx + 0x1c0]
mov rdx, qword [rbx + 0x1b8]
sub r8, rdx
mov rcx, qword [rbp - 0x18]
call fcn.180036f70
movzx esi, byte [rbx + 0x1f0]
jmp 0x18000d433
lea rdx, [rbp - 0x20]
mov rcx, qword [rbx + 0x80]
call fcn.18000ca10
test al, al
setne sil
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.18000e100
nop
lea rax, [rbp]
mov rcx, qword [rbp - 0x18]
cmp rcx, rax
je 0x18000d487
test rcx, rcx
je 0x18000d487
mov rdx, qword [rbp - 8]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d482
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d62e
call fcn.180034ec0
test sil, sil
je 0x18000d49c
mov rdx, rbx
mov rcx, rdi
call fcn.18000e240
jmp 0x18000d5ff
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi + 0xf0]
mov qword [rsp + 0x48], rax
mov r11, qword [rdi + 0x18]
sub r11, qword [rdi + 0x10]
sar r11, 3
mov qword [rsp + 0x50], r14
lea r8, [rbx + 0x20]
lea r9, [r8 + 0x20]
lea r10, [r9 + 0x20]
mov rcx, qword [r10 + 0x20]
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx + 0xf0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rcx + 0x18]
sub rdx, qword [rcx + 0x10]
sar rdx, 3
mov rax, r11
sub rax, rdx
mov qword [rsp + 0x30], rax
lea rax, [r8 + 0x108]
lea rcx, [rbx + 0x190]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x70], r10
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x78], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rbp - 0x78], xmm1
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
xor r8d, r8d
mov rdx, r11
lea rcx, [rbp - 0x60]
call fcn.18000b4b0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0xf8]
sub rbx, qword [rax + 0xf0]
sar rbx, 2
test rbx, rbx
je 0x18000d5bc
movss xmm6, dword [0x180074c50]
nop dword [rax]
mov rax, qword [rbp - 0x80]
movss xmm0, dword [rax]
xorps xmm0, xmm6
call fcn.180058b90
mov rax, qword [rbp - 0x70]
addss xmm0, dword [rax + 0x14]
mov rax, qword [rbp - 0x68]
movss xmm1, dword [rax + 0x14]
divss xmm1, xmm0
mov rax, qword [rsp + 0x48]
movss dword [rax], xmm1
mov r8, qword [rsp + 0x38]
add r8, 8
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.18000ea20
sub rbx, 1
jne 0x18000d570
lea rax, [rbp - 0x40]
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x18000d5ff
test rcx, rcx
je 0x18000d5ff
mov rdx, qword [rbp - 0x48]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d5fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d628
call fcn.180034ec0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180034ea0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18003b6f4
int3
call fcn.18003b6f4
int3