Function at 0x10121fa6
Capabilities:
Access peb ldr_data
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov al, byte [ebp + 0xc]
mov ecx, dword [0x101b9014]
xor ecx, ebp
mov dword [esp + 0x188], ecx
xor ecx, ecx
dec ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
test al, al
je 0x101220bb
lea ebx, [esp + 0x50]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.10149430
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movdqa xmm0, xmmword [0x101aeed0]
movdqu xmmword [esp], xmm0
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call esi
mov ecx, 3
push ecx
push 1
push edx
push eax
call esi
mov ecx, 3
push ecx
push 0x20
push edx
push eax
call esi
mov dword [ebx - 8], 6
mov dword [ebx - 4], edi
mov word [ebx + 0x108], 0
lea ecx, [esp + 0x44]
push edx
push eax
push 0x23
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov dword [esp + 0xc], 0xc
test eax, eax
je 0x101220a6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
mov ecx, dword fs:[0x18]
cmp eax, dword [ecx + 0x24]
je 0x10122278
mov eax, dword [0x102cf530]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1012210f
mov eax, dword [0x102cf52c]
test eax, eax
mov edi, 0x101aef9c
cmovne edi, eax
lea eax, [esp + 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], 1
mov ecx, 0x80003
jmp 0x101220c2
xor eax, eax
mov ecx, 3
mov edx, dword [ebp + 8]
cmp byte [edx + 0xb], 0
jns 0x101220cd
mov edx, dword [edx]
sub esp, 0x20
mov dword [esp + 0x1c], eax
movaps xmm0, xmmword [0x101aeee0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x102cf530
call fcn.10145c47
add esp, 4
cmp dword [0x102cf530], 0xffffffff
jne 0x10122097
lea eax, [esp + 0x40]
mov dword [eax], 0xffffffff
push 0
push eax
push 1
push str.D:_A__GA___SY__A__GWGR___S_1_15_2_1_S:_ML_____S_1_16_0_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x10122206
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
movups xmm0, xmmword [0x101af07a]
lea eax, [esp + 0x160]
movups xmmword [eax + 0xa], xmm0
movdqu xmm0, xmmword [str.CURRENT_USER]
movdqa xmmword [eax], xmm0
xor edi, edi
xor esi, esi
inc esi
push edi
push esi
push 0x10000000
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
lea eax, [esp + 0x1c]
xor edx, edx
dec edx
mov dword [eax], edx
lea ecx, [esp + 0x18]
mov dword [ecx], edx
push eax
push ecx
push dword [esp + 0x48]
push edi
push edi
push ebx
push esi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_BuildSecurityDescriptorW]
test eax, eax
je 0x10122249
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x101bee4c], 2
jg 0x1012224d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x44]
mov ecx, esi
push eax
push 2
push 0x44
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.10066f30
lea eax, [esp + 0x4c]
push 0x17
push str.BuildSecurityDescriptor
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, esi
call fcn.100670a0
jmp 0x1012224d
xor edi, edi
cmp dword [0x101bee4c], 2
jg 0x10122260
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x44]
mov ecx, esi
push eax
push 2
push 0x2d
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.10066f30
lea eax, [esp + 0x4c]
push 0x33
push str.ConvertStringSecurityDescriptorToSecurityDescriptor
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, esi
call fcn.100670a0
jmp 0x10122260
mov edi, dword [esp + 0x1c]
cmp dword [esp + 8], 0
je 0x10122260
push dword [esp + 8]
call fcn.1012fe30
add esp, 4
mov dword [0x102cf52c], edi
push 0x102cf530
call fcn.10145cbd
add esp, 4
jmp 0x10122097
int3