Function at 0x47ac40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bf2d
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5bf364]
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
mov esi, ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x240], ebx
call fcn.00405c90
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x294], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x290], ecx
lea ecx, [ebp - 0x288]
mov dword [ebp - method.CMStringArray.virtual_0], vtable.CWString.0
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x288]
call fcn.00405870
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.00405c90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.0049d0a0
cmp ebx, 0xffffffff
jne 0x47ad04
or esi, ebx
jmp 0x47af4b
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x47af42
nop dword [eax]
nop dword [eax + eax]
xor esi, esi
mov dword [ebp - 0x260], esi
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x47ad58
push eax
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x260]
xor edx, edx
mov dword [ebp - 0x250], 0
xor ebx, ebx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24c], ebx
cmp word [ebp - 0x218], dx
je 0x47ad9f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004993c0
mov edx, dword [ebp - 0x248]
mov ebx, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x260]
test esi, esi
je 0x47ae6e
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47adb0
sub ecx, edx
xor edx, edx
sar ecx, 1
mov dword [ebp - 0x248], edx
lea edi, [ecx*2 + 2]
cmp ebx, edi
jl 0x47ae37
cmp edi, 2
jne 0x47adf3
mov eax, dword [ebp - 0x250]
mov cx, word [esi]
mov word [eax], cx
mov edx, dword [ebp - 0x248]
add edx, edi
mov dword [ebp - 0x248], edx
jmp 0x47ae66
cmp edi, 4
jne 0x47ae12
mov eax, dword [ebp - 0x250]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [ebp - 0x248]
add edx, edi
mov dword [ebp - 0x248], edx
jmp 0x47ae66
cmp edi, 8
jne 0x47ae37
mov eax, dword [ebp - 0x250]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x248]
add edx, edi
mov dword [ebp - 0x248], edx
jmp 0x47ae66
test edi, edi
jle 0x47ae66
push edi
lea ecx, [ebp - 0x25c]
call fcn.004992e0
push edi
test esi, esi
je 0x47ae55
push esi
push eax
call fcn.00510fc0
jmp 0x47ae5d
push 0
push eax
call fcn.00510e60
mov edx, dword [ebp - 0x248]
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x260], esi
mov edi, dword [ebp - 0x250]
xor eax, eax
test edx, edx
cmove edi, eax
test esi, esi
je 0x47ae95
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ae84
sub ecx, ebx
sar ecx, 1
jmp 0x47ae9e
test edx, edx
je 0x47aec8
mov ecx, edx
shr ecx, 1
dec ecx
test ecx, ecx
jle 0x47aec8
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x47aeb4
lea eax, [edx + 0x20]
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x47aea2
mov edx, dword [ebp - 0x248]
mov esi, dword [ebp - 0x260]
mov eax, dword [ebp - 0x28c]
test eax, eax
jne 0x47aee5
cmp dword [ebp - 0x274], 0
mov eax, 0x580994
cmovne eax, dword [ebp - 0x27c]
test esi, esi
jne 0x47aef7
test edx, edx
mov esi, 0x580994
cmovne esi, dword [ebp - 0x250]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x47af1d
test cx, cx
je 0x47af19
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x47af1d
add esi, 4
add eax, 4
test cx, cx
jne 0x47aef7
xor eax, eax
jmp 0x47af22
sbb eax, eax
or eax, 1
test eax, eax
je 0x47af90
mov ebx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x47ad30
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x240], eax
mov dword [ebp - method.CMStringArray.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x250]
test ecx, ecx
je 0x47afac
mov eax, dword [ebp - 0x25c]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CMStringArray.virtual_12
jne 0x47afa4
mov ecx, 0x5c6708
call fcn.0049a2e0
jmp 0x47afac
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x234]
jmp 0x47af4b
lea ecx, [ebp - 0x25c]
call eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov byte [ebp - 4], 3
mov dword [ebp - method.CMStringArray.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 1
mov dword [ebp - method.CMStringArray.virtual_0], vtable.CVolObject.0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - method.CMStringArray.virtual_0], vtable.CVolObject.0
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.0050ec8c
mov esp, ebp
pop ebp
ret