Function at 0x41a560
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x462bbe
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x478ec8]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478ec8]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
push 0
push 2
mov dword [esp + 0x158], 0
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41a6d5
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41a6ce
lea edx, [esp + 0x1c]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
mov ebx, eax
mov eax, dword [0x47aaac]
mov edx, dword [eax + 0xc]
mov ecx, 0x47aaac
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x158]
push eax
lea ecx, [esp + 0x1c]
push 0x46fe04
push ecx
mov byte [esp + 0x15c], 1
call fcn.00416580
mov edx, dword [0x47aaac]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x47aaac
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x18]
push 0x46fe04
push edx
mov byte [esp + 0x15c], 2
call fcn.00416580
mov esi, dword [esp + 0x24]
xor eax, eax
add esp, 0xc
test esi, esi
setne al
test eax, eax
je 0x41a72d
mov ebp, dword [esp + 0x14]
push esi
push ebp
call fcn.00441057
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41a737
lea eax, [ebp - 0x10]
mov byte [esp + 0x150], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x150], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x41a5d5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x158]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x150], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00440e94
add esp, 0x140
ret
push 0x80004005
call fcn.00401580
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov byte [esp + 0x150], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x150], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x158]
add eax, 0xfffffff0
mov dword [esp + 0x150], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a7b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41a705