Function at 0x14012c3e0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r8, qword [rcx + 8]
mov rbx, rcx
mov edx, 8
lea rcx, [rsp + 0x38]
mov rax, qword [rbx]
call qword [case.0x14013d84a.0]
test eax, eax
jns 0x14012c425
xor al, al
jmp 0x14012c921
mov rcx, qword [rsp + 0x38]
mov edx, 0x1e
mov qword [rsp + 0xc8], r14
lea r14, [rbx + 0xb0]
mov r8, r14
call fcn.140160780
test eax, eax
js 0x14012c90c
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 0x14012c8fc
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]
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.14012bde0
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 0x14012c52a
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.14012bde0
lea rcx, ds:[rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c52a
call fcn.140141ea0
mov rcx, qword [r14]
mov rcx, qword [rcx + rbx*8 + 8]
call fcn.14018ae60
mov rdi, rax
test rax, rax
je 0x14012c575
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.14012bde0
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c575
call fcn.140141ea0
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 0x14012c8cd
movzx eax, word ds:[rdx + 6]
cmp ax, word [rsp + 0xa4]
jne 0x14012c8cd
cmp dword [rdx + 8], 3
jne 0x14012c8cd
nop dword [rax + rax]
cmp cl, 8
jne 0x14012c758
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 0x14012c8cd
mov r9, qword ds:[rsp + 0x40]
test r9, r9
je 0x14012c8cd
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 0x14012c8cd
inc edx
add rax, 4
cmp edx, 7
jb 0x14012c620
mov rcx, qword ds:[rsp + 0x38]
call fcn.140160d40
mov rsi, rax
test rax, rax
je 0x14012c6db
mov rbx, qword [0x1402c5790]
add rbx, qword [rax]
mov rdx, qword [0x1402ca998]
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 [0x1402c5790]
mov rdx, qword [str._b__]
mov rcx, qword [rax + 8]
call fcn.14020af00
mov rcx, qword [0x1402c5790]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14020af00
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012bde0
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c8cd
call fcn.140141ea0
jmp 0x14012c8cd
mov rdi, qword [0x1402c5790]
test rdi, rdi
jne 0x14012c705
call sym.SystemInformer.exe_PhReferenceEmptyString
mov r8, rax
mov rdx, rbp
mov rcx, r15
mov rbx, rax
call fcn.14012bde0
nop dword [rax]
jmp 0x14012c8cd
mov rdx, qword [0x1402ca998]
lea rcx, [rdi + 0x12]
mov rsi, qword [str._b__]
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 0x14012c745
mov rcx, qword ds:[rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.14020af00
mov r8, rbx
mov rdx, rbp
mov rcx, r15
call fcn.14012bde0
jmp 0x14012c8cd
nop dword [rax + rax]
cmp cl, 5
jne 0x14012c8cd
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 0x14012c8cd
mov rbx, qword [0x1402c5708]
add rbx, qword ds:[rax]
mov rdx, qword [0x1402ca998]
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 [0x1402c5708]
mov rdx, qword [str.Guid:]
mov rcx, qword [rax + 8]
call fcn.14020af00
mov rcx, qword [0x1402c5708]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14020af00
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012bde0
mov rcx, rsi
call fcn.14018b4e0
mov r13, rax
test rax, rax
je 0x14012c8ae
mov rbx, qword [0x1402c56f8]
add rbx, qword ds:[rax]
mov rdx, qword [0x1402ca998]
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 [0x1402c56f8]
mov rdx, qword [str.Xb__]
mov rcx, qword [rdi + 8]
call fcn.14020af00
mov rcx, qword [0x1402c56f8]
add rcx, qword [rdi + 8]
mov r8, qword [r13]
mov rdx, qword [r13 + 8]
call fcn.14020af00
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012bde0
lea rcx, [r13 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c8ae
call fcn.140141ea0
lea rcx, ds:[rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012c8ca
call fcn.140141ea0
xor r13d, r13d
mov rax, qword [r14]
inc r12d
cmp r12d, dword [rax]
jb 0x14012c4b0
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.1401e4a20
add rsp, 0xe0
pop rbx
ret