Function at 0x1400016ef
Capabilities:
Check if file exists
Create directory

Disassembly:
jmp 0x1400943a0
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401199f8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0
jne 0x140094401
test rdx, rdx
je 0x140094780
call fcn.140003c10
mov dword [rdi], 0x16
mov qword [rdi + 8], rax
xor al, al
jmp 0x140094707
lea rdx, [rbp - 0x70]
call fcn.140002c3e
cmp qword [rbp - 0x60], 1
jne 0x140094429
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
cmp word [rax], 0x2e
jne 0x140094429
mov bl, 1
jmp 0x14009442b
xor bl, bl
lea rcx, [rbp - 0x70]
call fcn.140001325
test bl, bl
jne 0x1400946e0
mov rax, qword [rsi + 0x10]
cmp rax, 2
jb 0x1400944ab
mov rdx, rsi
mov rcx, qword [rsi + 0x18]
cmp rcx, 8
jb 0x140094456
mov rdx, qword [rsi]
cmp word [rdx + rax*2 - 2], 0x2e
jne 0x1400944ab
mov rdx, rsi
cmp rcx, 8
jb 0x14009446a
mov rdx, qword [rsi]
cmp word [rdx + rax*2 - 4], 0x2e
jne 0x1400944ab
cmp rax, 2
je 0x1400946e0
mov rdx, rsi
cmp rcx, 8
jb 0x140094488
mov rdx, qword [rsi]
movzx ecx, word [rdx + rax*2 - 6]
sub cx, 0x2f
cmp cx, 0x2d
ja 0x1400944ab
movabs rax, 0x200000000801
bt rax, rcx
jb 0x1400946e0
xor r12d, r12d
mov dword [rsp + 0x50], r12d
call fcn.140002c2a
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x50]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140001672
cmp dword [rsp + 0x40], 3
jne 0x1400944ee
test rdi, rdi
je 0x1400944e7
mov dword [rdi], r12d
call fcn.140002c2a
mov qword [rdi + 8], rax
xor al, al
jmp 0x140094707
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140004205
nop
cmp qword [rsp + 0x78], 0
je 0x1400945d7
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140094544
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140097450
mov r15d, dword [rsp + 0x40]
jmp 0x14009463d
mov r15d, 3
bt r14d, 0xa
jae 0x140094615
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor edx, edx
lea r8d, [r15 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x1400945b2
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140097450
nop
mov r15d, dword [rsp + 0x40]
jmp 0x14009463d
lea rcx, [rsp + 0x68]
call fcn.140096c60
test al, al
jne 0x14009460c
mov edx, r14d
lea rcx, [rsp + 0x68]
call fcn.1400971d0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400945e4
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14009468b
test rdi, rdi
je 0x140094605
mov dword [rdi], r12d
call fcn.140002c2a
mov qword [rdi + 8], rax
mov bl, 1
jmp 0x1400946d9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x50], r12d
call fcn.140002c2a
mov qword [rsp + 0x58], rax
mov edx, r14d
lea rcx, [rsp + 0x68]
call fcn.1400971d0
test r14b, 0x10
jne 0x14009463d
mov r15d, 2
cmp r15d, 1
jne 0x1400945d7
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400016ef
nop
lea rax, [0x140003b43]
cmp dword [rsp + 0x50], 0
cmove rax, r12
test rax, rax
je 0x1400945d7
test rdi, rdi
je 0x1400947cc
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
lea rcx, [rsp + 0x68]
call fcn.140001325
xor al, al
jmp 0x140094707
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], r12d
call fcn.140002c2a
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140001672
cmp dword [rax], 3
jne 0x1400946c7
test rdi, rdi
je 0x1400946d7
mov dword [rdi], r12d
call fcn.140002c2a
jmp 0x1400946d3
test rdi, rdi
je 0x14009472f
call fcn.140002c2a
mov dword [rdi], ebx
mov qword [rdi + 8], rax
xor bl, bl
lea rcx, [rsp + 0x68]
jmp 0x1400946ff
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.140004205
nop
mov rdx, rdi
mov rcx, rax
call fcn.1400016ef
movzx ebx, al
lea rcx, [rbp - 0x50]
call fcn.140001325
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140001c17
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rbp - 0x50]
call fcn.14000405c
nop
call fcn.140002c2a
mov r8, rax
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140001b63
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
lea r9, [rbp - 0x70]
mov r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140003d55
lea rdx, [0x140118888]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x50]
call fcn.14000405c
nop
mov edx, 0x16
lea rcx, [rsp + 0x40]
call fcn.14000241e
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
lea r9, [rbp - 0x70]
mov r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140003d55
lea rdx, [0x140118888]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x50]
call fcn.14000405c
nop
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x70], xmm0
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140003d55
lea rdx, [0x140118888]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3