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 0x413a10
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x42000c]
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 - 0x28c], edi
mov eax, dword [edi]
mov dword [ebp - 0x294], eax
mov esi, dword [eax + 4]
mov dword [ebp - 0x290], esi
cmp byte [esi + 0xd], 0
jne 0x40bad8
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.00408051
mov eax, dword [ebp - 0x290]
mov ecx, dword [esi + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x290], eax
cmp ecx, 8
jb 0x40baa7
mov eax, dword [esi + 0x1c]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40ba9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf56
mov eax, edx
push ecx
push eax
call fcn.00411124
add esp, 8
xor eax, eax
mov dword [esi + 0x2c], 0
push 0x34
push esi
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
call fcn.00411124
mov esi, dword [ebp - 0x290]
add esp, 8
cmp byte [esi + 0xd], 0
je 0x40ba54
mov eax, dword [ebp - 0x294]
push 0
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
push 2
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
jne 0x40bb03
xor eax, eax
jmp 0x40bf6b
push 0x228
lea eax, [ebp - 0x284]
mov dword [ebp - 0x288], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, 7
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x58], 0
add esp, 0xc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40bf21
nop dword [eax + eax]
mov eax, dword [edi]
mov esi, eax
mov edi, dword [ebp - 0x270]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x40bb97
cmp dword [ecx + 0x10], edi
jae 0x40bb8d
mov ecx, dword [ecx + 8]
jmp 0x40bb91
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x40bb83
cmp byte [esi + 0xd], 0
jne 0x40bba2
cmp edi, dword [esi + 0x10]
jae 0x40bba4
mov esi, eax
xor edx, edx
lea ecx, [ebp - 0x58]
cmp esi, eax
push ecx
mov ecx, dword [ebp - 0x280]
cmovne edx, edi
call fcn.0040b700
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00407ef0
mov edx, dword [ebp - 0x28c]
xor edi, edi
mov byte [ebp - 4], 1
mov eax, dword [edx]
mov ecx, eax
mov dword [ebp - 0x298], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x40bc23
mov edx, dword [ebp - 0x38]
mov eax, esi
nop dword [eax]
mov esi, eax
cmp dword [eax + 0x10], edx
jae 0x40bc0e
mov eax, dword [eax + 8]
xor edi, edi
jmp 0x40bc17
mov ecx, eax
mov edi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40bc00
mov edx, dword [ebp - 0x28c]
cmp byte [ecx + 0xd], 0
jne 0x40bc39
mov eax, dword [ebp - 0x38]
cmp eax, dword [ecx + 0x10]
jb 0x40bc39
mov eax, dword [ebp - 0x18]
jmp 0x40bec6
cmp dword [edx + 4], 0x4ec4ec4
je 0x40bf89
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 2
push 0x34
mov dword [ebp - 0x2a4], 0
call fcn.00410ea3
mov ecx, dword [ebp - 0x38]
add esp, 4
movups xmm0, xmmword [ebp - 0x2c]
mov edx, dword [ebp - 0x28c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
movups xmmword [eax + 0x1c], xmm0
mov word [ebp - 0x2c], cx
mov ecx, dword [ebp - 0x298]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x2c], xmm0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], 0
mov ecx, dword [edx]
inc dword [edx + 4]
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x29c], ecx
mov dword [eax + 4], esi
cmp esi, ecx
jne 0x40bce9
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
jmp 0x40bebc
test edi, edi
jne 0x40bcfa
mov dword [esi + 8], eax
cmp esi, dword [ecx + 8]
jne 0x40bd02
mov dword [ecx + 8], eax
jmp 0x40bd02
mov dword [esi], eax
cmp esi, dword [ecx]
jne 0x40bd02
mov dword [ecx], eax
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xc], 0
jne 0x40beb3
nop
mov edx, dword [eax + 4]
lea edi, [eax + 4]
mov ecx, dword [edx + 4]
lea esi, [edx + 4]
mov dword [ebp - 0x2a0], esi
mov ecx, dword [ecx]
cmp edx, ecx
jne 0x40bdee
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
cmp byte [ecx + 0xc], 0
je 0x40bdf4
mov esi, dword [edx + 8]
cmp eax, esi
jne 0x40bd8c
mov ecx, dword [esi]
mov eax, edx
mov dword [eax + 8], ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40bd54
mov dword [ecx + 4], eax
mov edi, dword [ebp - 0x2a0]
mov ecx, dword [edi]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x28c]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x40bd75
mov dword [ecx + 4], esi
mov dword [esi], eax
mov dword [edi], esi
jmp 0x40bd8e
mov ecx, dword [edi]
cmp eax, dword [ecx]
jne 0x40bd83
mov dword [ecx], esi
mov dword [esi], eax
mov dword [edi], esi
jmp 0x40bd8e
mov dword [ecx + 8], esi
mov dword [esi], eax
mov dword [edi], esi
jmp 0x40bd8e
mov esi, edx
mov byte [esi + 0xc], 1
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov esi, dword [edx]
mov ecx, dword [esi + 8]
mov dword [edx], ecx
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xd], 0
jne 0x40bdb3
mov dword [ecx + 4], edx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x28c]
mov ecx, dword [ecx]
cmp edx, dword [ecx + 4]
jne 0x40bdd1
mov dword [ecx + 4], esi
mov dword [esi + 8], edx
jmp 0x40bea3
mov ecx, dword [edx + 4]
cmp edx, dword [ecx + 8]
jne 0x40bde4
mov dword [ecx + 8], esi
mov dword [esi + 8], edx
jmp 0x40bea3
mov dword [ecx], esi
mov dword [esi + 8], edx
jmp 0x40bea3
cmp byte [ecx + 0xc], 0
jne 0x40be0f
mov byte [edx + 0xc], 1
mov byte [ecx + 0xc], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [eax + 0xc], 0
mov eax, dword [edi]
mov eax, dword [eax + 4]
jmp 0x40bea6
mov ecx, dword [edx]
cmp eax, ecx
jne 0x40be56
mov eax, edx
mov edx, ecx
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
cmp byte [ecx + 0xd], 0
jne 0x40be2a
mov dword [ecx + 4], eax
mov ecx, dword [esi]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x28c]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x40be41
mov dword [ecx + 4], edx
jmp 0x40be4f
mov ecx, dword [esi]
cmp eax, dword [ecx + 8]
jne 0x40be4d
mov dword [ecx + 8], edx
jmp 0x40be4f
mov dword [ecx], edx
mov dword [edx + 8], eax
mov edi, esi
mov dword [esi], edx
mov byte [edx + 0xc], 1
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov esi, dword [edx + 8]
mov ecx, dword [esi]
mov dword [edx + 8], ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40be7b
mov dword [ecx + 4], edx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x28c]
mov ecx, dword [ecx]
cmp edx, dword [ecx + 4]
jne 0x40be93
mov dword [ecx + 4], esi
jmp 0x40bea1
mov ecx, dword [edx + 4]
cmp edx, dword [ecx]
jne 0x40be9e
mov dword [ecx], esi
jmp 0x40bea1
mov dword [ecx + 8], esi
mov dword [esi], edx
mov dword [edx + 4], esi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xc], 0
je 0x40bd10
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax + 4]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x40befd
mov ecx, dword [ebp - 0x2c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bef3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf56
push edx
push ecx
call fcn.00411124
add esp, 8
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, dword [ebp - 0x28c]
test eax, eax
jne 0x40bb70
mov esi, dword [ebp - 0x3c]
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 8
jb 0x40bf66
mov ecx, dword [ebp - 0x50]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x40bf5c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.00411124
add esp, 8
mov eax, 1
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.00410e60
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040678f
int3