Function at 0x40b9f0
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 0x42d77f
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 0x40baab
mov edx, str.Error:_Unable_to_create_snapshot_of_processes.
call fcn.0040d4d0
push eax
call fcn.0040d790
add esp, 4
mov eax, esi
jmp 0x40bc59
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x40bae0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, str.Error:_Unable_to_retrieve_information_about_the_first_process.
jmp 0x40ba96
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 0x40bb00
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a270
mov eax, dword [ebp - 0x168]
mov edx, eax
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x40bb30
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 0x40bbff
sub esi, 4
jb 0x40bb65
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bb6a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40bb54
cmp esi, 0xfffffffc
je 0x40bb9e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40bb97
cmp esi, 0xfffffffd
je 0x40bb9e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40bb97
cmp esi, 0xfffffffe
je 0x40bb9e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40bb97
cmp esi, 0xffffffff
je 0x40bb9e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40bb9e
sbb eax, eax
or eax, 1
jmp 0x40bba0
xor eax, eax
test eax, eax
jne 0x40bbff
mov eax, dword [ebx + 8]
test eax, eax
je 0x40bbc4
cmp eax, dword [ebp - 0x150]
jne 0x40bbc4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x40bc30
lea ecx, [eax + 1]
jmp 0x40bc0c
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x40bbf0
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 0x40bbff
lea ecx, [ebp - 0x158]
push ecx
push eax
mov ecx, edx
call fcn.0040e0a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x40bc30
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x40bc26
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc77
push ecx
push edi
call fcn.0040f80a
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 0x40bae0
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.0040f7fc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041437f
int3