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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1af8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100dd3e0]
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.1002fcdb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1003338d
mov dword [ebp - 0x28], eax
push 0x100c2fc8
push 0x100c2fd8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x100c2ff4
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 0x1009c5c3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x50]
cmp dword [ebp - 0x24], ecx
jb 0x1009c5e5
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.100104e6
mov eax, dword [ebp - 0x38]
jmp 0x1009c714
push dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
call fcn.1009b5a9
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1009c611
and dword [ebp - 0x3c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100104e6
mov eax, dword [ebp - 0x3c]
jmp 0x1009c714
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 0x1009c648
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.100104e6
mov eax, dword [ebp - 0x40]
jmp 0x1009c714
push 4
push 0x1000
push dword [ebp - 0x28]
call fcn.1006df70
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 0x1009c68f
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.100104e6
mov eax, dword [ebp - 0x44]
jmp 0x1009c714
push 0
push dword [ebp - 0x28]
call fcn.1006df70
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 0x1009c6cd
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.100104e6
mov eax, dword [ebp - 0x48]
jmp 0x1009c714
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.100104e6
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8