Function at 0x417590
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49637a
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
push esi
push edi
push ecx
lea edi, [ebp - 0x2ec]
mov ecx, 0xb8
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d0], 0
lea ecx, [ebp - 0x34]
call fcn.0040f960
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0042b180
mov byte [ebp - 4], 2
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x417650
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041aed0
mov ecx, dword [ebp - 0x2d0]
or ecx, 1
mov dword [ebp - 0x2d0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00417980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040fa10
mov eax, dword [ebp + 8]
jmp 0x4178b1
mov dword [ebp - 0x280], 0x22c
lea edx, [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x50]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jne 0x4176c7
mov esi, esp
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041aed0
mov eax, dword [ebp - 0x2d0]
or eax, 1
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00417980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040fa10
mov eax, dword [ebp + 8]
jmp 0x4178b1
call fcn.00403510
mov dword [ebp - 0x290], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x278], 0
je 0x41781e
cmp dword [ebp - 0x278], 4
je 0x41781e
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x294], ecx
cmp dword [ebp - 0x294], 0
jne 0x41772f
mov dword [ebp - 0x2e0], 0
jmp 0x4177dc
mov esi, esp
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.00492e6b
add eax, 1
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0x3fffffff
jle 0x417766
mov dword [ebp - 0x2e4], 0
jmp 0x4177d0
mov eax, dword [ebp - 0x28c]
shl eax, 1
add eax, 0x24
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
call fcn.00480f50
mov dword [ebp - 0x2ec], esp
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2ec]
call fcn.00492ee8
add dword [ebp - 0x2ec], 0x20
mov edx, dword [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x28c]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x294]
push ecx
mov edx, dword [ebp - 0x2ec]
push edx
call fcn.00413d60
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.0040f9b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041c680
mov ecx, eax
call fcn.0041af20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c8]
call fcn.0040fa10
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [ebp - 0x29c]
jne 0x417838
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2a4], edx
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4176f1
mov esi, esp
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041c680
push eax
lea ecx, [ebp - 0x34]
call fcn.0041af20
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041aed0
mov edx, dword [ebp - 0x2d0]
or edx, 1
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00417980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040fa10
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x4178ec]
push dword [ebp - 0x2d8]
call fcn.00492f15
pop eax
pop edx
lea esp, [ebp - 0x2f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472710
mov esp, ebp
pop ebp
ret 4