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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4780
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100e13e0]
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.1002fd44
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1003c888
mov dword [ebp - 0x28], eax
push 0x100c63b8
push 0x100c63c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x100c63e4
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 0x1009e770
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x50]
cmp dword [ebp - 0x24], ecx
jb 0x1009e792
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.10003c06
mov eax, dword [ebp - 0x38]
jmp 0x1009e8c1
push dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
call fcn.1009d690
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1009e7be
and dword [ebp - 0x3c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10003c06
mov eax, dword [ebp - 0x3c]
jmp 0x1009e8c1
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 0x1009e7f5
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.10003c06
mov eax, dword [ebp - 0x40]
jmp 0x1009e8c1
push 4
push 0x1000
push dword [ebp - 0x28]
call fcn.1006ee80
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 0x1009e83c
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.10003c06
mov eax, dword [ebp - 0x44]
jmp 0x1009e8c1
push 0
push dword [ebp - 0x28]
call fcn.1006ee80
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 0x1009e87a
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.10003c06
mov eax, dword [ebp - 0x48]
jmp 0x1009e8c1
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.10003c06
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8