Function at 0x14012aa80
Capabilities:
Map section object

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c8]
sub rsp, 0x3c8
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r15, qword [sym.ProcessHacker.exe_PhStdGetClientIdName]
xor eax, eax
mov r14, qword [rbp + 0x330]
mov esi, eax
lea rax, str.EtwRegistration
mov qword [rsp + 0x60], r8
mov rdi, r8
mov qword [rbp + 0x90], rax
mov r13, rdx
mov qword [rsp + 0x50], r14
mov r12, rcx
mov qword [rbp - 0x50], r15
mov r8b, 1
mov qword [rbp + 0x88], 0x1e
lea rdx, [rbp + 0x88]
mov rcx, r9
mov rbx, r9
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012abae
mov rcx, qword [0x140213db0]
test rcx, rcx
je 0x14012bd2f
lea rax, [rbp + 0x140]
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x128], rax
xor r9d, r9d
xor eax, eax
mov qword [rbp + 0x118], r13
mov dword [rsp + 0x48], eax
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rbp + 0x138], rax
lea rax, [rbp + 0x110]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x120], 6
mov dword [rbp + 0x130], 0x18
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x14012bd2f
lea rcx, [rbp + 0x140]
call sym.ProcessHacker.exe_PhGetEtwPublisherName
mov rsi, rax
jmp 0x14012bd1e
lea r14, [0x1401b5d98]
mov qword [rbp - 8], 8
mov r8b, 1
mov qword [rbp], r14
lea rdx, [rbp - 8]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012adc6
mov rcx, rdi
call sym.ProcessHacker.exe_PhResolveDevicePrefix
mov rsi, rax
test rax, rax
jne 0x14012abf9
mov rsi, rdi
test rdi, rdi
je 0x14012ac06
lock inc dword [rdi - 8]
cmp qword ds:[rsi], 0
jne 0x14012bd19
mov rcx, qword [0x140213db0]
mov r15, rsi
test rcx, rcx
je 0x14012bd19
mov qword [rbp + 0x98], r12
lea rax, [rbp - 0x38]
xor r12d, r12d
mov qword [rbp + 0xb0], rax
mov dword [rsp + 0x48], r12d
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], r12
xor r9d, r9d
mov dword [rsp + 0x38], 0x30
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp + 0xc8]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov qword [rbp + 0xa0], r13
mov dword [rbp + 0xa8], 8
mov dword [rbp + 0xb8], 8
mov qword [rbp + 0xc0], r12
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x14012bd19
mov rcx, qword ds:[rbp - 0x38]
test rcx, rcx
je 0x14012bd19
lea r8, [rbp - 0x50]
lea edx, [r12 + 1]
call fcn.14011b4d0
test eax, eax
js 0x14012adbd
mov rdi, qword [rbp - 0x50]
movzx eax, word [rdi]
test ax, ax
jne 0x14012acd5
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov r14, rax
jmp 0x14012ad14
mov rdx, qword [0x140213b58]
lea rcx, [rax + 0x12]
mov rsi, qword [rdi + 8]
mov rbx, rax
call sym.ProcessHacker.exe_PhCreateObject
mov r14, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [r14 + 8], rax
mov word [rax + rbx], r12w
test rsi, rsi
je 0x14012ad14
mov rcx, qword [r14 + 8]
mov r8, rbx
mov rdx, rsi
call fcn.140165120
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [0x140210bc0]
add rbx, qword ds:[r14]
mov rdx, qword [0x140213b58]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], r12w
mov r8, qword [0x140210bc0]
mov rdx, qword [str.Unnamed_file:]
mov rcx, qword [rsi + 8]
call fcn.140165120
mov rcx, qword [rsi + 8]
add rcx, qword [0x140210bc0]
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
call fcn.140165120
mov rdi, 0xffffffffffffffff
test r15, r15
je 0x14012adaa
lea rcx, ds:[r15 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012adaa
call fcn.140106290
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012adbd
call fcn.140106290
mov rcx, qword [rbp - 0x38]
jmp 0x14012bd13
lea rax, [0x1401b7858]
mov qword [rbp + 8], 6
mov r8b, 1
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 8]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012b026
test rdi, rdi
je 0x14012ae05
cmp qword [rdi], rsi
je 0x14012ae05
mov rax, rdi
jmp 0x14012bd37
xor eax, eax
lea r9, [rbp - 0x30]
mov dword [rsp + 0x30], eax
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], eax
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x20], 4
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012bd2a
nop dword [rax]
test r15, r15
je 0x14012b01d
mov r12, qword [rbp - 0x30]
mov ebx, 0x100
mov r14, qword [rsp + 0x78]
mov dword [rbp - 0x78], ebx
nop word [rax + rax]
mov rcx, qword [0x140213cd0]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r9d, dword [rbp - 0x78]
mov edx, 3
mov rbx, rax
mov rcx, r12
lea rax, [rbp - 0x78]
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationJobObject]
mov r15d, eax
test eax, eax
jns 0x14012aebd
mov rcx, qword [0x140213cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp r15d, 0x80000005
jne 0x14012aec0
mov ebx, dword [rbp - 0x78]
jmp 0x14012ae60
mov r14, rbx
test r15d, r15d
js 0x14012b01d
mov rdx, qword [0x140213b58]
mov ecx, 0x3a
mov qword [rbp - 0x48], 0x28
call sym.ProcessHacker.exe_PhCreateObject
xor r15d, r15d
mov rsi, rax
add rax, 0x10
mov qword [rbp - 0x40], rsi
mov ebx, r15d
mov qword [rsi + 8], rax
mov word [rax + 0x28], r15w
mov qword [rsi], r15
mov rax, qword [rsi + 8]
mov word [rax], r15w
mov qword [rbp + 0x20], r15
cmp dword [r14 + 4], ebx
jbe 0x14012af9d
mov r15, qword [rbp - 0x50]
nop dword [rax]
mov eax, ebx
mov rcx, qword [r14 + rax*8 + 8]
mov rax, r15
mov qword [rbp + 0x18], rcx
lea rcx, [rbp + 0x18]
call qword [case.0x140101f48.0]
mov rsi, rax
test rax, rax
je 0x14012af8e
mov r8, qword [rax]
lea rcx, [rbp - 0x48]
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
lea rcx, [0x1401c39d0]
nop dword [rax]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [0x1401c39d0]
lea rcx, [rbp - 0x48]
lea r8, [rax + rax]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
lea rcx, [rsi - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012af8e
call fcn.140106290
inc ebx
cmp ebx, dword [r14 + 4]
jb 0x14012af20
mov rsi, qword [rbp - 0x40]
xor r15d, r15d
mov rcx, qword [0x140213cd0]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdx, qword [rsi]
test rdx, rdx
je 0x14012aff5
mov rax, qword [rsi + 8]
mov rcx, rdx
mov r8, rdx
and rcx, 0xfffffffffffffffe
sub rcx, 4
shr rdx, 1
sub r8, rcx
add rcx, rax
sub r8, 4
lea rdx, [rax + rdx*2]
call fcn.140165120
add qword [rsi], 0xfffffffffffffffc
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov word [rcx + rax], r15w
cmp qword [rsi], 0
jne 0x14012b01d
lea rcx, str._No_processes_
nop dword [rax]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, str._No_processes_
lea rcx, [rbp - 0x48]
lea r8, [rax + rax]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
mov rsi, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x30]
jmp 0x14012bd13
lea rax, [0x1401b71d0]
mov qword [rbp + 0x28], 6
mov r8b, 1
mov qword [rbp + 0x30], rax
lea rdx, [rbp + 0x28]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012b05c
mov rcx, rdi
call sym.ProcessHacker.exe_PhFormatNativeKeyName
mov rsi, rax
jmp 0x14012bd19
lea rax, [0x1401b5cd0]
mov qword [rbp + 0x38], 0xe
mov r8b, 1
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x38]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
nop
test al, al
je 0x14012b1bf
mov rcx, qword [0x140213db0]
xor ebx, ebx
mov qword [rbp - 0x80], rbx
test rcx, rcx
je 0x14012b125
mov dword [rsp + 0x48], ebx
lea rax, [rbp + 0x140]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rbp + 0x128], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x30
lea rax, [rbp + 0x110]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x118], r13
mov dword [rbp + 0x120], 4
mov dword [rbp + 0x130], 0x30
mov qword [rbp + 0x138], rbx
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x14012bd2f
mov rax, qword [rbp + 0x160]
jmp 0x14012b195
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x68]
mov dword [rsp + 0x28], ebx
mov r8, 0xffffffffffffffff
mov rdx, r13
mov dword [rsp + 0x20], 0x1000
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012b5dc
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x110]
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov rcx, qword ds:[rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14012bd2f
mov rax, qword [rbp + 0x130]
mov qword [rsp + 0x78], rax
nop word [rax + rax]
test r15, r15
je 0x14012bd2f
lea rcx, [rsp + 0x78]
mov rax, r15
call qword [case.0x140101f48.0]
mov rsi, rax
jmp 0x14012bd19
lea rax, [0x1401b7218]
mov qword ds:[rbp + 0x48], 0xe
mov r8b, 1
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x48]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012b3c9
test rdi, rdi
je 0x14012b1fb
cmp qword [rdi], rsi
jne 0x14012adfa
xor r15d, r15d
lea r9, [rbp - 0x70]
mov dword [rsp + 0x30], r15d
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], r15d
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x20], 5
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012bd2a
mov rcx, qword [rbp - 0x70]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0x70]
mov dword [rsp + 0x40], r15d
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], r15
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
nop
test eax, eax
js 0x14012b2da
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x78]
mov rcx, rdi
call sym.ProcessHacker.exe_PhGetProcessMappedFileName
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
test ebx, ebx
js 0x14012b2da
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call sym.ProcessHacker.exe_PhResolveDevicePrefix
mov rsi, rax
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012b3c0
call fcn.140106290
mov rcx, qword [rbp - 0x70]
jmp 0x14012bd13
mov rcx, qword [rbp - 0x70]
lea r8, [rbp - 0x20]
mov r9d, 0x18
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x14012b3c0
mov eax, dword [rbp - 0x18]
lea rcx, [0x1401b6740]
bt eax, 0x1b
jae 0x14012b316
lea r14, [0x1401b7c18]
jmp 0x14012b33a
bt eax, 0x17
jb 0x14012b33a
bt eax, 0x18
jae 0x14012b32b
lea r14, [0x1401b7c28]
jmp 0x14012b33a
bt eax, 0x1a
lea r14, str.Reserve
cmovae r14, rcx
mov dword [rbp + 0x230], 1
inc rdi
cmp word [r14 + rdi*2], si
jne 0x14012b344
lea rax, [0x1401b6954]
mov qword [rbp + 0x248], r14
mov qword [rbp + 0x268], rax
lea rcx, [rbp + 0x230]
mov rax, qword [rbp - 0x10]
add rdi, rdi
mov qword [rbp + 0x280], rax
mov eax, 0x29
mov qword [rbp + 0x240], rdi
mov dword [rbp + 0x250], 1
mov qword [rbp + 0x260], 4
lea edx, [rax - 0x25]
mov dword [rbp + 0x270], 0xc
lea r8d, [rax - 0x15]
mov dword [rbp + 0x290], r15d
mov word [rbp + 0x2a0], ax
call sym.ProcessHacker.exe_PhFormat
mov rsi, rax
mov rcx, qword [rbp - 0x70]
jmp 0x14012bd13
lea rax, str.Thread
mov qword [rbp + 0x58], 0xc
mov r8b, 1
mov qword [rbp + 0x60], rax
lea rdx, [rbp + 0x58]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012b519
mov rcx, qword [0x140213db0]
nop word [rax + rax]
test rcx, rcx
je 0x14012b499
lea rax, [rbp + 0x140]
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x128], rax
xor r9d, r9d
xor eax, eax
mov qword [rbp + 0x118], r13
mov dword [rsp + 0x48], eax
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rbp + 0x138], rax
lea rax, [rbp + 0x110]
mov dword [rsp + 0x38], 0x30
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], 0x9999225f
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x120], 5
mov dword [rbp + 0x130], 0x30
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
nop
test eax, eax
js 0x14012bd2f
movups xmm0, xmmword [rbp + 0x150]
movups xmmword [rsp + 0x78], xmm0
jmp 0x14012b19a
xor ebx, ebx
lea r9, [rsp + 0x68]
mov dword [rsp + 0x30], ebx
mov rdx, r13
mov dword [rsp + 0x28], ebx
mov rcx, r12
mov dword [rsp + 0x20], 0x800
lea r8, [rbx - 1]
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012b5dc
mov rcx, qword [rsp + 0x68]
lea r9d, [rbx + 0x30]
lea r8, [rbp + 0x110]
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
js 0x14012bd2f
movups xmm0, xmmword [rbp + 0x120]
movups xmmword [rsp + 0x78], xmm0
jmp 0x14012b19a
lea rax, str.TmEn
mov qword [rbp + 0x68], 8
mov r8b, 1
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0x68]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
nop dword [rax + rax]
test al, al
je 0x14012b5e5
mov dword [rsp + 0x30], esi
lea r9, [rsp + 0x70]
mov dword [rsp + 0x28], esi
mov r8, 0xffffffffffffffff
mov rdx, r13
mov dword [rsp + 0x20], 1
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012b5dc
mov rbx, qword ds:[rsp + 0x70]
call fcn.140135a20
test rax, rax
je 0x14012b5d1
call fcn.140135a20
mov r9d, 0x30
mov qword [rsp + 0x20], rsi
lea r8, [rbp + 0x110]
xor edx, edx
mov rcx, rbx
call qword [case.0x140101f48.0]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14012b5dc
lea rcx, [rbp + 0x110]
call sym.ProcessHacker.exe_PhFormatGuid
mov rsi, rax
jmp 0x14012bd19
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
jmp 0x14012bd2f
lea rax, str.TmRm
mov qword [rbp + 0x78], 8
mov r8b, 1
mov qword [rbp + 0x80], rax
lea rdx, [rbp + 0x78]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012b6ca
xor eax, eax
lea r9, [rbp - 0x28]
mov dword [rsp + 0x30], eax
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], eax
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x20], 1
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
nop
test eax, eax
js 0x14012bd2a
mov rcx, qword [rbp - 0x28]
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x170]
call fcn.14011b110
mov rcx, qword [rbp - 0x28]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14012bd2a
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14012b68d
nop dword [rax + rax]
cmp qword [rbx], rsi
je 0x14012b68d
mov rsi, rbx
jmp 0x14012bd19
lea rcx, [rbp + 0x170]
call sym.ProcessHacker.exe_PhFormatGuid
mov rsi, rax
test rbx, rbx
je 0x14012bd19
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012bd19
nop dword [rax + rax]
call fcn.140106290
jmp 0x14012bd19
lea rax, str.TmTm
mov qword [rbp + 0x140], 8
mov r8b, 1
mov qword [rbp + 0x148], rax
lea rdx, [rbp + 0x140]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012b928
xor eax, eax
lea r9, [rbp - 0x68]
mov dword [rsp + 0x30], eax
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], eax
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x20], 1
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012bd2a
mov r12, qword [rbp - 0x68]
mov ebx, 0x100
call fcn.140135db0
nop
test rax, rax
jne 0x14012b753
mov r14d, 0xc00000bb
xor r13d, r13d
jmp 0x14012b886
mov rcx, qword [0x140213cd0]
mov r8, rbx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r15, rax
call fcn.140135db0
xor r13d, r13d
mov r9d, ebx
mov r8, r15
mov qword [rsp + 0x20], r13
mov rcx, r12
lea edx, [r13 + 2]
call qword [case.0x140101f48.0]
mov r14d, eax
cmp eax, 0x80000005
jne 0x14012b7fe
nop dword [rax]
mov rcx, qword [0x140213cd0]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rbx + rbx]
mov ebx, eax
cmp eax, 0x100000
ja 0x14012b816
mov rcx, qword [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r15, rax
call fcn.140135db0
mov r9d, ebx
mov qword [rsp + 0x20], r13
mov r8, r15
mov edx, 2
mov rcx, r12
call qword [case.0x140101f48.0]
mov r14d, eax
cmp eax, 0x80000005
je 0x14012b7a0
nop
test r14d, r14d
js 0x14012b870
mov eax, dword [r15]
test eax, eax
jne 0x14012b81e
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14012b85c
mov r14d, 0xc000009a
jmp 0x14012b886
mov rdx, qword [0x140213b58]
lea rcx, [rax + 0x12]
mov r14, rax
lea r12, [r15 + 4]
call sym.ProcessHacker.exe_PhCreateObject
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r14], r13w
test r12, r12
je 0x14012b85c
mov rcx, qword [rbx + 8]
mov r8, r14
mov rdx, r12
call fcn.140165120
mov rcx, qword [0x140213cd0]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14012b88e
mov rcx, qword [0x140213cd0]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, r13
test r14d, r14d
js 0x14012b8d8
test rbx, rbx
je 0x14012b8d8
cmp qword [rbx], rsi
je 0x14012b8c5
mov rcx, rbx
call sym.ProcessHacker.exe_PhGetFileName
mov rsi, rax
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012b91f
call fcn.140106290
mov rcx, qword ds:[rbp - 0x68]
jmp 0x14012bd13
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012b8d8
call fcn.140106290
mov rbx, qword ds:[rbp - 0x68]
call fcn.140135db0
test rax, rax
je 0x14012b91f
call fcn.140135db0
mov r9d, 0x18
mov qword [rsp + 0x20], r13
lea r8, [rbp + 0x180]
xor edx, edx
mov rcx, rbx
call qword [case.0x140101f48.0]
test eax, eax
js 0x14012b91f
lea rcx, [rbp + 0x180]
call sym.ProcessHacker.exe_PhFormatGuid
mov rsi, rax
mov rcx, qword [rbp - 0x68]
jmp 0x14012bd13
lea rax, str.TmTx
mov qword [rbp - 0x20], 8
mov r8b, 1
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012bb51
xor r14d, r14d
lea r9, [rbp - 0x60]
mov dword [rsp + 0x30], r14d
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], r14d
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x20], 1
mov rcx, r12
mov qword [rsp + 0x78], r14
mov r15d, r14d
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012bd2a
mov r12, qword [rbp - 0x60]
mov ebx, 0x100
call fcn.140135c80
nop
test rax, rax
jne 0x14012b9b0
mov r14d, 0xc00000bb
jmp 0x14012bace
mov rcx, qword [0x140213cd0]
mov r8, rbx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r13, rax
call fcn.140135c80
mov r9d, ebx
mov qword [rsp + 0x20], r14
mov r8, r13
mov edx, 1
mov rcx, r12
call qword [case.0x140101f48.0]
mov r14d, eax
cmp eax, 0x80000005
jne 0x14012ba56
mov rcx, qword [0x140213cd0]
mov r8, r13
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rbx + rbx]
mov ebx, eax
cmp eax, 0x100000
ja 0x14012bab4
mov rcx, qword [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r13, rax
call fcn.140135c80
mov r9d, ebx
mov qword [rsp + 0x20], rsi
mov r8, r13
mov edx, 1
mov rcx, r12
call qword [case.0x140101f48.0]
mov r14d, eax
cmp eax, 0x80000005
je 0x14012b9f1
test r14d, r14d
js 0x14012babc
mov ebx, dword [r13 + 0x14]
lea r14, [r13 + 0x18]
mov rdx, qword [0x140213b58]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r15, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
test r14, r14
je 0x14012ba9b
mov rcx, qword [r15 + 8]
mov r8d, ebx
mov rdx, r14
call fcn.140165120
mov rcx, qword [0x140213cd0]
mov r8, r13
xor edx, edx
mov qword [rsp + 0x78], r15
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14012bad3
mov r14d, 0xc000009a
jmp 0x14012bace
mov rcx, qword [0x140213cd0]
mov r8, r13
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r14d, r14d
js 0x14012bae9
test r15, r15
je 0x14012bb05
cmp qword [r15], rsi
je 0x14012bae9
mov rcx, qword [rbp - 0x60]
mov rsi, r15
jmp 0x14012bd13
test r15, r15
je 0x14012bb05
lea rcx, [r15 - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012bb05
nop dword [rax]
call fcn.140106290
mov rbx, qword [rbp - 0x60]
call fcn.140135c80
test rax, rax
je 0x14012bb48
call fcn.140135c80
xor ecx, ecx
lea r8, [rbp + 0x198]
mov qword [rsp + 0x20], rcx
xor edx, edx
lea r9d, [rcx + 0x18]
mov rcx, rbx
call qword [case.0x140101f48.0]
test eax, eax
js 0x14012bb48
lea rcx, [rbp + 0x198]
call sym.ProcessHacker.exe_PhFormatGuid
mov rsi, rax
mov rcx, qword [rbp - 0x60]
jmp 0x14012bd13
lea rax, [0x1401b7888]
mov qword [rsp + 0x78], 0xa
mov r8b, 1
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
mov rcx, rbx
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x14012bd2f
xor ecx, ecx
lea r9, [rbp - 0x58]
mov dword [rsp + 0x30], ecx
xorps xmm0, xmm0
mov dword [rsp + 0x28], ecx
xor eax, eax
mov qword [rsp + 0x68], rcx
mov rdi, 0xffffffffffffffff
mov rcx, r12
mov qword [rbp + 0x108], rax
mov r8, rdi
mov dword [rsp + 0x20], 8
mov rdx, r13
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
call qword [sym.imp.ntdll.dll_NtDuplicateObject]
test eax, eax
js 0x14012bd2a
mov rcx, qword [rbp - 0x58]
lea r8, [rsp + 0x68]
lea edx, [rdi + 2]
call fcn.14011a800
mov rcx, qword [rbp - 0x58]
lea r9d, [rdi + 0x39]
mov ebx, eax
lea r8, [rbp + 0xd8]
lea rax, [rsp + 0x70]
lea edx, [rdi + 0xb]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test ebx, ebx
js 0x14012bd0f
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov dl, 1
mov rcx, qword [rcx]
call sym.ProcessHacker.exe_PhGetSidFullName
mov rbx, rax
test rax, rax
je 0x14012bcfb
movups xmm0, xmmword [rax]
mov ecx, dword [rbp + 0xe0]
lea rax, str.:_0x
cmp dword [rbp + 0xf0], 1
mov qword [rbp + 0x1e8], rax
lea rax, str.__Primary_
mov dword [rbp + 0x200], ecx
lea rcx, str.__Impersonation_
cmove rcx, rax
mov dword [rbp + 0x1b0], 1
mov rax, rdi
movaps xmmword [rbp + 0x1c0], xmm0
mov dword [rbp + 0x1d0], 1
mov qword [rbp + 0x1e0], 8
mov dword [rbp + 0x1f0], 0x108
mov byte [rbp + 0x1fa], 0x10
mov dword [rbp + 0x210], 1
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14012bcb0
mov r8, qword ds:[rbx]
add rax, rax
mov qword [rbp + 0x228], rcx
add r8, 0x28
mov edx, 4
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x1b0]
call sym.ProcessHacker.exe_PhFormat
mov rsi, rax
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14012bcfb
call fcn.140106290
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x50]
nop
test rsi, rsi
je 0x14012bd2a
mov qword [r14], rsi
jmp 0x14012bd43
mov rdi, qword [rsp + 0x60]
mov rax, rdi
test rdi, rdi
je 0x14012bd3b
lock inc dword [rdi - 8]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140161390
add rsp, 0x3c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret