Function at 0x40aa80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x10], eax
call fcn.0040aa10
test al, al
je 0x40b430
lea ecx, [ebp - 0x88]
call fcn.0040a3f0
xor edi, edi
xor eax, eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], eax
push eax
push 2
mov dword [ebp - 0x1bc], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x1bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x40ac29
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x1bc]
push eax
push esi
call edi
cmp eax, 1
jne 0x40ac29
nop dword [eax + eax]
mov dword [ebp - 0x2c], 0xfae7fab1
xor ecx, ecx
mov byte [ebp - 0x28], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x2c]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 4
jb 0x40ab30
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004ca160
add esp, 8
test eax, eax
je 0x40ac10
mov dword [ebp - 0x18], 0xecfeecf3
xor ecx, ecx
mov word [ebp - 0x14], 0xec
nop
movzx eax, byte [ebp + ecx - 0x18]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 5
jb 0x40ab70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004ca160
add esp, 8
test eax, eax
jne 0x40ac10
mov dword [ebp - 0x20], 0xf7fce9ec
xor ecx, ecx
mov dword [ebp - 0x1c], 0xebecf0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x20]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 7
jb 0x40abb0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004ca160
add esp, 8
test eax, eax
jne 0x40ac10
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x84]
je 0x40abf7
mov eax, dword [ebp - 0x1b4]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x7c], ecx
jmp 0x40ac10
lea eax, [ebp - 0x1b4]
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.00465180
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1bc]
push eax
push esi
call edi
cmp eax, 1
je 0x40ab20
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ac50
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x74]
call fcn.00402aa0
mov byte [ebp - 4], 1
xor ecx, ecx
mov word [ebp - 0xf], 0xc3a5
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp + ecx - 0xf]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0xf], al
inc ecx
cmp ecx, 2
jb 0x40ac73
sub esp, 0x18
lea ecx, [ebp - 0xf]
mov edx, esp
mov dword [ebp - 0x18], esp
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40acb0
sub ecx, esi
lea eax, [ebp - 0xf]
push ecx
push eax
mov ecx, edx
call fcn.00402aa0
mov byte [ebp - 4], 2
sub esp, 0x18
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00458190
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0040bd10
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x40ad37
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x74]
cmp ecx, eax
je 0x40ad37
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40ad2d
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00457ee0
push 0xffffffffffffffb0
mov byte [ebp - 0x19], 0
call fcn.00459470
mov byte [ebp - 0x21], al
lea edx, [ebp - 0x1a]
mov byte [ebp - 0x1a], al
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x40ad50
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x1a]
mov esi, dword [ebp - 0x74]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x74]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.0045db60
add esp, 0xc
cmp eax, 0xffffffff
je 0x40aec0
push 0xffffffffffffffc3
mov byte [ebp - 0x13], 0
call fcn.00459470
xorps xmm0, xmm0
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40adb0
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402aa0
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov al, byte [ebp - 0x21]
lea ecx, [ebp - 0xe]
mov byte [ebp - 0xd], 0
lea edx, [ecx + 1]
mov byte [ebp - 0xe], al
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40adf0
sub ecx, edx
lea eax, [ebp - 0xe]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aa0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.00408350
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40ae54
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40ae9e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov al, byte [ebp - 0x21]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x40ad45
mov word [ebp - 0x15], 0xc3c3
xor ecx, ecx
mov byte [ebp - 0x13], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x15]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40aed0
lea edx, [ebp - 0x15]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40aef0
sub edx, ecx
lea eax, [ebp - 0x15]
push edx
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x74]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.0045db60
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b030
push 0xffffffffffffffc3
mov byte [ebp - 0xd], 0
call fcn.00459470
xorps xmm0, xmm0
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0xe]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40af46
sub ecx, edx
lea eax, [ebp - 0xe]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aa0
mov byte [ebp - 4], 7
xor ecx, ecx
mov word [ebp - 0x1b], 0xc3c3
mov byte [ebp - 0x19], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40af70
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40afa0
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402aa0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00408350
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40b004
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40affa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00402890
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x74]
jmp 0x40aec0
mov word [ebp - 0x15], 0xb0c3
xor ecx, ecx
mov byte [ebp - 0x13], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x15]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40b040
lea edx, [ebp - 0x15]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b060
sub edx, ecx
lea eax, [ebp - 0x15]
push edx
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x74]
cmp edi, 0x10
push eax
cmovae ecx, esi
push 0
call fcn.0045db60
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b1e0
push 0xffffffffffffffc3
mov byte [ebp - 0xd], 0
call fcn.00459470
xorps xmm0, xmm0
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0xe]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b0b6
sub ecx, edx
lea eax, [ebp - 0xe]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aa0
mov byte [ebp - 4], 9
xor ecx, ecx
mov word [ebp - 0x1b], 0xb0c3
mov byte [ebp - 0x19], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40b0e0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b110
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402aa0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00408350
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40b174
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b16a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40b1be
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b1b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
jmp 0x40b030
mov word [ebp - 0x15], 0xc3b0
xor ecx, ecx
mov byte [ebp - 0x13], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x15]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40b1f0
lea esi, [ebp - 0x15]
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x40b210
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x15]
sub esi, ecx
cmp edi, 0x10
push esi
push eax
lea ecx, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x74]
push 0
call fcn.0045db60
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b388
push 0xffffffffffffffc3
mov byte [ebp - 0xd], 0
call fcn.00459470
xorps xmm0, xmm0
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0xe]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b267
sub ecx, edx
lea eax, [ebp - 0xe]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402aa0
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov word [ebp - 0x1b], 0xc3b0
mov byte [ebp - 0x19], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40b290
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b2c0
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402aa0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00408350
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40b324
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b31a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40b36e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b364
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
jmp 0x40b1e0
mov edi, dword [ebp - 0x2c]
cmp edi, dword [ebp - 0x7c]
je 0x40b3c3
mov esi, dword [edi]
lea eax, [ebp - 0x74]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00458190
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 4
mov ecx, esi
mov edx, dword [ebp - 0x88]
call fcn.0040a650
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0x7c]
jne 0x40b390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0045a080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x40b430
mov ecx, dword [ebp - 0x84]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40b411
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b440
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004cdf70
int3