Function at 0x1400366f0
Capabilities:
Terminate process

Disassembly:
jmp 0x1400366f0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rdi, rsp
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov qword [rsp + 0x1f8], 0xfffffffffffffffe
call fcn.140044130
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140043ee0
movzx eax, byte [0x1401e7d19]
test eax, eax
jne 0x1400367e7
mov ecx, 0x1b8
call fcn.140043a70
mov qword [rsp + 0x1b0], rax
cmp qword [rsp + 0x1b0], 0
je 0x1400367bc
lea rax, [0x1401e7d19]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movsd qword [rsp + 0x38], xmm0
lea rax, [0x140170ffe]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x3b
lea r8, str.C:BuildAgentwork6ef1b807bd9726a1CommonServiceControlHelper.h
mov edx, 0x48
mov rcx, qword [rsp + 0x1b0]
call fcn.140043f00
mov qword [rsp + 0x200], rax
jmp 0x1400367c8
mov qword [rsp + 0x200], 0
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [0x1401e7d20], rax
mov rcx, qword [rsp + 0x50]
call fcn.140043ef0
mov rax, qword [0x1401e7d20]
add rax, 0x180
mov rcx, rax
call fcn.140043ee0
mov rax, qword [rsp + 0x2a0]
mov rcx, rax
call fcn.14000110e
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.140001555
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1401e7d20]
mov rcx, qword [rcx]
mov qword [rsp + 0x218], rcx
mov rdx, qword [rsp + 0x210]
mov r9, qword [rdx]
mov r8d, eax
lea rdx, str.__u____s_:_Terminating_service...
mov rcx, qword [0x1401e7d20]
mov rax, qword [rsp + 0x218]
call qword [rax + 0x90]
nop
lea rcx, [rsp + 0x1b8]
call fcn.14000219e
mov rax, qword [0x1401e7d20]
mov rax, qword [rax]
mov rcx, qword [0x1401e7d20]
call qword [rax + 0x78]
mov rax, qword [0x1401e7d20]
add rax, 0x180
mov rcx, rax
call fcn.140043ef0
xor eax, eax
test eax, eax
jne 0x140036720
lea rcx, [rsp + 0x70]
call fcn.140001b54
nop
lea rcx, [rsp + 0x70]
call fcn.14000131b
nop
jmp 0x1400368d9
lea rcx, [rsp + 0x118]
call fcn.140001703
nop
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x70]
call fcn.1400014d8
lea rcx, [rsp + 0x158]
call fcn.140001537
nop
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400016f4
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0
jge 0x140036b08
call fcn.140044130
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.140043ee0
movzx eax, byte [0x1401e7d39]
test eax, eax
jne 0x140036a01
mov ecx, 0x1b8
call fcn.140043a70
mov qword [rsp + 0x1e0], rax
cmp qword [rsp + 0x1e0], 0
je 0x1400369d6
lea rax, [0x1401e7d39]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movsd qword [rsp + 0x38], xmm0
lea rax, [0x140170ffe]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x4f
lea r8, str.C:BuildAgentwork6ef1b807bd9726a1CommonServiceControlHelper.h
mov edx, 0x20
mov rcx, qword [rsp + 0x1e0]
call fcn.140043f00
mov qword [rsp + 0x240], rax
jmp 0x1400369e2
mov qword [rsp + 0x240], 0
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [0x1401e7d40], rax
mov rcx, qword [rsp + 0x168]
call fcn.140043ef0
mov rax, qword [0x1401e7d40]
add rax, 0x180
mov rcx, rax
call fcn.140043ee0
mov rax, qword [rsp + 0x2a0]
mov rcx, rax
call fcn.14000110e
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.140001555
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x1401e7d40]
mov rcx, qword [rcx]
mov qword [rsp + 0x258], rcx
mov edx, dword [rsp + 0x164]
mov dword [rsp + 0x20], edx
mov rdx, qword [rsp + 0x250]
mov r9, qword [rdx]
mov r8d, eax
lea rdx, str.__u____s_:_Cannot_query_service_config__hr_x
mov rcx, qword [0x1401e7d40]
mov rax, qword [rsp + 0x258]
call qword [rax + 0x90]
nop
lea rcx, [rsp + 0x1e8]
call fcn.14000219e
mov rax, qword [0x1401e7d40]
mov rax, qword [rax]
mov rcx, qword [0x1401e7d40]
call qword [rax + 0x78]
mov rax, qword [0x1401e7d40]
add rax, 0x180
mov rcx, rax
call fcn.140043ef0
xor eax, eax
test eax, eax
jne 0x140036934
mov edx, dword [rsp + 0x164]
lea rcx, str.Cannot_query_service_config__hr_x_n
call fcn.1400a3f40
mov ecx, dword [rsp + 0x164]
call fcn.1400020ae
lea rcx, [rsp + 0x178]
call fcn.1400013f2
nop
lea rcx, [rsp + 0x158]
call fcn.140001528
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x178]
call fcn.140001b4f
lea rcx, [rsp + 0x178]
call fcn.1400012da
mov r8d, eax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x178]
call fcn.140001bb3
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
mov rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0x178]
call fcn.140001276
nop
lea rcx, [rsp + 0x1f0]
call fcn.140001195
mov dword [rsp + 0x184], 0
jmp 0x140036bb1
mov eax, dword [rsp + 0x184]
inc eax
mov dword [rsp + 0x184], eax
cmp dword [rsp + 0x184], 0x64
jae 0x140036d2a
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x2a0]
call fcn.140001cc1
mov dword [rsp + 0x188], 0
jmp 0x140036c0b
mov eax, dword [rsp + 0x188]
inc eax
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x118]
call fcn.14000181b
mov rcx, qword [rsp + 0x270]
cmp rcx, rax
jae 0x140036d1a
lea rcx, [rsp + 0x178]
call fcn.1400012f3
mov qword [rsp + 0x278], rax
mov ecx, dword [rsp + 0x188]
mov edx, ecx
lea rcx, [rsp + 0x118]
call fcn.1400023a6
add rax, 8
mov rcx, qword [rsp + 0x278]
mov rdx, rcx
mov rcx, rax
call fcn.140001c1c
test eax, eax
jne 0x140036d15
mov eax, dword [rsp + 0x188]
mov edx, eax
lea rcx, [rsp + 0x118]
call fcn.1400023a6
mov qword [rsp + 0x280], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x280]
cmp dword [rcx], eax
je 0x140036d15
mov eax, dword [rsp + 0x188]
mov edx, eax
lea rcx, [rsp + 0x118]
call fcn.1400023a6
mov r8d, dword [rax]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
lea rcx, [rsp + 0x198]
call fcn.140002162
nop
lea rcx, [rsp + 0x198]
call fcn.1400013bb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x1a4], eax
lea rcx, [rsp + 0x198]
call fcn.140001fcd
jmp 0x140036bfb
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140036ba1
lea rcx, [rsp + 0x178]
call fcn.140001d89
nop
lea rcx, [rsp + 0x158]
call fcn.140001dd4
nop
lea rcx, [rsp + 0x118]
call fcn.1400010aa
nop
lea rcx, [rsp + 0x70]
call fcn.140001a9b
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.14009e8b0
add rsp, 0x290
pop rdi
ret