Function at 0x4058a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a388b
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4f0100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov esi, ecx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x264], esi
push 0
mov dword [ebp - 0x248], 0
push 2
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
xorps xmm0, xmm0
cmp edi, 0xffffffff
jne 0x405958
movq qword [esi], xmm0
xor eax, eax
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [ebp - 4], 1
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], 1
mov eax, esi
jmp 0x405c4c
movlpd qword [ebp - 0x18], xmm0
push 0x4c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0047b7d5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x405a97
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x29c], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x22c]
xorps xmm0, xmm0
mov dword [ebp - 0x298], eax
movups xmmword [ebp - 0x294], xmm0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4059f0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x294]
call fcn.0041cad0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 0
push 0x4d7f3c
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0
call fcn.0041cad0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413cb0
mov ecx, eax
call fcn.00405d30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27c]
call fcn.00416820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.00416820
lea eax, [ebp - 0x244]
push eax
push edi
call esi
test eax, eax
jne 0x4059b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
mov esi, dword [edi]
cmp byte [esi + 0xd], 0
jne 0x405b66
nop dword [eax]
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x405b18
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x18]
call fcn.00425940
mov eax, dword [ebp - 0x258]
cmp byte [eax + 0xd], 0
jne 0x405ae7
mov ecx, dword [ebp - 0x250]
cmp ecx, dword [eax + 0x10]
jae 0x405ae9
mov eax, edi
cmp eax, edi
je 0x405b18
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413cb0
add eax, 8
lea ecx, [esi + 0x34]
cmp ecx, eax
je 0x405b15
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x405b0e
mov eax, dword [eax]
push edx
push eax
call fcn.00413fa0
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x405b44
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x405b40
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x405b40
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x405b30
mov esi, eax
jmp 0x405b5c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x405b5c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x405b50
cmp byte [esi + 0xd], 0
je 0x405ab0
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x260]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.00425940
mov ecx, dword [ebp - 0x258]
cmp byte [ecx + 0xd], 0
jne 0x405b8f
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jae 0x405b91
mov ecx, edi
cmp ecx, edi
je 0x405bdc
push esi
lea ecx, [ebp - 0x18]
call fcn.00413cb0
mov edi, dword [ebp - 0x24c]
mov esi, eax
mov ecx, dword [esi]
lea edx, [esi + 8]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
push edx
call fcn.004142a0
mov byte [ebp - 4], 8
lea eax, [esi + 0x20]
lea ecx, [edi + 0x20]
push eax
call fcn.004142a0
mov byte [ebp - 4], 3
mov dword [ebp - 0x248], 1
jmp 0x405c25
mov edi, dword [ebp - 0x24c]
xorps xmm0, xmm0
xor eax, eax
movq qword [edi], xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
mov byte [ebp - 4], 0xb
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x248], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00425990
push 0x4c
push dword [ebp - 0x18]
call fcn.0047ba56
mov eax, edi
add esp, 8
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.0047b4e2
mov esp, ebp
pop ebp
ret