Function at 0x4995a0
Capabilities:
Create process on windows
Enumerate processes
Hide graphical window
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511e00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x566040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x29c], edi
mov eax, dword [ebx + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [eax], 1
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
call fcn.0041c830
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x298]
push eax
push dword [ebx + 0x10]
call fcn.0041e000
test al, al
je 0x4997d2
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x291], 1
push eax
lea ecx, [ebp - 0x44]
call fcn.00416880
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00417890
cmp dword [eax + 0x14], 7
jbe 0x49965a
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call esi
lea ecx, [ebp - 0x5c]
call fcn.00414f60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00414f60
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004eeca1
add esp, 8
test eax, eax
je 0x499696
cmp eax, 0xd
jne 0x4996eb
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x298], esp
push 0
movups xmmword [ecx], xmm0
push 0x521a68
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416cf0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.00416880
xor edx, edx
mov byte [ebp - 4], 0
xor ecx, ecx
call fcn.004186e0
add esp, 0x30
test al, al
jne 0x49979e
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
test edi, edi
je 0x49976a
lea eax, [ebp - 0x290]
mov dword [ebp - 0x290], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x49976a
nop word [eax + eax]
push dword [ebp - 0x288]
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x499752
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push esi
call dword [sym.imp.KERNEL32.dll_K32EmptyWorkingSet]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x290]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x499720
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push 0x521f8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [ebp - 0x29c]
mov ecx, 0x20
cmp ecx, eax
sbb al, al
and byte [ebp - 0x291], al
cmp dword [0x571c14], 7
mov eax, 0x571c00
cmova eax, dword [0x571c00]
push eax
call esi
cmp byte [ebp - 0x291], 0
je 0x4997d2
push 0
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 1
jmp 0x4997d4
xor esi, esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49980a
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x499800
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49982c
push ecx
push edx
call fcn.004d3111
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d30fe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004e2a5c
int3