Function at 0x40a0b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425293
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x43a504]
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
push 0x22c
xor esi, esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x23c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x23c], 0x22c
or ebx, 0xffffffff
mov dword [ebp - 0x244], edi
cmp edi, ebx
je 0x40a254
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40a24d
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00402d80
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
test eax, eax
jns 0x40a293
cmp ecx, 4
jne 0x40a293
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40a2b2
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], 0
jl 0x40a21b
push ecx
push eax
call esi
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40a2b2
mov eax, dword [ebp - 0x240]
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x40a21b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40a21b
cmp dword [eax - 0xc], 0
jl 0x40a21b
push ecx
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x40a2b2
mov eax, dword [ebp - 0x240]
sub esi, eax
sar esi, 1
test esi, esi
jle 0x40a21b
mov edx, dword [ebp + 8]
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40a1e0
sub edx, edi
mov edi, dword [eax - 0xc]
sar edx, 1
lea ecx, [edx + esi]
cmp ecx, edi
jne 0x40a215
add esi, 0xffffffff
js 0x40a2fe
cmp esi, edi
jg 0x40a2fe
cmp word [eax + esi*2], 0x5c
je 0x40a2bd
mov edi, dword [ebp - 0x244]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a236
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a136
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40a273
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00421a0e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x40a347
push eax
push dword [ebp - 0x240]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40a308
mov eax, dword [ebp - 0x240]
jmp 0x40a21b
push dword [ebp - 0x234]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [ebp - 0x240]
mov esi, eax
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a2f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x244]
jmp 0x40a24d
push 0x80070057
call fcn.00401f90
push dword [ebp - 0x234]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [ebp - 0x240]
mov esi, eax
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a24d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40a24d
push 0x80004005
call fcn.00401f90
int3