Function at 0x14012c6e0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rbx, rcx
movabs r10, 0xbc8caf323c5e8170
mov r8, qword [rcx + 8]
mov edx, 8
mov rax, qword [rbx]
lea rcx, [rsp + 0x38]
call qword [0x14020e260]
nop
test eax, eax
jns 0x14012c72b
xor al, al
jmp 0x14012cc21
mov rcx, qword [rsp + 0x38]
mov edx, 0x1e
mov qword [rsp + 0xc8], r14
lea r14, [rbx + 0xb0]
mov r8, r14
call fcn.140161400
test eax, eax
js 0x14012cc0c
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd0], r13
lfence
mov rax, qword [r14]
xor r13d, r13d
mov r12d, r13d
cmp dword [rax], r13d
jbe 0x14012cbfc
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0xc0], r15
lea r15, [rbx + 0xb8]
mov qword [rsp + 0x100], rsi
mov dword [rsp + 0xa0], r13d
mov word [rsp + 0xa4], 0xf00
nop dword [rax]
nop word [rax + rax]
mov ebx, r12d
add rbx, rbx
mov rcx, qword [rax + rbx*8 + 8]
call sym.SystemInformer.exe_PhSidToStringSid
mov r8, rax
xor edx, edx
mov rcx, r15
call fcn.14012c0e0
mov rcx, qword [r14]
xor r8d, r8d
mov dl, 1
mov rbp, rax
mov rcx, qword [rcx + rbx*8 + 8]
call sym.SystemInformer.exe_PhGetSidFullName
mov rdi, rax
test rax, rax
je 0x14012c830
mov rdx, qword [rax + 8]
lea rcx, str.FullName:__s
call sym.SystemInformer.exe_PhFormatString
mov r8, rax
mov rdx, rbp
mov rcx, r15
call fcn.14012c0e0
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c830
call fcn.140142200
mov rcx, qword [r14]
mov rcx, qword [rcx + rbx*8 + 8]
call fcn.14018bb40
mov rdi, rax
test rax, rax
je 0x14012c87d
mov rdx, qword [rax + 8]
lea rcx, str.Capability:__s
call sym.SystemInformer.exe_PhFormatString
mov r8, rax
mov rdx, rbp
mov rcx, r15
call fcn.14012c0e0
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c87d
call fcn.140142200
mov r8, qword [r14]
mov rdx, qword [r8 + rbx*8 + 8]
mov eax, dword [rdx + 2]
movzx ecx, byte [rdx + 1]
cmp eax, dword [rsp + 0xa0]
jne 0x14012cbcd
movzx eax, word ds:[rdx + 6]
cmp ax, word [rsp + 0xa4]
jne 0x14012cbcd
cmp dword [rdx + 8], 3
jne 0x14012cbcd
nop dword [rax + rax]
cmp cl, 8
jne 0x14012ca58
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov r9d, 0x58
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov edx, 0x1f
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x14012cbcd
mov r9, qword ds:[rsp + 0x40]
test r9, r9
je 0x14012cbcd
mov rcx, qword [r14]
lea rax, [r9 + 0xc]
mov edx, 1
mov r8, qword [rcx + rbx*8 + 8]
sub r8, r9
nop dword [rax]
mov ecx, dword [r8 + rax]
cmp dword [rax], ecx
jne 0x14012cbcd
inc edx
add rax, 4
cmp edx, 7
jb 0x14012c920
mov rcx, qword ds:[rsp + 0x38]
call fcn.1401619c0
mov rsi, rax
test rax, rax
je 0x14012c9db
mov rbx, qword [0x1402c6798]
add rbx, qword [rax]
mov rdx, qword [0x1402cb8c0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r13w
mov r8, qword [0x1402c6798]
mov rdx, qword [str.Package:]
mov rcx, qword [rax + 8]
call fcn.14020be40
mov rcx, qword [0x1402c6798]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14020be40
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012c0e0
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012cbcd
call fcn.140142200
jmp 0x14012cbcd
mov rdi, qword [0x1402c6798]
test rdi, rdi
jne 0x14012ca05
call sym.SystemInformer.exe_PhReferenceEmptyString
mov r8, rax
mov rdx, rbp
mov rcx, r15
mov rbx, rax
call fcn.14012c0e0
nop dword [rax]
jmp 0x14012cbcd
mov rdx, qword [0x1402cb8c0]
lea rcx, [rdi + 0x12]
mov rsi, qword [str.Package:]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rdi + rax], r13w
test rsi, rsi
je 0x14012ca45
mov rcx, qword ds:[rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.14020be40
mov r8, rbx
mov rdx, rbp
mov rcx, r15
call fcn.14012c0e0
jmp 0x14012cbcd
nop dword [rax + rax]
cmp cl, 5
jne 0x14012cbcd
mov eax, dword [rdx + 0xc]
mov dword [rsp + 0xa8], eax
mov ecx, dword [rdx + 0x10]
mov dword [rsp + 0xac], ecx
mov ecx, dword [rdx + 0x14]
mov dword [rsp + 0xb0], ecx
lea rcx, [rsp + 0xa8]
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0xb4], eax
call sym.SystemInformer.exe_PhFormatGuid
mov rsi, rax
test rax, rax
je 0x14012cbcd
mov rbx, qword [0x1402c6738]
add rbx, qword ds:[rax]
mov rdx, qword [0x1402cb8c0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r13w
mov r8, qword [0x1402c6738]
mov rdx, qword [str.pu__]
mov rcx, qword [rax + 8]
call fcn.14020be40
mov rcx, qword [0x1402c6738]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14020be40
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012c0e0
mov rcx, rsi
call fcn.14018c1c0
mov r13, rax
test rax, rax
je 0x14012cbae
mov rbx, qword [0x1402c6728]
add rbx, qword ds:[rax]
mov rdx, qword [0x1402cb8c0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
xor eax, eax
mov word [rbx + rcx], ax
mov r8, qword [0x1402c6728]
mov rdx, qword [str.Capability:]
mov rcx, qword [rdi + 8]
call fcn.14020be40
mov rcx, qword [0x1402c6728]
add rcx, qword [rdi + 8]
mov r8, qword [r13]
mov rdx, qword [r13 + 8]
call fcn.14020be40
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012c0e0
lea rcx, [r13 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012cbae
call fcn.140142200
lea rcx, ds:[rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012cbca
call fcn.140142200
xor r13d, r13d
mov rax, qword [r14]
inc r12d
cmp r12d, dword [rax]
jb 0x14012c7c0
mov r15, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov r12, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0xc8]
mov al, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0xe0
pop rbx
ret