Function at 0x140001080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor edi, edi
cmp qword [0x140006640], rdi
jne 0x140001421
movzx ecx, word [0x140004388]
movzx eax, byte [0x14000438a]
movsd xmm0, qword [0x140004380]
xor al, 0x3c
movsd qword [rsp + 0x20], xmm0
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor byte [rsp + 0x24], 0x36
xor byte [rsp + 0x25], 0x37
xor byte [rsp + 0x26], 0x38
xor byte [rsp + 0x27], 0x39
mov word [rsp + 0x28], cx
xor cl, 0x3a
xor byte [rsp + 0x29], 0x3b
mov byte [rsp + 0x28], cl
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0x77
mov byte [rsp + 0x2a], al
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
jne 0x1400011ff
movzx ecx, word [0x140004398]
movzx eax, byte [0x14000439a]
movsd xmm0, qword [str.G_QG]
xor al, 0x3c
movsd qword [rsp + 0x30], xmm0
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor byte [rsp + 0x34], 0x36
xor byte [rsp + 0x35], 0x37
xor byte [rsp + 0x36], 0x38
xor byte [rsp + 0x37], 0x39
mov word [rsp + 0x38], cx
xor cl, 0x3a
xor byte [rsp + 0x39], 0x3b
mov byte [rsp + 0x38], cl
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], 0x75
mov byte [rsp + 0x3a], al
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx ecx, word [0x140004388]
movzx eax, byte [0x14000438a]
movsd xmm0, qword [0x140004380]
xor al, 0x3c
movsd qword [rsp + 0x40], xmm0
xor byte [rsp + 0x41], 0x33
xor byte [rsp + 0x42], 0x34
xor byte [rsp + 0x43], 0x35
xor byte [rsp + 0x44], 0x36
xor byte [rsp + 0x45], 0x37
xor byte [rsp + 0x46], 0x38
xor byte [rsp + 0x47], 0x39
mov word [rsp + 0x48], cx
xor cl, 0x3a
xor byte [rsp + 0x49], 0x3b
mov byte [rsp + 0x48], cl
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x40], 0x77
mov byte [rsp + 0x4a], al
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x14000141d
cmp dword [0x140006018], 2
mov ecx, edi
movups xmm0, xmmword [str.GaFSEVWKSNWK_.__n533e__]
movzx eax, word [0x1400043f0]
movups xmm1, xmmword [0x1400043d0]
mov word [rbp - 0x80], ax
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400043e0]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
jl 0x1400013bb
movdqa xmm0, xmmword [0x1400045f0]
lea rdx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1400045a0]
mov eax, 1
movdqa xmm4, xmmword [0x1400045e0]
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm7
movdqa xmm7, xmmword [0x1400045c0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x70], xmm0
mov r8d, dword [rbp - 0x70]
movaps xmmword [rsp + 0x210], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400045d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x1400012a0
movaps xmm8, xmmword [rsp + 0x210]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x230]
cmp ecx, 0x32
jge 0x1400013fc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x32
jl 0x1400013d0
lea rdx, [rsp + 0x50]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140006640], rax
test rax, rax
jne 0x140001421
mov qword [0x140006640], rdi
xor al, al
jmp 0x14000147b
mov qword [rsp + 0x250], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x158
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x140006648]
test ebx, ebx
mov edx, 4
cmovne ecx, ebx
mov dword [rbp - 0x48], ecx
lea rcx, [rbp - 0x60]
call fcn.1400014a0
test al, al
cmovne rdi, qword [rbp - 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, qword [rsp + 0x250]
cmp rdi, rax
sete al
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400024f0
mov rdi, qword [rsp + 0x258]
add rsp, 0x240
pop rbp
ret