Function at 0x4204c0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5fe61e
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
push 0
mov dword [esp + 0x264], 0
push 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
jne 0x42055a
mov dword [esp + 0x260], eax
mov eax, dword [esp + 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4206f6
lea ecx, [esp + 0x28]
push ecx
push edi
call sub.KERNEL32.dll_Process32FirstW
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00409dd0
test esi, esi
mov byte [esp + 0x260], 1
je 0x420695
xor eax, eax
cmp dword [esp + 0x268], eax
setne al
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x42071e
mov ecx, dword [esp + 0x268]
mov eax, dword [esp + 0x14]
jmp 0x4205b0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4205d6
test dx, dx
je 0x4205d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4205d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4205b0
xor eax, eax
jmp 0x4205db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4205ec
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x28]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
mov ebp, eax
call fcn.00409dd0
mov byte [esp + 0x260], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x420665
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x420654
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x420654
call fcn.0040a210
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42064b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x420661
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004037a0
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x260], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42068d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x420595
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x260], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.005d28b3
add esp, 0x250
ret
push 0x80004005
call fcn.00403650
int3