Function at 0x41f100
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42707b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x23c]
push 0x22c
push 0
push eax
mov dword [ebp - 0x248], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x23c], 0x22c
mov dword [ebp - 0x244], ebx
cmp ebx, 0xffffffff
jne 0x41f178
xor eax, eax
jmp 0x41f35d
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f350
or esi, 0xffffffff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.00402d80
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
test eax, eax
jns 0x41f2a6
cmp ecx, 4
jne 0x41f2a6
test edi, edi
je 0x41f301
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], 0
jl 0x41f26e
push edi
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x41f301
mov eax, dword [ebp - 0x240]
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x41f26e
cmp dword [eax - 0xc], 0
jl 0x41f26e
push edi
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x41f2fe
mov eax, dword [ebp - 0x240]
sub esi, eax
sar esi, 1
test esi, esi
jle 0x41f26b
mov edx, edi
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x41f230
sub edx, ebx
mov ebx, dword [eax - 0xc]
sar edx, 1
lea ecx, [edx + esi]
cmp ecx, ebx
jne 0x41f265
add esi, 0xffffffff
js 0x41f37b
cmp esi, ebx
jg 0x41f37b
cmp word [eax + esi*2], 0x5c
je 0x41f30c
mov ebx, dword [ebp - 0x244]
or esi, 0xffffffff
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f28c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f190
jmp 0x41f350
test edi, edi
je 0x41f385
push edi
push dword [ebp - 0x240]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41f301
push dword [ebp - 0x234]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x248], eax
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41f350
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41f350
or esi, 0xffffffff
mov eax, dword [ebp - 0x240]
jmp 0x41f26e
push dword [ebp - 0x234]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [ebp - 0x240]
or ecx, 0xffffffff
mov dword [ebp - 0x248], eax
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41f34a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x244]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
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
push 0x80070057
call fcn.00401f90
push 0x80004005
call fcn.00401f90
int3