Function at 0x140129900
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x1402ba040]
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.0x14013b5a0.0]
test eax, eax
jns 0x140129945
xor al, al
jmp 0x140129e50
mov rcx, qword [rsp + 0x38]
mov edx, 0x1e
mov qword [rsp + 0xc8], r14
lea r14, [rbx + 0xb0]
mov r8, r14
call fcn.14015f760
test eax, eax
js 0x140129e39
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 0x140129e29
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_QiSidToStringSid
mov r8, rax
xor edx, edx
mov rcx, r15
call fcn.140129300
mov rcx, qword [r14]
xor r8d, r8d
mov dl, 1
mov rbp, rax
mov rcx, qword [rcx + rbx*8 + 8]
call sym.SystemInformer.exe_QiGetSidFullName
mov rdi, rax
test rax, rax
je 0x140129a4a
mov rdx, qword [rax + 8]
lea rcx, str.FullName:__s
call sym.SystemInformer.exe_QiFormatString
mov r8, rax
mov rdx, rbp
mov rcx, r15
call fcn.140129300
lea rcx, ds:[rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140129a4a
call fcn.14013fb00
mov rcx, qword [r14]
mov rcx, qword [rcx + rbx*8 + 8]
call fcn.140187000
mov rdi, rax
test rax, rax
je 0x140129a95
mov rdx, qword [rax + 8]
lea rcx, str.Capability:__s
call sym.SystemInformer.exe_QiFormatString
mov r8, rax
mov rdx, rbp
mov rcx, r15
call fcn.140129300
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140129a95
call fcn.14013fb00
mov r8, qword [r14]
mov rcx, qword [r8 + rbx*8 + 8]
mov eax, dword [rcx + 2]
movzx edx, byte [rcx + 1]
cmp eax, dword [rsp + 0xa0]
jne 0x140129df8
movzx eax, word ds:[rcx + 6]
cmp ax, word [rsp + 0xa4]
jne 0x140129df8
cmp dword [rcx + 8], 3
jne 0x140129df8
nop dword [rax + rax]
cmp dl, 8
jne 0x140129c78
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov r9d, 0x58
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea edx, [r9 - 0x39]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x140129df8
mov r9, qword ds:[rsp + 0x40]
test r9, r9
je 0x140129df8
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 0x140129df8
inc edx
add rax, 4
cmp edx, 7
jb 0x140129b40
mov rcx, qword ds:[rsp + 0x38]
call fcn.14015fd20
mov rsi, rax
test rax, rax
je 0x140129bfb
mov rbx, qword [0x1402c06b0]
add rbx, qword [rax]
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r13w
mov r8, qword [0x1402c06b0]
mov rdx, qword [str.Package:]
mov rcx, qword [rax + 8]
call fcn.1402074d0
mov rcx, qword [0x1402c06b0]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.1402074d0
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.140129300
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140129df8
call fcn.14013fb00
jmp 0x140129df8
mov rdi, qword [0x1402c06b0]
test rdi, rdi
jne 0x140129c25
call sym.SystemInformer.exe_QiReferenceEmptyString
mov r8, rax
mov rdx, rbp
mov rcx, r15
mov rbx, rax
call fcn.140129300
nop dword [rax]
jmp 0x140129df8
mov rdx, qword [0x1402c4fb8]
lea rcx, [rdi + 0x12]
mov rsi, qword [str.Package:]
call sym.SystemInformer.exe_QiCreateObject
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rdi + rax], r13w
test rsi, rsi
je 0x140129c65
mov rcx, qword ds:[rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.1402074d0
mov r8, rbx
mov rdx, rbp
mov rcx, r15
call fcn.140129300
jmp 0x140129df8
nop dword [rax + rax]
cmp dl, 5
jne 0x140129df8
mov ecx, dword [rcx + 0xc]
mov dword [rsp + 0xa8], ecx
mov rax, qword [r8 + rbx*8 + 8]
mov ecx, dword [rax + 0x10]
mov dword [rsp + 0xac], ecx
mov rax, qword [r8 + rbx*8 + 8]
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0xb0], ecx
mov rax, qword [r8 + rbx*8 + 8]
mov ecx, dword [rax + 0x18]
mov dword [rsp + 0xb4], ecx
lea rcx, [rsp + 0xa8]
call sym.SystemInformer.exe_QiFormatGuid
mov rsi, rax
test rax, rax
je 0x140129df8
mov rbx, qword [0x1402c0628]
add rbx, qword [rax]
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r13w
mov r8, qword [0x1402c0628]
mov rdx, qword [str.Guid:]
mov rcx, qword [rax + 8]
call fcn.1402074d0
mov rcx, qword [0x1402c0628]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.1402074d0
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.140129300
mov rcx, rsi
call fcn.140187680
mov r13, rax
test rax, rax
je 0x140129ddd
mov rbx, qword [0x1402c0618]
add rbx, qword [rax]
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
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 [0x1402c0618]
mov rdx, qword [str._b___]
mov rcx, qword [rdi + 8]
call fcn.1402074d0
mov rcx, qword [0x1402c0618]
add rcx, qword [rdi + 8]
mov r8, qword [r13]
mov rdx, qword [r13 + 8]
call fcn.1402074d0
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.140129300
lea rcx, [r13 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140129ddd
call fcn.14013fb00
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140129df5
call fcn.14013fb00
xor r13d, r13d
mov rax, qword ds:[r14]
inc r12d
cmp r12d, dword [rax]
jb 0x1401299d0
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 ds:[rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0xc8]
mov al, 1
mov rcx, qword ds:[rsp + 0xb8]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0xe0
pop rbx
ret