Function at 0x14003bfe0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14009e018]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, r8
mov r12, rdx
mov r15, rcx
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 0x5c
lea rcx, [rbp - 0x60]
call fcn.1400543f4
xor edi, edi
test rax, rax
je 0x14003c045
mov word [rax + 2], di
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
or rbx, 0xffffffffffffffff
cmp word [rbp - 0x60], di
jne 0x14003c064
mov r8, rdi
jmp 0x14003c07a
lea rax, [rbp - 0x60]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14003c070
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.14002fff0
nop
cmp word [r14], 0
jne 0x14003c094
mov r8, rdi
jmp 0x14003c0ab
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x14003c0a0
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.14003c380
mov r8d, 4
lea rdx, str..sys
lea rcx, [rbp - 0x80]
call fcn.14003c380
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov rdx, r12
mov rcx, r15
call fcn.14003b970
test eax, eax
jne 0x14003c201
mov esi, edi
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp word [rbp - 0x60], 0
jne 0x14003c10f
mov r8, rdi
jmp 0x14003c12b
lea rax, [rbp - 0x60]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003c120
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.14002fff0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.14003bd10
test eax, eax
js 0x14003c16c
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov rdx, r12
mov rcx, r15
call fcn.14003b970
test eax, eax
jne 0x14003c201
inc esi
cmp esi, 3
jl 0x14003c0f0
mov ecx, 0x68e101c5
call fcn.14001a490
mov edx, 0x5017
movzx ecx, word [rax]
xor cx, dx
mov word [rsp + 0x70], cx
movzx ecx, word [rax + 2]
xor cx, dx
mov word [rsp + 0x72], cx
movzx ecx, word [rax + 4]
xor cx, dx
mov word [rsp + 0x74], cx
movzx eax, word [rax + 6]
xor ax, dx
mov word [rsp + 0x76], ax
mov word [rsp + 0x78], di
mov rcx, qword [0x1400a34c0]
test rcx, rcx
je 0x14003c2fe
lea rax, [rsp + 0x70]
nop
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x14003c1d0
lea r8d, [rbx*2 + 2]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14003c2fe
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov rdx, r14
call fcn.14003b2e0
mov esi, eax
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14003c270
mov rcx, rax
call qword [0x1400692d0]
test esi, esi
jne 0x14003c2fc
mov ecx, 0x594615bf
call fcn.14001a490
mov edx, 0x5017
movzx ecx, word [rax]
xor cx, dx
mov word [rsp + 0x70], cx
movzx ecx, word [rax + 2]
xor cx, dx
mov word [rsp + 0x72], cx
movzx ecx, word [rax + 4]
xor cx, dx
mov word [rsp + 0x74], cx
movzx eax, word [rax + 6]
xor ax, dx
mov word [rsp + 0x76], ax
mov word [rsp + 0x78], di
mov rcx, qword [0x1400a34c0]
test rcx, rcx
je 0x14003c2fc
lea rax, [rsp + 0x70]
nop dword [rax]
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x14003c2d0
lea r8d, [rbx*2 + 2]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, esi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14003c314
inc r8
mov rdx, qword [rbp - 0x80]
call fcn.140019be0
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140051aa0
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret