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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573e98
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x5ebea4]
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 0x46d26d
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 0x46d293
push eax
jmp 0x46d687
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 0x46d2bb
test esi, esi
je 0x46d2bb
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x46d2c8
push edi
call eax
jmp 0x46d68d
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x46d682
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46d67b
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x46d67b
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 0x46d329
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 3
je 0x46d337
cmp esi, 2
jne 0x46d68d
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.005471b0
add esp, 0xc
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46d4fd
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 [0x5f3200], 0
je 0x46d4b4
cmp dword [ebp - 0x1c], 0
jne 0x46d4b4
mov edx, dword [ebp - 0x678]
push ecx
mov ecx, edi
call fcn.0046cab0
add esp, 4
or eax, edx
je 0x46d60d
mov ecx, dword [0x5f31dc]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46d406
nop dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x66c]
cmp esi, dword [edx]
mov esi, dword [ebp - 0x14]
je 0x46d47a
mov eax, dword [eax]
cmp eax, ecx
jne 0x46d3f0
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.00463ab0
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 0x46d464
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x46d4fd
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x46d503
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.00463ab0
add esp, 0x24
jmp 0x46d60d
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 0x46d513
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x46d4e4
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 0x46d383
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46d68d
push esi
call edi
jmp 0x46d68d
push 0x424
lea eax, [ebp - 0x444]
mov dword [ebp - 0x448], 0x428
push 0
push eax
call fcn.005471b0
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x46d5ff
nop dword [eax]
mov ecx, dword [ebp - 0x678]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x46d560
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00553307
add esp, 8
test eax, eax
jne 0x46d65a
mov ecx, dword [0x5f31dc]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46d5a1
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x66c]
cmp ecx, dword [edx]
mov ecx, dword [0x5f31dc]
je 0x46d625
mov eax, dword [eax]
cmp eax, ecx
jne 0x46d584
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.00463ab0
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 0x46d5ff
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x46d60a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test edi, edi
je 0x46d4e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46d4e7
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.00463ab0
add esp, 0x24
cmp dword [ebp - 0x67c], 2
je 0x46d5ff
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x46d550
jmp 0x46d5ff
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test edi, edi
je 0x46d68d
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.0052f395
mov esp, ebp
pop ebp
ret