Function at 0x1003d5c0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091088
push 0x10055d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc4
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 0x1003d628
push 0x100040
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1003f980
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 - 0x4c]
push ecx
push 0x1007bcb8
call fcn.1004ae20
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 - 0x4c]
push edx
push 0x1007bca4
call fcn.1004ae20
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10
lea ecx, [ebp - 0x4c]
push ecx
push 0x1007bcb4
call fcn.1004ae20
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.1004eb10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1003d860
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x14c
mov edx, dword [ebp - 0x30]
push edx
call fcn.1004eaf0
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x1003d83d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003d833
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 0x1003d827
mov byte [ebp - 0x19], 1
push 0x14c
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.10055aa0
add esp, 0xc
push 0
call fcn.1004e2b0
push eax
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 - 0x20]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x28
push edx
call fcn.10055f80
add esp, 8
push 0x14c
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
mov ecx, 0x53
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
push eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0x1003f440
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
push 7
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x12c], 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1003d831
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003d83d
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
call fcn.1003d84b
jmp 0x1003d860
mov dword [ebp - 4], 0xffffffff
call fcn.1003d86e
jmp 0x1003d883
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