Function at 0x40b960
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d8ff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x43b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x168], edx
mov esi, ecx
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x164], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x164], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x160], edi
cmp edi, 0xffffffff
jne 0x40ba1b
mov edx, str.Error:_Unable_to_create_snapshot_of_processes.
call fcn.0040d460
push eax
call fcn.0040d730
add esp, 4
mov eax, esi
jmp 0x40bbc9
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x40ba50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, str.Error:_Unable_to_retrieve_information_about_the_first_process.
jmp 0x40ba06
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ba70
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a1f0
mov eax, dword [ebp - 0x168]
mov edx, eax
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x40baa0
mov edx, dword [eax]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmova ecx, edi
mov dword [ebp - 0x16c], edi
cmp esi, dword [eax + 0x10]
jne 0x40bb6f
sub esi, 4
jb 0x40bad5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bada
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40bac4
cmp esi, 0xfffffffc
je 0x40bb0e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40bb07
cmp esi, 0xfffffffd
je 0x40bb0e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40bb07
cmp esi, 0xfffffffe
je 0x40bb0e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40bb07
cmp esi, 0xffffffff
je 0x40bb0e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40bb0e
sbb eax, eax
or eax, 1
jmp 0x40bb10
xor eax, eax
test eax, eax
jne 0x40bb6f
mov eax, dword [ebx + 8]
test eax, eax
je 0x40bb34
cmp eax, dword [ebp - 0x150]
jne 0x40bb34
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x40bba0
lea ecx, [eax + 1]
jmp 0x40bb7c
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x40bb60
mov ecx, 0x4a
lea esi, [ebp - 0x158]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x128
mov edi, dword [ebp - 0x16c]
jmp 0x40bb6f
lea ecx, [ebp - 0x158]
push ecx
push eax
mov ecx, edx
call fcn.0040e0c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x40bba0
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x40bb96
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bbe7
push ecx
push edi
call fcn.0040f824
add esp, 8
mov edi, dword [ebp - 0x160]
lea eax, [ebp - 0x158]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x40ba50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x15c]
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.0040f816
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041450f
int3