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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d088
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x5f6ea4]
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 0x47463d
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 0x474663
push eax
jmp 0x474a57
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 0x47468b
test esi, esi
je 0x47468b
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x474698
push edi
call eax
jmp 0x474a5d
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x474a52
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x474a4b
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x474a4b
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 0x4746f9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 3
je 0x474707
cmp esi, 2
jne 0x474a5d
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.0054f070
add esp, 0xc
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4748cd
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 [0x5ff9cc], 0
je 0x474884
cmp dword [ebp - 0x1c], 0
jne 0x474884
mov edx, dword [ebp - 0x678]
push ecx
mov ecx, edi
call fcn.00473e80
add esp, 4
or eax, edx
je 0x4749dd
mov ecx, dword [0x5ff9a8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4747d6
nop dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x66c]
cmp esi, dword [edx]
mov esi, dword [ebp - 0x14]
je 0x47484a
mov eax, dword [eax]
cmp eax, ecx
jne 0x4747c0
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.0046b580
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 0x474834
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x4748cd
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x4748d3
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.0046b580
add esp, 0x24
jmp 0x4749dd
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 0x4748e3
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x4748b4
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 0x474753
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x474a5d
push esi
call edi
jmp 0x474a5d
push 0x424
lea eax, [ebp - 0x444]
mov dword [ebp - 0x448], 0x428
push 0
push eax
call fcn.0054f070
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x4749cf
nop dword [eax]
mov ecx, dword [ebp - 0x678]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x474930
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0055edd7
add esp, 8
test eax, eax
jne 0x474a2a
mov ecx, dword [0x5ff9a8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x474971
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x66c]
cmp ecx, dword [edx]
mov ecx, dword [0x5ff9a8]
je 0x4749f5
mov eax, dword [eax]
cmp eax, ecx
jne 0x474954
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.0046b580
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 0x4749cf
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x4749da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test edi, edi
je 0x4748b7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4748b7
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.0046b580
add esp, 0x24
cmp dword [ebp - 0x67c], 2
je 0x4749cf
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x474920
jmp 0x4749cf
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test edi, edi
je 0x474a5d
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.00536fd5
mov esp, ebp
pop ebp
ret