Function at 0x46fd50
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f66
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov byte [ebp - 0xe5], 0
push 9
xor eax, eax
mov dword [ebp - 0xa0], 0
push str..pipe_
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov word [ebp - 0xe4], 0
mov byte [ebp - 0xe2], 0
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
movlpd qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408f30
lea edx, [ebx + 0x200]
mov dword [ebp - 4], 0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46fe47
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040ddb0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [ebp - 0x64], xmm0
xor esi, esi
xor ecx, ecx
movq qword [ebp - 0xac], xmm0
xor edi, edi
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 1
cmp byte [ebx + 0x400], cl
je 0x47036e
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0xf
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00408f30
push 3
push 0x5aa6a8
lea ecx, [ebp - 0x40]
call fcn.0040ddb0
push 0xc
push str._A__GA___OW_
lea ecx, [ebp - 0x40]
call fcn.0040ddb0
cmp byte [0x5f17f0], 0
je 0x46fef9
push 0xc
push str._A__GA___AC_
lea ecx, [ebp - 0x40]
call fcn.0040ddb0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x9c]
push 0
push ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 1
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x46ff52
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x46ff32
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 5
jmp 0x4705c9
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xac], 0xc
mov dword [ebp - 0xa4], 0
call fcn.004706b0
add esp, 4
test al, al
jne 0x46ffbe
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x46ff9e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 8
jmp 0x4705c9
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xe0], eax
xor eax, eax
push eax
push 0x586454
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00408f30
push 0xf
push str.D:P_A__GA___OW_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.0040ddb0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x98]
push 0
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 1
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x470085
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x470038
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x470065
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xd
jmp 0x4705c9
cmp dword [0x5f1ff8], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xf8], 0xc
mov dword [ebp - 0xf4], eax
movq xmm0, qword [ebp - 0xf8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
je 0x470162
cmp dword [0x5f1ffc], 0
je 0x470162
lea eax, [ebp - 0xc4]
push eax
push 0x5f1ffc
push 0x5f1ff8
call fcn.004707c0
add esp, 0xc
test al, al
je 0x4700fc
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x4700fc
cmp word [eax], 0
jne 0x470162
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x470115
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x470142
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0x11
jmp 0x4705c9
push 0xb
xor eax, eax
mov dword [ebp - 0x104], 0
push str.acrocef_low
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
call fcn.00408f30
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00470a70
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xec], 0
add esp, 8
cmp ecx, eax
je 0x4701e7
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0xec], esi
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x470248
mov eax, dword [ebp - 0xf0]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
mov byte [ebp - 4], 0x14
cmp edx, 0x1000
jb 0x470220
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470691
push edx
push ecx
call fcn.00409f25
add esp, 8
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov edx, dword [ebp - 0x100]
cmp edx, 8
jb 0x47028c
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x15
cmp edx, 0x1000
jb 0x470282
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470691
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov word [ebp - 0x114], ax
xor ecx, ecx
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0xec]
sar eax, 1
cmp ecx, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 7
sbb eax, eax
and eax, esi
mov dword [ebp - 0xd4], eax
cmp edx, 8
jb 0x470300
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x16
cmp edx, 0x1000
jb 0x4702f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470696
push edx
push ecx
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x47035a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x17
cmp edx, 0x1000
jb 0x47034c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470696
push edx
push ecx
call fcn.00409f25
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x47037a
test eax, eax
jne 0x4703c9
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0xac]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
cmp dword [ebp - 0xac], edx
cmove eax, edx
cmp byte [ebx + 0x401], 0
push eax
push 0x7d0
push 0x1000
push 0x1000
push 1
mov edx, 0x40080003
mov eax, 0x80003
push 8
cmovne eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x47058c
test eax, eax
je 0x47058c
cmp byte [ebx + 0x3e2], 0
jne 0x470454
mov eax, dword [ebx + 0x3e8]
mov dword [ebp - 0xec], eax
test eax, eax
je 0x470454
mov ecx, eax
call dword [0x5817c0]
mov ecx, dword [ebp - 0xfc]
call dword [ebp - 0xec]
test al, al
je 0x470454
mov byte [ebp - 0xe5], 1
test esi, esi
je 0x470448
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x1a
cmp edi, 0x1000
jb 0x47043e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47069b
push edi
push esi
call fcn.00409f25
add esp, 8
mov dword [ebp - 4], 0x1b
jmp 0x4705c9
push 0x30
lea eax, [ebp - 0x94]
mov word [ebp - 0xe4], 0x100
push 0
push eax
call fcn.0053f340
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00471620
push ebx
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004716a0
add esp, 0x20
test al, al
je 0x470542
cmp dword [ebx], 0
je 0x470542
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xe5], 1
call fcn.00453bd0
test esi, esi
je 0x4704f1
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x1f
cmp edi, 0x1000
jb 0x4704e7
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47069b
push edi
push esi
call fcn.00409f25
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4705e5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 0x20
cmp edx, 0x1000
jb 0x470533
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47069b
push edx
push ecx
call fcn.00409f25
add esp, 8
jmp 0x4705de
lea ecx, [ebp - 0x94]
call fcn.00453bd0
test esi, esi
je 0x470583
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x1d
cmp edi, 0x1000
jb 0x470579
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47069b
push edi
push esi
call fcn.00409f25
add esp, 8
mov dword [ebp - 4], 0x1e
jmp 0x4705c9
test esi, esi
je 0x4705c2
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x18
cmp edi, 0x1000
jb 0x4705b8
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47069b
push edi
push esi
call fcn.00409f25
add esp, 8
mov dword [ebp - 4], 0x19
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4705de
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x470608
push eax
call fcn.00409f38
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x470619
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x47062a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x47063b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xe5], 0
jne 0x47066d
mov eax, dword [ebx]
test eax, eax
je 0x470657
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov ecx, dword [ebx + 4]
cmp ecx, 0xffffffff
je 0x47066d
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], 0xffffffff
mov al, byte [ebp - 0xe5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret 4
call fcn.0054223b
call fcn.0054223b
call fcn.0054223b
int3