Function at 0x18003ab60
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x240
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x130], rax
lea rcx, [rbp - 0x60]
call fcn.180008290
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.18000a510
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.180018ea0
nop
cmp qword [rbp - 8], 8
jb 0x18003abd2
mov rcx, qword [rbp - 0x20]
call fcn.1800b5700
mov qword [rbp - 8], 7
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
cmp qword [rbp - 0x48], 8
jb 0x18003abf6
mov rcx, qword [rbp - 0x60]
call fcn.1800b5700
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r15
mov word [rbp - 0x60], r15w
cmp qword [rbp - 0x30], 0
je 0x18003ae91
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x18003ae91
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.1800259a0
nop
cmp qword [rbp + 0x30], 0
jne 0x18003ac4b
xor bl, bl
jmp 0x18003ae6f
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800a14b0
nop
lea rcx, [rbp + 0x70]
call fcn.1800a5580
nop
mov r9b, 1
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.1800ab200
test al, al
jne 0x18003ac82
xor bl, bl
jmp 0x18003ae5a
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800a12b0
mov rdi, rax
lea rcx, [rbp - 0x20]
call fcn.180003f00
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.180003e30
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800a1a10
mov rcx, rax
mov rdx, rbx
call fcn.1800a1a10
mov rcx, rax
mov rdx, rdi
call fcn.1800a18b0
nop
cmp qword [rbp - 0x48], 0x10
jb 0x18003ace5
mov rcx, qword [rbp - 0x60]
call fcn.1800b5700
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], r15
mov byte [rbp - 0x60], 0
cmp qword [rbp - 8], 0x10
jb 0x18003ad05
mov rcx, qword [rbp - 0x20]
call fcn.1800b5700
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], r15
mov byte [rbp - 0x20], 0
lea rcx, [rbp - 0x60]
call fcn.180036320
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800a1a10
mov rcx, rax
call fcn.1800a3050
nop
cmp qword [rbp - 0x48], 0x10
jb 0x18003ad45
mov rcx, qword [rbp - 0x60]
call fcn.1800b5700
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], r15
mov byte [rbp - 0x60], 0
lea rcx, [rbp + 0x40]
call fcn.1800ad350
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.1800afdf0
nop
mov rsi, qword [rbp + 0x10]
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
cmp qword [rbp - 0x30], 0
jne 0x18003ad8f
xor bl, bl
jmp 0x18003ae05
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18003add0
xor bl, bl
jmp 0x18003ae05
mov r14b, 1
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx ebx, r14b
test eax, eax
cmove ebx, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x18], 0x10
jb 0x18003ae15
mov rcx, qword [rbp]
call fcn.1800b5700
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], r15
mov byte [rbp], 0
lea rax, vtable.Json::FastWriter.0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x60], 0x10
jb 0x18003ae40
mov rcx, qword [rbp + 0x48]
call fcn.1800b5700
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], r15
mov byte [rbp + 0x48], 0
lea rcx, [rbp + 0x40]
call fcn.1800ad3a0
nop
lea rcx, [rbp + 0x70]
call fcn.180008ec0
nop
lea rcx, [rsp + 0x48]
call fcn.1800a17b0
nop
cmp qword [rbp + 0x38], 0x10
jb 0x18003ae7f
mov rcx, qword [rbp + 0x20]
call fcn.1800b5700
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], r15
mov byte [rbp + 0x20], 0
jmp 0x18003ae93
xor bl, bl
cmp qword [rbp - 0x28], 8
jb 0x18003aea3
mov rcx, qword [rbp - 0x40]
call fcn.1800b5700
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r15
mov word [rbp - 0x40], r15w
movzx eax, bl
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret