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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559ebb
mov eax, dword fs:[0]
push eax
mov eax, 0x164c
call fcn.00539330
mov eax, dword [0x5b4450]
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.0040ac70
add esp, 0xc
push esi
push str.szProcessName___s
lea ecx, [ebp - 0x1630]
push 1
push ecx
mov dword [ebp - 4], ebx
call fcn.0040aed0
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.005373f0
add esp, 0x1c
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x420], cx
call fcn.005373f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x413852
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 0x41383b
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 0x41382a
cmp dword [ebp - 0x163c], ebx
je 0x41382a
cmp eax, ebx
je 0x41382a
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 0x4137de
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 0x4137d1
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 0x4137ca
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call fcn.005373f0
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 0x4137ca
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 0x413723
mov edx, dword [ebp - 0x1634]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x1638]
cmp esi, ebx
je 0x4137fd
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.0040aed0
add esp, 0x10
lea ecx, [ebp - 0x1630]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
mov eax, esi
jmp 0x413866
push ebx
push str.return___08x
push 2
lea ecx, [ebp - 0x1630]
push ecx
jmp 0x41384a
push ebx
push str.return___08x
push 2
lea edx, [ebp - 0x1630]
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [ebp - 0x1630]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
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.005337cb
mov esp, ebp
pop ebp
ret