Function at 0x41ec30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x48e110]
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
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41ef39
lea ecx, [ebp - 0x240]
push ecx
mov ecx, edi
call fcn.00403080
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x240]
mov edi, dword [edx - 0xc]
test edi, edi
jns 0x41ecbe
push 0x80070057
call fcn.00401950
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x41ece2
mov eax, edi
lea ecx, [ebp - 0x240]
call fcn.00403240
mov edx, dword [ebp - 0x240]
lea eax, [edi + 1]
push eax
push edx
call fcn.0045bb35
mov eax, dword [ebp - 0x240]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x41ecb4
mov dword [eax - 0xc], edi
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
push eax
xor ecx, ecx
push esi
mov word [edx + edi*2], cx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41eed2
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edi, [ebp - 0x218]
shr edi, 0x10
mov dword [ebp - 0x248], edi
jmp 0x41ed46
mov edi, dword [ebp - 0x248]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x244], ebx
mov byte [ebp - 4], 1
test edi, edi
jne 0x41ed89
lea ecx, [ebp - 0x218]
movzx edi, cx
call fcn.00402e30
test eax, eax
je 0x41edbc
push eax
mov eax, edi
lea edi, [ebp - 0x244]
call fcn.00402fe0
jmp 0x41edb6
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ed92
sub eax, edx
lea edx, [ebp - 0x218]
sar eax, 1
push edx
lea ecx, [ebp - 0x244]
push ecx
mov ebx, eax
call fcn.004032a0
mov ebx, dword [ebp - 0x244]
mov byte [ebp - 4], 2
mov edi, dword [ebx - 0xc]
test edi, edi
js 0x41ecb4
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edi
or eax, ecx
jge 0x41edef
mov eax, edi
lea ecx, [ebp - 0x244]
call fcn.00403240
mov ebx, dword [ebp - 0x244]
lea edx, [edi + 1]
push edx
push ebx
call fcn.0045bb35
add esp, 8
cmp edi, dword [ebx - 8]
jg 0x41ecb4
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx + edi*2], ax
mov ecx, dword [ebp - 0x240]
test ecx, ecx
setne al
test eax, eax
je 0x41ef55
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ee49
test dx, dx
je 0x41ee45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ee49
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ee23
xor eax, eax
jmp 0x41ee4e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ee70
mov ecx, dword [ebp - 0x234]
push ecx
push eax
push 1
call esi
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0045ae41
add esp, 8
test eax, eax
js 0x41ecb4
cmp eax, dword [ebx - 8]
jg 0x41ecb4
mov dword [ebx - 0xc], eax
xor edx, edx
mov word [ebx + eax*2], dx
add ebx, 0xfffffff0
mov byte [ebp - 4], dl
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41eeb6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x23c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41ed40
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0045ae41
add esp, 8
test eax, eax
js 0x41ecb4
mov ecx, dword [ebp - 0x240]
cmp eax, dword [ecx - 8]
jg 0x41ecb4
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x240]
xor ecx, ecx
mov word [edx + eax*2], cx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.0045a10c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401950
int3