Function at 0x40b100
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a64
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x52038c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
xor edi, edi
mov dword [ebp - 0x5c], 0xf
cmp byte [edx], 0
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x60], edi
mov byte [ebp - 0x70], 0
jne 0x40b14f
xor ecx, ecx
jmp 0x40b15b
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b152
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004039c0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
jne 0x40b179
xor edi, edi
jmp 0x40b59f
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x50f0d0
lea ecx, [ebp - 0x2bc]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x2a8], 0xf
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 0x2bc], 0
call fcn.004039c0
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.0040bcd0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2a8]
cmp eax, 0x10
jb 0x40b1f0
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004049b0
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0xf
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 0x2bc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0040a1a0
mov dword [ebp - 0x18], eax
push 0
mov byte [ebp - 4], 4
push 2
mov dword [ebp - 0x29c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40b44a
lea eax, [ebp - 0x29c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40b443
lea eax, [ebp - 0x29c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x40b443
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x278], ax
jne 0x40b2a1
xor ecx, ecx
jmp 0x40b2bf
lea ecx, [ebp - 0x278]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b2b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404670
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0040c450
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x40b319
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40b2fc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404840
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00404140
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x40b332
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404840
xor eax, eax
mov dword [ebp - 0x44], 7
push eax
push 0x50d6e8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00404670
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2bc]
push 4
xor eax, eax
mov dword [ebp - 0x2a8], 7
push 0x50f0d4
mov dword [ebp - 0x2ac], 0
mov word [ebp - 0x2bc], ax
call fcn.00404670
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x2bc]
call fcn.0040d260
mov eax, dword [ebp - 0x2a8]
add esp, 4
cmp eax, 8
jb 0x40b3be
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.00404840
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x2bc], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2a8], 7
mov dword [ebp - 0x2ac], 0
cmp eax, 8
jb 0x40b3f4
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404840
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040af00
mov eax, dword [ebp - 0x2c8]
mov byte [ebp - 4], 4
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40b42d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404840
lea eax, [ebp - 0x29c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40b280
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
xor ebx, ebx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x18]
je 0x40b54b
mov ecx, dword [ebp - 0x2c0]
mov edx, esi
mov dword [ebp - 0x2a0], edx
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
cmp esi, eax
je 0x40b530
nop
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00403890
lea ecx, [ebp - 0x58]
call fcn.0040ba90
mov edi, dword [ebp - 0x58]
lea ecx, [esi + 0x10]
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
add esp, 0x18
cmp esi, 8
cmovae eax, edi
push dword [ebp - 0x48]
push 0
push eax
call fcn.0040b010
cmp eax, 0xffffffff
je 0x40b4fc
movsd xmm0, qword [0x50f8a8]
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
call fcn.004e42c0
cvttsd2si eax, xmm0
add dword [ebp - 0x2a4], eax
cmp esi, 8
jb 0x40b50e
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.00404840
lea ecx, [ebp - 0x1c]
call fcn.0040afc0
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2a0]
cmp esi, eax
jne 0x40b490
mov ecx, dword [ebp - 0x2c0]
inc ebx
add edx, 0x18
mov dword [ebp - 0x2a0], edx
cmp ebx, ecx
jb 0x40b482
mov edi, dword [ebp - 0x2a4]
mov esi, dword [ebp - 0x28]
push eax
push dword [eax]
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a690
push dword [ebp - 0x18]
call fcn.0043735e
add esp, 4
test esi, esi
je 0x40b59f
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x24]
push esi
call fcn.0040a090
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a0e0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x40b5b4
inc ecx
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call fcn.004049b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c3a
mov esp, ebp
pop ebp
ret