Function at 0x10006100
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov bh, cl
push edi
push eax
push str.Cor_CLR_IPCBlock__lu
mov dword [ebp - 0x74], edx
xor bl, bl
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.SystemInformer.exe_PhFormatString]
mov edi, eax
add esp, 8
movzx eax, word [edi]
mov word [ebp - 0x10], ax
movzx eax, word [edi]
add ax, 2
mov word [ebp - 0xe], ax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
cmp dword [edi], 0xfffe
ja 0x100062f3
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntdll.dll_RtlCreateBoundaryDescriptor]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100062f3
push 0x10020a20
lea eax, ds:[ebp - 0x2c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddSIDToBoundaryDescriptor]
test eax, eax
js 0x100062f3
test bh, bh
je 0x10006228
push 0
push 0
push 0x19
call dword [sym.imp.SystemInformer.exe__PhPluginInvokeWindowCallback_12]
mov edi, edi
cmp eax, 0x3e
jb 0x10006228
lea eax, [ebp - 0x38]
push eax
push 8
push dword [ebp - 0x74]
call dword [sym.imp.SystemInformer.exe_PhOpenProcessToken]
test eax, eax
js 0x10006228
lea eax, [ebp - 0x3c]
push eax
push 0x1f
push dword [ebp - 0x38]
call dword [sym.imp.SystemInformer.exe_PhQueryTokenVariableSize]
test eax, eax
js 0x100062f3
mov eax, dword [ebp - 0x3c]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddSIDToBoundaryDescriptor]
mov edi, edi
test eax, eax
js 0x100062f3
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 0x2000000
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0x1e001c
push eax
mov dword [ebp - 0x14], str.Cor_CLR_READER
mov dword [ebp - 0x58], 0x18
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.ntdll.dll_NtOpenPrivateNamespace]
test eax, eax
js 0x100062f3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x70]
push eax
push 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], 0x2e002c
push eax
mov dword [ebp - 0x1c], str.Cor_SxSPublic_IPCBlock
mov dword [ebp - 0x70], 0x18
mov dword [ebp - 0x64], 0x40
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ntdll.dll_NtOpenSection]
lea esp, [esp]
test eax, eax
js 0x100062f3
push 2
push 0
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x30]
push 0
push eax
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x100062f3
mov eax, dword [ebp - 0x30]
mov bl, 1
mov dword [esi], eax
jmp 0x1000630c
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10006306
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov dword [esi], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1000631a
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword ds:[ebp - 0x38]
test eax, eax
je 0x1000632b
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10006339
push eax
call dword [sym.imp.SystemInformer.exe_PhFree]
mov eax, dword ds:[ebp - 0x40]
test eax, eax
je 0x1000634b
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10006368
mov ecx, dword fs:[0x18]
push eax
push 0
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push edi
call dword [sym.imp.SystemInformer.exe_PhDereferenceObject]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000972a
mov esp, ebp
pop ebp
ret 8