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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571078
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x5e8ea4]
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 0x46a98d
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 0x46a9b3
push eax
jmp 0x46ada7
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 0x46a9db
test esi, esi
je 0x46a9db
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x46a9e8
push edi
call eax
jmp 0x46adad
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x46ada2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46ad9b
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x46ad9b
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 0x46aa49
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 3
je 0x46aa57
cmp esi, 2
jne 0x46adad
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.005446b0
add esp, 0xc
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46ac1d
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 [0x5f01ac], 0
je 0x46abd4
cmp dword [ebp - 0x1c], 0
jne 0x46abd4
mov edx, dword [ebp - 0x678]
push ecx
mov ecx, edi
call fcn.0046a1d0
add esp, 4
or eax, edx
je 0x46ad2d
mov ecx, dword [0x5f0188]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46ab26
nop dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x66c]
cmp esi, dword [edx]
mov esi, dword [ebp - 0x14]
je 0x46ab9a
mov eax, dword [eax]
cmp eax, ecx
jne 0x46ab10
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.004612c0
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 0x46ab84
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x46ac1d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x46ac23
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.004612c0
add esp, 0x24
jmp 0x46ad2d
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 0x46ac33
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x46ac04
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 0x46aaa3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46adad
push esi
call edi
jmp 0x46adad
push 0x424
lea eax, [ebp - 0x444]
mov dword [ebp - 0x448], 0x428
push 0
push eax
call fcn.005446b0
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x46ad1f
nop dword [eax]
mov ecx, dword [ebp - 0x678]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x46ac80
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00550807
add esp, 8
test eax, eax
jne 0x46ad7a
mov ecx, dword [0x5f0188]
mov eax, dword [ecx]
cmp eax, ecx
je 0x46acc1
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x66c]
cmp ecx, dword [edx]
mov ecx, dword [0x5f0188]
je 0x46ad45
mov eax, dword [eax]
cmp eax, ecx
jne 0x46aca4
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.004612c0
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 0x46ad1f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x46ad2a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test edi, edi
je 0x46ac07
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46ac07
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.004612c0
add esp, 0x24
cmp dword [ebp - 0x67c], 2
je 0x46ad1f
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x46ac70
jmp 0x46ad1f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test edi, edi
je 0x46adad
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.0052c886
mov esp, ebp
pop ebp
ret