Function at 0x533e30
Capabilities:
Create pipe
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, 0x40080002
lea esi, [esp + 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], 8
mov dword [esp + 0x4c], 0
sub eax, edx
mov dword [esp + 0x80], eax
nop word cs:[eax + eax]
nop dword [eax + eax]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 0x8c], eax
mov edi, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xorps xmm0, xmm0
mov eax, dword [0x5e1110]
test eax, eax
jne 0x533ebf
nop
movaps xmmword [esp + 0x50], xmm0
push 0x10
push esi
call edi
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
mov dword [0x5e1110], eax
mov eax, dword [0x5e1110]
test eax, eax
je 0x533ea0
mov eax, 1
lea edi, [esp + 0x8c]
lea ebx, [esp + 0x34]
lock xadd dword [0x5e1110], eax
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x3c]
mov dword [esp + 0x40], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::h8917667e5366c09f
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], 0x5b2964
mov dword [esp + 0x54], 2
mov dword [esp + 0x60], 0
mov dword [esp + 0x48], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::h8917667e5366c09f
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 2
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x90]
mov edx, esi
call sym.alloc::fmt::format::format_inner::h615817f0e0a04e8e
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0xc]
setne al
and cl, al
cmp cl, 1
jne 0x533f4d
push dword [esp + 0x10]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
lea edx, [ecx + eax]
test eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edx
je 0x533f90
movzx ebx, byte [ecx]
test bl, bl
js 0x533fc0
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
jmp 0x53401e
mov dword [esp + 0x14], 0
mov esi, 4
mov edi, 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 0
xor ebx, ebx
jmp 0x534067
movzx edx, byte [ecx + 1]
mov eax, ebx
and eax, 0x1f
and edx, 0x3f
cmp bl, 0xdf
jbe 0x534010
mov esi, ecx
movzx ecx, byte [ecx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp bl, 0xf0
jb 0x534358
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 0x53401e
jmp 0x534372
shl eax, 6
add ecx, 2
or eax, edx
mov dword [esp + 0xc], ecx
mov ebx, eax
mov eax, 1
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
mov edx, 0xffffffff
mov esi, 3
sub ecx, dword [esp + 0xc]
add ecx, 3
cmovb ecx, edx
shr ecx, 2
add ecx, eax
cmp ecx, 4
cmovae esi, ecx
cmp ecx, 0x3ffffffe
lea edi, [esi + esi + 2]
ja 0x5344fd
inc esi
mov ax, 1
mov dword [esp + 0x24], eax
movzx eax, byte [0x5e1184]
xor ecx, ecx
mov edx, edi
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
test eax, eax
je 0x5344f4
mov ecx, eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov edi, esi
mov word [ecx], bx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, 1
inc eax
mov dword [esp + 0x84], eax
jmp 0x5340c3
mov edx, eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov word [eax + ecx*2], si
inc ecx
test ebx, ebx
je 0x534120
test dx, dx
je 0x534100
xor eax, eax
cmp ecx, edi
mov dword [esp + 0xc], edx
jne 0x5340b0
mov edx, dword [esp + 0x30]
mov esi, ecx
mov ecx, 0xffffffff
sub edx, ebx
add edx, 3
cmovb edx, ecx
movzx ecx, word [esp + 0x24]
shr edx, 2
cmp ax, 1
mov dword [esp + 0x14], eax
sbb edx, 0xffffffff
add edx, ecx
jmp 0x534150
cmp ebx, dword [esp + 0x30]
je 0x534120
movzx edx, byte [ebx]
test dl, dl
js 0x534210
inc ebx
xor eax, eax
jmp 0x5340ce
cmp word [esp + 0x24], 1
jne 0x5342c0
mov dword [esp + 0x14], edx
mov esi, ecx
cmp ecx, edi
mov ebx, 0
mov edx, 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
jne 0x5341c0
lea eax, [edx + 1]
xor ecx, ecx
mov dword [esp + 0x20], edi
add eax, esi
jb 0x5344e3
mov eax, edi
lea edi, [edx + esi + 1]
mov dword [esp + 0x88], esi
add eax, eax
cmp eax, edi
cmova edi, eax
cmp edi, 5
jae 0x53417f
mov edi, 4
test edi, edi
js 0x5344e3
mov esi, ebx
lea ebx, [edi + edi]
cmp ebx, 0x7ffffffe
ja 0x5344ed
cmp dword [esp + 0x20], 0
je 0x5341d2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], eax
mov eax, 2
jmp 0x5341d4
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], 0
xor ebx, ebx
mov ecx, esi
jmp 0x534207
xor eax, eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x3c]
mov edx, 2
push eax
push ebx
call sym.alloc::raw_vec::finish_grow::h1a82c316b049e258
add esp, 8
cmp dword [esp + 0x3c], 1
je 0x5344e5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x88]
mov ebx, esi
mov edx, dword [esp + 0x14]
jmp 0x5340b6
mov esi, edx
mov eax, edx
movzx edx, byte [ebx + 1]
and esi, 0x1f
mov dword [esp + 0xc], eax
and edx, 0x3f
cmp al, 0xdf
jbe 0x53426b
mov dword [esp + 0x20], edi
mov edi, ecx
movzx ecx, byte [ebx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp byte [esp + 0xc], 0xf0
jb 0x53427c
movzx edx, byte [ebx + 3]
and esi, 7
shl ecx, 6
add ebx, 4
shl esi, 0x12
and edx, 0x3f
or edx, ecx
or edx, esi
cmp edx, 0xffff
ja 0x53428e
mov ecx, edi
mov edi, dword [esp + 0x20]
xor eax, eax
jmp 0x5340ce
shl esi, 6
add ebx, 2
xor eax, eax
or esi, edx
mov edx, esi
jmp 0x5340ce
shl esi, 0xc
add ebx, 3
or ecx, esi
mov edx, ecx
cmp edx, 0xffff
jbe 0x53425e
lea ecx, [edx + 0xff0000]
and edx, 0x3ff
shr ecx, 0xa
or edx, 0xdc00
or ecx, 0xd800
mov eax, edx
mov edx, ecx
mov ecx, edi
mov edi, dword [esp + 0x20]
jmp 0x5340ce
mov ebx, edi
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esp + 0x40]
push dword [esp + 0x98]
mov edi, dword [esp + 0x34]
push edi
call sub.kernel32.dll_CreateNamedPipeW
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x5343f0
call sub.kernel32.dll_GetLastError
mov ecx, dword [esp + 0x84]
lea esi, [esp + 0x50]
cmp ecx, 9
jg 0x53439d
cmp eax, 5
jne 0x534320
mov dword [esp + 0x4c], ecx
jmp 0x534334
cmp dword [esp + 0x2c], 0
je 0x53439d
cmp eax, 0x57
mov dword [esp + 0x2c], 0
jne 0x53439d
mov al, 1
test ebx, ebx
mov dword [esp + 0xc], eax
je 0x533e80
push dword [esp + 0x18]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
jmp 0x533e80
shl eax, 0xc
lea edx, [esi + 3]
or ecx, eax
mov dword [esp + 0xc], edx
mov ebx, ecx
cmp ebx, 0xffff
jbe 0x53401e
lea ecx, [ebx + 0xff0000]
and ebx, 0x3ff
mov eax, 2
shr ecx, 0xa
or ebx, 0xdc00
mov dword [esp + 0x14], ebx
or ecx, 0xd800
mov ebx, ecx
jmp 0x53402b
mov ecx, dword [esp + 0x28]
test ebx, ebx
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 1
je 0x5343c0
push edi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x1c], 0
je 0x5343d8
push dword [esp + 0x10]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x5344a6
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x5344a6
test ebx, ebx
lea esi, [esp + 0x50]
je 0x534406
push edi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 0
mov word [esp + 0x70], 0
xorps xmm0, xmm0
lea edi, [esp + 0x3c]
mov bl, 1
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
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x68], edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push esi
push dword [esp + 0x80]
call sym.std::sys::pal::windows::fs::File::open::h2b59cc016f8293b2
add esp, 8
movzx eax, byte [esp + 0x34]
cmp al, 4
jne 0x5344ae
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx], 0
je 0x5344a6
push dword [esp + 0x10]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [esp + 0x37]
mov edx, dword [esp + 0x28]
movzx edi, word [esp + 0x35]
mov esi, dword [esp + 0x38]
mov byte [edx + 7], cl
mov word [edx + 5], di
mov byte [edx + 4], al
mov dword [edx + 8], esi
mov dword [edx], 1
cmp dword [esp + 0x1c], 0
jne 0x5343c7
jmp 0x5343d8
jmp 0x5344ed
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
jmp 0x534508
mov edx, edi
mov ecx, 2
jmp 0x534501
mov edx, edi
xor ecx, ecx
xor ebx, ebx
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
ud2