Function at 0x1800012c0
Capabilities:
Create process on windows
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x18000a0c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
mov dword [rbp - 0x29], 0x68
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
call fcn.180001190
mov r11, rax
cmp byte [rax + 0x38], 0
je 0x180001322
mov rcx, rax
call section..text
mov byte [r11 + 0x38], 0
lea rax, [rbp - 0x51]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str.__C_whoami__all___C:ProgramDatawhoamiall.txt
lea rax, [rbp - 0x29]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rcx, r11
lea rax, str.C:Windows
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbp - 0x51]
call qword [0x180007970]
mov rcx, qword [rbp - 0x49]
call qword [0x180007970]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x180001526
mov r8d, 0x2c
mov qword [rsp + 0x110], rbx
lea rdx, str.StorSvc
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x1800014f2
lea rax, [rbp - 0x59]
mov r9d, 0x24
lea r8, [rbp - 0x51]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1800014e9
mov eax, dword [rbp - 0x4d]
cmp eax, 1
je 0x1800014e9
mov qword [rsp + 0x118], r14
cmp eax, 3
jne 0x18000147b
mov r14d, 0x2710
mov eax, 0xcccccccd
mul dword [rbp - 0x39]
shr edx, 3
cmp edx, 0x3e8
jae 0x18000142b
mov edx, 0x3e8
jmp 0x180001432
cmp edx, r14d
cmova edx, r14d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x59]
mov r9d, 0x24
lea r8, [rbp - 0x51]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1800014e1
cmp dword [rbp - 0x4d], 1
je 0x1800014e1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x1800014e1
cmp dword [rbp - 0x4d], 3
je 0x180001411
lea r8, [rbp - 0x51]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1800014e1
cmp dword [rbp - 0x4d], 1
je 0x1800014e1
mov ecx, dword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x59]
mov r9d, 0x24
lea r8, [rbp - 0x51]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1800014e1
cmp dword [rbp - 0x4d], 1
je 0x1800014e1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, edi
sub rax, rcx
cmp rax, 0x7530
ja 0x1800014e1
cmp dword [rbp - 0x4d], 1
jne 0x180001497
mov r14, qword [rsp + 0x118]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x110]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800023c0
lea r11, [rsp + 0x100]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x180001505