Function at 0x464170
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xe78]
sub esp, 0xe78
push 0xffffffffffffffff
push 0x497d88
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c4074]
xor eax, ebp
mov dword [ebp + 0xe74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0
push 2
call edi
mov esi, eax
mov dword [ebp - 0x40], 0x4a85d0
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x4641e3
xor bl, bl
jmp 0x46447c
push 0x228
lea eax, [ebp + 4]
push 0
push eax
call fcn.00470500
add esp, 0xc
mov dword [ebp], 0x22c
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x464472
call fcn.0041ecc0
test al, al
je 0x464324
push dword [ebp + 8]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x38], 0x4a85d0
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0x410
test ebx, ebx
je 0x4642fc
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x24], 0x4a8ad0
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 2
test edi, edi
jne 0x46427b
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0x4a8ad0
jmp 0x4642fc
push str.QueryFullProcessImageNameW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4642a6
mov byte [ebp - 4], 1
push edi
mov dword [ebp - 0x24], 0x4a8ad0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x4642fc
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0x654]
push ecx
push 0
push ebx
call eax
mov esi, eax
mov byte [ebp - 4], 1
push edi
mov dword [ebp - 0x24], 0x4a8ad0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
test esi, esi
je 0x4642f9
lea eax, [ebp + 0x654]
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
call fcn.00473b16
add esp, 8
test eax, eax
jne 0x4642f9
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call fcn.00455ad0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov dword [ebp - 0x38], 0x4a85d0
test ebx, ebx
je 0x46446a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [ebp - 0x34], 0
jmp 0x464450
call fcn.00403d50
test eax, eax
je 0x4644c1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 4
push dword [ebp + 8]
push 8
call edi
mov edi, eax
mov dword [ebp - 0x1c], 0x4a85d0
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 5
cmp edi, 0xffffffff
jne 0x464378
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x1c], 0x4a85d0
call ebx
mov dword [ebp - 0x18], 0
jmp 0x464431
push 0x424
lea eax, [ebp + 0x230]
push 0
push eax
call fcn.00470500
add esp, 0xc
mov dword [ebp + 0x22c], 0x428
lea eax, [ebp + 0x22c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x4643c5
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0x4a85d0
test edi, edi
je 0x464431
push edi
call ebx
mov dword [ebp - 0x18], 0
jmp 0x464431
lea ecx, [ebp + 0x44c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4643d0
sub ecx, edx
lea eax, [ebp + 0x44c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00407350
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0x4a85d0
test edi, edi
je 0x464408
push edi
call ebx
mov dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4644c1
mov eax, dword [ebp - 0x2c]
push esi
push dword [eax]
call fcn.00473b16
add esp, 8
test eax, eax
jne 0x464431
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call fcn.00455ad0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46444d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x464472
mov edi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
jmp 0x464210
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x464450
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
setg bl
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], 0x4a85d0
test esi, esi
je 0x46449c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3c], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe74]
xor ecx, ebp
call fcn.0046e38e
lea esp, [ebp + 0xe78]
pop ebp
ret
push 0x80004005
call fcn.004024c0
int3