Function at 0x46cad0
Capabilities:
Enumerate process modules
Enumerate processes
Parse pe header
Read file via mapping
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5735d8
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x678], ecx
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x46cb0d
mov eax, dword [ecx]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46cb33
push eax
jmp 0x46cf27
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
je 0x46cb5b
test esi, esi
je 0x46cb5b
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x46cb68
push edi
call eax
jmp 0x46cf2d
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x46cf22
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46cf1b
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x46cf1b
movzx esi, word [ecx + eax + 0x16]
and esi, 0x2000
or esi, 0x4000
shr esi, 0xd
push eax
mov dword [ebp - 0x67c], esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test edi, edi
je 0x46cbc9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 3
je 0x46cbd7
cmp esi, 2
jne 0x46cf2d
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x228
lea eax, [ebp - 0x670]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x674], 0x22c
call fcn.005469e0
add esp, 0xc
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46cd9d
push dword [ebp - 0x66c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push edi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x5f21d0], 0
je 0x46cd54
cmp dword [ebp - 0x1c], 0
jne 0x46cd54
mov edx, dword [ebp - 0x678]
push ecx
mov ecx, edi
call fcn.0046c350
add esp, 4
or eax, edx
je 0x46cead
mov ecx, dword [0x5f21ac]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46cca6
nop dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x66c]
cmp esi, dword [edx]
mov esi, dword [ebp - 0x14]
je 0x46cd1a
mov eax, dword [eax]
cmp eax, ecx
jne 0x46cc90
mov ecx, dword [ebp - 0x678]
sub esp, 0x18
mov eax, esp
movups xmm0, xmmword [ecx]
push dword [ebp - 0x66c]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x650]
push eax
push str.___Killing_blocking_process___s___pid:_i___file:__s
call fcn.00463390
add esp, 0x24
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x18], 0
je 0x46cd04
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x46cd9d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x46cda3
mov ecx, dword [ebp - 0x678]
sub esp, 0x18
mov eax, esp
movups xmm0, xmmword [ecx]
push dword [ebp - 0x66c]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x650]
push eax
push str.____Cant_kill_whitelist_process___s___pid:_i___file:__s
call fcn.00463390
add esp, 0x24
jmp 0x46cead
push dword [ebp - 0x66c]
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x46cdb3
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x46cd84
push edi
call esi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x46cc23
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46cf2d
push esi
call edi
jmp 0x46cf2d
push 0x424
lea eax, [ebp - 0x444]
mov dword [ebp - 0x448], 0x428
push 0
push eax
call fcn.005469e0
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x46ce9f
nop dword [eax]
mov ecx, dword [ebp - 0x678]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x46ce00
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00552b37
add esp, 8
test eax, eax
jne 0x46cefa
mov ecx, dword [0x5f21ac]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46ce41
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x66c]
cmp ecx, dword [edx]
mov ecx, dword [0x5f21ac]
je 0x46cec5
mov eax, dword [eax]
cmp eax, ecx
jne 0x46ce24
mov ecx, dword [ebp - 0x678]
sub esp, 0x18
mov eax, esp
movups xmm0, xmmword [ecx]
push dword [ebp - 0x66c]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x650]
push eax
push str.___Killing_blocking_process___s___pid:_i___file:__s
call fcn.00463390
add esp, 0x24
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x18], 0
je 0x46ce9f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x46ceaa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test edi, edi
je 0x46cd87
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46cd87
mov ecx, dword [ebp - 0x678]
sub esp, 0x18
mov eax, esp
movups xmm0, xmmword [ecx]
push dword [ebp - 0x66c]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x650]
push eax
push str.____Cant_kill_whitelist_process___s___pid:_i___file:__s
call fcn.00463390
add esp, 0x24
cmp dword [ebp - 0x67c], 2
je 0x46ce9f
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x46cdf0
jmp 0x46ce9f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test edi, edi
je 0x46cf2d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret