Function at 0x4997d0
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 0x5129c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c8], esi
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
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
call fcn.0041cf40
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2cc]
push eax
push dword [ebx + 0x10]
call fcn.0041e720
test al, al
je 0x499b9d
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c2], 1
push eax
lea ecx, [ebp - 0x74]
call fcn.004167e0
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00417a00
cmp dword [eax + 0x14], 7
jbe 0x4998a7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x8c]
call fcn.00414ec0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00414ec0
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004ef241
add esp, 8
test eax, eax
je 0x4998e4
cmp eax, 0xd
jne 0x499922
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push eax
call fcn.004167e0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004167e0
xor edx, edx
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.00418850
add esp, 0x30
test al, al
jne 0x499b2f
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
test edi, edi
je 0x499994
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x499994
nop
push dword [ebp - 0x2b8]
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x499982
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 - 0x2c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x499950
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push 0x522ac0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.00416c50
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
cmova edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4999e1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00416c50
cmp dword [ebp - 0x60], 7
lea eax, [ebp - 0x74]
push 0
cmova eax, dword [ebp - 0x74]
push eax
call fcn.004ef241
add esp, 8
test eax, eax
je 0x499a20
mov byte [ebp - 0x2c1], 0
cmp eax, 0xd
jne 0x499a27
mov byte [ebp - 0x2c1], 1
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x499a61
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x499a57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c45
push ecx
push edx
call fcn.004d3ab1
add esp, 8
cmp byte [ebp - 0x2c1], 0
je 0x499ab7
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
call fcn.00417c30
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x499aac
mov ecx, eax
call fcn.00414ec0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x8c]
call fcn.00414ec0
cmp dword [ebp - 0x30], 7
lea edx, [ebp - 0x44]
push 1
cmova edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x2c]
push edx
cmova ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 7
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
push 0x523014
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x30]
cmp eax, 0x20
jbe 0x499b67
cmp ecx, 7
jbe 0x499b29
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x499b1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c4a
push ecx
push edx
call fcn.004d3ab1
add esp, 8
mov esi, dword [ebp - 0x2c8]
cmp dword [0x572c24], 7
mov eax, 0x572c10
cmova eax, dword [0x572c10]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [ebp - 0x2c2], 0
je 0x499b9d
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 1
jmp 0x499b9f
mov byte [ebp - 0x2c2], 0
cmp ecx, 7
jbe 0x499b29
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x499b1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c4a
jmp 0x499b1f
xor esi, esi
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x499bd9
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x499bcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c4f
push ecx
push edx
call fcn.004d3ab1
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x499c23
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x499c19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499c4f
push ecx
push edx
call fcn.004d3ab1
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.004d3a9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004e2ffc
call fcn.004e2ffc
call fcn.004e2ffc
int3