Function at 0x462520
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xe78]
sub esp, 0xe78
push 0xffffffffffffffff
push 0x495a84
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c0074]
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 - 0x10], edx
mov dword [ebp - 0x28], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x44], 0x4a4fc8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x462591
xor bl, bl
jmp 0x4628c9
push 0x228
lea eax, [ebp + 4]
push 0
push eax
call fcn.0046ea50
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 0x4628bf
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
nop dword [eax]
call fcn.0041cb60
mov ecx, dword [0x4c21b8]
mov esi, eax
cmp ecx, dword [edi + 4]
jle 0x462621
push 0x4c21b8
call fcn.0046cacc
add esp, 4
cmp dword [0x4c21b8], 0xffffffff
jne 0x462621
mov byte [ebp - 4], 1
sub esp, 0x10
mov ecx, 0x4c21c0
push 0
push 6
call fcn.0041cb00
mov byte [ebp - 4], 0
push 0x4c21b8
call fcn.0046ca82
add esp, 4
mov eax, dword [esi]
cmp eax, dword [0x4c21c0]
jae 0x46262f
xor al, al
jmp 0x462664
ja 0x462662
mov eax, dword [esi + 4]
cmp eax, dword [0x4c21c4]
jae 0x462640
xor al, al
jmp 0x462664
ja 0x462662
mov eax, dword [esi + 0xc]
cmp eax, dword [0x4c21cc]
jae 0x462651
xor al, al
jmp 0x462664
ja 0x462662
mov eax, dword [esi + 8]
cmp eax, dword [0x4c21c8]
jae 0x462662
xor al, al
jmp 0x462664
mov al, 1
test al, al
je 0x46276d
push dword [ebp + 8]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x3c], 0x4a4fc8
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0x410
test ebx, ebx
je 0x462745
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x20], 0x4a4ec0
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 3
test edi, edi
jne 0x4626c7
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0x4a4ec0
jmp 0x462745
push str.QueryFullProcessImageNameW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4626f2
mov byte [ebp - 4], 2
push edi
mov dword [ebp - 0x20], 0x4a4ec0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c], 0
jmp 0x462745
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0x654]
push ecx
push 0
push ebx
call eax
mov esi, eax
mov byte [ebp - 4], 2
push edi
mov dword [ebp - 0x20], 0x4a4ec0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c], 0
test esi, esi
je 0x462745
lea eax, [ebp + 0x654]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
call fcn.00472182
add esp, 8
test eax, eax
jne 0x462745
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call fcn.004542e0
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], 0x4a4fc8
test ebx, ebx
je 0x46289f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [ebp - 0x38], 0
jmp 0x4628a5
call fcn.00403f70
test eax, eax
je 0x46290e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
push dword [ebp + 8]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x18], 0x4a4fc8
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 6
cmp edi, 0xffffffff
jne 0x4627c5
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x18], 0x4a4fc8
call ebx
mov dword [ebp - 0x14], 0
jmp 0x462881
push 0x424
lea eax, [ebp + 0x230]
push 0
push eax
call fcn.0046ea50
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 0x462812
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0x4a4fc8
test edi, edi
je 0x462881
push edi
call ebx
mov dword [ebp - 0x14], 0
jmp 0x462881
lea ecx, [ebp + 0x44c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462820
sub ecx, edx
lea eax, [ebp + 0x44c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00403ae0
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0x4a4fc8
test edi, edi
je 0x462858
push edi
call ebx
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x46290e
mov eax, dword [ebp - 0x28]
push esi
push dword [eax]
call fcn.00472182
add esp, 8
test eax, eax
jne 0x462881
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call fcn.004542e0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4628a5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4628a5
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x30]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4628bf
mov edi, dword [ebp - 0x34]
jmp 0x4625d0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
setg bl
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x4a4fc8
test esi, esi
je 0x4628e9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x40], 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.0046c8db
lea esp, [ebp + 0xe78]
pop ebp
ret
push 0x80004005
call fcn.004023a0
int3