Function at 0x480780
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a170e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x84], 0
test edi, edi
je 0x480904
lea eax, [ebp - 0x12]
push edi
push eax
lfence
call fcn.0047f830
mov ecx, eax
mov dword [ebp - 0x94], 0
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
add esp, 8
lea eax, [ebp - 0x12]
cmp ecx, eax
je 0x480826
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xa4]
lfence
call fcn.00409db0
push 0x24
push str.GlobalIEACROBATSTARTIPCNAMEDPIPECOM
push 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
call fcn.004195a0
mov dword [ebp - 0x64], 0
xor ecx, ecx
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x480895
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x60], 8
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
push 0
push 1
push 0
mov dword [ebp - 0x90], 7
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 4
cmp ecx, 8
jb 0x4808f0
inc ecx
push ecx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x74]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
push dword [ebp + 0x10]
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 5
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push eax
mov ecx, esi
movq qword [ebp - 0x80], xmm0
call fcn.0047fd40
test al, al
lea ecx, [ebp - 0x80]
mov eax, 0
cmove ecx, eax
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x5c], eax
sub ecx, 0
je 0x480a3b
sub ecx, 1
je 0x48095c
mov esi, 8
jmp 0x480b55
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004800b0
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x480990
lea esi, [eax + 4]
jmp 0x480a29
test edi, edi
je 0x480a32
cmp dword [esi + 0x8c], 0
je 0x480a32
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push 0x190000
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4809e6
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x4809e6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov dword [ebp - 0x40], 0
cmp edi, 0xffffffff
je 0x480a32
mov esi, dword [esi + 0x8c]
lea eax, [ebp - 0x40]
push eax
push edi
mov ecx, esi
call dword [0x5b1854]
call esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x480a32
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x8c], eax
je 0x480a32
cmp dword [ebp - 0x5c], eax
je 0x480a32
mov esi, 0xb
mov byte [ebp - 4], 0x10
jmp 0x480b40
mov byte [ebp - 4], 0x12
jmp 0x480b1b
mov al, byte [ebp + 0xc]
push 0
push 0
push 1
push 0
mov byte [esi + 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
test eax, eax
jne 0x480a5e
lea esi, [eax + 2]
jmp 0x480b55
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004800b0
add esp, 8
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x480a8d
cmp dword [ebp - 0x44], 8
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00409db0
push dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x3e8
cmovae eax, dword [ebp - 0x58]
push 0
push 0
push 1
push 0xe
push 0x80003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x480acc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x7c], 0
cmp dword [esi + 0x2c], 0xffffffff
jne 0x480ae4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [eax - 5]
neg esi
sbb esi, esi
add esi, 3
jmp 0x480b3c
push dword [esi + 8]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp byte [ebp + 0xc], 0
je 0x480b34
lea eax, [ebp - 0x5c]
push eax
push 0
push esi
push fcn.00480150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x480b17
lea esi, [eax + 2]
jmp 0x480b3c
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x480b30
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a5e0
xor esi, esi
jmp 0x480b55
push esi
call fcn.00480150
mov esi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x480b55
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a5e0
push dword [ebp - 0x88]
mov dword [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 0xc