Function at 0x402f60
Capabilities:
Create process on windows
Delete file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x10c0
call fcn.00405a10
mov esi, dword [ebp + 8]
mov eax, dword [0x453040]
xor eax, ebp
mov dword [esp + 0x10b8], eax
lea eax, [esp + 0xb8]
push 0x1000
push 0
push eax
call fcn.0042a390
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax*2 + 0x400]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
call edi
mov ebx, eax
push esi
push 0x4565ac
push str._s_hs.zip
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
sub esp, 0xc
movaps xmm0, xmmword [0x4451d0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 0x60]
push 0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
add eax, eax
push eax
push 0x40
call edi
push ebx
call esi
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
add eax, eax
push eax
push 0x40
call edi
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push 0
push esi
push edi
push eax
mov dword [esp + 0x20], ebx
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x5c]
push eax
push 0
mov dword [esp + 0x10], edi
push edi
call fcn.00408d70
add esp, 0xc
mov esi, eax
push dword [ebp + 0xc]
push eax
call fcn.0040a590
add esp, 8
lea eax, [esp + 0x18]
push eax
call fcn.0040a890
add esp, 4
push 0
push esi
call fcn.00408d10
add esp, 8
cmp eax, 1
sbb edx, 0
jl 0x40321d
xor ecx, ecx
mov eax, 1
xor edi, edi
mov dword [esp + 0x10], esi
jmp 0x40310b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push edi
call esi
xor edi, edi
mov ebx, dword [esp + 0x14]
mov dword [esp + 4], ebx
push 0
mov esi, dword [esp + 0x14]
push esi
call fcn.00408d10
add esp, 8
cmp ebx, eax
lea eax, [ebx + 1]
mov ecx, 0
sbb ecx, edx
mov ecx, dword [esp + 4]
jge 0x40321d
mov dword [esp + 0x14], eax
lea ebx, [esp + 0x18]
push ebx
push 0
push edi
push ecx
push esi
call fcn.0040a620
add esp, 0x14
test eax, eax
jne 0x4032c4
push ebx
push 0
push dword [esp + 0x28]
push esi
call fcn.0040a5e0
add esp, 0x10
mov edi, dword [esp + 0x30]
lea eax, [edi + 1]
push eax
push 0x40
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call ebx
mov ebx, eax
mov dword [esp + 4], eax
push 9
push dword [esp + 0x24]
push esi
call fcn.00408c50
add esp, 0xc
mov esi, eax
push 0
push edi
push ebx
push eax
call fcn.00408c90
add esp, 0x10
push esi
call fcn.00408c20
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax*2 + 0x400]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push dword [esp + 0x20]
push 0x456dac
push str._s_hs
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
sub esp, 0xc
movaps xmm0, xmmword [0x4451d0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
lea eax, [esp + 0x64]
push eax
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4030d0
push esi
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4030d0
xorps xmm0, xmm0
movups xmmword [esp + 0x98], xmm0
movups xmmword [esp + 0x78], xmm0
movups xmmword [esp + 0x88], xmm0
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x74], 0x44
mov dword [esp + 0xa0], 1
sub esp, 0x28
lea eax, [esp + 0x8c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x20], eax
movaps xmm0, xmmword [0x4451e0]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0xe0]
mov dword [esp], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
call fcn.00407810
add esp, 4
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 8]
call esi
push edi
call esi
mov bl, 1
jmp 0x4032c6
xor ebx, ebx
mov ecx, dword [esp + 0x10b8]
xor ecx, ebp
call fcn.0040590a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret