Function at 0x457050
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5357b6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x579258]
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 0x4570c8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x4570c8
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4570e5
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.00460412
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.004fe0bb
add esp, 8
test eax, eax
jne 0x457126
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x457112
mov eax, dword [ebp - 0x264]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x4573c0
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, edi
call fcn.004281b0
jmp 0x4573c0
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.004386b0
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x45737a
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 0x45737a
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 0x4571a1
nop dword [eax]
cmp eax, edx
je 0x457374
sub eax, 2
cmp word [eax], 0x5c
jne 0x457190
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x457374
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.004ec550
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042d420
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x457262
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x457230
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457226
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4573f3
push edx
push ecx
call fcn.00460404
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 0x45729c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457292
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4573f3
push edx
push ecx
call fcn.00460404
add esp, 8
mov ecx, dword [ebp - 0x274]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4572a5
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 0x45730d
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 0x457374
mov eax, dword [ebp - 0x278]
add edx, 2
sub esi, 1
jne 0x4572f0
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x18], ecx
jb 0x45737a
ja 0x45737a
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x45732a
mov eax, dword [ebp - 0x264]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x457339
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, edi
call fcn.004281b0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4573c0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457370
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4573f3
push edx
push ecx
jmp 0x4573b8
mov eax, dword [ebp - 0x270]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4573c0
lea edx, [edx*2 + 2]
mov ecx, eax
cmp edx, 0x1000
jb 0x4573b6
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x270], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4573f3
mov eax, dword [ebp - 0x270]
push edx
push eax
call fcn.00460404
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 0x4573e2
mov esi, dword [ebp - 0x274]
jmp 0x4570e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4570ca
call fcn.004f5b2a
int3