Function at 0x41f330
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5b1916
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 0x424
lea eax, [esp + 0x2c]
push ebx
mov dword [esp + 0x460], 1
push eax
mov dword [esp + 0x30], ebx
call fcn.00587fb0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
call fcn.005759db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41f3b5
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x458], 2
cmp ebp, 0xffffffff
je 0x41f538
push edi
push ebp
mov dword [edi], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f538
xor ecx, ecx
lea eax, [edi + 0x24]
cmp eax, ebx
setne cl
mov dword [esp + 0x1c], ecx
lea esp, [esp]
cmp dword [esp + 0x1c], ebx
je 0x41f3ab
mov edx, dword [esp + 0x460]
lea eax, [edi + 0x24]
push eax
push edx
call fcn.00584130
add esp, 8
cmp eax, ebx
jne 0x41f529
mov eax, dword [esp + 0x464]
mov ecx, dword [edi + 8]
push ecx
cmp dword [eax - 0xc], ebx
je 0x41f5df
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x41f529
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x41f523
lea eax, [esp + 0x244]
lea edx, [eax + 2]
jmp 0x41f470
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f470
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x20]
call fcn.00401960
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.005844d3
add esp, 8
cmp eax, ebx
jne 0x41f4a9
or eax, 0xffffffff
jmp 0x41f4ad
sub eax, esi
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405b30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x45c], 3
call fcn.00401a80
mov byte [esp + 0x458], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f4f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x464]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x41f3ab
mov esi, dword [esp + 0x18]
push eax
push esi
call fcn.00584130
add esp, 8
cmp eax, ebx
je 0x41f670
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f400
lea eax, [esi - 0x10]
mov byte [esp + 0x458], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f55c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x458], bl
mov eax, dword [esp + 0x460]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x458], 0xffffffff
mov eax, dword [esp + 0x464]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.005832f8
add esp, 0x448
ret
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [esi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x458], 1
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f611
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x458], bl
mov eax, dword [esp + 0x460]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f63b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x458], 0xffffffff
mov eax, dword [esp + 0x464]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f669
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x41f5b7
mov ecx, dword [edi + 8]
push ecx
jmp 0x41f5df