Function at 0x426040
Capabilities:
Enumerate processes
Read file via mapping
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xad4
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0xad0], eax
push ebx
push esi
push edi
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0x65a]
push ecx
mov word [esp + 0x65c], ax
call fcn.00464a00
push 0x228
lea edx, [esp + 0x24]
push 0
push edx
mov dword [esp + 0x28], 0
call fcn.00464a00
add esp, 0x18
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
jne 0x4260be
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xad0]
xor ecx, esp
call fcn.00461706
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x426290
lea esp, [esp]
mov ecx, dword [esp + 0x18]
push ecx
push 0x48ed98
lea edx, [esp + 0x658]
call fcn.004298d0
mov edx, dword [esp + 0x20]
add esp, 8
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x42627d
mov eax, dword [esp + 0x18]
push eax
push str._HkApi__d_
lea edx, [esp + 0x658]
call fcn.004298d0
add esp, 8
lea ecx, [esp + 0x650]
push ecx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
je 0x42627d
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x426276
mov esi, eax
mov ecx, 0x103
lea edi, [esp + 0x240]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x6da]
push eax
mov word [esp + 0x6dc], dx
call fcn.00464a00
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x8ee]
push edx
mov word [esp + 0x8f0], cx
call fcn.00464a00
lea eax, [esp + 0x8f0]
push eax
lea ecx, [esp + 0x6ec]
push ecx
push 0
lea edx, [esp + 0x468]
push 0
push edx
call fcn.00461f57
lea eax, [esp + 0x904]
add esp, 0x2c
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4261e0
lea edi, [esp + 0x6d0]
sub eax, edx
add edi, 0xfffffffe
jmp 0x426200
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x426200
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x6d0]
and ecx, 3
push str.explorer.exe
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004619f9
add esp, 8
test eax, eax
jne 0x426251
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
mov esi, dword [esp + 0xc]
jmp 0x426288
mov eax, dword [esp + 0x18]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4260e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xadc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00461706
mov esp, ebp
pop ebp
ret