Function at 0x140007cc0
Capabilities:
Create process on windows
Hide thread from debugger

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
xor edi, edi
mov qword [rsp + 0x78], rcx
xorps xmm0, xmm0
mov qword [rbp + 0x118], rdi
mov rbx, rcx
mov qword [rbp - 0x50], rdi
lea rax, str.EnableWarnings
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x38], rdi
mov r12d, edi
mov qword [rbp - 0x40], rdi
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x128], rdi
mov r13, rdx
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x120], rdi
movups xmmword [rbp + 0x160], xmm0
mov dword [rsp + 0x70], edi
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp - 0x28], rax
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp - 0x10], rdx
movups xmmword [rbp + 0x190], xmm0
mov byte [rsp + 0x60], 0
movups xmmword [rbp + 0x1a0], xmm0
mov byte [rbp - 0x60], 0
mov qword [rbp - 0x30], 0x1c
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
nop
test eax, eax
je 0x140007dab
mov r8, qword [r13 + 0x30]
lea r9, str.The_process_will_be_restarted_with_the_same_command_line__working_directory_and_privileges.
lea rdx, str.restart
mov byte [rsp + 0x20], dil
mov rcx, rbx
mov r8, qword [r8 + 8]
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je 0x140007dbe
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x40]
cmp qword [r13 + 0x20], rcx
jne 0x140007dc5
xor al, al
jmp 0x140008f39
mov rcx, qword [r13 + 0x60]
mov qword [rsp + 0x350], rsi
mov qword [rsp + 0x308], r14
mov qword [rsp + 0x300], r15
mov r15d, 0xffffffff
test rcx, rcx
je 0x140008d59
call sym.SystemInformer.exe_PhGetFileName
mov qword ds:[rbp - 0x48], rax
test rax, rax
je 0x140008d5d
cmp qword [rax], rdi
je 0x140008d5d
mov rcx, qword [rax + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
nop dword [rax + rax]
test al, al
je 0x140008d5d
cmp dword [0x1402cddb8], 3
lea rcx, [rbp + 0x118]
mov rax, qword [r13 + 0x20]
mov esi, 1
mov dword [rbp + 0x17c], esi
mov edx, 0x1010
mov word [rbp + 0x180], si
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x140], 0x70
mov qword [rbp + 0x18], rdi
jl 0x140007e70
lea r8, [rbp + 0x10]
call fcn.140176ee0
jmp 0x140007eaa
xorps xmm0, xmm0
mov dword [rbp + 0xb0], 0x30
lea r9, [rbp + 0x10]
mov qword [rbp + 0xb8], rdi
lea r8, [rbp + 0xb0]
mov dword [rbp + 0xc8], edi
movdqu xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xc0], rdi
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
test eax, eax
js 0x140008d62
mov rcx, qword ds:[rbp + 0x118]
lea rdx, [rbp - 0x50]
call sym.SystemInformer.exe_PhGetProcessCommandLine
mov ebx, eax
test eax, eax
js 0x140008d62
mov edx, dword [r13 + 0xd8]
lea r8, [rbp - 0x58]
mov rcx, qword [rbp + 0x118]
shr edx, 9
and edx, esi
shl edx, 0x10
call sym.SystemInformer.exe_PhGetProcessPebString
mov ebx, eax
test eax, eax
js 0x140008d62
mov rcx, qword ds:[rbp + 0x118]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp + 0xe0]
mov qword [rbp + 0x118], rdi
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
mov r8, qword [r13 + 0x20]
lea rcx, [rbp + 0x118]
mov edx, dword [rax + 8]
and edx, esi
shl edx, 0x11
or edx, 0x1081
call sym.SystemInformer.exe_PhOpenProcess
mov ebx, eax
test eax, eax
js 0x140008d62
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r8d, 0x30
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xorps xmm0, xmm0
mov rdx, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov dword [rax + 4], esi
mov rcx, qword [rbp + 0x118]
mov qword [rbp + 0x130], rcx
mov qword [rbp + 0x1a8], rax
mov eax, dword [rax + 8]
cmp eax, dword [rdx + 4]
jb 0x140007fa5
mov ebx, 0xc0000017
jmp 0x140008d62
or dword [rdx], esi
inc rax
lea rax, [rax + rax*2]
mov qword [rdx + rax*8], 0x20000
mov eax, dword [rdx + 8]
lea rcx, [rax + rax*2]
mov qword [rdx + rcx*8 + 0x20], 8
mov eax, dword [rdx + 8]
lea rcx, [rax + rax*2]
lea rax, [rbp + 0x130]
mov qword [rdx + rcx*8 + 0x28], rax
lea rcx, [rbp - 8]
inc dword [rdx + 8]
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
mov r14d, dword [0x1402cddb8]
lea r8, [rbp + 0x120]
mov ebx, dword [rax + 8]
and ebx, esi
mov rsi, qword [rbp + 0x118]
shl ebx, 0x11
mov rcx, rsi
or ebx, 0xf
mov edx, ebx
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
jne 0x14000802e
cmp r14d, 5
jne 0x140008075
lea r8, [rbp + 0x120]
mov edx, ebx
mov rcx, rsi
call fcn.140177020
test eax, eax
js 0x140008075
mov rcx, qword [rbp + 0x120]
lea rax, [rbp + 0x1f4]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1f0]
mov edx, 0x1a
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
mov ebx, eax
test eax, eax
js 0x140008d62
cmp dword [rbp + 0x1f0], edi
setne byte [rsp + 0x60]
jmp 0x1400080bf
lea rcx, ds:[rbp + 0xf8]
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
mov rcx, qword [rbp + 0x118]
lea r8, [rbp + 0x120]
mov edx, dword [rax + 8]
and edx, 1
shl edx, 0x11
or edx, 8
cmp dword [0x1402cddb8], 3
jl 0x1400080af
call fcn.140177020
jmp 0x1400080b5
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov ebx, eax
test eax, eax
js 0x140008d62
lea rcx, [rbp - 8]
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
je 0x1400080fa
mov rcx, qword ds:[rbp + 0x118]
lea r8, [rbp - 0x38]
mov edx, 0x15
call sym.SystemInformer.exe_PhGetObjectSecurity
mov rcx, qword [rbp + 0x120]
lea r8, [rbp - 0x40]
mov edx, 0x15
call sym.SystemInformer.exe_PhGetObjectSecurity
call fcn.1401724c0
nop
test rax, rax
je 0x140008136
call fcn.1401724c0
mov rdx, qword ds:[rbp + 0x120]
lea rcx, [rbp + 0x128]
xor r8d, r8d
call qword [case.0x14013d64a.0]
mov ecx, edi
mov edx, 2
test eax, eax
cmovne ecx, edx
mov dword [rsp + 0x70], ecx
mov rcx, qword ds:[rbp + 0x118]
lea r8, [rbp + 0x1b0]
mov r9d, 0x40
mov qword [rbp + 0x1b0], 0x40
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140008192
mov eax, dword [rbp + 0x1e8]
shr eax, 6
test al, 1
je 0x140008192
mov rdx, qword [rbp + 0x120]
mov rcx, 0xfffffffffffffffe
call sym.SystemInformer.exe_PhImpersonateToken
shr eax, 0x1f
xor al, 1
mov dword [rbp - 0x60], eax
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400081a2
mov rcx, qword ds:[rcx + 8]
jmp 0x1400081a5
mov rcx, rdi
mov rbx, qword ds:[rbp - 0x48]
mov rax, qword [rbp - 0x58]
mov r14, qword [rbp + 0x120]
mov qword [rbp + 0x110], r14
mov rbx, qword [rbx + 8]
test rax, rax
je 0x1400081cf
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
jmp 0x1400081d3
mov qword [rbp - 0x18], rdi
mov rax, qword [rbp + 0x128]
mov r13, rdi
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x68], rdi
test rcx, rcx
je 0x1400081f3
call sym.SystemInformer.exe_PhCreateString
mov r13, rax
test rbx, rbx
je 0x140008212
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov rsi, rax
mov qword [rsp + 0x68], rax
jmp 0x14000845c
lea r9, [rsp + 0x68]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x70]
call sym.SystemInformer.exe_PhParseCommandLineFuzzy
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x14000823a
cmp qword [rsi], rdi
jne 0x1400082b2
mov r14, qword ds:[rbp - 0x70]
test r14, r14
jne 0x14000824f
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x140008287
mov rdx, qword [0x1402ca978]
lea rcx, [r14 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword [rbp - 0x68]
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [r14 + rax], di
test rdx, rdx
je 0x140008287
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020a640
mov rcx, rsi
mov qword [rsp + 0x68], rbx
mov rsi, rbx
test rcx, rcx
je 0x1400082b6
add rcx, 0xfffffffffffffff0
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400082ad
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp - 0x70]
mov rax, qword [0x1402c5910]
mov rdx, qword [0x1402ca978]
lea rbx, [r14 + rax*2]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r15, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], di
mov rbx, qword [rax + 8]
mov r8, qword [0x1402c5910]
mov rcx, rbx
mov rdx, qword [0x1402c5918]
call fcn.14020a640
add rbx, qword [0x1402c5910]
mov r8, r14
mov rdx, qword [rbp - 0x68]
mov rcx, rbx
call fcn.14020a640
mov r8, qword [0x1402c5910]
lea rcx, [r14 + rbx]
mov rdx, qword [0x1402c5918]
call fcn.14020a640
mov rcx, qword [rbp - 0x30]
mov r14, r15
test rcx, rcx
je 0x1400083d1
mov rbx, qword [0x1402c5940]
mov rdx, qword [0x1402ca978]
add rbx, rcx
add rbx, qword [r15]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r14, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], di
mov rbx, qword [rax + 8]
mov r8, qword [r15]
mov rcx, rbx
mov rdx, qword [r15 + 8]
call fcn.14020a640
add rbx, qword [r15]
mov r8, qword [0x1402c5940]
mov rcx, rbx
mov rdx, qword [0x1402c5948]
call fcn.14020a640
add rbx, qword [0x1402c5940]
mov r8, qword [rbp - 0x30]
mov rcx, rbx
mov rdx, qword [rbp - 0x28]
call fcn.14020a640
lea rcx, ds:[r15 - 0x10]
mov r15d, 0xffffffff
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400083ca
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
jmp 0x1400083d7
mov r15d, 0xffffffff
mov rcx, r13
mov r13, r14
test rcx, rcx
je 0x140008400
add rcx, 0xfffffffffffffff0
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400083fb
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x140008455
mov rcx, qword [rsi + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x140008455
mov rcx, qword ds:[rsi + 8]
lea rdx, str..exe
call fcn.14013f660
mov rcx, rsi
test rax, rax
je 0x14000846f
mov rsi, rax
mov qword [rsp + 0x68], rax
test rcx, rcx
je 0x140008455
add rcx, 0xfffffffffffffff0
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008450
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp + 0x110]
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140008479
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x14000848d
mov rsi, rdi
mov qword [rsp + 0x68], rdi
jmp 0x140008435
test rsi, rsi
je 0x140008490
nop
cmp qword [rsi], rdi
je 0x140008490
mov rcx, rsi
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r12, rax
mov ecx, edi
lfence
or ecx, 4
lfence
or ecx, 0x10
and dword [rsp + 0x70], 2
je 0x1400084ac
lfence
bts ecx, 0xa
lfence
bts ecx, 0x13
lfence
bts ecx, 0x1a
test r14, r14
je 0x140008545
test r12, r12
je 0x1400084d5
mov rax, qword [r12 + 8]
jmp 0x1400084d8
mov rax, rdi
test r13, r13
je 0x1400084e3
mov r8, qword [r13 + 8]
jmp 0x1400084e6
mov r8, rdi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1400084f6
mov rdx, qword [rsi + 8]
jmp 0x1400084f9
mov rdx, rdi
lea r9, [rbp + 0x20]
mov qword [rsp + 0x50], r9
lea r9, [rbp + 0x140]
mov qword [rsp + 0x48], r9
mov r9, qword [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
xor r9d, r9d
mov dword [rsp + 0x30], ecx
mov rcx, r14
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400085b7
mov ebx, edi
jmp 0x1400085e7
test r12, r12
je 0x140008551
mov r8, qword [r12 + 8]
jmp 0x140008554
mov r8, rdi
test r13, r13
je 0x14000855f
mov rdx, qword [r13 + 8]
jmp 0x140008562
mov rdx, rdi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x140008572
mov rax, qword [rsi + 8]
jmp 0x140008575
mov rax, rdi
lea r9, [rbp + 0x20]
mov qword [rsp + 0x48], r9
lea r9, [rbp + 0x140]
mov qword [rsp + 0x40], r9
mov r9, qword [rbp - 0x78]
mov qword [rsp + 0x38], r8
xor r8d, r8d
mov qword [rsp + 0x30], r9
xor r9d, r9d
mov dword [rsp + 0x28], ecx
mov rcx, rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400085b7
mov ebx, edi
jmp 0x1400085e7
cmp dword [0x1402bff40], 0xffffffff
nop
jae 0x1400085d5
mov rax, qword gs:[0x30]
mov rsi, qword [rsp + 0x68]
mov eax, dword [rax + 0x68]
jmp 0x1400085db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
test rsi, rsi
je 0x140008605
lea rcx, [rsi - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008605
nop dword [rax]
call fcn.140141ca0
test r13, r13
je 0x140008625
lea rcx, [r13 - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008625
nop dword [rax + rax]
call fcn.140141ca0
test r12, r12
je 0x140008645
lea rcx, [r12 - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008645
nop dword [rax]
call fcn.140141ca0
test ebx, ebx
js 0x1400087b5
mov r12, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140008666
nop word [rax + rax]
call qword [sym.imp.ntdll.dll_NtClose]
movzx esi, byte [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp byte [rbp - 0x60], dil
je 0x140008696
mov r9d, 8
mov qword [rbp - 0x78], rdi
lea r8, [rbp - 0x78]
mov edx, 5
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
test ebx, ebx
js 0x1400087a6
lea rcx, [rbp - 0x30]
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
je 0x140008753
test sil, sil
jne 0x140008753
mov r8, qword [rbp - 0x38]
mov qword [rbp + 0x110], rdi
test r8, r8
je 0x1400086d8
mov edx, 0x15
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtSetSecurityObject]
nop dword [rax + rax]
cmp qword [rbp - 0x40], rdi
je 0x140008753
mov esi, dword [0x1402cddb8]
lea r8, ds:[rbp + 0x110]
mov edx, 0xc0000
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
jne 0x14000872a
cmp esi, 5
jne 0x140008753
lea r8, [rbp + 0x110]
mov edx, 0xc0000
mov rcx, r12
call fcn.140177020
test eax, eax
js 0x140008753
mov r8, qword ds:[rbp - 0x40]
mov edx, 0x15
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetSecurityObject]
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.ntdll.dll_NtClose]
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
lea r8, [rbp + 0x1b0]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140008786
mov ecx, dword ds:[rbp + 0x1d0]
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov rcx, qword [rbp + 0x118]
mov edx, 1
call sym.SystemInformer.exe_PhTerminateProcess
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtResumeProcess]
mov r13, qword [rbp - 0x10]
mov r15d, 0xffffffff
jmp 0x140008d67
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400087c6
nop
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400087d5
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1400087e8
mov rax, qword [rax + 8]
mov qword [rbp - 0x78], rax
jmp 0x1400087ec
mov qword [rbp - 0x78], rdi
mov rcx, qword ds:[rbp - 0x50]
mov r14, qword [rbp + 0x128]
mov qword [rbp + 0x110], r14
test rcx, rcx
je 0x14000880b
mov rcx, qword [rcx + 8]
jmp 0x14000880e
mov rcx, rdi
mov rax, qword [rbp - 0x48]
mov r12, rdi
mov qword [rsp + 0x68], rdi
mov r13, rdi
mov rbx, qword [rax + 8]
test rcx, rcx
je 0x14000882e
call sym.SystemInformer.exe_PhCreateString
mov r12, rax
test rbx, rbx
je 0x14000884e
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov rsi, rax
mov qword [rsp + 0x68], rax
mov r15d, 0xffffffff
jmp 0x140008ad1
lea r9, ds:[rsp + 0x68]
mov rcx, r12
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x70]
call sym.SystemInformer.exe_PhParseCommandLineFuzzy
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x140008878
cmp qword [rsi], rdi
jne 0x140008904
mov r14, qword ds:[rbp - 0x70]
test r14, r14
jne 0x140008892
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1400088d1
mov rdx, qword [0x1402ca978]
lea rcx, ds:[r14 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword ds:[rbp - 0x68]
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r14], di
test rdx, rdx
je 0x1400088d1
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020a640
mov rcx, rsi
mov qword [rsp + 0x68], rbx
mov rsi, rbx
test rcx, rcx
je 0x140008908
add rcx, 0xfffffffffffffff0
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400088ff
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp - 0x70]
mov rax, qword [0x1402c5910]
mov rdx, qword [0x1402ca978]
lea rbx, ds:[r14 + rax*2]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r15, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], di
mov rbx, qword [rax + 8]
mov r8, qword [0x1402c5910]
mov rcx, rbx
mov rdx, qword [0x1402c5918]
call fcn.14020a640
add rbx, qword [0x1402c5910]
mov r8, r14
mov rdx, qword [rbp - 0x68]
mov rcx, rbx
call fcn.14020a640
mov r8, qword [0x1402c5910]
lea rcx, [r14 + rbx]
mov rdx, qword [0x1402c5918]
call fcn.14020a640
mov rcx, qword [rbp - 0x30]
mov r14, r15
test rcx, rcx
je 0x140008a2c
mov rbx, qword [r15]
mov rdx, qword [0x1402ca978]
add rbx, rcx
add rbx, qword [0x1402c5940]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r14, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], di
mov rbx, qword [rax + 8]
mov r8, qword [r15]
mov rcx, rbx
mov rdx, qword [r15 + 8]
call fcn.14020a640
add rbx, qword [r15]
mov r8, qword [0x1402c5940]
mov rcx, rbx
mov rdx, qword [0x1402c5948]
call fcn.14020a640
add rbx, qword [0x1402c5940]
mov r8, qword ds:[rbp - 0x30]
mov rcx, rbx
mov rdx, qword [rbp - 0x28]
call fcn.14020a640
lea rcx, [r15 - 0x10]
mov r15d, 0xffffffff
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008a25
nop dword [rax]
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
jmp 0x140008a32
mov r15d, 0xffffffff
mov rcx, r12
mov r12, r14
test rcx, rcx
je 0x140008a64
add rcx, 0xfffffffffffffff0
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008a5f
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x140008aca
mov rcx, qword [rsi + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x140008aca
mov rcx, qword [rsi + 8]
lea rdx, str..exe
call fcn.14013f660
mov rcx, rsi
test rax, rax
je 0x140008aea
mov rsi, rax
mov qword [rsp + 0x68], rax
test rcx, rcx
je 0x140008aca
add rcx, 0xfffffffffffffff0
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008ac5
nop dword [rax]
call fcn.140141ca0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp + 0x110]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x140008af4
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x140008b06
mov rsi, rdi
mov qword [rsp + 0x68], rdi
jmp 0x140008aa2
test rsi, rsi
je 0x140008b09
cmp qword [rsi], rdi
je 0x140008b09
mov rcx, rsi
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r13, rax
mov ecx, edi
lfence
or ecx, 4
lfence
or ecx, 0x10
cmp dword [rsp + 0x70], edi
je 0x140008b24
lfence
bts ecx, 0xa
lfence
bts ecx, 0x13
lfence
mov rsi, qword [rsp + 0x68]
bts ecx, 0x1a
test rsi, rsi
je 0x140008b42
mov r10, qword [rsi + 8]
jmp 0x140008b45
mov r10, rdi
test r13, r13
je 0x140008b50
mov rax, qword [r13 + 8]
jmp 0x140008b53
mov rax, rdi
test r12, r12
je 0x140008b5f
mov rdx, qword [r12 + 8]
jmp 0x140008b62
mov rdx, rdi
lea r8, [rbp - 8]
xor r9d, r9d
mov qword [rsp + 0x48], r8
lea r8, [rbp + 0x140]
mov qword [rsp + 0x40], r8
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ecx
mov rcx, r10
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140008ba5
mov ebx, edi
jmp 0x140008bd1
cmp dword [0x1402bff40], 0xffffffff
jae 0x140008bc2
mov rax, qword gs:[0x30]
mov rsi, qword [rsp + 0x68]
mov eax, dword [rax + 0x68]
jmp 0x140008bc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
test rsi, rsi
je 0x140008bf0
lea rcx, [rsi - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008bf0
call fcn.140141ca0
test r12, r12
je 0x140008c10
lea rcx, [r12 - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008c10
call fcn.140141ca0
test r13, r13
je 0x140008c2f
lea rcx, [r13 - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008c2f
call fcn.140141ca0
test ebx, ebx
js 0x140008c45
mov r12, qword ds:[rbp - 8]
mov rcx, qword [rbp]
jmp 0x140008655
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140008c54
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp]
test rcx, rcx
je 0x140008c66
nop dword [rax]
call qword [sym.imp.ntdll.dll_NtClose]
movzx esi, byte [rsp + 0x60]
mov r12, rdi
test sil, sil
je 0x14000866b
mov rax, qword ds:[rbp - 0x50]
test rax, rax
je 0x140008c8b
mov rdx, qword [rax + 8]
jmp 0x140008c8e
mov rdx, rdi
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140008c9d
mov rcx, qword [rax + 8]
jmp 0x140008ca0
mov rcx, rdi
mov rax, qword ds:[rbp - 0x48]
xorps xmm0, xmm0
mov r14, qword [rsp + 0x78]
movups xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x40], 0x70
mov rax, qword [rax + 8]
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x68], rcx
lea rcx, [rbp + 0x40]
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x58], rax
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x44], 0x800540
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x48], r14
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0x60], rdx
movups xmmword [rbp + 0xa0], xmm0
mov dword [rbp + 0x70], 5
call fcn.14013b960
test al, al
je 0x140008d1b
mov r12, qword [rbp + 0xa8]
mov ebx, edi
jmp 0x140008670
cmp dword [0x1402bff40], 0xffffffff
jae 0x140008d45
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
jmp 0x140008670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov ebx, eax
jmp 0x140008670
mov qword [rbp - 0x48], rdi
mov ebx, 0xc000000f
mov r14, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x120]
mov rsi, qword [rsp + 0x350]
test rcx, rcx
je 0x140008d86
nop
call qword [sym.imp.ntdll.dll_NtClose]
test r12, r12
je 0x140008d98
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp + 0x118]
test rcx, rcx
je 0x140008daf
call qword [sym.imp.ntdll.dll_NtClose]
mov r8, qword [rbp + 0x1a8]
test r8, r8
je 0x140008dce
mov rcx, qword [0x1402caad0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp qword [rbp + 0x128], rdi
je 0x140008e06
nop dword [rax + rax]
call fcn.140172680
test rax, rax
je 0x140008e06
call fcn.140172680
mov rcx, qword ds:[rbp + 0x128]
call qword [case.0x14013d64a.0]
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x140008e26
mov rcx, qword [0x1402caad0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140008e46
mov rcx, qword [0x1402caad0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140008e6e
lea rcx, ds:[rax - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008e6e
call fcn.140141ca0
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140008e95
lea rcx, [rax - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008e95
call fcn.140141ca0
mov rax, qword ds:[rbp - 0x48]
test rax, rax
je 0x140008ec5
lea rcx, [rax - 0x10]
lock xadd dword [rcx + 8], r15d
cmp r15d, 1
jne 0x140008ec5
nop dword [rax]
call fcn.140141ca0
mov r15, qword [rsp + 0x300]
test ebx, ebx
jns 0x140008f2f
cmp qword [r13 + 0x20], rdi
lea rdx, str.restart
lfence
mov r8, qword [r13 + 0x30]
mov r8, qword [r8 + 8]
jl 0x140008f0a
mov r9d, dword ds:[r13 + 0x20]
lea rcx, str.Unable_to__s__s__PID__lu_
call fcn.140001a60
jmp 0x140008f16
lea rcx, str.Unable_to__s__s
call fcn.140001a60
mov rdx, qword [rax + 8]
mov r9d, edi
mov r8d, ebx
mov rcx, r14
call sym.SystemInformer.exe_PhShowContinueStatus
xor al, al
jmp 0x140008f31
mov al, 1
mov r14, qword [rsp + 0x308]
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x310
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret