Function at 0x1009cfa9
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2628
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100df3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.1002fcf5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10012148
mov dword [ebp - 0x28], eax
push 0x100c41f0
push 0x100c4200
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x100c421c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jbe 0x1009d03b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x50]
cmp dword [ebp - 0x24], ecx
jb 0x1009d05d
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x48], 0x80
and dword [ebp - 0x38], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010628
mov eax, dword [ebp - 0x38]
jmp 0x1009d18c
push dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
call fcn.1009c021
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1009d089
and dword [ebp - 0x3c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010628
mov eax, dword [ebp - 0x3c]
jmp 0x1009d18c
push dword [ebp - 0x18]
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1009d0c0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x40], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010628
mov eax, dword [ebp - 0x40]
jmp 0x1009d18c
push 4
push 0x1000
push dword [ebp - 0x28]
call fcn.1006dfd0
pop ecx
inc eax
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1009d107
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x44], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010628
mov eax, dword [ebp - 0x44]
jmp 0x1009d18c
push 0
push dword [ebp - 0x28]
call fcn.1006dfd0
pop ecx
inc eax
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1009d145
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x48], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010628
mov eax, dword [ebp - 0x48]
jmp 0x1009d18c
push 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x34], 0
setne al
mov dword [ebp - 0x4c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010628
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8