Function at 0x4315f4
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, 0x40080002
mov dword [esp + 0x24], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 8], 0
sub eax, edx
mov dword [esp + 0x94], eax
push 8
pop eax
mov ebx, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov dword [esp + 0x2c], eax
xor eax, eax
lea esi, [esp + 0x40]
lea edi, [esp + 0x14]
mov dword [esp + 0x70], 0
dec eax
mov dword [esp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x98], eax
mov eax, dword [0x457bdc]
test eax, eax
jne 0x431677
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
push 0x10
push esi
call ebx
mov eax, dword [esp + 0x40]
xchg dword [0x457bdc], eax
jmp 0x431655
xor eax, eax
lea ecx, [esp + 0x30]
inc eax
lock xadd dword [0x457bdc], eax
mov dword [esp + 0x40], 0x454f00
mov dword [esp + 0x30], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, 0x413696
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
push 2
pop eax
mov dword [esp + 0x44], eax
and dword [esp + 0x50], 0
mov ecx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
call fcn.00422225
test eax, eax
je 0x4316f8
mov edi, edx
lea ecx, [esp + 0x74]
mov edx, eax
push edi
call fcn.00412cd9
pop eax
mov eax, dword [esp + 0x7c]
movsd xmm0, qword [esp + 0x74]
mov dword [esp + 0x88], eax
movsd qword [esp + 0x80], xmm0
jmp 0x431706
lea ecx, [esp + 0x80]
mov edx, esi
call fcn.00412df7
test byte [esp + 8], 1
lea ebx, [esp + 0x14]
je 0x43171e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
call fcn.00412c7a
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
add eax, ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
and word [esp + 0x20], 0
call fcn.0042936a
test ax, ax
je 0x431815
mov edi, edx
mov ecx, esi
mov edx, ebx
call fcn.004293a3
mov edx, dword [esp + 0x40]
mov eax, 0xffffffff
inc edx
cmove edx, eax
cmp edx, 5
push 4
pop eax
cmovb edx, eax
mov ecx, esi
call fcn.00428cd6
mov eax, dword [esp + 0x44]
mov word [eax], di
mov dword [esp + 0x38], 1
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
mov ecx, esi
call fcn.0042936a
cmp ax, 1
jne 0x43180b
mov ebx, dword [esp + 0x38]
mov edi, edx
cmp ebx, dword [esp + 0x30]
jne 0x4317fc
lea ecx, [esp + 0x74]
mov edx, esi
call fcn.004293a3
mov edx, dword [esp + 0x74]
mov eax, 0xffffffff
lea ecx, [esp + 0x30]
inc edx
cmove edx, eax
call fcn.00428d0a
mov eax, dword [esp + 0x34]
mov word [eax + ebx*2], di
inc ebx
mov dword [esp + 0x38], ebx
jmp 0x4317c2
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
jmp 0x43181a
xor ebx, ebx
push 2
pop edi
push 0
push 0
mov eax, 0x10000
push eax
push eax
push 1
push dword [esp + 0x40]
push dword [esp + 0xac]
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x431900
mov eax, dword [esp + 0x70]
mov ecx, esi
mov dword [esp + 8], ebx
lea ebx, [eax + 1]
call fcn.00429caa
mov ecx, esi
call fcn.0042a123
cmp ebx, 9
jg 0x4318b4
test eax, eax
je 0x4318b4
cmp edx, 5
jne 0x431873
mov dword [esp + 0x70], ebx
jmp 0x431887
cmp dword [esp + 0x2c], 0
je 0x4318b4
cmp edx, 0x57
mov dword [esp + 0x2c], 0
jne 0x4318b4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
call fcn.00428ca0
mov ecx, dword [esp + 8]
mov edx, edi
call fcn.00429576
mov ebx, dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov al, 1
lea edi, [esp + 0x14]
mov dword [esp + 8], eax
jmp 0x431648
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 4], eax
mov dword [edx], 1
mov edx, edi
call fcn.00429576
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
call fcn.00412c7a
cmp esi, 0xffffffff
je 0x4319af
push dword [esp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4319af
mov ecx, ebx
mov edx, edi
call fcn.00429576
mov eax, dword [esp + 0x90]
and dword [esp + 0x48], 0
and dword [esp + 0x40], 0
and dword [esp + 0x4c], 0
and dword [esp + 0x5c], 0
and word [esp + 0x60], 0
and dword [esp + 0x54], 0
mov dword [esp + 0x14], 0xc
and dword [esp + 0x18], 0
mov edx, dword [esp + 0x10]
lea ebx, [esp + 0x74]
mov dword [esp + 0x1c], 1
mov ecx, ebx
mov byte [esp + 0x5d], al
xor al, 1
mov byte [esp + 0x5c], al
and dword [esp + 0x50], 0
lea eax, [esp + 0x14]
mov dword [esp + 0x58], eax
push esi
push dword [esp + 0xc]
call fcn.0042d9b1
pop eax
pop ecx
cmp byte [ebx], 4
jne 0x431984
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
jmp 0x431999
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
cmp bl, 4
jne 0x4319b7
mov edx, dword [esp + 0x24]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
and dword [edx], 0
mov edx, dword [esp + 0x10]
call fcn.00412c7a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], esi
mov dword [edx + 8], eax
mov dword [edx + 4], ebx
mov dword [edx], 1
jmp 0x4318df