Function at 0x100013ec
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x704
mov ecx, dword [section..data]
push ebx
push esi
push edi
mov edi, dword [ecx + 0x14]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
xor eax, eax
add edx, ecx
cmp dword [ebp + 8], eax
mov ecx, edx
setne al
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edi
add eax, 0x6b
push eax
call fcn.10001d90
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10001f10
lea eax, [ebp - 0x500]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x2f8]
push eax
xor ebx, ebx
push ebx
push 0x10003078
lea eax, [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x2f8]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
je 0x100014ae
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
lea esi, [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1000307c
lea eax, [ebp - 0xf0]
push 0x40
push eax
call fcn.10001bb0
add esp, 0x10
lea eax, [ebp - 0xf0]
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 4], eax
test eax, eax
je 0x100015c2
push esi
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x100015bd
mov edx, dword [ebp - 0x18]
lea ecx, [eax + 8]
sub ecx, eax
mov dword [eax], ecx
push edi
lea ecx, [eax + 8]
mov dword [eax + 4], edi
call fcn.10001bd0
lea eax, [ebp - 0x70]
push 0x44
pop esi
push esi
push 0
push eax
call sub.ntdll.dll_memset
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push dword [ebp + 0xc]
mov dword [ebp - 0x70], esi
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x700]
push str._d__d__d__d
push 0x100
push eax
call fcn.10001bb0
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x500]
push eax
xor eax, eax
push eax
push 0xc000000
push 1
push eax
push eax
lea eax, [ebp - 0x700]
push eax
lea eax, [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100015b4
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
call ebx
push dword [ebp - 0x28]
call ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 0x2f8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
call fcn.10001c60
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8