Function at 0x1400ae100
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.14006faf0
nop
lea rcx, [rsi + 0x2e0]
call fcn.14014d170
test eax, eax
jne 0x1400ae184
mov rax, qword [rdi]
mov rdx, qword [str.No_cache_roots_have_been_set.__Need_to_call_AddRoot_at_least_once.]
mov rcx, rdi
call qword [rax + 0x28]
xor bl, bl
jmp 0x1400ae3d8
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp - 0x80]
call fcn.14016c710
lea rcx, [rbp - 0x80]
call fcn.14003b980
nop
mov r9, rdi
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rsi
call fcn.1400ad530
test al, al
jne 0x1400ae1ca
mov rax, qword [rdi]
mov rdx, qword [str.Failed_to_convert_resource_name_to_filename]
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x1400ae2c3
cmp byte [rsi + 0x2d8], 0
je 0x1400ae1f3
lea rbx, [rsi + 0x48]
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov rcx, rax
mov rdx, rbx
call fcn.1400ad9f0
test al, al
je 0x1400ae2c3
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov rcx, rax
lea rdx, [0x1401df430]
call fcn.14007b260
mov r14, rax
test rax, rax
jne 0x1400ae25e
cmp byte [rsi + 0x2d8], al
je 0x1400ae230
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov rcx, rax
lea rdx, [rsi + 0x48]
call fcn.1400ae020
mov rax, qword [rdi]
lea rdx, str.Failed_to_open_file
mov rcx, rdi
call qword [rax + 0x28]
mov rbx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov r8, rax
lea rdx, str.filename
mov rcx, rdi
call qword [rbx + 0x58]
jmp 0x1400ae2c3
xor r8d, r8d
lea edx, [r8 + 0xa]
mov rcx, r14
call fcn.140171050
test eax, eax
je 0x1400ae2ca
cmp byte [rsi + 0x2d8], 0
je 0x1400ae28f
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov rcx, rax
lea rdx, [rsi + 0x48]
call fcn.1400ae020
mov rax, qword [rdi]
lea rdx, str.Failed_to_seek_to_position_in_cache_file.
mov rcx, rdi
call qword [rax + 0x28]
mov rbx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov r8, rax
lea rdx, str.filename
mov rcx, rdi
call qword [rbx + 0x58]
mov rcx, r14
call fcn.140170dcc
xor bl, bl
jmp 0x1400ae3ce
lea rcx, [rsp + 0x30]
call fcn.14008ebc0
nop
mov rcx, r15
call fcn.14008f1c0
movsd qword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
call fcn.140034320
nop
mov r8d, 8
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.140034960
call fcn.140040330
test al, al
jne 0x1400ae336
lea rcx, [rsp + 0x38]
call fcn.140038840
lea rcx, [rsp + 0x38]
call fcn.140036f60
mov rcx, rax
mov r9, r14
mov edx, 8
lea r8d, [rdx - 7]
call fcn.140178410
mov r15, rax
mov rcx, r14
call fcn.140170dcc
cmp byte [rsi + 0x2d8], 0
je 0x1400ae380
lea rbx, [rsi + 0x48]
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov rcx, rax
mov rdx, rbx
call fcn.1400ae020
cmp r15d, 1
je 0x1400ae3b6
mov rax, qword [rdi]
lea rdx, str.Failed_to_update_cache_file.
mov rcx, rdi
call qword [rax + 0x28]
mov rbx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.14003ec40
mov r8, rax
lea rdx, str.filename
mov rcx, rdi
call qword [rbx + 0x58]
xor bl, bl
jmp 0x1400ae3b8
mov bl, 1
lea rcx, [rsp + 0x38]
call fcn.1400344a0
nop
lea rcx, [rsp + 0x30]
call fcn.14008ebd0
nop
lea rcx, [rbp - 0x80]
call fcn.14003b9f0
nop
lea rcx, [rsp + 0x68]
call fcn.14006fbb0
movzx eax, bl
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140168e10
add rsp, 0x208
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret