Function at 0x41e810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a875a
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 [0x4cd290]
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.0040f9a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00421770
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 0x41e8d0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041fcc0
mov ecx, dword [ebp - 0x2d0]
or ecx, 1
mov dword [ebp - 0x2d0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0041ec00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040fa50
mov eax, dword [ebp + 8]
jmp 0x41eb31
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 0x41e947
mov esi, esp
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004a574e
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041fcc0
mov eax, dword [ebp - 0x2d0]
or eax, 1
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0041ec00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040fa50
mov eax, dword [ebp + 8]
jmp 0x41eb31
call fcn.004011c0
mov dword [ebp - 0x290], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x278], 0
je 0x41ea9e
cmp dword [ebp - 0x278], 4
je 0x41ea9e
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x294], ecx
cmp dword [ebp - 0x294], 0
jne 0x41e9af
mov dword [ebp - 0x2e0], 0
jmp 0x41ea5c
mov esi, esp
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004a574e
add eax, 1
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0x3fffffff
jle 0x41e9e6
mov dword [ebp - 0x2e4], 0
jmp 0x41ea50
mov eax, dword [ebp - 0x28c]
shl eax, 1
add eax, 0x24
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
call fcn.004946d0
mov dword [ebp - 0x2ec], esp
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2ec]
call fcn.004a57cb
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.004167c0
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.0040f9f0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x48]
call fcn.004217b0
mov ecx, eax
call fcn.0041fd10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c8]
call fcn.0040fa50
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [ebp - 0x29c]
jne 0x41eab8
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 0x41e971
mov esi, esp
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004a574e
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x48]
call fcn.004217b0
push eax
lea ecx, [ebp - 0x34]
call fcn.0041fd10
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041fcc0
mov edx, dword [ebp - 0x2d0]
or edx, 1
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0041ec00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040fa50
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x41eb6c]
push dword [ebp - 0x2d8]
call fcn.004a57f8
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.004851ae
mov esp, ebp
pop ebp
ret 4