Function at 0x433740
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4e1654]
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
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x260], edi
cmp edi, 0xffffffff
je 0x4339f4
push 0x228
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0048cce0
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4339aa
nop word [eax + eax]
lea ecx, [ebp - 0x230]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4337e0
sub ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
sar ecx, 1
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.0041ea60
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x258], eax
cmp dword [eax + 0x14], 8
mov ebx, dword [eax + 0x10]
jb 0x43383d
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae esi, edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x26c], esi
cmp ebx, eax
ja 0x43395b
test ebx, ebx
je 0x433917
sub eax, ebx
movzx ebx, word [ecx]
inc eax
mov dword [ebp - 0x264], ebx
lea edx, [esi + eax*2]
mov eax, esi
mov dword [ebp - 0x268], edx
sub edx, eax
movzx esi, bx
sar edx, 1
mov edi, 0
je 0x4338b0
movzx ecx, word [eax]
cmp cx, si
je 0x4338a8
cmp edx, 1
je 0x4338aa
movzx ecx, word [eax + 2]
add eax, 2
dec edx
cmp cx, si
jne 0x433896
mov edi, eax
mov ecx, dword [ebp - 0x258]
mov eax, edi
test eax, eax
je 0x43394f
mov edx, dword [ebp + 8]
mov edi, ecx
movzx ecx, word [eax]
mov esi, dword [edx + 0x10]
movzx edx, bx
cmp cx, dx
jb 0x4338f6
mov ebx, eax
sub ebx, dword [ebp - 0x258]
cmp cx, dx
ja 0x4338f0
cmp esi, 1
je 0x43390a
movzx ecx, word [ebx + edi + 2]
add edi, 2
dec esi
movzx edx, word [edi]
cmp cx, dx
jae 0x4338d8
mov ebx, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x258]
add eax, 2
mov edx, dword [ebp - 0x268]
jmp 0x433880
sub eax, dword [ebp - 0x26c]
sar eax, 1
cmp eax, 0xffffffff
je 0x43394f
push dword [ebp - 0x24c]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4339d0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4339cd
mov edx, dword [ebp - 0x25c]
mov edi, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x433995
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43398b
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4339ef
push ecx
push edx
call fcn.0048aa81
add esp, 8
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4337d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0048af00
mov esp, ebp
pop ebp
ret
push ebx
jmp 0x4339fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x284]
call fcn.0043b060
push 0x4da004
lea eax, [ebp - 0x284]
jmp 0x433a11
call fcn.0048f71f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x278]
call fcn.0043b060
push 0x4da004
lea eax, [ebp - 0x278]
push eax
call fcn.0048c287
int3