Function at 0x421fb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47836c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x49f008]
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 edi, ecx
mov dword [ebp - 0x244], edi
push 0
push 2
mov dword [ebp - 0x254], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x422024
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x422035
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x48da20
mov ecx, edi
call fcn.00407540
jmp 0x4221fd
call fcn.004067b0
mov ecx, eax
test ecx, ecx
jne 0x42204a
push 0x80004005
call fcn.004064f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x248], eax
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], ebx
nop word [eax + eax]
push dword [ebp - 0x238]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x24c], 0xffffffff
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x24c]
call fcn.00421e60
add esp, 8
test eax, eax
jne 0x422119
mov eax, dword [ebp - 0x24c]
cmp eax, 0xffffffff
je 0x422101
push eax
movzx eax, word [ebp - 0x21c]
add ebx, 0xa
push eax
lea eax, [ebp - 0x244]
push str._c_d
push eax
call fcn.0042bf60
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00414e00
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422101
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x422070
jmp 0x422175
push dword [ebp - 0x24c]
movzx eax, word [ebp - 0x21c]
add ebx, 0x14
push eax
lea eax, [ebp - 0x244]
push str._c_d
push eax
call fcn.0042bf60
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00414e00
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422175
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4221c5
push ebx
lea eax, [ebp - 0x244]
push 0x492aa8
push eax
call fcn.0042bf60
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00414e00
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4221c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x248]
add esi, 0xfffffff0
mov ecx, esi
call fcn.004087c0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4221fd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.0044df7a
mov esp, ebp
pop ebp
ret