Function at 0x140032510
Capabilities:
Create process on windows
Query service configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x100
mov rax, qword [0x140064018]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r8d, 1
mov rdx, rdi
mov rcx, rax
mov r14, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x14003258a
cmp eax, 0x7a
jne 0x140032761
mov ebx, dword [rsp + 0x70]
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rsp + 0x70]
mov r8d, ebx
mov rdx, rax
mov rcx, rbp
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x140032761
test rsi, rsi
je 0x140032761
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x140032761
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rdx + rax], 0
jne 0x1400325d7
test rax, rax
je 0x14003279d
lea r8, [0x14005e78c]
lea rcx, [rsp + 0x50]
call fcn.14003f724
test eax, eax
jne 0x14003279d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140032611
call fcn.14003ada4
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140032611
add rbx, 0x19
mov edx, 1
mov rcx, rbx
call fcn.14003853c
mov rsi, rax
test rax, rax
je 0x140032689
lea r8, [0x14005ea18]
mov rdx, rbx
mov rcx, rax
call fcn.140038690
lea r8, [0x14005e9f0]
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
lea r8, [0x14005ea24]
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
lea r8, [0x14005ea00]
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
xorps xmm0, xmm0
xor ecx, ecx
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0xe0], rax
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rdx, rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], ecx
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0x80], 0x68
movups xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xbc], 1
movups xmmword [rsp + 0x90], xmm0
mov word [rsp + 0xc0], cx
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140032752
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x14005ea0c]
mov rcx, rdi
call fcn.140032c90
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140036180
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140032775