Function at 0x4184f0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584a7b
mov eax, dword fs:[0]
push eax
mov eax, 0x164c
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov esi, ecx
push str.TerminateProcessFromName
push ebx
lea ecx, [ebp - 0x1630]
mov dword [ebp - 0x1654], esi
call fcn.0044ca70
add esp, 0xc
push esi
push str.szProcessName___s
lea eax, [ebp - 0x1630]
push 1
push eax
mov dword [ebp - 4], ebx
call fcn.0044cd10
push 0x206
lea edx, [ebp - 0x626]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x1638], ebx
mov word [ebp - 0x628], cx
call fcn.0055ca80
add esp, 0x1c
push 0x206
lea ecx, [ebp - 0x41e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x420], ax
call fcn.0055ca80
add esp, 0xc
push 0x104
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4187a2
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x420]
push str._spsapi.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1634], eax
cmp eax, ebx
je 0x41878b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x1634]
push str.EnumProcessModules
push eax
call esi
mov ecx, dword [ebp - 0x1634]
push str.GetModuleBaseNameW
push ecx
mov dword [ebp - 0x163c], eax
call esi
mov dword [ebp - 0x1648], eax
cmp edi, ebx
je 0x41877a
cmp dword [ebp - 0x163c], ebx
je 0x41877a
cmp eax, ebx
je 0x41877a
lea edx, [ebp - 0x1640]
push edx
push 0x1000
lea eax, [ebp - 0x1628]
push eax
mov dword [ebp - 0x1640], ebx
call edi
mov eax, dword [ebp - 0x1640]
shr eax, 2
xor edi, edi
mov dword [ebp - 0x1650], eax
cmp eax, ebx
jbe 0x41872e
mov ecx, dword [ebp + edi*4 - 0x1628]
push ecx
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x418721
lea edx, [ebp - 0x164c]
push edx
push 4
lea eax, [ebp - 0x1644]
push eax
push esi
mov dword [ebp - 0x1644], ebx
mov dword [ebp - 0x164c], ebx
call dword [ebp - 0x163c]
test eax, eax
je 0x41871a
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.0055ca80
mov ecx, dword [ebp - 0x1644]
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
push ecx
push esi
call dword [ebp - 0x1648]
mov edx, dword [ebp - 0x1654]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41871a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x1638], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x1650]
jb 0x418673
mov ecx, dword [ebp - 0x1634]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x1638]
cmp esi, ebx
je 0x41874d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push str.return___08x
lea edx, [ebp - 0x1630]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x1630]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, esi
jmp 0x4187b6
push ebx
push str.return___08x
push 2
lea eax, [ebp - 0x1630]
push eax
jmp 0x41879a
push ebx
push str.return___08x
push 2
lea ecx, [ebp - 0x1630]
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x1630]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret