Function at 0x18000a0f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1801a9040]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rcx, [rbp + 7]
call fcn.180194b90
mov ecx, dword [0x1801a9e50]
movdqa xmm6, xmmword [0x1801a4420]
mov edx, 4
mov rbx, qword [rax]
mov rax, qword gs:[0x58]
mov dword [rbp - 9], 0x2fd4c72
mov dword [rbp - 5], 0xcff1bec9
mov word [rbp - 1], 0x4f53
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1801da088], eax
jle 0x18000a1c3
lea rcx, [0x1801da088]
call fcn.18019d7b8
cmp dword [0x1801da088], 0xffffffff
jne 0x18000a1c3
movsd xmm0, qword [rbp - 9]
lea rcx, [0x1801a0280]
movzx eax, word [rbp - 1]
movsd qword [0x1801b32d8], xmm0
mov word [0x1801b32e0], ax
mov word [0x1801b32e2], 0x199
movups xmmword [0x1801b32c8], xmm6
call fcn.18019dbc4
lea rcx, [0x1801da088]
call fcn.18019d74c
lea rsi, [0x1801b32c8]
mov rcx, rsi
call fcn.18018da90
mov r9, qword [rbx + 8]
xor r14d, r14d
mov r11, qword [rbx]
cmp r11, r9
je 0x18000a210
mov rbx, qword [r11]
mov rax, rsi
mov r8, qword [rbx]
sub r8, rsi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18000a203
inc rax
test ecx, ecx
jne 0x18000a1f0
test edx, edx
je 0x18000a213
add r11, 8
cmp r11, r9
jne 0x18000a1e1
mov rbx, r14
mov rsi, qword [rbp + 7]
test rsi, rsi
je 0x18000a271
mov rcx, qword [rsi]
test rcx, rcx
je 0x18000a264
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x18000a254
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000a404
mov rcx, r8
call fcn.18019dbe4
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov edx, 0x18
mov rcx, rsi
call fcn.18019dbe4
mov eax, dword [rdi]
cmp dword [0x1801cc4e0], eax
jle 0x18000a2d5
lea rcx, [0x1801cc4e0]
call fcn.18019d7b8
cmp dword [0x1801cc4e0], 0xffffffff
jne 0x18000a2d5
lea rcx, [0x1801a0250]
mov word [0x1801da893], 0x179
mov dword [0x1801da888], 0xde4abf6
mov dword [0x1801da88c], 0xf25b1884
mov word [0x1801da890], 0xabca
mov byte [0x1801da892], 0xe8
call fcn.18019dbc4
lea rcx, [0x1801cc4e0]
call fcn.18019d74c
lea rcx, [0x1801da888]
call fcn.18018d930
mov r10d, dword [rdi]
cmp dword [0x1801d9f2c], r10d
jle 0x18000a32e
lea rcx, [0x1801d9f2c]
call fcn.18019d7b8
cmp dword [0x1801d9f2c], 0xffffffff
jne 0x18000a32e
lea rcx, [0x1801a0260]
mov dword [0x1801da8c4], 0x1353398
mov dword [0x1801da8c0], 0x1cffa6f0
call fcn.18019dbc4
lea rcx, [0x1801d9f2c]
call fcn.18019d74c
cmp byte [0x1801da8c7], r14b
je 0x18000a36f
xor byte [0x1801da8c0], 0xa3
xor byte [0x1801da8c1], 0xc5
xor byte [0x1801da8c2], 0x8d
xor byte [0x1801da8c3], 0x79
xor byte [0x1801da8c4], 0xfd
xor byte [0x1801da8c5], 0x5d
xor byte [0x1801da8c6], 0x35
mov byte [0x1801da8c7], r14b
mov rax, qword [0x1801aa918]
lea r8, [0x1801da8c0]
lea rdx, [0x1801da888]
mov rcx, rbx
call rax
mov ecx, dword [rdi]
mov rsi, rax
cmp dword [0x1801da898], ecx
jle 0x18000a3e7
lea rcx, [0x1801da898]
call fcn.18019d7b8
cmp dword [0x1801da898], 0xffffffff
jne 0x18000a3e7
lea rcx, [0x1801a0230]
mov word [0x1801d9a01], 0x1c5
mov dword [0x1801d99f8], 0x26f9a0c4
mov dword [0x1801d99fc], 0xe151348a
mov byte [0x1801d9a00], 0xcb
call fcn.18019dbc4
lea rcx, [0x1801da898]
call fcn.18019d74c
lea rcx, [0x1801d99f8]
call fcn.18018d7f0
mov r10, qword [0x1801aa900]
test r10, r10
jne 0x18000a40b
mov rax, r14
jmp 0x18000a41b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r8d, r8d
lea rdx, [0x1801d99f8]
mov rcx, rsi
call r10
mov r10, qword [0x1801aa910]
test r10, r10
je 0x18000a441
test rax, rax
je 0x18000a441
lea r9, [rbp + 0xf]
mov qword [rbp + 0xf], r14
xor r8d, r8d
xor edx, edx
mov rcx, rax
call r10
jmp 0x18000a444
mov rax, r14
mov eax, dword [rax + 0x10]
mov dword [0x1801a90c0], eax
mov eax, dword [rdi]
cmp dword [0x1801da584], eax
jle 0x18000a4b1
lea rcx, [0x1801da584]
call fcn.18019d7b8
cmp dword [0x1801da584], 0xffffffff
jne 0x18000a4b1
lea rcx, [0x1801a0200]
mov word [0x1801d9aeb], 0x173
mov dword [0x1801d9ae0], 0x7926714
mov dword [0x1801d9ae4], 0x4e1500de
mov word [0x1801d9ae8], 0x6728
mov byte [0x1801d9aea], 0x9e
call fcn.18019dbc4
lea rcx, [0x1801da584]
call fcn.18019d74c
lea rcx, [0x1801d9ae0]
call fcn.18018d690
mov r10d, dword [rdi]
cmp dword [0x1801d9ad8], r10d
jle 0x18000a50a
lea rcx, [0x1801d9ad8]
call fcn.18019d7b8
cmp dword [0x1801d9ad8], 0xffffffff
jne 0x18000a50a
lea rcx, [0x1801a0210]
mov dword [0x1801da91c], 0x17b2bc2
mov dword [0x1801da918], 0x16896a12
call fcn.18019dbc4
lea rcx, [0x1801d9ad8]
call fcn.18019d74c
cmp byte [0x1801da91f], r14b
je 0x18000a54b
xor byte [0x1801da918], 0x41
xor byte [0x1801da919], 9
xor byte [0x1801da91a], 0xfb
xor byte [0x1801da91b], 0x73
xor byte [0x1801da91c], 0xa7
xor byte [0x1801da91d], 0x45
xor byte [0x1801da91e], 0x7b
mov byte [0x1801da91f], r14b
mov rax, qword [0x1801aa918]
lea r8, [0x1801da918]
lea rdx, [0x1801d9ae0]
mov rcx, rbx
call rax
mov ecx, dword [rdi]
mov rsi, rax
cmp dword [0x1801d9a6c], ecx
jle 0x18000a5bd
lea rcx, [0x1801d9a6c]
call fcn.18019d7b8
cmp dword [0x1801d9a6c], 0xffffffff
jne 0x18000a5bd
lea rcx, [0x1801a01e0]
mov dword [0x1801cc258], 0x1fb7d29
mov dword [0x1801cc250], 0x2c8f6c26
mov dword [0x1801cc254], 0x4e1220cf
call fcn.18019dbc4
lea rcx, [0x1801d9a6c]
call fcn.18019d74c
cmp byte [0x1801cc25b], r14b
je 0x18000a61a
xor byte [0x1801cc250], 0x41
xor byte [0x1801cc251], 9
xor byte [0x1801cc252], 0xfb
xor byte [0x1801cc253], 0x73
xor byte [0x1801cc254], 0xa7
xor byte [0x1801cc255], 0x45
xor byte [0x1801cc256], 0x7b
xor byte [0x1801cc257], 0x29
xor byte [0x1801cc258], 0x41
xor byte [0x1801cc259], 9
xor byte [0x1801cc25a], 0xfb
mov byte [0x1801cc25b], r14b
mov rax, qword [0x1801aa900]
test rax, rax
jne 0x18000a62b
mov rax, r14
jmp 0x18000a63a
xor r8d, r8d
lea rdx, [0x1801cc250]
mov rcx, rsi
call rax
mov r10, qword [0x1801aa910]
test r10, r10
je 0x18000a660
test rax, rax
je 0x18000a660
lea r9, [rbp + 0xf]
mov qword [rbp + 0xf], r14
xor r8d, r8d
xor edx, edx
mov rcx, rax
call r10
jmp 0x18000a663
mov rax, r14
cmp dword [0x1801a90c0], 0x64
mov eax, dword [rax + 0x10]
mov dword [0x1801a90c4], eax
jge 0x18000a67f
mov dword [0x1801a90c0], 0x64
cmp eax, 0x64
jge 0x18000a68e
mov dword [0x1801a90c4], 0x64
lea rax, [0x1801a90c0]
mov byte [rbp + 0x17], r14b
mov qword [rbp + 0x1f], rax
lea rax, [0x1801a90c4]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
mov qword [rbp + 0x2f], rax
mov eax, dword [rdi]
cmp dword [0x1801cc260], eax
jle 0x18000a714
lea rcx, [0x1801cc260]
call fcn.18019d7b8
cmp dword [0x1801cc260], 0xffffffff
jne 0x18000a714
lea rcx, [0x1801a01b0]
mov word [0x1801cc2d3], 0x19d
mov dword [0x1801cc2c8], 0xe998ff64
mov dword [0x1801cc2cc], 0x1ad30c30
mov word [0x1801cc2d0], 0xff58
mov byte [0x1801cc2d2], 0x94
call fcn.18019dbc4
lea rcx, [0x1801cc260]
call fcn.18019d74c
lea rcx, [0x1801cc2c8]
call fcn.18018d530
mov r10d, dword [rdi]
cmp dword [0x1801aae20], r10d
jle 0x18000a76d
lea rcx, [0x1801aae20]
call fcn.18019d7b8
cmp dword [0x1801aae20], 0xffffffff
jne 0x18000a76d
lea rcx, [0x1801a01c0]
mov dword [0x1801da044], 0x1bd272c
mov dword [0x1801da040], 0xf883f262
call fcn.18019dbc4
lea rcx, [0x1801aae20]
call fcn.18019d74c
cmp byte [0x1801da047], r14b
je 0x18000a7ae
xor byte [0x1801da040], 0x31
xor byte [0x1801da041], 0x91
xor byte [0x1801da042], 0xf1
xor byte [0x1801da043], 0x9d
xor byte [0x1801da044], 0x49
xor byte [0x1801da045], 0x49
xor byte [0x1801da046], 0xbd
mov byte [0x1801da047], r14b
mov rax, qword [0x1801aa918]
lea r8, [0x1801da040]
lea rdx, [0x1801cc2c8]
mov rcx, rbx
call rax
mov ecx, dword [rdi]
mov rbx, rax
cmp dword [0x1801da028], ecx
jle 0x18000a830
lea rcx, [0x1801da028]
call fcn.18019d7b8
cmp dword [0x1801da028], 0xffffffff
jne 0x18000a830
lea rcx, [0x1801a0190]
mov word [0x1801cc085], 0x149
mov dword [0x1801cc078], 0xcf85f462
mov dword [0x1801cc07c], 0x11d23a2c
mov dword [0x1801cc080], 0xf298e544
mov byte [0x1801cc084], 0x27
call fcn.18019dbc4
lea rcx, [0x1801da028]
call fcn.18019d74c
cmp byte [0x1801cc086], r14b
lea r9, [0x1801cc078]
je 0x18000a964
cmp dword [0x1801a9090], 5
mov r8, r14
jl 0x18000a92a
movdqa xmm3, xmmword [0x1801a3c50]
mov r8d, 8
movdqa xmm2, xmmword [0x1801a2c40]
movzx eax, word [0x1801cc078]
movdqa xmm0, xmmword [0x1801a2bd0]
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x1801a2be0]
movd eax, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
pshufb xmm1, xmm2
mov word [0x1801cc078], ax
movzx eax, word [0x1801cc07a]
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x1801a2bf0]
movd eax, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
mov word [0x1801cc07a], ax
movzx eax, word [0x1801cc07c]
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x1801a2c10]
movd eax, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
mov word [0x1801cc07c], ax
movzx eax, word [0x1801cc07e]
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [0x1801cc07e], ax
movabs r10, 0x7dbd49499df19131
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xe
jb 0x18000a940
mov byte [0x1801cc086], r14b
mov rax, qword [0x1801aa900]
test rax, rax
jne 0x18000a975
mov rax, r14
jmp 0x18000a983
mov r8d, 3
mov rdx, r9
mov rcx, rbx
call rax
mov r10, qword [0x1801aa910]
test r10, r10
je 0x18000a9a8
test rax, rax
je 0x18000a9a8
lea r9, [rbp + 0xf]
mov qword [rbp + 0xf], r14
lea r8, [rbp + 0x1f]
xor edx, edx
mov rcx, rax
call r10
mov eax, dword [0x1801a90c4]
imul eax, dword [0x1801a90c0]
cmp eax, 0x1fa400
jl 0x18000a9c8
mov dword [0x1801a9ed0], 4
jmp 0x18000a9f6
cmp eax, 0xa8c00
jl 0x18000a9db
mov dword [0x1801a9ed0], 3
jmp 0x18000a9f6
mov dword [0x1801a9ed0], 2
cmp eax, 0x75300
jge 0x18000a9f6
mov dword [0x1801a9ed0], 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18019d6f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret