Function at 0x100d3dc0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov edi, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov eax, 0x40080002
mov bl, 1
lea esi, [esp + 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], 8
sub eax, edx
mov dword [esp + 0x84], eax
nop word cs:[eax + eax]
nop dword [eax + eax]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 0x8c], eax
xorps xmm0, xmm0
mov eax, dword [0x102370dc]
test eax, eax
jne 0x100d3e50
nop dword [eax + eax]
movaps xmmword [esp + 0x50], xmm0
push 0x10
push esi
call edi
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
xchg dword [0x102370dc], eax
mov eax, dword [0x102370dc]
test eax, eax
je 0x100d3e30
mov eax, 1
lock xadd dword [0x102370dc], eax
mov dword [esp + 0x50], 0x101ce32c
mov dword [esp + 0x54], 2
mov dword [esp + 0x60], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x40], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::hebf983c945178ef0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::hebf983c945178ef0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 2
lea ecx, [esp + 0x90]
mov edx, esi
call dbg.format_inner
cmp dword [esp + 0x24], 0
sete al
or bl, al
test bl, 1
jne 0x100d3ed7
mov ecx, dword [esp + 4]
mov edx, 1
call sym.___rust_dealloc
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], ecx
lea edx, [ecx + eax]
test eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x30], edx
je 0x100d3f20
movzx ebx, byte [ecx]
test bl, bl
js 0x100d3f50
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
jmp 0x100d3fae
mov dword [esp + 0x14], 0
mov dword [esp], 4
mov esi, 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
xor ebx, ebx
jmp 0x100d3ff9
movzx edx, byte [ecx + 1]
mov eax, ebx
and eax, 0x1f
and edx, 0x3f
cmp bl, 0xdf
jbe 0x100d3fa0
mov esi, ecx
movzx ecx, byte [ecx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp bl, 0xf0
jb 0x100d42e5
movzx ebx, byte [esi + 3]
and eax, 7
shl ecx, 6
lea edx, [esi + 4]
shl eax, 0x12
mov dword [esp + 0xc], edx
and ebx, 0x3f
or ebx, ecx
or ebx, eax
cmp ebx, 0xffff
jbe 0x100d3fae
jmp 0x100d42ff
shl eax, 6
add ecx, 2
or eax, edx
mov dword [esp + 0xc], ecx
mov ebx, eax
mov dword [esp + 0x14], 0
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, 0xffffffff
sub ecx, dword [esp + 0xc]
add ecx, 3
cmovb ecx, edx
shr ecx, 2
add ecx, eax
mov eax, 2
cmp ecx, 3
cmovae eax, ecx
cmp ecx, 0x3ffffffd
ja 0x100d44a2
lea esi, [eax + eax + 4]
add eax, 2
mov dword [esp], eax
mov ax, 1
mov dword [esp + 0x10], eax
movzx eax, byte [0x10237124]
xor ecx, ecx
mov edx, esi
call dbg.process_heap_alloc
test eax, eax
je 0x100d4492
mov ecx, eax
mov eax, dword [esp + 0x4c]
mov esi, 1
mov word [ecx], bx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x10]
jmp 0x100d4068
mov ecx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], edx
mov edx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp], edi
mov dword [esp + 8], eax
mov edi, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov word [eax + edx*2], si
mov eax, dword [esp + 0x10]
inc edx
mov esi, edx
test ebx, ebx
je 0x100d40d0
test cx, cx
je 0x100d40b0
mov edi, dword [esp]
mov edx, eax
xor eax, eax
cmp esi, edi
mov dword [esp + 0x1c], ecx
jne 0x100d4040
mov edi, dword [esp + 0x30]
mov ecx, 0xffffffff
sub edi, ebx
add edi, 3
cmovb edi, ecx
mov ecx, eax
shr edi, 2
cmp ax, 1
sbb edi, 0xffffffff
cmp dx, 1
sbb edi, 0xffffffff
jmp 0x100d40f3
cmp ebx, dword [esp + 0x30]
je 0x100d40d0
movzx ecx, byte [ebx]
mov edx, eax
test cl, cl
js 0x100d41ad
mov edi, dword [esp]
inc ebx
xor eax, eax
jmp 0x100d4078
cmp ax, 1
jne 0x100d4250
xor edx, edx
cmp esi, dword [esp]
mov ebx, 0
mov edi, 0
mov dword [esp + 0x1c], 0
jne 0x100d4150
inc edi
add edi, esi
jb 0x100d4480
mov dword [esp + 0x18], esi
mov esi, dword [esp]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov ebx, 4
lea ecx, [esi + esi]
cmp ecx, edi
cmova edi, ecx
xor edx, edx
cmp edi, 0x40000000
setb al
cmp edi, 5
cmovb edi, ebx
test esi, esi
je 0x100d416e
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
mov ecx, 2
jmp 0x100d4170
mov edi, dword [esp]
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x100d404a
xor ecx, ecx
mov dl, al
lea ebx, [edi + edi]
mov dword [esp + 0x54], ecx
add edx, edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x3c]
push eax
push ebx
call dbg.finish_grow<alloc::alloc::Global>
add esp, 8
cmp dword [esp + 0x3c], 0
jne 0x100d4478
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x100d404c
mov dword [esp + 0x18], esi
movzx esi, byte [ebx + 1]
mov edi, dword [esp]
mov eax, ecx
and eax, 0x1f
and esi, 0x3f
cmp cl, 0xdf
jbe 0x100d41f5
mov dword [esp + 0x1c], ecx
movzx ecx, byte [ebx + 2]
shl esi, 6
and ecx, 0x3f
or ecx, esi
cmp byte [esp + 0x1c], 0xf0
jb 0x100d420a
movzx esi, byte [ebx + 3]
shl ecx, 6
and eax, 7
add ebx, 4
shl eax, 0x12
and esi, 0x3f
or esi, ecx
mov ecx, esi
jmp 0x100d4210
shl eax, 6
add ebx, 2
or eax, esi
mov esi, dword [esp + 0x18]
mov ecx, eax
xor eax, eax
jmp 0x100d4078
add ebx, 3
shl eax, 0xc
mov esi, dword [esp + 0x18]
or ecx, eax
cmp ecx, 0xffff
jbe 0x100d423e
mov eax, ecx
add ecx, 0xff0000
shr ecx, 0xa
and eax, 0x3ff
or ecx, 0xd800
or eax, 0xdc00
jmp 0x100d4078
xor eax, eax
jmp 0x100d4078
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esp + 0x40]
push dword [esp + 0x9c]
push dword [esp + 0x24]
call sub.kernel32.dll_CreateNamedPipeW
mov ebx, eax
cmp eax, 0xffffffff
jne 0x100d4360
call sub.kernel32.dll_GetLastError
mov ecx, dword [esp + 0x88]
lea esi, [esp + 0x50]
cmp ecx, 0xa
jge 0x100d432a
cmp eax, 5
jne 0x100d42b0
mov eax, ecx
mov dword [esp + 0x4c], ecx
jmp 0x100d42c4
cmp dword [esp + 0x2c], 0
je 0x100d432a
cmp eax, 0x57
mov dword [esp + 0x2c], 0
jne 0x100d432a
xor ebx, ebx
cmp dword [esp], 0
je 0x100d3e10
mov ecx, dword [esp + 8]
mov edx, 2
call sym.___rust_dealloc
xor ebx, ebx
jmp 0x100d3e10
shl eax, 0xc
lea edx, [esi + 3]
or ecx, eax
mov dword [esp + 0xc], edx
mov ebx, ecx
cmp ebx, 0xffff
jbe 0x100d3fae
lea ecx, [ebx + 0xff0000]
and ebx, 0x3ff
mov eax, 1
shr ecx, 0xa
or ebx, 0xdc00
mov dword [esp + 0x14], ebx
or ecx, 0xd800
mov ebx, ecx
jmp 0x100d3fb8
mov ecx, dword [esp + 0x28]
cmp dword [esp], 0
mov esi, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx], 1
je 0x100d4450
mov ecx, dword [esp + 8]
mov edx, 2
call sym.___rust_dealloc
jmp 0x100d4450
cmp dword [esp], 0
mov edi, ebx
lea esi, [esp + 0x50]
je 0x100d437a
mov ecx, dword [esp + 8]
mov edx, 2
call sym.___rust_dealloc
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 0
mov word [esp + 0x70], 0
xorps xmm0, xmm0
xor ebx, ebx
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
mov byte [esp + 0x6d], al
xor al, 1
mov byte [esp + 0x6c], al
lea eax, [esp + 0x3c]
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x68], eax
mov edx, dword [esp + 4]
lea ecx, [esp + 0x34]
push esi
push dword [esp + 0x84]
call dbg.open
add esp, 8
movzx eax, byte [esp + 0x34]
cmp al, 4
jne 0x100d4415
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx], 0
je 0x100d4470
mov ecx, dword [esp + 4]
mov edx, 1
call sym.___rust_dealloc
jmp 0x100d4470
movzx ecx, byte [esp + 0x37]
mov edx, dword [esp + 0x28]
mov ebx, edi
mov esi, edi
mov byte [esp + 0x22], cl
movzx ecx, word [esp + 0x35]
mov byte [edx + 4], al
mov word [esp + 0x20], cx
mov ecx, dword [esp + 0x38]
movzx eax, word [esp + 0x20]
mov word [edx + 5], ax
mov ah, byte [esp + 0x22]
mov byte [edx + 7], ah
mov dword [edx + 8], ecx
mov dword [edx], 1
mov ecx, dword [esp + 4]
cmp dword [esp + 0x24], 0
je 0x100d4465
mov edx, 1
call sym.___rust_dealloc
cmp ebx, 0xffffffff
je 0x100d4470
push esi
call sub.kernel32.dll_CloseHandle
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x100d4487
call sym.alloc::raw_vec::capacity_overflow::h5648a8ceafa88914
jmp 0x100d44a9
mov edx, dword [esp + 0x44]
call dbg.handle_alloc_error
jmp 0x100d44a9
mov bl, 1
mov ecx, 2
mov edx, esi
call dbg.handle_alloc_error
jmp 0x100d44a9
mov bl, 1
call sym.alloc::raw_vec::capacity_overflow::h5648a8ceafa88914
ud2