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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5634cb
mov eax, dword fs:[0]
push eax
mov eax, 0x164c
call fcn.00542ad0
mov eax, dword [0x5c0490]
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
lea eax, [ebp - 0x1630]
mov esi, ecx
push str.TerminateProcessFromName
push eax
mov dword [ebp - 0x1654], esi
call fcn.00401190
add esp, 0xc
push esi
push str.szProcessName___s
lea ecx, [ebp - 0x1630]
push 1
push ecx
mov dword [ebp - 4], ebx
call fcn.00401410
push 0x206
lea eax, [ebp - 0x626]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x1638], ebx
mov word [ebp - 0x628], dx
call fcn.00541d20
add esp, 0x1c
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x420], cx
call fcn.00541d20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41c532
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x420]
push str._spsapi.dll
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1634], eax
cmp eax, ebx
je 0x41c51b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
mov ecx, dword [ebp - 0x1634]
push str.EnumProcessModules
push ecx
mov edi, eax
call esi
mov edx, dword [ebp - 0x1634]
push str.GetModuleBaseNameW
push edx
mov dword [ebp - 0x163c], eax
call esi
mov dword [ebp - 0x1648], eax
cmp edi, ebx
je 0x41c50a
cmp dword [ebp - 0x163c], ebx
je 0x41c50a
cmp eax, ebx
je 0x41c50a
lea eax, [ebp - 0x1640]
push eax
push 0x1000
lea ecx, [ebp - 0x1628]
push ecx
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 0x41c4be
mov edx, dword [ebp + edi*4 - 0x1628]
push edx
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x41c4b1
lea eax, [ebp - 0x164c]
push eax
push 4
lea ecx, [ebp - 0x1644]
push ecx
push esi
mov dword [ebp - 0x1644], ebx
mov dword [ebp - 0x164c], ebx
call dword [ebp - 0x163c]
test eax, eax
je 0x41c4aa
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call fcn.00541d20
mov edx, dword [ebp - 0x1644]
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x218]
push ecx
push edx
push esi
call dword [ebp - 0x1648]
mov eax, dword [ebp - 0x1654]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41c4aa
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 0x41c403
mov edx, dword [ebp - 0x1634]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x1638]
cmp esi, ebx
je 0x41c4dd
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push str.return___08x
lea eax, [ebp - 0x1630]
push 2
push eax
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0x1630]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
mov eax, esi
jmp 0x41c546
push ebx
push str.return___08x
push 2
lea ecx, [ebp - 0x1630]
push ecx
jmp 0x41c52a
push ebx
push str.return___08x
push 2
lea edx, [ebp - 0x1630]
push edx
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0x1630]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
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.0053ca73
mov esp, ebp
pop ebp
ret