Function at 0x464800
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523b32
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x587978]
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, dword [ebp + 8]
mov ecx, 0x589030
call fcn.00456a50
test al, al
jne 0x464850
mov eax, dword [0x589094]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x464a4e
call fcn.00483c70
mov ecx, 0x589030
call fcn.00456d00
test al, al
je 0x4649a1
mov ecx, dword [0x589094]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edx, [ebp - 0x240]
push edx
mov ecx, 0x589030
call fcn.00452ad0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
push 0x5c
push eax
call fcn.004ed6a3
add esp, 8
cmp eax, ebx
jne 0x4648a4
or eax, 0xffffffff
jmp 0x4648ac
sub eax, dword [ebp - 0x240]
sar eax, 1
inc eax
push eax
push ebx
lea ecx, [ebp - 0x240]
call fcn.00463200
push 0x22c
lea ecx, [ebp - 0x23c]
push ebx
push ecx
call fcn.004eb200
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46496f
lea edx, [ebp - 0x23c]
push edx
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x464968
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x464968
mov edx, dword [ebp - 0x240]
lea ecx, [ebp - 0x218]
push ecx
push edx
call fcn.004ebce1
add esp, 8
test eax, eax
jne 0x464953
mov eax, dword [ebp - 0x234]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
jne 0x464966
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x23c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46490e
jmp 0x464968
mov ebx, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x464a3d
push 1
push esi
call fcn.00464620
add esp, 8
cmp eax, 0x4c7
jne 0x464a49
lea ecx, [ebp - 0x244]
push ecx
mov ecx, dword [0x589078]
call fcn.00441cb0
mov esi, eax
mov ebx, 2
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x240]
push edx
call fcn.00463ca0
add esp, 4
mov byte [ebp - 4], 3
mov esi, dword [esi]
mov eax, dword [eax]
push 0x30
push esi
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004830c0
xor eax, eax
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.004eb16b
mov esp, ebp
pop ebp
ret