Function at 0x450c20
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593cd1
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x60b4e0]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x288], 0
push 1
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push 0x5a80f0
call fcn.004502b0
add esp, 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov esi, 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x280], 0x22c
mov dword [ebp - 0x294], ebx
cmp ebx, 0xffffffff
je 0x450f17
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x450f10
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x450f10
mov ecx, dword [0x6160ec]
mov eax, dword fs:[0x2c]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x28c], eax
lea ebx, [ebx]
push dword [ebp - 0x278]
mov dword [ebp - 0x284], esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x450ef5
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x3c], vtable.ProcessHelpers::Process.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x800
push eax
or esi, 2
mov byte [ebp - 4], 3
push 0x612c30
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 0x288], esi
call fcn.0055dac0
add esp, 0xc
push 0x400
push 0x612c30
push 0
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x450de1
mov eax, dword [ebp - 0x28c]
mov ecx, dword [eax]
mov eax, dword [0x613434]
cmp eax, dword [ecx + 4]
jg 0x450f4d
mov eax, dword [0x613430]
test eax, eax
je 0x450de1
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x290], 0x400
push ecx
push 0x612c30
push 0
push ebx
call eax
test eax, eax
jne 0x450de1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x612c30
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x450dfd
push 0x612c30
lea ecx, [ebp - 0x54]
call fcn.00450340
lea ecx, [ebp - 0x30]
call fcn.00404809
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x40]
and esi, 0xfffffffd
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x288], esi
mov byte [ebp - 4], 2
test eax, eax
jne 0x450e55
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450340
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x450e98
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x450ee2
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00450fd0
jmp 0x450ee2
mov esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x450ed0
mov dword [esi], vtable.ProcessHelpers::Process.0
lea ecx, [esi + 0xc]
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 8], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00434520
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x28], eax
add dword [edi + 4], 0x2c
jmp 0x450edc
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
push esi
call fcn.0044fca0
mov esi, dword [ebp - 0x284]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00450130
mov ebx, dword [ebp - 0x294]
lea eax, [ebp - 0x280]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x450d00
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x450f2f
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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.0055a658
mov esp, ebp
pop ebp
ret
push 0x613434
call fcn.0055abd9
add esp, 4
cmp dword [0x613434], 0xffffffff
jne 0x450db3
push 0x5af7b4
push 0x5af1e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x613434
mov dword [0x613430], eax
call fcn.0055ab8f
add esp, 4
jmp 0x450db3