Function at 0x40fef0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e06c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4376f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
push str.path
mov dword [ebp - 0x29c], ebx
push edi
mov dword [ebp - 4], ebx
call fcn.00405630
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.004051a0
mov byte [ebp - 4], 1
cmp byte [edi + 8], bl
jne 0x40ff53
mov eax, 0x439888
jmp 0x40ff8b
mov esi, dword [edi]
mov dword [ebp - 0x2a0], ebx
lea eax, [ebp - 0x2a4]
lea ebx, [ebp - 0x2b0]
mov ecx, esi
mov dword [ebp - 0x2a4], str.exact
call fcn.00406050
mov eax, dword [eax]
cmp eax, dword [esi + 4]
jne 0x40ff86
mov eax, 0x439888
jmp 0x40ff89
add eax, 0x18
xor ebx, ebx
cmp eax, 0x439888
setne al
test al, al
je 0x410098
push str.exact
push edi
call fcn.00405630
call fcn.004053c0
test al, al
jne 0x410098
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2b0], esp
push 4
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str..
mov byte [ebp - 0x295], 1
mov byte [ecx], al
call fcn.00401980
sub esp, 0x1c
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push 7
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x432820
mov byte [ecx], 0
call fcn.00401980
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00415380
add esp, 0x38
mov edi, eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00401750
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0x10
jb 0x410038
mov eax, dword [ebp - 0x30]
push eax
call fcn.004185a3
add esp, 4
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x294]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x294], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
je 0x4100a3
cmp dword [ebp - 0x38], 0x10
jb 0x41007a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004185a3
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041836d
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x295], 0
jmp 0x41003a
xor ebx, ebx
lea edx, [ebp - 0x294]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x410068
cmp byte [ebp - 0x295], 0
jne 0x41013c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
call fcn.00415490
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 4
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4100e1
sub eax, edi
sar eax, 1
lea edx, [ebp - 0x270]
mov edi, eax
mov eax, dword [ecx + 0x10]
push edx
call fcn.00412420
test eax, eax
sete bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
jb 0x41011c
mov eax, dword [ebp - 0x30]
push eax
call fcn.004185a3
add esp, 4
test bl, bl
je 0x4100a1
cmp dword [ebp - 0x38], 0x10
jb 0x410132
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004185a3
add esp, 4
mov eax, 1
jmp 0x41007c
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov byte [ebp - 4], 5
xor edx, edx
mov esi, 7
lea eax, [ebp - 0x270]
mov word [ebp - 0x68], dx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410170
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x68]
call fcn.0040a370
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
or dword [ebp - 0x29c], 1
lea eax, [ebp - 0x4c]
call fcn.00415490
add esp, 4
mov dword [ebp - 4], esi
or dword [ebp - 0x29c], 2
push eax
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x68]
call fcn.0040a950
mov esi, dword [ebp - 0x2ac]
add esp, 4
test al, al
je 0x4101ef
mov ecx, dword [ebp - 0x2a8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4101ef
mov bl, 1
jmp 0x4101f1
xor bl, bl
test byte [ebp - 0x29c], 2
je 0x410227
and dword [ebp - 0x29c], 0xfffffffd
cmp dword [ebp - 0x1c], 8
jb 0x410213
mov edx, dword [ebp - 0x30]
push edx
call fcn.004185a3
add esp, 4
xor edi, edi
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
jmp 0x410229
xor edi, edi
mov dword [ebp - 4], 5
test byte [ebp - 0x29c], 1
je 0x410252
and dword [ebp - 0x29c], 0xfffffffe
cmp dword [ebp - 0x54], 8
jb 0x410252
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004185a3
add esp, 4
test bl, bl
je 0x410290
cmp esi, edi
je 0x410270
mov edi, dword [ebp - 0x2a8]
mov eax, esi
call fcn.004112f0
push esi
call fcn.004185a3
add esp, 4
cmp dword [ebp - 0x38], 0x10
jb 0x410132
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004185a3
add esp, 4
mov eax, 1
jmp 0x41007c
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4102b0
mov edi, dword [ebp - 0x2a8]
mov eax, esi
call fcn.004112f0
push esi
call fcn.004185a3
add esp, 4
xor edi, edi
mov esi, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x2a4], edi
jmp 0x4100a1