Function at 0x41f410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abefb
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x63a188]
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 ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x270], eax
test esi, esi
jne 0x41f457
xor eax, eax
jmp 0x41f64c
push 0x22c
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.0044e770
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41f450
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f641
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp word [ebp - 0x248], ax
jne 0x41f4d6
xor ecx, ecx
jmp 0x41f4ef
lea ecx, [ebp - 0x248]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f4e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408220
cmp word [esi], 0
jne 0x41f509
xor eax, eax
jmp 0x41f51f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f510
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408220
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x274], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x41f54c
mov eax, dword [ecx]
jmp 0x41f54e
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00408100
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x41f580
mov eax, dword [ecx]
jmp 0x41f582
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.00408100
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0041fc90
test al, al
jne 0x41f601
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41f5b7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408370
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x41f5e7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408370
lea eax, [ebp - 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f4a0
lea esi, [eax + 1]
jmp 0x41f643
push dword [ebp - 0x264]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x270]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00420480
lea ecx, [ebp - 0x40]
call fcn.00420480
jmp 0x41f64a
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.004315db
mov esp, ebp
pop ebp
ret 8