Function at 0x1800a2030
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 [0x180127040]
xor rax, rsp
mov qword [rbp + 0x90], rax
movsd xmm0, qword [0x180128c98]
xor ebx, ebx
ucomisd xmm0, qword [0x180110a68]
mov r12d, dword [0x180127018]
jp 0x1800a23be
jne 0x1800a23be
movups xmm0, xmmword [0x18010a4d0]
mov r8d, ebx
movups xmm1, xmmword [0x18010a4e0]
mov eax, dword [0x18010a550]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [0x18010a4f0]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [0x18010a500]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x18010a510]
movups xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [0x18010a520]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [0x18010a530]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [0x18010a540]
mov dword [rbp + 0x80], eax
movzx eax, byte [0x18010a554]
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x84], al
cmp r12d, 2
jl 0x1800a2255
movdqa xmm0, xmmword [0x180110f70]
lea rcx, [rbp + 4]
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111070]
movdqa xmm6, xmmword [0x180110e90]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180110f50]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180110f50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x80
jl 0x1800a2140
cmp r8d, 0x85
jge 0x1800a2297
movsxd rax, r8d
lea r9, [rbp]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x85
jl 0x1800a2260
mov rcx, qword [0x180128be8]
mov r15d, ebx
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180128be8]
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.180021880
mov rcx, qword [0x180128be8]
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 0x1800a234c
nop dword [rax]
mov edx, ebx
test r10, r10
je 0x1800a2331
mov rax, rbx
nop word [rax + rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + r14]
cmp eax, r8d
je 0x1800a2328
cmp r8d, 0xffffffff
jne 0x1800a2339
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a2310
test r15d, r15d
jle 0x1800a2346
dec r15d
inc r9d
mov eax, r9d
cmp rax, rsi
jb 0x1800a2300
jmp 0x1800a234c
mov edi, r9d
add rdi, r14
test r11, r11
je 0x1800a239b
mov rdx, qword [rsp + 0x58]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a2385
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a2385
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d3c10
xorps xmm0, xmm0
mov qword [rsp + 0x58], rbx
movdqu xmmword [rsp + 0x48], xmm0
test rdi, rdi
je 0x1800a23be
lea r8, [0x180129798]
mov rcx, rdi
lea rdx, [0x1800a48e0]
call fcn.1800ce6ac
mov rcx, rdi
call fcn.1800ce944
cmp dword [0x180128da4], 0xc
jl 0x1800a26ce
movsd xmm0, qword [0x180110980]
comisd xmm0, xmmword [0x180128c98]
jbe 0x1800a26ce
movups xmm0, xmmword [0x18010a480]
mov r8d, ebx
movups xmm1, xmmword [0x18010a490]
mov eax, dword [0x18010a4c8]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x18010a4a0]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x18010a4c0]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x18010a4b0]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rbp - 8], eax
cmp r12d, 2
jl 0x1800a256f
movdqa xmm0, xmmword [0x180110f70]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111070]
movdqa xmm6, xmmword [0x180110e90]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180110f50]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180110f50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x48
jl 0x1800a2460
cmp r8d, 0x4c
jge 0x1800a25b4
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x4c
jl 0x1800a2580
mov rcx, qword [0x180128be8]
mov r15d, ebx
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180128be8]
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.180021880
mov rcx, qword [0x180128be8]
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 0x1800a265c
mov edx, ebx
test r10, r10
je 0x1800a2641
mov rax, rbx
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + r14]
cmp eax, r8d
je 0x1800a2638
cmp r8d, 0xffffffff
jne 0x1800a2649
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a2620
test r15d, r15d
jle 0x1800a2656
dec r15d
inc r9d
mov eax, r9d
cmp rax, rsi
jb 0x1800a2616
jmp 0x1800a265c
mov edi, r9d
add rdi, r14
test r11, r11
je 0x1800a26ab
mov rdx, qword [rsp + 0x70]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a2695
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a2695
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d3c10
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
movdqu xmmword [rsp + 0x60], xmm0
test rdi, rdi
je 0x1800a26ce
lea r8, [0x1801297a0]
mov rcx, rdi
lea rdx, [0x1800a4930]
call fcn.1800ce6ac
mov rcx, rdi
call fcn.1800ce944
movsd xmm6, qword [0x180110898]
movsd xmm0, qword [0x180128c98]
ucomisd xmm0, xmm6
jp 0x1800a26fe
jne 0x1800a26fe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rax + 0xaec475], 0x239e9
mov byte [rax + 0xaec479], bl
movsd xmm0, qword [0x180128c98]
comisd xmm0, xmmword [0x180110890]
jb 0x1800a29f8
comisd xmm6, xmm0
jbe 0x1800a29f8
mov eax, dword [0x18010a478]
mov r8d, ebx
mov dword [rbp - 0x60], eax
movzx eax, word [0x18010a47c]
mov word [rbp - 0x5c], ax
movups xmm0, xmmword [0x18010a450]
movups xmm1, xmmword [str.c_afxhvjtlrneqa_t]
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [0x18010a470]
movsd qword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x78], xmm1
cmp r12d, 2
jl 0x1800a28a1
movdqa xmm0, xmmword [0x180110f70]
lea rcx, [rsp + 0x7c]
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111070]
movdqa xmm6, xmmword [0x180110e90]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180110f50]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180110f50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x1800a2792
cmp r8d, 0x2e
jge 0x1800a28e4
movsxd rax, r8d
lea r9, [rsp + 0x78]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x2e
jl 0x1800a28b0
mov rcx, qword [0x180128be8]
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180128be8]
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.180021880
mov rcx, qword [0x180128be8]
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 0x1800a298b
mov edx, ebx
test r10, r10
je 0x1800a2970
mov rax, rbx
nop
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x1800a2967
cmp r8d, 0xffffffff
jne 0x1800a2978
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800a2950
test r14d, r14d
jle 0x1800a2985
dec r14d
inc r9d
mov eax, r9d
cmp rax, rdi
jb 0x1800a2944
jmp 0x1800a298b
mov ebx, r9d
add rbx, rsi
test r11, r11
je 0x1800a29cc
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800a29c4
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a29c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d3c10
test rbx, rbx
je 0x1800a29f8
movsxd rax, dword [rbx + 1]
add rbx, 5
add rbx, rax
je 0x1800a29f8
xor r8d, r8d
lea rdx, [fcn.1800a3930]
mov rcx, rbx
call fcn.1800ce6ac
mov rcx, rbx
call fcn.1800ce944
mov al, 1
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800d3880
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