Function at 0x1800012e0
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
mov dword [rbp - 0x29], 0x68
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
lea rcx, str.c:windows_system32cmd.exe
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
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 qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x18000153f
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 0x18000150b
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 0x180001502
mov eax, dword [rbp - 0x4d]
cmp eax, 1
je 0x180001502
mov qword [rsp + 0x118], r14
cmp eax, 3
jne 0x18000148e
mov r14d, 0x2710
nop word [rax + rax]
mov eax, 0xcccccccd
mul dword [rbp - 0x39]
shr edx, 3
cmp edx, 0x3e8
jae 0x18000143a
mov edx, 0x3e8
jmp 0x180001441
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 0x1800014fa
cmp dword [rbp - 0x4d], 1
je 0x1800014fa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x1800014fa
cmp dword [rbp - 0x4d], 3
je 0x180001420
call section..text
lea r8, [rbp - 0x51]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1800014fa
cmp dword [rbp - 0x4d], 1
je 0x1800014fa
nop
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 0x1800014fa
cmp dword [rbp - 0x4d], 1
je 0x1800014fa
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, edi
sub rax, rcx
cmp rax, 0x7530
ja 0x1800014fa
cmp dword [rbp - 0x4d], 1
jne 0x1800014b0
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.180001580
lea r11, [rsp + 0x100]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x18000151e