Function at 0x18009abc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x280
mov qword [rbp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12d, r8d
mov rsi, rdx
mov r15, rcx
mov rax, qword [rdx + 8]
lea rdi, [rcx + 8]
xor ebx, ebx
test r8d, r8d
jne 0x18009ac2f
cmp qword [rdx], rax
jne 0x18009ac16
mov rdx, qword [rdi]
sub rdx, qword [rcx]
mov rcx, rsi
call fcn.18009ea50
mov r8, qword [rdi]
sub r8, qword [r15]
mov rdx, qword [r15]
mov rcx, qword [rsi]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov al, 1
jmp 0x18009b5e6
cmp qword [rdx], rax
jne 0x18009ac46
mov rax, qword [rdi]
sub rax, qword [rcx]
imul rdx, rax, 0xf
mov rcx, rsi
call fcn.18009ea50
mov word [rbp + 0x1d8], bx
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x180280dd0]
movdqu xmmword [rbp + 0x80], xmm1
mov word [rbp + 0x70], bx
mov dword [rbp + 0x1d0], ebx
mov ecx, 0x7d
lea r13d, [rcx - 6]
or r14, 0xffffffffffffffff
cmp r12d, 3
jne 0x18009ada7
mov dword [rbp + 0x1d8], 0x102
lea eax, [rcx - 0x28]
mov word [rsp + 0x60], ax
lea eax, [rcx - 0x1a]
mov word [rsp + 0x62], ax
mov word [rsp + 0x64], r13w
mov word [rsp + 0x66], cx
lea eax, [rcx - 0x43]
mov word [rsp + 0x68], ax
mov word [rsp + 0x6a], bx
movzx eax, word [rsp + 0x60]
mov rcx, rbx
movzx eax, word [rsp + rcx*2 + 0x60]
sub ax, 9
mov word [rsp + rcx*2 + 0x60], ax
inc rcx
cmp rcx, 5
jb 0x18009acbf
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
lea rax, [rsp + 0x60]
mov r8, r14
inc r8
cmp word [rax + r8*2], bx
jne 0x18009acf3
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xb0]
call fcn.18007b5dc
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18009ad54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009ad4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009ad4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280dd0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], bx
mov r8d, 0x20
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
movdqa xmm0, xmmword [0x180280dd0]
movdqu xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], bx
xor edx, edx
lea r8d, [rdx + 0xc]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov r12d, 0x6a
mov eax, dword [r8 + rdx]
cmp dword [0x1802c2388], eax
jle 0x18009b00e
lea rcx, [0x1802c2388]
call fcn.1802696f0
cmp dword [0x1802c2388], r14d
jne 0x18009b00e
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x60], rax
mov byte [rsp + 0x40], 0x57
lea eax, [r12 + 0xf]
mov byte [rsp + 0x41], al
lea eax, [r12 + 7]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], 0x49
mov byte [rsp + 0x44], r12b
lea eax, [r12 - 2]
mov byte [rsp + 0x45], al
mov byte [rsp + 0x46], 0x74
mov byte [rsp + 0x47], 0x72
mov byte [rsp + 0x48], 0x75
mov byte [rsp + 0x49], r13b
mov byte [rsp + 0x4a], r12b
lea eax, [r12 + 0xe]
mov byte [rsp + 0x4b], al
mov byte [rsp + 0x4c], al
mov byte [rsp + 0x4d], 0x47
mov byte [rsp + 0x4e], 0x7a
lea eax, [r12 + 1]
mov byte [rsp + 0x4f], al
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], r12b
mov byte [rsp + 0x52], r13b
mov byte [rsp + 0x53], bl
mov al, byte [rsp + 0x40]
mov rcx, rbx
mov al, byte [rsp + rcx + 0x40]
sub al, 5
mov byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x13
jb 0x18009ae76
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xe8], rbx
lea rax, [rsp + 0x40]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x18009aea9
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.18007b70c
nop
mov dword [rsp + 0x54], 0x22
mov byte [rsp + 0x58], 0x4c
mov byte [rsp + 0x59], 0x56
mov byte [rsp + 0x5a], 0x46
mov byte [rsp + 0x5b], 0x4e
mov byte [rsp + 0x5c], 0x4e
xor eax, eax
mov byte [rsp + 0x5d], al
mov al, byte [rsp + 0x58]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x58]
mov ecx, dword [rsp + 0x54]
xor cl, al
mov byte [rsp + rdx + 0x58], cl
inc rdx
cmp rdx, 5
jb 0x18009aef2
mov byte [rsp + 0x5d], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
lea rax, [rsp + 0x58]
inc r14
cmp byte [rax + r14], bl
jne 0x18009af27
mov r8, r14
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x90]
call fcn.18007b70c
nop
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x118]
call fcn.180188b20
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp + 0xd0]
mov rdx, rax
lea rcx, [0x1802c2300]
call fcn.18009b788
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x18009afbc
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009afb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009afb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], bl
xor edx, edx
lea r8d, [rdx + 6]
lea rcx, [rsp + 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027d630]
call fcn.18026951c
nop
lea rcx, [0x1802c2388]
call fcn.180269690
mov r13, qword [r15]
mov r14, qword [rdi]
sub r14, r13
mov rax, qword [rsi]
mov qword [rbp + 0x60], rax
mov r12, qword [rsi + 8]
sub r12, rax
lea rcx, [0x1802c2318]
cmp qword [0x1802c2330], 0x10
cmovae rcx, qword [0x1802c2318]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18009b07a
lea rcx, [0x1802c2318]
cmp qword [0x1802c2330], 0x10
cmovae rcx, qword [0x1802c2318]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1802c2310], rax
mov r8, rax
lea rdx, [0x1802c2318]
call fcn.18008c99c
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, r13
mov r8d, r12d
mov rdx, qword [rbp + 0x60]
movzx ecx, word [rbp + 0x1d8]
call qword [0x1802c2308]
mov r8d, eax
test eax, eax
je 0x18009b213
mov ecx, 0x64
mov word [rbp], cx
lea r10d, [rcx - 0x3a]
mov word [rbp + 2], r10w
lea eax, [rcx + 2]
mov word [rbp + 4], ax
lea r11d, [rcx - 0x3b]
mov word [rbp + 6], r11w
lea eax, [rcx - 0x18]
mov word [rbp + 8], ax
lea r9d, [rcx + 0x14]
mov word [rbp + 0xa], r9w
lea ecx, [rax + 0x32]
mov word [rbp + 0xc], cx
lea eax, [rcx - 9]
mov word [rbp + 0xe], ax
lea eax, [rcx - 0x11]
mov word [rbp + 0x10], ax
mov word [rbp + 0x12], r11w
lea edx, [rcx - 7]
mov word [rbp + 0x14], dx
mov word [rbp + 0x16], r9w
lea edi, [rcx - 1]
mov word [rbp + 0x18], di
mov word [rbp + 0x1a], r11w
mov word [rbp + 0x1c], ax
lea eax, [rcx - 0x10]
mov word [rbp + 0x1e], ax
lea edx, [rcx - 0x12]
mov word [rbp + 0x20], dx
mov word [rbp + 0x22], r9w
lea edx, [rcx - 8]
mov word [rbp + 0x24], dx
lea edx, [rcx - 5]
mov word [rbp + 0x26], dx
lea edx, [rcx - 3]
mov word [rbp + 0x28], dx
mov word [rbp + 0x2a], ax
lea r9d, [r10 + 0x52]
mov word [rbp + 0x2c], r9w
mov word [rbp + 0x2e], r9w
mov word [rbp + 0x30], r11w
mov word [rbp + 0x32], di
lea r9d, [r10 + 0x47]
mov word [rbp + 0x34], r9w
mov word [rbp + 0x36], ax
mov word [rbp + 0x38], r11w
lea r9d, [r10 + 0x41]
mov word [rbp + 0x3a], r9w
mov word [rbp + 0x3c], cx
lea r12d, [r10 + 0x45]
mov word [rbp + 0x3e], r12w
mov word [rbp + 0x40], r12w
mov word [rbp + 0x42], ax
mov word [rbp + 0x44], dx
mov word [rbp + 0x46], r10w
mov word [rbp + 0x48], r11w
lea eax, [rcx - 0x27]
mov word [rbp + 0x4a], ax
lea ecx, [rdi - 0x20]
mov word [rbp + 0x4c], cx
lea edx, [rdi - 0x21]
mov word [rbp + 0x4e], dx
mov word [rbp + 0x50], cx
lea eax, [rdi - 0x33]
mov word [rbp + 0x52], ax
mov word [rbp + 0x54], cx
lea eax, [rdi - 0x1f]
mov word [rbp + 0x56], ax
mov word [rbp + 0x58], dx
lea eax, [rdi - 0x3a]
mov word [rbp + 0x5a], ax
mov word [rbp + 0x5c], r11w
mov word [rbp + 0x5e], bx
movzx eax, word [rbp]
mov rcx, rbx
movzx eax, word [rbp + rcx*2]
sub ax, 9
mov word [rbp + rcx*2], ax
inc rcx
cmp rcx, 0x2f
jb 0x18009b1dd
lea rcx, [rbp]
call fcn.1800ae954
nop
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp]
call qword [sym.imp.VCRUNTIME140.dll_memset]
jmp 0x18009b5db
cmp dword [rbp + 0x1d0], ebx
je 0x18009b5db
mov edx, dword [rbp + 0x1d0]
mov rcx, rsi
call fcn.18009ea50
mov eax, dword [rbp + 0x1d0]
mov dword [rbp + 0x1d8], eax
mov eax, 0xb
mov dword [rbp - 0x70], eax
mov eax, 0x27
mov word [rbp - 0x6c], ax
lea r8d, [rax + 4]
mov word [rbp - 0x6a], r8w
lea eax, [r8 + 0x3f]
mov word [rbp - 0x68], ax
lea eax, [r8 + 0x42]
mov word [rbp - 0x66], ax
lea eax, [r8 + 0x54]
mov word [rbp - 0x64], ax
lea eax, [r8 + 0x43]
mov word [rbp - 0x62], ax
lea r9d, [r8 + 0x4e]
mov word [rbp - 0x60], r9w
mov word [rbp - 0x5e], r8w
lea r12d, [r8 + 0x44]
mov word [rbp - 0x5c], r12w
mov word [rbp - 0x5a], ax
lea ecx, [rax - 6]
mov word [rbp - 0x58], cx
lea ecx, [rax - 0xa]
mov word [rbp - 0x56], cx
lea edx, [rax - 8]
mov word [rbp - 0x54], dx
lea edx, [rax + 0xd]
mov word [rbp - 0x52], dx
mov word [rbp - 0x50], r9w
mov word [rbp - 0x4e], ax
lea eax, [rcx + 0x14]
mov word [rbp - 0x4c], ax
mov word [rbp - 0x4a], ax
lea eax, [rcx - 2]
mov word [rbp - 0x48], ax
mov word [rbp - 0x46], cx
lea eax, [rcx + 1]
mov word [rbp - 0x44], ax
lea eax, [rcx - 0x33]
mov word [rbp - 0x42], ax
mov word [rbp - 0x40], r8w
xor eax, eax
mov word [rbp - 0x3e], ax
movzx eax, word [rbp - 0x6c]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x6c]
mov ecx, dword [rbp - 0x70]
xor cx, ax
mov word [rbp + rdx*2 - 0x6c], cx
inc rdx
cmp rdx, 0x17
jb 0x18009b2e9
mov word [rbp - 0x3e], bx
mov r13, qword [rdi]
sub r13, qword [r15]
mov eax, 0x34
mov word [rsp + 0x6c], ax
lea ecx, [rax - 0xe]
mov word [rsp + 0x6e], cx
lea eax, [rcx + 0x29]
mov word [rsp + 0x70], ax
lea eax, [rcx + 0x4e]
mov word [rsp + 0x72], ax
mov word [rsp + 0x74], r12w
lea eax, [rcx + 0x54]
mov word [rsp + 0x76], ax
mov word [rsp + 0x78], r12w
lea eax, [rcx + 0x41]
mov word [rsp + 0x7a], ax
lea eax, [rcx + 0x4c]
mov word [rsp + 0x7c], ax
mov word [rsp + 0x7e], cx
mov word [rbp - 0x80], r9w
mov word [rbp - 0x7e], r12w
lea eax, [rcx + 0x5a]
mov word [rbp - 0x7c], ax
lea r9d, [rcx + 0x45]
mov word [rbp - 0x7a], r9w
lea eax, [rcx + 0x1a]
mov word [rbp - 0x78], ax
mov word [rbp - 0x76], cx
mov word [rbp - 0x74], bx
movzx eax, word [rsp + 0x6c]
mov rcx, rbx
lea edx, [r9 - 0x65]
movzx eax, word [rsp + rcx*2 + 0x6c]
sub ax, dx
mov word [rsp + rcx*2 + 0x6c], ax
inc rcx
cmp rcx, 0x10
jb 0x18009b38c
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x138]
call fcn.18007a534
mov r14, rax
mov qword [rbp + 0x68], rax
mov eax, 0x66
mov word [rbp - 0x3c], ax
mov eax, 0x36
mov word [rbp - 0x3a], ax
mov eax, 0x68
mov word [rbp - 0x38], ax
lea r8d, [rax - 0x3d]
mov word [rbp - 0x36], r8w
lea eax, [r8 + 0x24]
mov word [rbp - 0x34], ax
lea edx, [rax + 0x21]
mov word [rbp - 0x32], dx
lea eax, [rdx - 2]
mov word [rbp - 0x30], ax
lea eax, [rdx + 0xa]
mov word [rbp - 0x2e], ax
lea eax, [rdx + 8]
mov word [rbp - 0x2c], ax
lea eax, [rdx + 0xb]
mov word [rbp - 0x2a], ax
lea r9d, [r8 + 0x52]
mov word [rbp - 0x28], r9w
mov word [rbp - 0x26], dx
lea ecx, [rdx + 0xe]
mov word [rbp - 0x24], cx
mov word [rbp - 0x22], cx
mov word [rbp - 0x20], dx
mov word [rbp - 0x1e], r12w
mov word [rbp - 0x1c], r8w
lea eax, [rdx - 3]
mov word [rbp - 0x1a], ax
lea eax, [rdx + 0x10]
mov word [rbp - 0x18], ax
lea eax, [rdx + 1]
mov word [rbp - 0x16], ax
mov word [rbp - 0x14], ax
mov word [rbp - 0x12], dx
mov word [rbp - 0x10], r9w
mov word [rbp - 0xe], r8w
lea eax, [rdx + 0x12]
mov word [rbp - 0xc], ax
lea eax, [rdx + 4]
mov word [rbp - 0xa], ax
lea eax, [rdx + 0xf]
mov word [rbp - 8], ax
lea eax, [rdx + 3]
mov word [rbp - 6], ax
mov word [rbp - 4], r8w
mov word [rbp - 2], bx
movzx eax, word [rbp - 0x3c]
mov rcx, rbx
lea edx, [r8 - 0x20]
movzx eax, word [rbp + rcx*2 - 0x3c]
sub ax, dx
mov word [rbp + rcx*2 - 0x3c], ax
inc rcx
cmp rcx, 0x1d
jb 0x18009b485
cmp byte [0x1802bd270], bl
je 0x18009b53b
mov rdx, r14
lea rcx, [rbp + 0x158]
call fcn.18007a534
mov ecx, dword [rbp + 0x1d8]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x6c]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x6c]
mov r8, rax
lea rdx, [rbp - 0x3c]
lea rcx, [rbp + 0xf8]
call fcn.1800aed6c
nop
lea rdx, [rbp + 0xf8]
mov cl, 1
call fcn.18014e37c
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x18009b53b
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009b535
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
nop
mov rcx, r14
call fcn.18007a444
nop
xor edx, edx
lea r8d, [rdx + 0x3c]
lea rcx, [rbp - 0x3c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x22]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rbp - 0x6c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, qword [rsi + 8]
sub rdx, qword [rsi]
mov rcx, qword [rdi]
sub rcx, qword [r15]
xorps xmm1, xmm1
test rdx, rdx
js 0x18009b593
cvtsi2sd xmm1, rdx
jmp 0x18009b5a8
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
xorps xmm0, xmm0
test rcx, rcx
js 0x18009b5b7
cvtsi2sd xmm0, rcx
jmp 0x18009b5cc
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x180280da0]
comisd xmm1, xmm0
setae bl
lea rcx, [rbp + 0x70]
call fcn.18007a444
mov al, bl
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret