Function at 0x1000aea1c
Capabilities:
Contain obfuscated stackstrings
Delete file
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x100190170]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor eax, eax
mov r15, rcx
mov rdi, rdx
lea ebp, [rax + 2]
mov rbx, rdx
mov r13d, r8d
or r8, 0xffffffffffffffff
mov r14, r9
mov qword [rsp + 0x40], r9
mov rcx, r8
repne scasw ax, word [rdi]
mov rax, rbp
not rcx
mov rdi, rcx
mul rcx
lea rdx, [0x100002840]
cmovo rax, r8
mov rcx, rax
call fcn.10007b104
mov r12, rax
test rax, rax
jne 0x1000aea99
mov eax, 0x8007000e
jmp 0x1000aedf6
lea r8, [rdi + rdi]
mov rdx, rbx
mov rcx, rax
call sub.msvcrt.dll_memcpy
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1000aeae1
mov edi, 0x8876038f
jmp 0x1000aed49
lea rdx, [rsp + 0x180]
mov ecx, 0xf6
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1000aedd7
lea r9, [rsp + 0x70]
lea rdx, [0x10002e4f0]
lea rcx, [rsp + 0x180]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1000aedd7
and qword [rsp + 0x30], 0
mov edi, 0xc000100
lea rcx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1000aeb6f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0x88760395
jmp 0x1000aed49
test r13b, 2
je 0x1000aec9c
lea r9, [rsp + 0x70]
lea rdx, [0x10002e4f0]
lea rcx, [rsp + 0x180]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x1000aebbf
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0x80004005
jmp 0x1000aed49
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1000aebfe
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000aeb53
lea rdx, [0x100002840]
mov ecx, 0x88
call fcn.10007b104
xor ecx, ecx
mov rdi, rax
cmp rax, rcx
je 0x1000aec82
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], r15
lea rax, [0x10002e5c0]
mov qword [rdi], rax
mov qword [rdi + 0x20], rcx
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x38], rcx
mov qword [rdi + 0x30], 0x64
mov qword [rdi + 0x40], rcx
mov qword [rdi + 0x48], rcx
mov qword [rdi + 0x58], rcx
mov qword [rdi + 0x50], 0xa
mov qword [rdi + 0x78], rcx
mov qword [rdi + 0x60], r14
mov qword [rdi + 0x68], rbp
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x18], r12
or r13b, 0x40
mov byte [rdi + 0x80], r13b
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
xor ecx, ecx
jmp 0x1000aec85
mov rdi, rcx
cmp rdi, rcx
jne 0x1000aed58
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000aed29
lea rdx, [0x100002840]
mov ecx, 0x88
call fcn.10007b104
xor ecx, ecx
mov rdi, rax
cmp rax, rcx
je 0x1000aed21
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], r15
lea rax, [0x10002e5c0]
mov qword [rdi], rax
mov qword [rdi + 0x20], rcx
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x38], rcx
mov qword [rdi + 0x30], 0x64
mov qword [rdi + 0x40], rcx
mov qword [rdi + 0x48], rcx
mov qword [rdi + 0x58], rcx
mov qword [rdi + 0x50], 0xa
or qword [rdi + 0x70], 0xffffffffffffffff
mov qword [rdi + 0x78], rcx
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x68], rbp
mov qword [rdi + 0x18], r12
or r13b, 0x40
mov byte [rdi + 0x80], r13b
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
xor ecx, ecx
jmp 0x1000aed24
mov rdi, rcx
cmp rdi, rcx
jne 0x1000aed5d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0x8007000e
mov rcx, r12
call sub.msvcrt.dll_free
mov eax, edi
jmp 0x1000aedf6
mov r14, qword [rsp + 0x40]
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x60]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov r8d, 0x20
mov dword [rsp + 0x48], 0x20666f78
mov dword [rsp + 0x4c], 0x34303330
mov dword [rsp + 0x50], 0x206e6962
mov dword [rsp + 0x54], 0x32333030
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000aedd0
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000aea8f
mov qword [r14], rdi
xor eax, eax
jmp 0x1000aedf6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, r12
call sub.msvcrt.dll_free
mov eax, 0x80004005
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10017a260
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret