Function at 0x140003954
Capabilities:
Create service

Disassembly:
jmp 0x1400b0a20
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x520
lea rdi, [rsp + 0x70]
mov ecx, 0x12c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x530]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x518], rax
lea rax, [rsp + 0x390]
mov qword [rsp + 0x3d0], rax
mov rdx, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x3d0]
call fcn.1400093a9
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x470], rax
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x478], rax
xor r9d, r9d
mov r8, qword [rsp + 0x470]
mov rdx, qword [rsp + 0x478]
lea rcx, [rsp + 0x80]
call fcn.140006e60
nop
lea rcx, [rsp + 0x80]
call fcn.14000187f
movzx eax, al
test eax, eax
jne 0x1400b0b46
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0xd8]
call fcn.140001460
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x3d8]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x3d8]
call fcn.140009be2
nop
lea rcx, [rsp + 0xd8]
call fcn.14000278e
nop
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0x108]
call fcn.14000411f
nop
lea rcx, [rsp + 0x108]
call fcn.1400025d6
mov dword [rsp + 0x490], eax
lea rcx, [rsp + 0x108]
call fcn.140002de7
mov qword [rsp + 0x498], rax
mov r8d, dword [rsp + 0x490]
mov rdx, qword [rsp + 0x498]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400b0c06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x138]
call fcn.140001460
mov qword [rsp + 0x4a0], rax
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x4a8], rax
mov rdx, qword [rsp + 0x4a8]
lea rcx, [rsp + 0x3f0]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x3f0]
call fcn.140009be2
nop
lea rcx, [rsp + 0x138]
call fcn.14000278e
nop
mov edx, 1
lea rcx, [rsp + 0x170]
call fcn.14000917e
nop
lea rdx, [0x140258b48]
lea rcx, [rsp + 0x170]
call fcn.1400051aa
mov qword [rsp + 0x4b0], rax
lea rcx, [rsp + 0x108]
call fcn.140003bb1
mov qword [rsp + 0x4b8], rax
mov rdx, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x4b0]
call fcn.1400051aa
lea rdx, [0x140258b44]
mov rcx, rax
call fcn.1400051aa
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x170]
call fcn.140003431
mov qword [rsp + 0x4c0], rax
mov rdx, qword [rsp + 0x4c0]
lea rcx, [rsp + 0x108]
call fcn.140007522
lea rcx, [rsp + 0x268]
call fcn.140007cb1
lea rax, [rsp + 0x408]
mov qword [rsp + 0x448], rax
mov rdx, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x448]
call fcn.1400093a9
mov qword [rsp + 0x4c8], rax
mov rax, qword [rsp + 0x4c8]
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x4d0]
mov qword [rsp + 0x4d8], rax
lea rcx, [rsp + 0x108]
call fcn.140003bb1
mov qword [rsp + 0x4e0], rax
mov rax, qword [rsp + 0x530]
add rax, 0x28
mov rcx, rax
call fcn.140003bb1
mov qword [rsp + 0x4e8], rax
mov rax, qword [rsp + 0x530]
mov rcx, rax
call fcn.140003bb1
mov qword [rsp + 0x4f0], rax
lea rcx, [rsp + 0x80]
call fcn.140005ce5
mov qword [rsp + 0x4f8], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x4e0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
mov r8, qword [rsp + 0x4e8]
mov rdx, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4f8]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x500], rax
xor r9d, r9d
mov r8, qword [rsp + 0x4d8]
mov rdx, qword [rsp + 0x500]
lea rcx, [rsp + 0x2a0]
call fcn.140006e60
nop
lea rcx, [rsp + 0x2a0]
call fcn.14000187f
movzx eax, al
test eax, eax
jne 0x1400b0e6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x2f8]
call fcn.140001460
mov qword [rsp + 0x508], rax
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x510], rax
mov rdx, qword [rsp + 0x510]
lea rcx, [rsp + 0x450]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x450]
call fcn.140009be2
nop
lea rcx, [rsp + 0x2f8]
call fcn.14000278e
nop
mov dword [rsp + 0x328], 1
mov dword [rsp + 0x32c], 0x3e8
mov dword [rsp + 0x330], 1
mov dword [rsp + 0x334], 0x1388
mov dword [rsp + 0x338], 1
mov dword [rsp + 0x33c], 0x7530
mov dword [rsp + 0x358], 0xffffffff
mov qword [rsp + 0x360], 0
mov qword [rsp + 0x368], 0
mov dword [rsp + 0x370], 3
lea rax, [rsp + 0x328]
mov qword [rsp + 0x378], rax
lea rcx, [rsp + 0x2a0]
call fcn.1400027f7
nop
lea rcx, [rsp + 0x170]
call fcn.140002c8e
nop
lea rcx, [rsp + 0x108]
call fcn.140007cb1
nop
lea rcx, [rsp + 0x80]
call fcn.1400027f7
mov rcx, rsp
lea rdx, [0x14025a090]
call fcn.140007996
mov rcx, qword [rsp + 0x518]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x520
pop rdi
ret