Function at 0x481d90
Capabilities:
Create process on windows
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634261
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
cmp dword [ecx + 4], 0
jne 0x481dd1
xor eax, eax
jmp 0x48221b
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x482241
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x270], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x274], ecx
push 0x22c
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005feb40
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
or edi, 0xffffffff
mov dword [ebp - 0x26c], ebx
cmp ebx, edi
jne 0x481e37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4821fa
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x481e67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4821fa
mov ecx, 1
call fcn.004802f0
push dword [ebp - 0x250]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x4821cb
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x482241
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x25c], esi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x481edf
push 0x400
lea ecx, [ebp - 0x25c]
call fcn.00401d50
mov esi, dword [ebp - 0x25c]
cmp dword [esi - 8], 0x400
jl 0x482237
push 0x400
xor eax, eax
mov dword [esi - 0xc], 0x400
push esi
push eax
push ebx
mov word [esi + 0x800], ax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push dword [esi - 8]
push esi
call fcn.006071cc
add esp, 8
test eax, eax
js 0x482237
cmp eax, dword [esi - 8]
jg 0x482237
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x25c]
call fcn.00412120
mov edi, dword [ebp - 0x25c]
xor esi, esi
mov ebx, edi
movzx eax, word [edi]
test ax, ax
je 0x481fbb
mov ecx, eax
nop
push ecx
call fcn.0061410a
add esp, 4
test eax, eax
je 0x481f68
test esi, esi
mov eax, ebx
cmovne eax, esi
mov esi, eax
jmp 0x481f6a
xor esi, esi
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x481f50
test esi, esi
je 0x481fbb
sub esi, edi
sar esi, 1
js 0x482237
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x481fa9
push esi
lea ecx, [ebp - 0x25c]
call fcn.00401d50
mov edi, dword [ebp - 0x25c]
cmp esi, dword [edi - 8]
jg 0x482237
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
movzx eax, word [edi]
mov esi, edi
push eax
call fcn.0061410a
add esp, 4
test eax, eax
je 0x4820a1
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.0061410a
add esp, 4
test eax, eax
jne 0x481fd1
cmp esi, edi
je 0x4820a1
mov edx, dword [edi - 0xc]
sub esi, edi
sar esi, 1
test edx, edx
js 0x482237
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x48201f
push edx
lea ecx, [ebp - 0x25c]
call fcn.00401d50
mov edi, dword [ebp - 0x25c]
mov eax, dword [edi - 0xc]
lea edx, [edi + esi*2]
mov ebx, eax
sub ebx, esi
lea ecx, [ebx*2 + 2]
test ecx, ecx
je 0x48207c
test edx, edx
jne 0x48204f
call fcn.00607092
mov dword [eax], 0x16
call fcn.00606fb9
mov eax, 0x16
jmp 0x48207e
lea eax, [eax*2 + 2]
cmp eax, ecx
jae 0x482071
call fcn.00607092
mov dword [eax], 0x22
call fcn.00606fb9
mov eax, 0x22
jmp 0x48207e
push ecx
push edx
push edi
call fcn.005fe5c0
add esp, 0xc
xor eax, eax
push eax
call fcn.00417760
add esp, 4
test ebx, ebx
js 0x482237
cmp ebx, dword [edi - 8]
jg 0x482237
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
push dword [ebp - 0x260]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4820d0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00416b00
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x268]
mov ecx, esi
push eax
call fcn.00485170
lea ecx, [ebp - 0x28]
call fcn.00402f20
mov eax, dword [ebp - 0x268]
cmp eax, dword [esi]
je 0x4821af
push dword [ebp - 0x250]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48213b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
jmp 0x4821af
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x482241
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x260]
push dword [ebp - 0x250]
push str._c_taskkill__f__PID___d
push eax
call fcn.00402970
mov esi, dword [ebp - 0x260]
add esp, 0xc
push 0
push 0
push esi
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4821af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4821cb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x26c]
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x481e71
xor ecx, ecx
call fcn.004802f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x270]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x482219
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401f90
push 0x80004005
call fcn.00401f90
int3