Function at 0x180002ae0
Capabilities:
Delete file
Get common file path
Query environment variable
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x180026008]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x208
call fcn.18000a5a0
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x208
call fcn.18000a5a0
mov edx, 0x104
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.Microsoft.NETFramework_
mov edx, 0x104
lea rcx, [rbp + 0x280]
call fcn.18000ce34
xor ecx, ecx
call fcn.18000b504
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x280]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x180002b76
mov edx, 0x104
lea rbx, [rbp + 0x280]
sub rdx, rcx
lea r8, str._lld.log
lea rcx, [rbx + rcx*2]
mov r9, rax
call fcn.180001ab0
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp + 0x280]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180002c8b
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0
mov r8d, 8
mov qword [rsp + 0x20], 0
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180002c75
cmp dword [rsp + 0x60], 8
jne 0x180002c75
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.180001b10
mov r8, rax
lea rcx, [rbp + 0x70]
mov edx, 0x104
mov rbx, rax
call fcn.18000ce34
test rbx, rbx
je 0x180002dbb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002dbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._programdata_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movups xmm0, xmmword [0x180026cf0]
mov dword [rbp - 0x80], 0x3046ce3f
movups xmm1, xmmword [0x180026d00]
mov dword [rbp - 0x7c], 0x2fa92510
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x78], 0x173e1489
movups xmm0, xmmword [0x180026d10]
mov dword [rbp - 0x74], 0x21159f92
mov dword [rbp - 0x70], 0xd8b81496
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x6c], 0x37e2b3e8
mov dword [rbp - 0x68], 0x1c8244c9
mov dword [rbp - 0x64], 0x3e06ac18
mov dword [rbp - 0x60], 0xbdbf7f55
mov dword [rbp - 0x5c], 0xb8c23306
mov dword [rbp - 0x58], 0xb6e85f06
mov dword [rbp - 0x54], 0x567e0806
mov dword [rbp - 0x50], 0x8cae6afd
mov dword [rbp - 0x4c], 0xa0c67dd
mov dword [rbp - 0x48], 0xcb833b54
mov dword [rbp - 0x44], 0x400b7cf9
mov word [rbp - 0x40], 0x90da
movups xmmword [rbp - 0x20], xmm1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x3a]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180002daa
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], 0x42
mov r8d, 0x20
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x30]
call fcn.180004780
mov r8, rbx
lea rcx, [rbp + 0x70]
mov edx, 0x104
call fcn.18000ce34
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002dbb
mov r8, rbx
lea rcx, [rbp + 0x70]
mov edx, 0x104
call fcn.18000ce34
xorps xmm0, xmm0
mov edx, 0xa6a6f40c
mov ecx, 0x7b22ccfc
movups xmmword [rsp + 0x68], xmm0
call fcn.180004230
lea rcx, [rsp + 0x68]
call rax
movzx ecx, byte [rsp + 0x76]
xorps xmm0, xmm0
movzx edx, byte [rsp + 0x75]
movzx r8d, byte [rsp + 0x74]
movzx eax, byte [rsp + 0x77]
movzx r10d, byte [rsp + 0x73]
movzx r11d, byte [rsp + 0x72]
movzx ebx, byte [rsp + 0x71]
movzx r9d, byte [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
lea rcx, [rbp + 0x20]
mov dword [rsp + 0x40], edx
mov edx, 0x28
mov dword [rsp + 0x38], r8d
lea r8, str._02x_02x_02x_02x_02x_02x_02x_02x
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
call fcn.180001ab0
movups xmm0, xmmword [0x180026cf0]
mov dword [rbp - 0x30], 0x303fce15
movups xmm1, xmmword [0x180026d00]
mov dword [rbp - 0x2c], 0x2ffa2557
movups xmmword [rbp], xmm0
mov dword [rbp - 0x28], 0x176514a4
movups xmm0, xmmword [0x180026d10]
mov dword [rbp - 0x24], 0x214a9fcf
mov dword [rbp - 0x20], 0x418d6cd2
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x1c], 0xbd69919a
mov dword [rbp - 0x18], 0xef619ac8
movups xmmword [rbp + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x14]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180002f13
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], 0x1c
mov r8d, 0x20
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
call fcn.180004780
mov r8, rbx
lea rcx, [rbp + 0x70]
mov edx, 0x104
call fcn.18000ce34
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002f24
mov r8, rbx
lea rcx, [rbp + 0x70]
mov edx, 0x104
call fcn.18000ce34
lea r8, [rbp + 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.18000ce34
lea rcx, [rbp + 0x70]
call fcn.180002a20
test eax, eax
je 0x180002f7f
lea r8, [rbp + 0x70]
mov edx, 0x104
mov rcx, rdi
call fcn.18000b574
lea r8, [0x180022e30]
mov edx, 0x104
mov rcx, rdi
call fcn.18000ce34
mov r8, rsi
mov edx, 0x104
mov rcx, rdi
call fcn.18000ce34
mov eax, 1
jmp 0x180002f81
xor eax, eax
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.180009470
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x5a0
pop rdi
pop rsi
pop rbp
ret