Function at 0x402430
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bb57
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b8
mov eax, dword [0x44f014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x2bc], edi
xorps xmm0, xmm0
mov dword [ebp - 0x270], 1
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x260], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x26c], eax
cmp eax, 0xffffffff
je 0x40275a
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4026b6
nop dword [eax + eax]
mov dword [ebp - 0x278], 0xa4a10dae
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x274], 0x1666f574
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x280], 0x1deb7ecb
mov dword [ebp - 0x27c], 0x9e0540c8
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x288], 0xc5c479dd
mov dword [ebp - 0x284], 0x6e03db19
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x290], 0x1deb7eae
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x28c], 0x9e0540c8
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x28c]
movaps xmm1, xmmword [ebp - 0x2a0]
mov dword [ebp - 0x124], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x128], eax
pxor xmm1, xmmword [ebp - 0x130]
movaps xmmword [ebp - 0x2a0], xmm1
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4025d0
sub edx, ecx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x268], edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4025e8
sub ecx, esi
mov esi, edx
cmp ecx, edx
cmovb esi, ecx
xor eax, eax
test esi, esi
je 0x40262d
nop
mov dl, byte [ebp + eax - 0x23c]
mov dh, byte [ebp + eax - 0x2a0]
mov byte [ebp - 0x262], dl
cmp dl, dh
jl 0x402633
mov dl, dh
cmp byte [ebp - 0x262], dl
mov edx, dword [ebp - 0x268]
jg 0x402633
inc eax
cmp eax, esi
jb 0x402600
cmp ecx, edx
jb 0x402633
jbe 0x402650
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x402500
jmp 0x4026b6
push dword [ebp - 0x258]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4026b6
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x104
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x4026af
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402697
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, edi
call fcn.0040c000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push 0x44aa44
mov ecx, edi
call fcn.0040b890
mov ecx, eax
cmp ecx, 0xffffffff
je 0x40275a
cmp dword [edi + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x2b8], xmm0
cmovb ecx, dword [edi + 0x10]
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
jb 0x402709
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0040cb40
lea eax, [ebp - 0x2b8]
mov ecx, edi
push eax
call fcn.0040b9e0
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 0x10
jb 0x40275a
mov edx, dword [ebp - 0x2b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402750
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40277a
push ecx
push edx
call fcn.0041dcb3
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041db56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00425571
int3