Function at 0x140036490
Capabilities:
Acquire debug privileges
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14005d010]
xor rax, rsp
mov qword [rbp - 1], rax
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x38], r12d
mov r15d, dword [0x140143438]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [r12 + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003655b
lea r8, [rsp + 0x30]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x140036560
mov dword [rbp - 0x79], 1
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x75], rax
mov dword [rbp - 0x6d], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp - 0x79]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003656b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x88
call fcn.140043c00
mov r14, rax
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [0x140053cf0]
movups xmmword [rsp + 0x38], xmm0
mov eax, 0x1f
lea r13d, [rax - 0x1b]
mov esi, dword [0x14005d018]
psrldq xmm0, 0xf
movd ecx, xmm0
test cl, cl
je 0x140036732
mov r8d, r12d
cmp esi, 2
jl 0x1400366f1
movdqa xmm5, xmmword [0x140054300]
mov edx, r12d
movdqa xmm4, xmmword [0x1400546e0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140054320]
movd xmm8, eax
movdqa xmm0, xmmword [0x1400543a0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rsp + 0x38]
mov r8d, dword [rbp - 0x79]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pand xmm2, xmmword [0x140054350]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140054350]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x1400365f0
jmp 0x140036732
lea r9, [rsp + 0x38]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140036700
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
lea rax, [rsp + 0x38]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140036755
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x21]
call fcn.1400429b0
nop
mov dword [rsp + 0x38], 1
movups xmm0, xmmword [str.hqSAQZ_gwmLP_10_f_____xK]
movups xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [0x140053a60]
movsd qword [rbp - 0x49], xmm1
cmp byte [0x140053a67], 0
je 0x140036932
mov r8d, r12d
cmp esi, 2
jl 0x1400368f1
movdqa xmm5, xmmword [0x140054300]
mov edx, r12d
movdqa xmm4, xmmword [0x1400546e0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140054320]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400543a0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x59]
mov r8d, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pand xmm2, xmmword [0x140054350]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140054350]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x1400367f0
jmp 0x140036932
lea r9, [rbp - 0x59]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x140036900
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], 0
lea rax, [rbp - 0x59]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140036950
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x41]
call fcn.1400429b0
nop
mov dword [rsp + 0x38], 3
movups xmm0, xmmword [str._EDX_IHT_T_3l06F]
movups xmmword [rbp - 0x59], xmm0
movzx eax, word [0x140053d98]
mov word [rbp - 0x49], ax
movzx eax, byte [0x140053d9a]
mov byte [rbp - 0x47], al
mov ecx, r12d
cmp esi, 2
jl 0x140036ae4
movdqa xmm5, xmmword [0x140054300]
movdqa xmm4, xmmword [0x1400546e0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140054320]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400543a0]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x59]
mov r8d, dword [rbp - 0x79]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pand xmm2, xmmword [0x140054350]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140054350]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
pxor xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400369e0
cmp ecx, 0x13
jge 0x140036b1c
movsxd rax, ecx
lea r8, [rbp - 0x59]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x140036af0
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], 0xf
mov byte [rbp - 0x79], 0
lea rax, [rbp - 0x59]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140036b34
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.1400429b0
nop
mov dword [rsp + 0x38], 7
lea r9, [rbp - 0x21]
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x79]
mov rcx, r14
call fcn.140035c80
nop
mov qword [rdi], rax
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x140036bad
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036ba7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043b88
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140036bec
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036be6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043b88
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140036c2a
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036c25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036c25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043b88
test r15d, r15d
je 0x140036c56
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140036c42
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140036c56
mov r8d, r15d
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi + 8], rax
mov rax, rdi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400435e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret