Function at 0x401e20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403220
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov byte [ebp - 0x139], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x148], esi
cmp esi, 0xffffffff
je 0x401e8c
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x401e93
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x402143
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x174], 0
movups xmmword [ebp - 0x188], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ec0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.00401060
lea eax, [ebp - 0x188]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x164]
call fcn.00401350
cmp dword [ebp - 0x150], 0xf
lea esi, [ebp - 0x164]
mov edx, dword [ebp - 0x164]
lea edi, [ebp - 0x164]
seta cl
mov dword [ebp - 0x140], edx
cmova esi, edx
test cl, cl
mov ecx, dword [ebp - 0x154]
cmovne edi, edx
add edi, ecx
cmp esi, edi
je 0x401f56
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x401f30
mov edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x140], edx
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x144], edi
cmp dword [edi + 0x14], 0xf
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x170], esi
jbe 0x401f78
mov eax, dword [edi]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x150], 0xf
lea edi, [ebp - 0x164]
cmova edi, edx
seta byte [ebp - 0x13a]
mov dword [ebp - 0x14c], edi
cmp esi, ecx
ja 0x402063
sub ecx, esi
test esi, esi
jne 0x401faa
xor edi, edi
jmp 0x402066
movsx edx, byte [eax]
inc ecx
add ecx, edi
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], ecx
sub ecx, edi
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40205d
mov eax, dword [ebp - 0x144]
mov edx, edi
sub esi, 4
jb 0x401ff1
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x401ff6
add edx, 4
add eax, 4
sub esi, 4
jae 0x401fe0
cmp esi, 0xfffffffc
je 0x40202a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x402023
cmp esi, 0xfffffffd
je 0x40202a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x402023
cmp esi, 0xfffffffe
je 0x40202a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x402023
cmp esi, 0xffffffff
je 0x40202a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x40202a
sbb eax, eax
or eax, 1
jmp 0x40202c
xor eax, eax
test eax, eax
je 0x402118
mov eax, dword [ebp - 0x168]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x16c]
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, dword [ebp - 0x170]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x401fd3
mov edx, dword [ebp - 0x140]
or edi, 0xffffffff
cmp byte [ebp - 0x13a], 0
je 0x40209e
mov ecx, dword [ebp - 0x150]
mov eax, edx
inc ecx
cmp ecx, 0x1000
jb 0x402094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402129
push ecx
push edx
call fcn.004022e9
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x4020f6
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4020ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402129
push ecx
push edx
call fcn.004022e9
add esp, 8
mov esi, dword [ebp - 0x148]
cmp edi, 0xffffffff
jne 0x40212f
lea eax, [ebp - 0x138]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401e93
jmp 0x402136
sub edi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x140]
jmp 0x402066
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x139], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x139]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004022f7
mov esp, ebp
pop ebp
ret