Function at 0x14003a8b0
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 r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1400e10c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rbp - 0x61], ebx
mov r15d, dword [0x1401c7c2c]
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x69], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x61]
mov edx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003a969
lea r8, [rbp - 0x69]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rbp - 0x61]
test eax, eax
je 0x14003a96d
mov dword [rbp - 0x59], 1
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x55], rax
mov dword [rbp - 0x4d], 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp - 0x59]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14003a978
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x88
call fcn.1400ae938
mov r14, rax
mov qword [rbp - 0x69], rax
mov rax, qword [str.zLTxp__n_n]
mov qword [rbp - 0x61], rax
movdqa xmm7, xmmword [0x1400d1020]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x14003aa7f
movdqa xmm4, xmmword [0x1400d1560]
movdqa xmm2, xmmword [0x1400d0ff0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d1010]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d1080]
movd xmm0, dword [rbp - 0x61]
xorps xmm2, xmm0
movd dword [rbp - 0x61], xmm2
movdqa xmm3, xmmword [0x1400d1000]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d1010]
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1400d1080]
movd xmm0, dword [rbp - 0x5d]
xorps xmm3, xmm0
movd dword [rbp - 0x5d], xmm3
jmp 0x14003aac0
lea r9, [rbp - 0x61]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14003aa90
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 9]
call fcn.14004e5b0
nop
mov dword [rbp - 0x61], 1
movups xmm0, xmmword [str.d_MU_c]
movups xmmword [rbp - 0x59], xmm0
cmp esi, 2
jl 0x14003ac01
movdqa xmm5, xmmword [0x1400d0ff0]
mov edx, ebx
movdqa xmm4, xmmword [0x1400d1560]
movdqa xmm6, xmmword [0x1400d1010]
movdqa xmm0, xmmword [0x1400d1080]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x59]
mov r8d, dword [rbp - 0x49]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x14003ab20
jmp 0x14003ac40
lea r9, [rbp - 0x59]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x14003ac10
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.14004e5b0
nop
mov dword [rbp - 0x61], 3
movsd xmm0, qword [str.zLTxp]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [str.381C]
mov dword [rbp - 0x51], eax
cmp esi, 2
jl 0x14003ad54
movdqa xmm4, xmmword [0x1400d1560]
movdqa xmm3, xmmword [0x1400d0ff0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d1010]
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1400d1080]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.zLTxp]
xorps xmm3, xmm0
movd dword [rbp - 0x59], xmm3
movdqa xmm2, xmmword [0x1400d1000]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d1010]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xc
jl 0x14003ad60
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.14004e5b0
nop
mov dword [rbp - 0x61], 7
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.14003a220
nop
mov qword [rdi], rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14003adf8
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003adf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003adf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae8c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14003ae37
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ae31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae8c0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14003ae75
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ae70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ae8c0
test r15d, r15d
je 0x14003aea1
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003ae8d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14003aea1
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 + 0x17]
xor rcx, rsp
call fcn.1400ae470
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret