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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1be8
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.1002fd69
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.100333d3
mov dword [ebp - 0x28], eax
push 0x100c3028
push 0x100c3038
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
push 0x100c3054
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 0x1009c668
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x50]
cmp dword [ebp - 0x24], ecx
jb 0x1009c68a
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.10003af7
mov eax, dword [ebp - 0x38]
jmp 0x1009c7b9
push dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
call fcn.1009b64e
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1009c6b6
and dword [ebp - 0x3c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10003af7
mov eax, dword [ebp - 0x3c]
jmp 0x1009c7b9
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 0x1009c6ed
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.10003af7
mov eax, dword [ebp - 0x40]
jmp 0x1009c7b9
push 4
push 0x1000
push dword [ebp - 0x28]
call fcn.1006df60
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 0x1009c734
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.10003af7
mov eax, dword [ebp - 0x44]
jmp 0x1009c7b9
push 0
push dword [ebp - 0x28]
call fcn.1006df60
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 0x1009c772
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.10003af7
mov eax, dword [ebp - 0x48]
jmp 0x1009c7b9
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.10003af7
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8