Function at 0x4a0560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5edd38]
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 dword [ebp - 0x240], 0
xor bh, bh
call fcn.00447f90
test al, al
je 0x4a07ef
push 0x12
xor eax, eax
mov dword [ebp - 0x24c], 0
push str.featmonitorapp.exe
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
call fcn.00408f30
xor edi, edi
mov dword [ebp - 4], 0
xor bl, bl
mov dword [ebp - 0x240], 1
cmp dword [ebp - 0x24c], edi
je 0x4a06bc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4a06bc
push 0x228
lea eax, [ebp - 0x238]
push edi
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4a06a9
nop word [eax + eax]
xor eax, eax
cmp dword [ebp - 0x248], 8
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040c291
add esp, 8
test eax, eax
je 0x4a06a1
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a0640
jmp 0x4a06a9
mov edi, dword [ebp - 0x234]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4a06bc
test edi, edi
je 0x4a06bc
xor bl, bl
jmp 0x4a06be
mov bl, 1
mov edx, dword [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4a0713
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x4a0702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a080d
push edx
push ecx
call fcn.00409f25
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x4a07ef
call fcn.0040aac0
cmp eax, 3
jge 0x4a072c
mov bh, 1
jmp 0x4a07ef
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
xor esi, esi
mov dword [ebp - 0x244], esi
test edi, edi
je 0x4a0773
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x240], eax
cmp edi, 0xffffffff
je 0x4a076c
mov esi, edi
mov dword [ebp - 0x244], esi
call fcn.00412510
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 2
test esi, esi
je 0x4a07ca
cmp esi, 0xffffffff
je 0x4a07ca
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x2000
push eax
push esi
call fcn.0049f410
add esp, 8
test al, al
jne 0x4a07aa
mov dword [ebp - 4], 4
jmp 0x4a07da
cmp dword [ebp - 0x240], 0x2000
jae 0x4a07bf
mov dword [ebp - 4], 5
jmp 0x4a07da
mov bh, 1
mov dword [ebp - 4], 6
jmp 0x4a07da
mov dword [ebp - 4], 3
test esi, esi
je 0x4a07ef
cmp esi, 0xffffffff
je 0x4a07ef
call fcn.00412510
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4a07ef
call fcn.004014a0
mov al, bh
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.00401682
mov esp, ebp
pop ebp
ret
call fcn.0054223b
int3