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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4cee
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100e03e0]
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.1003030b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10030677
mov dword [ebp - 0x28], eax
push 0x100c67a8
push 0x100c67b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x100c67d4
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 0x1009ea87
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x50]
cmp dword [ebp - 0x24], ecx
jb 0x1009eaa9
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.1001092f
mov eax, dword [ebp - 0x38]
jmp 0x1009ebd8
push dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
call fcn.1009d9a7
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1009ead5
and dword [ebp - 0x3c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001092f
mov eax, dword [ebp - 0x3c]
jmp 0x1009ebd8
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 0x1009eb0c
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.1001092f
mov eax, dword [ebp - 0x40]
jmp 0x1009ebd8
push 4
push 0x1000
push dword [ebp - 0x28]
call fcn.1006f1d0
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 0x1009eb53
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.1001092f
mov eax, dword [ebp - 0x44]
jmp 0x1009ebd8
push 0
push dword [ebp - 0x28]
call fcn.1006f1d0
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 0x1009eb91
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.1001092f
mov eax, dword [ebp - 0x48]
jmp 0x1009ebd8
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.1001092f
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8