Function at 0x477300
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0c5c
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x62cf50]
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 - 0x134], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x124]
mov byte [ebp - 0x125], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.00477bd0
push 9
xor eax, eax
mov dword [ebp - 4], 0
push str..pipe_
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00409db0
lea edx, [ebx + 0x204]
mov byte [ebp - 4], 1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4773a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040f730
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], 2
cmp byte [ebx + 0x400], cl
je 0x47788a
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0xf
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00409db0
push 3
push 0x5e0608
lea ecx, [ebp - 0x28]
call fcn.0040f730
push 0xc
push str._A__GA___OW_
lea ecx, [ebp - 0x28]
call fcn.0040f730
cmp byte [0x631c68], 0
je 0x477452
push 0xc
push str._A__GA___AC_
lea ecx, [ebp - 0x28]
call fcn.0040f730
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x9c]
push 0
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 1
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x4774a8
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x47748b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
jmp 0x477b05
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.00477ce0
add esp, 4
test al, al
jne 0x477511
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x4774f4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 9
jmp 0x477b05
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xf4], eax
xor eax, eax
push eax
push 0x5b6ea8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00409db0
push 0xf
push str.D:P_A__GA___OW_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.0040f730
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 0x4775d5
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x47758b
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp eax, 8
jb 0x4775b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xe
jmp 0x477b05
cmp dword [0x631c38], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x140], 0xc
mov dword [ebp - 0x13c], eax
movq xmm0, qword [ebp - 0x140]
movq qword [ebp - 0xe4], xmm0
mov dword [ebp - 0xdc], 0
je 0x4776af
cmp dword [0x631c3c], 0
je 0x4776af
lea eax, [ebp - 0xd8]
push eax
push 0x631c3c
push 0x631c38
call fcn.00477df0
add esp, 0xc
test al, al
je 0x47764c
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x47764c
cmp word [eax], 0
jne 0x4776af
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x477665
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x477692
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x12
jmp 0x477b05
push 0xb
xor eax, eax
mov dword [ebp - 0x148], 0
push str.acrocef_low
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
call fcn.00409db0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004780a0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x12c], 0
add esp, 8
cmp ecx, eax
je 0x477734
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 - 0x12c], esi
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x477795
mov eax, dword [ebp - 0x138]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
mov byte [ebp - 4], 0x15
cmp edx, 0x1000
jb 0x47776d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bb9
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x4777d9
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x16
cmp edx, 0x1000
jb 0x4777cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bb9
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov eax, dword [ebp - 0x60]
xor ecx, ecx
sub eax, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x44]
sar eax, 1
cmp ecx, eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0xe8], eax
cmp edx, 8
jb 0x477830
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x17
cmp edx, 0x1000
jb 0x477826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bbe
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x47788a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x18
cmp edx, 0x1000
jb 0x47787c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bbe
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x477896
test eax, eax
jne 0x4778e5
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0xac]
cmovae ecx, dword [ebp - 0x40]
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 + 8], eax
cmp eax, 0xffffffff
je 0x477acb
test eax, eax
je 0x477acb
cmp byte [ebx + 0x3e6], 0
jne 0x47796d
mov eax, dword [ebx + 0x3ec]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x47796d
mov ecx, eax
call dword [0x5b1854]
mov ecx, dword [ebp - 0x134]
call dword [ebp - 0x12c]
test al, al
je 0x47796d
mov byte [ebp - 0x125], 1
test esi, esi
je 0x477964
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x1b
cmp edi, 0x1000
jb 0x47795a
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bc3
push edi
push esi
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 0x1c
jmp 0x477b05
push 0x30
lea eax, [ebp - 0x94]
mov byte [ebp - 0x124], 0
push 0
push eax
mov byte [ebp - 0x108], 1
call fcn.0056aed0
add esp, 4
lea ecx, [ebx + 0xc]
cmp dword [ebx + 0x20], 8
mov edx, esp
jb 0x47799c
mov ecx, dword [ebx + 0xc]
mov dword [edx], ecx
mov eax, dword [ebx + 0x1c]
mov dword [edx + 4], eax
lea eax, [ebp - 0x94]
push eax
call fcn.00478c50
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00478cd0
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1e
call fcn.0045bca0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x1d
call fcn.00439330
mov ecx, ebx
call fcn.004772e0
lea ecx, [ebp - 0x94]
test al, al
jne 0x477a41
call fcn.0045be30
test esi, esi
je 0x477a38
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x1f
cmp edi, 0x1000
jb 0x477a2e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bc3
push edi
push esi
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 0x20
jmp 0x477b05
mov byte [ebp - 0x125], 1
call fcn.0045be30
test esi, esi
je 0x477a83
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x21
cmp edi, 0x1000
jb 0x477a79
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bc3
push edi
push esi
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x477b1e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x22
cmp edx, 0x1000
jb 0x477abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bc3
push edx
push ecx
call fcn.0040a1a2
add esp, 8
jmp 0x477b1a
test esi, esi
je 0x477b01
sub edi, esi
mov eax, esi
sar edi, 1
add edi, edi
mov byte [ebp - 4], 0x19
cmp edi, 0x1000
jb 0x477af7
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477bc3
push edi
push esi
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x477b1a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x477b31
push eax
call fcn.0040a1b5
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x477b42
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x477b53
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x477b64
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x125], 0
jne 0x477b8a
mov ecx, ebx
call fcn.0049d360
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffffff
je 0x477b8a
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 8], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.004794e0
mov al, byte [ebp - 0x125]
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.004016cd
mov esp, ebp
pop ebp
ret 4
call fcn.0056e2db
call fcn.0056e2db
call fcn.0056e2db
int3