Function at 0x4010b0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Get common file path
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.__d3d10__msaa]
mov eax, dword [0x40e1bc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x270]
movups xmmword [ebp - 0x48], xmm0
push eax
movq xmm0, qword [0x40e1b4]
push 0x104
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.UT3.exe
push 0x226
lea eax, [ebp - 0x270]
push eax
call fcn.00401000
lea eax, [ebp - 0x48]
push eax
push 0x226
lea eax, [ebp - 0x270]
push eax
call fcn.00401000
lea eax, [ebp - 0x478]
mov dword [ebp - 0x2e0], 0x44
push eax
lea eax, [ebp - 0x2e0]
xorps xmm0, xmm0
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x270]
movlpd qword [ebp - 0x2dc], xmm0
push eax
push 0
movlpd qword [ebp - 0x2d4], xmm0
movlpd qword [ebp - 0x2cc], xmm0
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
movlpd qword [ebp - 0x2b4], xmm0
movlpd qword [ebp - 0x2ac], xmm0
movlpd qword [ebp - 0x2a4], xmm0
movups xmmword [ebp - 0x478], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4011b4
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401653
mov esp, ebp
pop ebp
ret 0x10
push ebx
push esi
push edi
push 0x2c8
lea eax, [ebp - 0x744]
push 0
push eax
call fcn.00402310
add esp, 0xc
mov dword [ebp - 0x748], 0x10002
lea eax, [ebp - 0x748]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x464]
push 0
push 4
push eax
mov eax, dword [ebp - 0x6a4]
add eax, 8
mov dword [ebp - 0x464], 0
push eax
push dword [ebp - 0x478]
call ebx
push 0
push 1
lea eax, [ebp - 0x271]
mov byte [ebp - 0x271], 0
push eax
mov eax, dword [ebp - 0x464]
add eax, 0xe7bdc5
push eax
push dword [ebp - 0x478]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x4012bc
cmp byte [ebp - 0x271], 0x75
jne 0x4012bc
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x464]
push 4
push 1
add eax, 0xe7bdc5
push eax
push dword [ebp - 0x478]
call edi
push 0
push 1
lea eax, [ebp - 0x271]
mov byte [ebp - 0x271], 0x74
push eax
mov eax, dword [ebp - 0x464]
add eax, 0xe7bdc5
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
mov eax, dword [ebp - 0x464]
push 1
add eax, 0xe7bdc5
push eax
push dword [ebp - 0x478]
call edi
lea eax, [ebp - 0x278]
push eax
push 0x40e194
call sub.dxgi.dll_CreateDXGIFactory1
test eax, eax
js 0x401616
mov ecx, dword [ebp - 0x278]
lea edx, [ebp - 0x468]
push edx
xor esi, esi
push esi
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
js 0x40160a
mov eax, dword [ebp - 0x468]
lea edx, [ebp - 0x460]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp dword [ebp - 0x360], 0x1414
jne 0x401348
cmp dword [ebp - 0x35c], 0x8c
jne 0x401348
mov eax, dword [ebp - 0x468]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x278]
lea edx, [ebp - 0x468]
push edx
inc esi
push esi
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
jns 0x4012f3
jmp 0x40160a
mov ecx, dword [ebp - 0x468]
lea edx, [ebp - 0x47c]
push edx
mov dword [ebp - 0x47c], 0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
test eax, eax
js 0x4015fe
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x33c]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x288], xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x28c], 0x57
movq qword [ebp - 0x38], xmm0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2f4]
lea edx, [ebp - 0x48]
sub eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x2f0]
sub eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x47c]
push 0
push edx
lea edx, [ebp - 0x29c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push 9
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x464]
add eax, 0xe7cf51
push eax
push dword [ebp - 0x478]
call ebx
test eax, eax
je 0x401562
lea ecx, [ebp - 0x24]
mov edx, 0x40e180
mov esi, 5
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x401441
add ecx, 4
add edx, 4
sub esi, 4
jae 0x401430
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x401468
cmp esi, 0xfffffffd
je 0x401464
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x401468
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x401468
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x401468
xor eax, eax
jmp 0x40146d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401562
mov eax, dword [ebp - 0x3c]
push 0x40
push 0x3000
push 0x12
push 0
push dword [ebp - 0x478]
mov dword [ebp - 0x18], 0x1b8
mov dword [ebp - 0x14], 0x2444c700
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xb], 0xe9
mov dword [ebp - 0xf], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x464]
mov esi, eax
push 0
push 0x12
lea eax, [ebp - 0x18]
sub ecx, esi
push eax
push esi
push dword [ebp - 0x478]
add ecx, 0xe7cf48
mov dword [ebp - 0xa], ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 0x464]
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x1f], 0x90909090
sub eax, 0xe7cf56
mov byte [ebp - 0x24], 0xe9
mov dword [ebp - 0x23], eax
lea eax, [ebp - 0x27c]
push eax
push 4
push 9
lea eax, [ecx + 0xe7cf51]
push eax
push dword [ebp - 0x478]
call edi
push 0
push 9
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x464]
add eax, 0xe7cf51
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x27c]
mov eax, dword [ebp - 0x464]
push 9
add eax, 0xe7cf51
push eax
push dword [ebp - 0x478]
call edi
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x27c]
push 0x12
push esi
push dword [ebp - 0x478]
call edi
push 0
push 8
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x464]
add eax, 0xe7cf6d
push eax
push dword [ebp - 0x478]
call ebx
lea ecx, [ebp - 0x2c]
mov eax, dword [ecx]
cmp eax, dword [0x40e18c]
jne 0x4015fe
mov eax, dword [ecx + 4]
cmp eax, dword [0x40e190]
jne 0x4015fe
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x27c]
push eax
mov eax, dword [ebp - 0x464]
push 4
push 8
add eax, 0xe7cf6d
push eax
push dword [ebp - 0x478]
call edi
push 0
push 8
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x464]
add eax, 0xe7cf6d
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x27c]
mov eax, dword [ebp - 0x464]
push 8
add eax, 0xe7cf6d
push eax
push dword [ebp - 0x478]
call edi
mov eax, dword [ebp - 0x468]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x278]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x478]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x474]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401653
mov esp, ebp
pop ebp
ret 0x10