Function at 0x40aaf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f74d8
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.0040aa80
test al, al
je 0x40b4a0
lea ecx, [ebp - 0x88]
call fcn.0040a460
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], 0x128
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 0x40ac99
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x1bc]
push eax
push esi
call edi
cmp eax, 1
jne 0x40ac99
nop dword [eax + eax]
mov dword [ebp - 0x2c], 0x2f322f64
xor ecx, ecx
mov byte [ebp - 0x28], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x2c]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 4
jb 0x40aba0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004d1390
add esp, 8
test eax, eax
je 0x40ac80
mov dword [ebp - 0x18], 0x392b3926
xor ecx, ecx
mov word [ebp - 0x14], 0x39
nop
movzx eax, byte [ebp + ecx - 0x18]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 5
jb 0x40abe0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004d1390
add esp, 8
test eax, eax
jne 0x40ac80
mov dword [ebp - 0x20], 0x22293c39
xor ecx, ecx
mov dword [ebp - 0x1c], 0x3e3925
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x20]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 7
jb 0x40ac20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004d1390
add esp, 8
test eax, eax
jne 0x40ac80
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x84]
je 0x40ac67
mov eax, dword [ebp - 0x1b4]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x7c], ecx
jmp 0x40ac80
lea eax, [ebp - 0x1b4]
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.0046c3b0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1bc]
push eax
push esi
call edi
cmp eax, 1
je 0x40ab90
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 0x40acc0
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], 0x1670
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp + ecx - 0xf]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0xf], al
inc ecx
cmp ecx, 2
jb 0x40ace3
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 0x40ad20
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.0045f3c0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0040bd80
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 0x40ada7
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x74]
cmp ecx, eax
je 0x40ada7
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40ad9d
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0045f110
push 0x65
mov byte [ebp - 0x19], 0
call fcn.004606a0
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 0x40adc0
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.00464d90
add esp, 0xc
cmp eax, 0xffffffff
je 0x40af30
push 0x16
mov byte [ebp - 0x13], 0
call fcn.004606a0
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 0x40ae20
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 0x40ae60
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.004083c0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40aec4
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40aeba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
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 0x40af0e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
add esp, 8
mov al, byte [ebp - 0x21]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
jmp 0x40adb5
mov word [ebp - 0x15], 0x1616
xor ecx, ecx
mov byte [ebp - 0x13], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x15]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40af40
lea edx, [ebp - 0x15]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40af60
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.00464d90
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b0a0
push 0x16
mov byte [ebp - 0xd], 0
call fcn.004606a0
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 0x40afb6
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], 0x1616
mov byte [ebp - 0x19], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40afe0
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 0x40b010
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.004083c0
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40b074
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b06a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
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 0x40af30
mov word [ebp - 0x15], 0x6516
xor ecx, ecx
mov byte [ebp - 0x13], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x15]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40b0b0
lea edx, [ebp - 0x15]
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40b0d0
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.00464d90
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b250
push 0x16
mov byte [ebp - 0xd], 0
call fcn.004606a0
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 0x40b126
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], 0x6516
mov byte [ebp - 0x19], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40b150
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 0x40b180
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.004083c0
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40b1e4
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b1da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
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 0x40b22e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b224
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
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 0x40b0a0
mov word [ebp - 0x15], 0x1665
xor ecx, ecx
mov byte [ebp - 0x13], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x15]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jb 0x40b260
lea esi, [ebp - 0x15]
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x40b280
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.00464d90
add esp, 0xc
cmp eax, 0xffffffff
je 0x40b3f8
push 0x16
mov byte [ebp - 0xd], 0
call fcn.004606a0
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 0x40b2d7
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], 0x1665
mov byte [ebp - 0x19], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x1b]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 2
jb 0x40b300
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 0x40b330
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.004083c0
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40b394
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b38a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
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 0x40b3de
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b3d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
add esp, 8
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
jmp 0x40b250
mov edi, dword [ebp - 0x2c]
cmp edi, dword [ebp - 0x7c]
je 0x40b433
mov esi, dword [edi]
lea eax, [ebp - 0x74]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0045f3c0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 4
mov ecx, esi
mov edx, dword [ebp - 0x88]
call fcn.0040a6c0
add edi, 4
add esp, 0x18
cmp edi, dword [ebp - 0x7c]
jne 0x40b400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004612b0
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 0x40b4a0
mov ecx, dword [ebp - 0x84]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40b481
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4b0
push ecx
push edx
call fcn.004b9cb1
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.004d51a0
int3