Function at 0x4692a0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8400
push 0x47d4e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov byte [ebp - 0x19], 0
push 2
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x469308
push 0x100040
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00466f00
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
lea ecx, [ebp - 0x58]
push ecx
push 0x48afb0
call fcn.0046d120
push eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
lea edx, [ebp - 0x58]
push edx
push 0x48af9c
call fcn.0046d120
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10
lea ecx, [ebp - 0x58]
push ecx
push 0x48afac
call fcn.0046d120
push eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x24]
push eax
call fcn.0046b070
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x469547
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x148
mov edx, dword [ebp - 0x30]
push edx
call fcn.0046b280
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x469524
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x46951a
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x46950e
mov byte [ebp - 0x19], 1
push 0x148
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0046b5f0
add esp, 0xc
push 0
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x24
push eax
call sub.MSVCR110.dll_strcpy
add esp, 8
push 0x148
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
mov ecx, 0x52
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
push 0x4696a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], eax
push 7
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x128], 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x469518
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x469524
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
call fcn.00469532
jmp 0x469547
mov dword [ebp - 4], 0xffffffff
call fcn.00469555
jmp 0x46956a
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret