Function at 0x180033180
Capabilities:
Acquire debug privileges
Enumerate processes
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x18019e040]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r13d, r13d
mov r15d, r13d
mov dword [rbp + 0x10], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x10]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180033235
lea r8, [rbp + 0x70]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rbp + 0x10]
test eax, eax
je 0x18003322f
mov dword [rbp + 0x20], 1
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x24], rax
mov dword [rbp + 0x2c], 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 0x10
lea r8, [rbp + 0x20]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8d, 1
lea rdx, [0x1801894ac]
lea rcx, [rsp + 0x30]
call fcn.180030590
nop
lea rdx, [0x1801894b0]
lea rcx, [rsp + 0x50]
call fcn.1800309d0
nop
mov byte [rsp + 0x70], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov r8d, 0xc
lea rdx, str.skript.gg0Y0
lea rcx, [rsp + 0x78]
call fcn.180030590
nop
lea rdx, str.Lsass.exe
lea rcx, [rbp - 0x68]
call fcn.1800309d0
nop
mov byte [rbp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov r8d, 9
lea rdx, str.skript.gg
lea rcx, [rbp - 0x40]
call fcn.180030590
nop
lea rdx, str.Lsass.exe
lea rcx, [rbp - 0x20]
call fcn.1800309d0
nop
mov byte [rbp], 0
lea rax, [rsp + 0x30]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x78]
call fcn.180034950
nop
lea r9, [0x180033810]
mov edx, 0x48
mov r8d, 3
lea rcx, [rsp + 0x30]
call fcn.1800a10c0
mov r14, qword [rbp + 0x78]
mov r12, qword [rbp + 0x80]
cmp r14, r12
je 0x180033781
lea rdx, [r14 + 0x20]
movzx ebx, byte [rdx + 0x20]
lea rcx, [rbp + 0x50]
call fcn.180035c80
nop
mov rdx, r14
lea rcx, [rbp + 0x90]
call fcn.180035de0
nop
test bl, bl
je 0x1800334f7
xor edx, edx
xor ecx, ecx
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x18003339d
mov edi, r13d
jmp 0x18003361a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0xb0]
call fcn.180035920
nop
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r8, qword [rbp + 0x50]
mov rax, qword [rbp + 0x60]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xb0]
call fcn.1800364c0
or r15d, 3
lea rcx, [rbp + 0xb0]
call fcn.180035830
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x180033478
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033473
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800337d6
call fcn.1800a0bc0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
test rdi, rdi
jne 0x18003349e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, r13d
jmp 0x18003361a
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0x130]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, rdi
test eax, eax
jne 0x1800334dd
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, r13d
jmp 0x18003361a
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [rbp + 0x14c]
jmp 0x18003361a
mov edi, r13d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18003361a
mov dword [rbp + 0x160], 0x130
lea rdx, [rbp + 0x160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180033611
nop word [rax + rax]
lea rdx, [rbp + 0x18c]
lea rcx, [rbp + 0x30]
call fcn.1800320e0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rcx, qword [rbp + 0x30]
call fcn.1800dae64
mov rdx, qword [rbp + 0x48]
test eax, eax
je 0x1800335cf
cmp rdx, 7
jbe 0x1800335b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800335b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800337dc
call fcn.1800a0bc0
lea rdx, [rbp + 0x160]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180033540
jmp 0x180033611
mov edi, dword [rbp + 0x168]
cmp rdx, 7
jbe 0x180033611
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003360c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800337dc
call fcn.1800a0bc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1800336f6
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1800336f6
mov ecx, 0x38
call fcn.1800a1058
mov rbx, rax
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.180035de0
mov qword [rbx + 0x20], rsi
mov dword [rbx + 0x28], edi
lea rax, [0x180033160]
mov qword [rbx + 0x30], rax
mov qword [rbp + 0x30], rbx
or r15d, 4
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x180037fc0]
xor edx, edx
xor ecx, ecx
call fcn.1800db118
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1800337c7
cmp dword [rbp + 0x28], 0
je 0x1800337bc
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbp + 0x28], eax
je 0x1800337ff
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1800a9d3c
test eax, eax
jne 0x1800337f4
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp + 0x28], 0
jne 0x1800337ee
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x180033738
mov rcx, qword [rbp + 0x90]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033732
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800337e2
call fcn.1800a0bc0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x180033774
mov rcx, qword [rbp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003376f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800337e8
call fcn.1800a0bc0
add r14, 0x48
cmp r14, r12
jne 0x180033353
lea rcx, [rbp + 0x78]
call fcn.180035f80
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1800a0900
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call fcn.1800a20ec
nop
mov dword [rbp + 0x28], r13d
mov ecx, 6
call fcn.1800a20ec
nop
call fcn.1800daca0
int3
call fcn.1800daca0
nop
call fcn.1800daca0
nop
call fcn.1800daca0
nop
call fcn.1800db204
nop
mov ecx, 2
call fcn.1800a20ec
int3
mov ecx, 5
call fcn.1800a20ec
int3