Function at 0x4017f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403c43
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4060e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x154], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x158], edi
cmp edi, 0xffffffff
jne 0x40185d
push str.ERROR:_Cant_get_snapshot_of_processes
call fcn.00402af0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ErrorCode:__u_n
call fcn.00402af0
add esp, 8
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401a9b
nop dword [eax]
lea esi, [ebp - 0x12c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x401890
sub esi, ecx
xor edi, edi
test esi, esi
jle 0x4018be
nop
movsx eax, byte [ebp + edi - 0x12c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [ebp + edi - 0x12c], al
add esp, 4
inc edi
cmp edi, esi
jl 0x4018a0
mov ecx, dword [ebp + 0xc]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4018cb
mov eax, dword [ecx]
lea ecx, [ebp - 0x12c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4018f1
test dl, dl
je 0x4018ed
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4018f1
add ecx, 2
add eax, 2
test dl, dl
jne 0x4018d1
xor eax, eax
jmp 0x4018f6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401a80
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401914
sub ecx, edx
lea eax, [ebp - 0x12c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004027b0
mov edi, dword [ebp - 0x154]
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00401320
mov esi, dword [ebp - 0x164]
cmp byte [esi + 0xd], 0
jne 0x401966
mov eax, dword [ebp - 0x148]
cmp eax, dword [esi + 0x10]
jae 0x4019e0
cmp dword [edi + 4], 0x5d1745d
je 0x401ac3
mov esi, dword [edi]
mov dword [ebp - 0x160], edi
push 0x2c
mov byte [ebp - 4], 1
mov dword [ebp - 0x15c], 0
call fcn.00402e16
mov ecx, dword [ebp - 0x148]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x15c], 0
mov dword [eax + 0x10], ecx
mov ecx, edi
push eax
push dword [ebp - 0x168]
mov dword [eax + 0x24], 0
push dword [ebp - 0x16c]
mov dword [eax + 0x28], 0xf
mov byte [eax + 0x14], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.00402500
mov esi, eax
add esi, 0x14
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x401a47
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x401a1d
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x401a13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401abd
mov eax, edx
push ecx
push eax
call fcn.00402e46
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov eax, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
jmp 0x401a4a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x401a80
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x401a76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401abd
push edx
push ecx
call fcn.00402e46
add esp, 8
mov edi, dword [ebp - 0x158]
lea eax, [ebp - 0x150]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401880
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004030b3
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00402730
int3