Function at 0x41d210
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a626
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a0], ecx
cmp dword [ebp + 8], 0
jne 0x41d252
cmp dword [ebp + 0xc], 0
jne 0x41d252
jmp 0x41d4e2
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x270], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x41d283
jmp 0x41d4e2
push 0x22c
push 0
lea eax, [ebp - 0x26c]
push eax
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x26c], 0x22c
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41d2cc
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41d4e2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x2a4], 0
mov ecx, dword [ebp - 0x284]
cmp ecx, dword [ebp - 0x264]
je 0x41d4ba
mov dword [ebp - 0x274], 0
cmp dword [ebp + 8], 0
je 0x41d325
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.005c090e
add esp, 8
test eax, eax
jne 0x41d325
mov dword [ebp - 0x274], 1
cmp dword [ebp + 0xc], 0
je 0x41d34c
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.005c090e
add esp, 8
test eax, eax
jne 0x41d34c
mov dword [ebp - 0x274], 1
cmp dword [ebp - 0x274], 0
je 0x41d4ba
call fcn.00478bf0
mov dword [ebp - 0x278], eax
push 1
mov eax, dword [ebp - 0x278]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x278]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x288], al
cmp byte [ebp - 0x288], 1
je 0x41d38d
jmp 0x41d489
push 0x61acc0
lea ecx, [ebp - 0x40]
call fcn.00408710
mov dword [ebp - 4], 0
push 0x61ad14
lea ecx, [ebp - 0x28]
call fcn.00408710
mov byte [ebp - 4], 1
call fcn.00478bf0
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x61ad18
lea eax, [ebp - 0x29c]
push eax
call fcn.0041bd70
add esp, 0x14
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x290]
push edx
push 0x8c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x33c]
call fcn.0040d3b0
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x298], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x298]
call fcn.0040b2d0
push eax
mov eax, dword [ebp - 0x27c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x33c]
call fcn.0040e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29c]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov ecx, dword [ebp - 0x264]
push ecx
mov ecx, dword [ebp - 0x2a0]
call fcn.0041d700
test eax, eax
je 0x41d4ba
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x280], edx
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041e000
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d2e2
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 0xc