Function at 0x4547a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1049
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 2
mov edi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x260], esi
cmp esi, 0xffffffff
jne 0x4547ee
xor eax, eax
jmp 0x454bc6
lea eax, [ebp - 0x2a0]
push eax
call fcn.00456600
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], 0x10
jb 0x454808
mov edi, dword [edi + 4]
jmp 0x45480b
add edi, 4
lea ecx, [ebp - 0x25c]
push ecx
mov ecx, edi
call fcn.004552a0
push 0x228
lea edx, [ebp - 0x254]
push ebx
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x268], ebx
call fcn.0055e2a0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push esi
mov dword [ebp - 0x258], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45491d
mov edx, dword [ebp - 0x25c]
lea ecx, [ebp - 0x234]
push ecx
push edx
call fcn.0055e1f6
add esp, 8
test eax, eax
jne 0x454908
mov eax, dword [ebp - 0x288]
mov ebx, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x2b0]
push edx
lea edi, [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
call fcn.004559d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4548ac
cmp eax, ebx
je 0x4548b1
call fcn.0055e4b6
mov eax, dword [ebp - 0x2a4]
cmp dword [esi + 4], eax
je 0x4548e9
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.00455880
mov esi, dword [eax]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
inc esi
call fcn.00455880
mov dword [eax], esi
jmp 0x454902
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.00455880
mov dword [eax], 1
mov esi, dword [ebp - 0x260]
lea ecx, [ebp - 0x258]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x454857
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x284], 0
je 0x454b60
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea edx, [ebp - 0x280]
push edx
call fcn.004594f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x274]
mov byte [ebp - 0x260], 0
mov ebx, eax
cmp ecx, eax
jbe 0x45497d
call fcn.0055e4b6
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x274]
mov esi, dword [ebp - 0x280]
mov edi, ecx
cmp ecx, eax
jbe 0x45498e
call fcn.0055e4b6
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x280]
push eax
push ebx
push esi
push edi
push ecx
call fcn.00459570
mov esi, dword [ebp - 0x274]
mov eax, dword [ebp - 0x270]
add esp, 0x14
cmp esi, eax
jbe 0x4549c2
call fcn.0055e4b6
mov eax, dword [ebp - 0x270]
mov ebx, dword [ebp - 0x280]
mov edi, esi
xor edx, edx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], dx
mov byte [ebp - 4], 3
mov edi, edi
mov esi, eax
cmp dword [ebp - 0x274], eax
jbe 0x4549ff
call fcn.0055e4b6
test ebx, ebx
je 0x454a0b
cmp ebx, dword [ebp - 0x280]
je 0x454a10
call fcn.0055e4b6
cmp edi, esi
je 0x454b29
test ebx, ebx
jne 0x454af3
call fcn.0055e4b6
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x454a31
call fcn.0055e4b6
mov eax, dword [edi]
push eax
lea esi, [ebp - 0x2c]
call fcn.00453650
mov edx, dword [ebp - 0x25c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
add esp, 4
or eax, ecx
jge 0x454a6b
push esi
lea ecx, [ebp - 0x25c]
call fcn.00427e70
mov edx, dword [ebp - 0x25c]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00564615
add esp, 8
test esi, esi
jl 0x454b19
mov eax, dword [ebp - 0x25c]
cmp esi, dword [eax - 8]
jg 0x454b19
mov dword [eax - 0xc], esi
mov eax, dword [ebp - 0x25c]
xor edx, edx
mov word [eax + esi*2], dx
mov edx, dword [ebp - 0x25c]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454ab0
sub eax, esi
sar eax, 1
push eax
push 0
push edx
lea ecx, [ebp - 0x2c]
call fcn.00425060
cmp eax, 0xffffffff
jne 0x454afe
test ebx, ebx
jne 0x454afa
call fcn.0055e4b6
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x454ae5
call fcn.0055e4b6
mov eax, dword [ebp - 0x270]
add edi, 8
jmp 0x4549f0
mov eax, dword [ebx]
jmp 0x454a27
mov eax, dword [ebx]
jmp 0x454adb
lea esi, [ebp - 0x264]
mov dword [ebp - 0x260], edi
call fcn.00455af0
mov ecx, dword [eax]
mov dword [ebp - 0x268], ecx
jmp 0x454b2f
push 0x80070057
mov dword [ebp - 0x260], edi
call fcn.00425c60
mov dword [ebp - 0x260], edi
cmp dword [ebp - 0x14], 8
jb 0x454b41
mov edx, dword [ebp - 0x28]
push edx
call fcn.0055dfce
add esp, 4
xor eax, eax
lea esi, [ebp - 0x280]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00455a80
mov ecx, dword [ebp - 0x268]
push ecx
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x454b8b
mov ecx, esi
call fcn.004546c0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2a0]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00455920
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret