Function at 0x435070
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, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], esp
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xb4], 0x43e450
mov dword [esi + 0x38], ecx
lea eax, [esi + 0xb0]
mov bl, 1
mov dword [esi + 0x84], edx
mov dword [esi + 8], 0
mov dword [esi + 0x3c], 8
mov dword [esi + 0x5c], 0
mov ecx, dword fs:[0]
mov dword [esi + 0xb0], ecx
mov dword fs:[0], eax
mov eax, 0x40080002
sub eax, edx
mov dword [esi + 0x8c], eax
nop word [eax + eax]
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x94], eax
mov ebx, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
lea edi, [esi + 0x60]
xorps xmm0, xmm0
mov eax, dword [0x51019c]
test eax, eax
jne 0x43513d
nop word cs:[eax + eax]
nop
movaps xmmword [esi + 0x60], xmm0
push 0x10
push edi
call ebx
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov dword [0x51019c], eax
mov eax, dword [0x51019c]
test eax, eax
je 0x435120
mov eax, 1
lock xadd dword [0x51019c], eax
mov dword [esi + 0x60], 0x508b38
mov dword [esi + 0x64], 2
mov dword [esi + 0x70], 0
mov byte [esi + 7], 1
mov dword [esi + 0xb8], 1
mov dword [esi + 0x44], eax
mov eax, dword [esi + 8]
mov byte [esi + 6], al
lea eax, [esi + 0x94]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x44]
mov dword [esi + 0x50], fcn.004496b0
mov dword [esi + 0x54], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x58], fcn.004496b0
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x6c], 2
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x34], eax
push edi
lea eax, [esi + 0x9c]
push eax
call fcn.00445550
add esp, 8
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
test edx, edx
sete al
or cl, al
test cl, 1
jne 0x4351dc
push 1
push edx
push dword [esi + 0x18]
call fcn.0040ad50
add esp, 0xc
mov ecx, dword [esi + 0xa4]
mov ebx, dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
lea edx, [ebx + ecx]
test ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x88], ecx
mov dword [esi + 0x40], edx
je 0x435220
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x435250
lea eax, [ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x4352a6
mov dword [esi + 0x28], 0
mov edi, 4
mov ebx, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 8], 0
jmp 0x4352ed
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x43529b
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x4355b6
movzx ecx, byte [ebx + 3]
and edi, 7
shl eax, 6
shl edi, 0x12
and ecx, 0x3f
or ecx, eax
lea eax, [ebx + 4]
or edi, ecx
mov dword [esi + 0x14], eax
cmp edi, 0xffff
jbe 0x4352a6
jmp 0x4355cd
shl edi, 6
lea eax, [ebx + 2]
mov dword [esi + 0x14], eax
or edi, edx
mov dword [esi + 8], edi
mov dword [esi + 0x28], 0
xor eax, eax
mov ecx, dword [esi + 0x40]
mov edx, 0xffffffff
mov edi, 2
sub ecx, dword [esi + 0x14]
add ecx, 3
cmovb ecx, edx
shr ecx, 2
add ecx, eax
cmp ecx, 3
cmovae edi, ecx
cmp ecx, 0x3ffffffd
lea ebx, [edi + edi + 4]
ja 0x43579a
add edi, 2
mov ax, 1
mov dword [esi + 0x2c], eax
movzx eax, byte [0x510121]
push 2
push ebx
call fcn.0040ad40
add esp, 8
test eax, eax
je 0x435793
mov ecx, eax
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 0x14]
mov edx, edi
inc eax
mov dword [esi + 0x90], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], 1
mov word [ecx], ax
jmp 0x435345
mov edi, edx
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov word [ecx + eax*2], dx
inc eax
mov edx, edi
mov dword [esi + 8], eax
mov edi, dword [esi + 0x28]
test ebx, ebx
je 0x435390
test di, di
je 0x435360
xor eax, eax
mov dword [esi + 0x10], edi
cmp dword [esi + 8], edx
jne 0x435330
jmp 0x435470
cmp ebx, dword [esi + 0x40]
je 0x435390
mov dword [esi + 0xc], ecx
movzx ecx, byte [ebx]
movzx eax, cl
test cl, cl
js 0x4353c7
mov dword [esi + 0x10], eax
inc ebx
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [esi + 8], edx
jne 0x435330
jmp 0x435470
cmp word [esi + 0x2c], 1
jne 0x435520
cmp dword [esi + 8], edx
mov eax, 0
mov edi, 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], 0
je 0x43549f
mov edi, edx
xor edx, edx
xor ebx, ebx
jmp 0x435338
mov dword [esi + 0x24], edx
movzx edx, byte [ebx + 1]
and eax, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x43540d
movzx edi, byte [ebx + 2]
shl edx, 6
and edi, 0x3f
or edi, edx
cmp cl, 0xf0
jb 0x43542b
movzx ecx, byte [ebx + 3]
and eax, 7
shl edi, 6
add ebx, 4
shl eax, 0x12
and ecx, 0x3f
or ecx, edi
or eax, ecx
mov edx, dword [esi + 0x24]
cmp eax, 0xffff
jbe 0x435418
jmp 0x43543d
shl eax, 6
add ebx, 2
or eax, edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp dword [esi + 8], edx
jne 0x435330
jmp 0x435470
shl eax, 0xc
add ebx, 3
or eax, edi
mov edx, dword [esi + 0x24]
cmp eax, 0xffff
jbe 0x435418
lea ecx, [eax + 0xff0000]
and eax, 0x3ff
shr ecx, 0xa
or eax, 0xdc00
or ecx, 0xd800
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0xc]
cmp dword [esi + 8], edx
jne 0x435330
nop word cs:[eax + eax]
nop
mov edi, dword [esi + 0x40]
mov dword [esi + 0x14], ebx
sub edi, ebx
mov ebx, ecx
mov ecx, 0xffffffff
add edi, 3
cmovb edi, ecx
mov ecx, ebx
shr edi, 2
cmp ax, 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
sbb edi, 0xffffffff
cmp word [esi + 0x2c], 1
sbb edi, 0xffffffff
inc edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x24], edx
add edi, dword [esi + 8]
jb 0x43577b
lea ecx, [edx + edx]
mov dword [esi + 0x14], eax
mov eax, edx
mov ebx, 4
cmp ecx, edi
cmova edi, ecx
xor edx, edx
cmp edi, 0x40000000
setb byte [esi + 0x23]
cmp edi, 5
cmovb edi, ebx
test eax, eax
je 0x4354e7
mov eax, dword [esi + 0xc]
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], ecx
mov ecx, 2
jmp 0x4354e9
xor ecx, ecx
movzx eax, byte [esi + 0x23]
mov dword [esi + 0x64], ecx
lea ebx, [edi + edi]
lea ecx, [esi + 0x4c]
mov dl, al
lea eax, [esi + 0x60]
add edx, edx
push eax
push ebx
call fcn.00428e00
add esp, 8
cmp dword [esi + 0x4c], 0
jne 0x435769
mov ecx, dword [esi + 0x50]
mov ebx, dword [esi + 0x14]
jmp 0x435335
mov edi, edx
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esi + 0x3c]
push dword [esi + 0x8c]
mov dword [esi + 0xc], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ebx, dword [esi + 0x90]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x43564e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0xc]
cmp ebx, 0xa
mov edx, edi
jge 0x4355fa
cmp eax, 5
jne 0x435580
mov dword [esi + 0x5c], ebx
jmp 0x435592
cmp dword [esi + 0x3c], 0
je 0x4355fa
cmp eax, 0x57
mov dword [esi + 0x3c], 0
jne 0x4355fa
mov al, 1
xor ebx, ebx
test edx, edx
mov dword [esi + 8], eax
je 0x4350f0
add edx, edx
push 2
push edx
push ecx
call fcn.0040ad50
add esp, 0xc
xor ebx, ebx
jmp 0x4350f0
shl edi, 0xc
lea ecx, [ebx + 3]
mov dword [esi + 0x14], ecx
or edi, eax
cmp edi, 0xffff
jbe 0x4352a6
lea ecx, [edi + 0xff0000]
and edi, 0x3ff
mov eax, 1
or edi, 0xdc00
shr ecx, 0xa
mov edx, edi
or ecx, 0xd800
mov dword [esi + 8], ecx
mov dword [esi + 0x28], edx
jmp 0x4352b2
mov ecx, dword [esi + 0x38]
test edx, edx
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx], 1
je 0x435621
add edx, edx
push 2
push edx
push dword [esi + 0xc]
call fcn.0040ad50
add esp, 0xc
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x435636
push 1
push eax
push dword [esi + 0x18]
call fcn.0040ad50
add esp, 0xc
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x435724
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x435724
test edi, edi
je 0x435670
add edi, edi
push 2
push edi
push dword [esi + 0xc]
mov edi, eax
call fcn.0040ad50
mov eax, edi
add esp, 0xc
mov dword [esi + 0xb8], 1
mov ecx, eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x60], 0
mov dword [esi + 0x7c], 0
mov word [esi + 0x80], 0
xorps xmm0, xmm0
mov edx, dword [esi + 0x18]
mov dword [esi + 0x4c], 0xc
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov byte [esi + 6], 1
mov byte [esi + 7], 0
mov dword [esi + 0xb8], 1
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0x44]
mov byte [esi + 0x7d], al
xor al, 1
mov dword [esi + 0x30], edx
mov byte [esi + 0x7c], al
lea eax, [esi + 0x4c]
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x88]
call fcn.00433540
add esp, 8
movzx eax, byte [esi + 0x44]
cmp al, 4
jne 0x435738
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx], 0
test eax, eax
je 0x435724
push 1
push eax
push dword [esi + 0x18]
call fcn.0040ad50
add esp, 0xc
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [esi + 0x47]
mov edx, dword [esi + 0x38]
movzx ebx, word [esi + 0x45]
mov edi, dword [esi + 0x48]
mov byte [edx + 7], cl
mov word [edx + 5], bx
mov byte [edx + 4], al
mov dword [edx + 8], edi
mov dword [edx], 1
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x435628
jmp 0x435636
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0xb8], 2
jmp 0x43577d
xor eax, eax
mov dword [esi + 0xb8], 2
push ecx
push eax
call fcn.0044b440
add esp, 8
jmp 0x4357ba
mov eax, 2
jmp 0x43579c
xor eax, eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
push ebx
push eax
call fcn.0044b440
add esp, 8
ud2