Function at 0x1800a12b0
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp + 0x90], rax
movsd xmm0, qword [0x180127c98]
xor ebx, ebx
ucomisd xmm0, qword [0x18010f840]
mov r12d, dword [0x180126018]
jp 0x1800a162e
jne 0x1800a162e
movups xmm0, xmmword [0x1801094d0]
mov r8d, ebx
movups xmm1, xmmword [0x1801094e0]
mov eax, dword [0x180109550]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [0x1801094f0]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [0x180109500]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x180109510]
movups xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [0x180109520]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [0x180109530]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [0x180109540]
mov dword [rbp + 0x80], eax
movzx eax, byte [0x180109554]
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x84], al
cmp r12d, 2
jl 0x1800a14cd
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rbp + 4]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x80
jl 0x1800a13c0
cmp r8d, 0x85
jge 0x1800a1514
movsxd rax, r8d
lea r9, [rbp]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x85
jl 0x1800a14e0
mov rcx, qword [0x180127be8]
mov r15d, ebx
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp]
movsxd rcx, dword [rax + 0x3c]
mov esi, dword [rcx + rsi + 0x50]
lea rcx, [rsp + 0x48]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x50]
mov r9d, ebx
mov r11, qword [rsp + 0x48]
mov r14, rax
sub r10, r11
sar r10, 2
sub rsi, r10
je 0x1800a15bc
mov edx, ebx
test r10, r10
je 0x1800a15a1
mov rax, rbx
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + r14]
cmp eax, r8d
je 0x1800a1598
cmp r8d, 0xffffffff
jne 0x1800a15a9
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a1580
test r15d, r15d
jle 0x1800a15b6
dec r15d
inc r9d
mov eax, r9d
cmp rax, rsi
jb 0x1800a1576
jmp 0x1800a15bc
mov edi, r9d
add rdi, r14
test r11, r11
je 0x1800a160b
mov rdx, qword [rsp + 0x58]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a15f5
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a15f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
xorps xmm0, xmm0
mov qword [rsp + 0x58], rbx
movdqu xmmword [rsp + 0x48], xmm0
test rdi, rdi
je 0x1800a162e
lea r8, [0x180128798]
mov rcx, rdi
lea rdx, [0x1800a3b40]
call fcn.1800cd78c
mov rcx, rdi
call fcn.1800cda24
cmp dword [0x180127da4], 0xc
jl 0x1800a192e
movsd xmm0, qword [0x18010f760]
comisd xmm0, xmmword [0x180127c98]
jbe 0x1800a192e
movups xmm0, xmmword [0x180109480]
mov r8d, ebx
movups xmm1, xmmword [0x180109490]
mov eax, dword [str.esH]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1801094a0]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1801094c0]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x1801094b0]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rbp - 8], eax
cmp r12d, 2
jl 0x1800a17d7
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x48
jl 0x1800a16d0
cmp r8d, 0x4c
jge 0x1800a1812
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x4c
jl 0x1800a17e1
mov rcx, qword [0x180127be8]
mov r15d, ebx
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x50]
movsxd rcx, dword [rax + 0x3c]
mov esi, dword [rcx + rsi + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x68]
mov r9d, ebx
mov r11, qword [rsp + 0x60]
mov r14, rax
sub r10, r11
sar r10, 2
sub rsi, r10
je 0x1800a18bc
mov edx, ebx
test r10, r10
je 0x1800a18a1
mov rax, rbx
nop
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + r14]
cmp eax, r8d
je 0x1800a1898
cmp r8d, 0xffffffff
jne 0x1800a18a9
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a1880
test r15d, r15d
jle 0x1800a18b6
dec r15d
inc r9d
mov eax, r9d
cmp rax, rsi
jb 0x1800a1874
jmp 0x1800a18bc
mov edi, r9d
add rdi, r14
test r11, r11
je 0x1800a190b
mov rdx, qword [rsp + 0x70]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a18f5
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a18f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
movdqu xmmword [rsp + 0x60], xmm0
test rdi, rdi
je 0x1800a192e
lea r8, [0x1801287a0]
mov rcx, rdi
lea rdx, [0x1800a3b90]
call fcn.1800cd78c
mov rcx, rdi
call fcn.1800cda24
movsd xmm6, qword [0x18010f678]
movsd xmm0, qword [0x180127c98]
ucomisd xmm0, xmm6
jp 0x1800a195e
jne 0x1800a195e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rax + 0xaec475], 0x239e9
mov byte [rax + 0xaec479], bl
movsd xmm0, qword [0x180127c98]
comisd xmm0, xmmword [0x18010f670]
jb 0x1800a1c58
comisd xmm6, xmm0
jbe 0x1800a1c58
mov eax, dword [0x180109478]
mov r8d, ebx
mov dword [rbp - 0x60], eax
movzx eax, word [0x18010947c]
mov word [rbp - 0x5c], ax
movups xmm0, xmmword [0x180109450]
movups xmm1, xmmword [0x180109460]
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [0x180109470]
movsd qword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x78], xmm1
cmp r12d, 2
jl 0x1800a1af9
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rsp + 0x7c]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x1800a19f2
cmp r8d, 0x2e
jge 0x1800a1b41
movsxd rax, r8d
lea r9, [rsp + 0x78]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x2e
jl 0x1800a1b10
mov rcx, qword [0x180127be8]
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x78]
movsxd rcx, dword [rax + 0x3c]
mov edi, dword [rcx + rdi + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x28]
mov r9d, ebx
mov r11, qword [rsp + 0x20]
mov rsi, rax
sub r10, r11
sar r10, 2
sub rdi, r10
je 0x1800a1beb
mov edx, ebx
test r10, r10
je 0x1800a1bd0
mov rax, rbx
nop dword [rax + rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x1800a1bc7
cmp r8d, 0xffffffff
jne 0x1800a1bd8
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a1bb0
test r14d, r14d
jle 0x1800a1be5
dec r14d
inc r9d
mov eax, r9d
cmp rax, rdi
jb 0x1800a1ba1
jmp 0x1800a1beb
mov ebx, r9d
add rbx, rsi
test r11, r11
je 0x1800a1c2c
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a1c24
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a1c24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
test rbx, rbx
je 0x1800a1c58
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
je 0x1800a1c58
xor r8d, r8d
lea rdx, [fcn.1800a2b90]
mov rcx, rbx
call fcn.1800cd78c
mov rcx, rbx
call fcn.1800cda24
mov al, 1
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800d2960
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret