Function at 0x458f20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5362f6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x57b270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x274], esi
test esi, esi
je 0x458f98
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x458f98
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x458fb5
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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.00460b6f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.004fe92b
add esp, 8
test eax, eax
jne 0x458ff6
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x458fe2
mov eax, dword [ebp - 0x264]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x459290
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, edi
call fcn.00427e50
jmp 0x459290
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x264]
call fcn.004385d0
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x45924a
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmp esi, 8
mov dword [ebp - 0x270], eax
cmovae edx, eax
test ecx, ecx
je 0x45924a
lea eax, [ecx - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x459071
nop dword [eax]
cmp eax, edx
je 0x459244
sub eax, 2
cmp word [eax], 0x5c
jne 0x459060
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x459244
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
cmp eax, edx
lea ecx, [ebp - 0x28]
cmovb edx, eax
cmp esi, 8
cmovae ecx, dword [ebp - 0x270]
sub eax, edx
mov dword [ebp - 0x18], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.004ecdd0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042d340
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x459132
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x459100
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4590f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4592c3
push edx
push ecx
call fcn.00460b61
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45916c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459162
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4592c3
push edx
push ecx
call fcn.00460b61
add esp, 8
mov ecx, dword [ebp - 0x274]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459175
mov eax, dword [ebp - 0x28]
sub ecx, edx
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
sar ecx, 1
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x270], eax
cmovae edx, eax
cmp ecx, esi
mov dword [ebp - 0x278], edx
mov edx, dword [ebp - 0x274]
cmovb esi, ecx
test esi, esi
je 0x4591dd
mov eax, dword [ebp - 0x278]
sub eax, edx
mov dword [ebp - 0x278], eax
nop dword [eax]
mov ax, word [edx + eax]
cmp ax, word [edx]
jne 0x459244
mov eax, dword [ebp - 0x278]
add edx, 2
sub esi, 1
jne 0x4591c0
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x18], ecx
jb 0x45924a
ja 0x45924a
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4591fa
mov eax, dword [ebp - 0x264]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x459209
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, edi
call fcn.00427e50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x459290
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459240
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4592c3
push edx
push ecx
jmp 0x459288
mov eax, dword [ebp - 0x270]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x459290
lea edx, [edx*2 + 2]
mov ecx, eax
cmp edx, 0x1000
jb 0x459286
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x270], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4592c3
mov eax, dword [ebp - 0x270]
push edx
push eax
call fcn.00460b61
add esp, 8
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4592b2
mov esi, dword [ebp - 0x274]
jmp 0x458fb5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x458f9a
call fcn.004f639a
int3