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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c918
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x5f5ea4]
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 0x473fbd
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 0x473fe3
push eax
jmp 0x4743d7
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 0x47400b
test esi, esi
je 0x47400b
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x474018
push edi
call eax
jmp 0x4743dd
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4743d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4743cb
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x4743cb
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 0x474079
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 3
je 0x474087
cmp esi, 2
jne 0x4743dd
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.0054e940
add esp, 0xc
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x47424d
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 [0x5fe9a4], 0
je 0x474204
cmp dword [ebp - 0x1c], 0
jne 0x474204
mov edx, dword [ebp - 0x678]
push ecx
mov ecx, edi
call fcn.00473800
add esp, 4
or eax, edx
je 0x47435d
mov ecx, dword [0x5fe980]
mov eax, dword [ecx]
cmp eax, ecx
je 0x474156
nop dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [ebp - 0x66c]
cmp esi, dword [edx]
mov esi, dword [ebp - 0x14]
je 0x4741ca
mov eax, dword [eax]
cmp eax, ecx
jne 0x474140
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.0046adc0
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 0x4741b4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x47424d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x474253
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.0046adc0
add esp, 0x24
jmp 0x47435d
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 0x474263
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov byte [ebp - 4], 0
test edi, edi
je 0x474234
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 0x4740d3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4743dd
push esi
call edi
jmp 0x4743dd
push 0x424
lea eax, [ebp - 0x444]
mov dword [ebp - 0x448], 0x428
push 0
push eax
call fcn.0054e940
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x47434f
nop dword [eax]
mov ecx, dword [ebp - 0x678]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x4742b0
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0055e6a7
add esp, 8
test eax, eax
jne 0x4743aa
mov ecx, dword [0x5fe980]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4742f1
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x66c]
cmp ecx, dword [edx]
mov ecx, dword [0x5fe980]
je 0x474375
mov eax, dword [eax]
cmp eax, ecx
jne 0x4742d4
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.0046adc0
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 0x47434f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x47435a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test edi, edi
je 0x474237
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x474237
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.0046adc0
add esp, 0x24
cmp dword [ebp - 0x67c], 2
je 0x47434f
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x4742a0
jmp 0x47434f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test edi, edi
je 0x4743dd
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.005368a5
mov esp, ebp
pop ebp
ret