Function at 0x4079e0
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44a15e
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x45e560]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e560]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x188], ebx
lea edi, [esp + 0x190]
mov dword [eax], ebx
call fcn.00406ed0
push ebx
push 2
mov dword [esp + 0x5c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 0x54]
push eax
push ebp
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x407bb4
mov byte [esp + 0x14], 0x5c
jmp 0x407a70
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x78]
lea edi, [esp + 0x38]
mov byte [esp + 0x188], 1
call fcn.00402f20
call fcn.00406ed0
lea ecx, [esp + 0x14]
push ecx
call fcn.00406fa0
cmp eax, 0xffffffff
je 0x407b20
cmp eax, 0xffffffff
je 0x407b20
lea ecx, [eax + 1]
lea esi, [esp + 0x1c]
mov edx, edi
call fcn.004021e0
mov esi, eax
mov byte [esp + 0x188], 2
mov ecx, dword [esp + 0x3c]
mov edi, 0x10
cmp dword [esp + 0x50], edi
jae 0x407ad9
lea ecx, [esp + 0x3c]
cmp dword [esi + 0x18], edi
jb 0x407ae3
mov eax, dword [esi + 4]
jmp 0x407ae6
lea eax, [esi + 4]
cmp ecx, eax
je 0x407b03
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
call fcn.00402a60
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00402b00
mov byte [esp + 0x188], 1
cmp dword [esp + 0x34], edi
jb 0x407b25
mov edx, dword [esp + 0x20]
push edx
call fcn.0040e8c6
add esp, 4
jmp 0x407b25
mov edi, 0x10
mov ecx, dword [esp + 0x194]
cmp dword [esp + 0x1a8], edi
jae 0x407b3c
lea ecx, [esp + 0x194]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x1a4]
mov eax, esi
cmp esi, edi
jb 0x407b4f
mov eax, edi
cmp dword [esp + 0x50], 0x10
mov edx, dword [esp + 0x3c]
jae 0x407b5e
lea edx, [esp + 0x3c]
call fcn.00402540
cmp eax, ebx
jne 0x407b84
cmp esi, edi
jb 0x407b84
xor eax, eax
cmp esi, edi
setne al
cmp eax, ebx
jne 0x407b84
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jne 0x407bff
lea eax, [esp + 0x54]
push eax
push ebp
call sub.KERNEL32.dll_Process32Next
mov byte [esp + 0x188], bl
cmp dword [esp + 0x50], 0x10
mov esi, eax
jb 0x407bac
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040e8c6
add esp, 4
cmp esi, ebx
jne 0x407a70
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1a8], 0x10
jb 0x407bd5
mov edx, dword [esp + 0x194]
push edx
call fcn.0040e8c6
add esp, 4
xor al, al
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0042d9c5
add esp, 0x178
ret
mov edx, dword [esp + 0x18]
push ebp
mov dword [edx], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x407c24
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040e8c6
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x1a8], esi
jb 0x407c4d
mov ecx, dword [esp + 0x194]
push ecx
call fcn.0040e8c6
add esp, 4
mov al, 1
jmp 0x407bd7