Function at 0x14012e4e0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x1402bb040]
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.0x14013f76a.0]
test eax, eax
jns 0x14012e525
xor al, al
jmp 0x14012ea21
mov rcx, qword [rsp + 0x38]
mov edx, 0x1e
mov qword [rsp + 0xc8], r14
lea r14, [rbx + 0xb0]
mov r8, r14
call fcn.1401625a0
test eax, eax
js 0x14012ea0c
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 0x14012e9fc
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_Ordinal_1867
mov r8, rax
xor edx, edx
mov rcx, r15
call fcn.14012dee0
mov rcx, qword [r14]
xor r8d, r8d
mov dl, 1
mov rbp, rax
mov rcx, qword [rcx + rbx*8 + 8]
call sym.SystemInformer.exe_Ordinal_1860
mov rdi, rax
test rax, rax
je 0x14012e62a
mov rdx, qword [rax + 8]
lea rcx, str.FullName:__s
call sym.SystemInformer.exe_Ordinal_1378
mov r8, rax
mov rdx, rbp
mov rcx, r15
call fcn.14012dee0
lea rcx, ds:[rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012e62a
call fcn.140143da0
mov rcx, qword [r14]
mov rcx, qword [rcx + rbx*8 + 8]
call fcn.14018c520
mov rdi, rax
test rax, rax
je 0x14012e675
mov rdx, qword [rax + 8]
lea rcx, str.Capability:__s
call sym.SystemInformer.exe_Ordinal_1378
mov r8, rax
mov rdx, rbp
mov rcx, r15
call fcn.14012dee0
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012e675
call fcn.140143da0
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 0x14012e9cd
movzx eax, word ds:[rdx + 6]
cmp ax, word [rsp + 0xa4]
jne 0x14012e9cd
cmp dword [rdx + 8], 3
jne 0x14012e9cd
nop dword [rax + rax]
cmp cl, 8
jne 0x14012e858
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 0x14012e9cd
mov r9, qword ds:[rsp + 0x40]
test r9, r9
je 0x14012e9cd
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 0x14012e9cd
inc edx
add rax, 4
cmp edx, 7
jb 0x14012e720
mov rcx, qword ds:[rsp + 0x38]
call fcn.140162b60
mov rsi, rax
test rax, rax
je 0x14012e7db
mov rbx, qword [0x1402c1098]
add rbx, qword [rax]
mov rdx, qword [0x1402c5ff0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r13w
mov r8, qword [0x1402c1098]
mov rdx, qword [str.Package:]
mov rcx, qword [rax + 8]
call fcn.14020c7e0
mov rcx, qword [0x1402c1098]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14020c7e0
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012dee0
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012e9cd
call fcn.140143da0
jmp 0x14012e9cd
mov rdi, qword [0x1402c1098]
test rdi, rdi
jne 0x14012e805
call sym.SystemInformer.exe_Ordinal_1430
mov r8, rax
mov rdx, rbp
mov rcx, r15
mov rbx, rax
call fcn.14012dee0
nop dword [rax]
jmp 0x14012e9cd
mov rdx, qword [0x1402c5ff0]
lea rcx, [rdi + 0x12]
mov rsi, qword [str.Package:]
call sym.SystemInformer.exe_Ordinal_1240
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rdi + rax], r13w
test rsi, rsi
je 0x14012e845
mov rcx, qword ds:[rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.14020c7e0
mov r8, rbx
mov rdx, rbp
mov rcx, r15
call fcn.14012dee0
jmp 0x14012e9cd
nop dword [rax + rax]
cmp cl, 5
jne 0x14012e9cd
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_Ordinal_1621
mov rsi, rax
test rax, rax
je 0x14012e9cd
mov rbx, qword [0x1402c1038]
add rbx, qword ds:[rax]
mov rdx, qword [0x1402c5ff0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rbx + rcx], r13w
mov r8, qword [0x1402c1038]
mov rdx, qword [str.Guid:]
mov rcx, qword [rax + 8]
call fcn.14020c7e0
mov rcx, qword [0x1402c1038]
add rcx, qword [rdi + 8]
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14020c7e0
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012dee0
mov rcx, rsi
call fcn.14018cba0
mov r13, rax
test rax, rax
je 0x14012e9ae
mov rbx, qword [0x1402c1028]
add rbx, qword ds:[rax]
mov rdx, qword [0x1402c5ff0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
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 [0x1402c1028]
mov rdx, qword [str.Capability:]
mov rcx, qword [rdi + 8]
call fcn.14020c7e0
mov rcx, qword [0x1402c1028]
add rcx, qword [rdi + 8]
mov r8, qword [r13]
mov rdx, qword [r13 + 8]
call fcn.14020c7e0
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14012dee0
lea rcx, [r13 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012e9ae
call fcn.140143da0
lea rcx, ds:[rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012e9ca
call fcn.140143da0
xor r13d, r13d
mov rax, qword [r14]
inc r12d
cmp r12d, dword [rax]
jb 0x14012e5b0
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.1401e5e40
add rsp, 0xe0
pop rbx
ret