Function at 0x14009b180
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
jmp 0x14009b180
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0
jne 0x14009b1e7
test rdx, rdx
je 0x14009b54a
mov dword [rdx], 0x16
mov byte [rdx + 4], 1
lea rax, [0x1400ccda0]
mov qword [rdx + 8], rax
xor al, al
jmp 0x14009b4d1
lea rdx, [rbp - 0x70]
call fcn.140002ca7
cmp qword [rbp - 0x60], 1
jne 0x14009b20f
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
cmp word [rax], 0x2e
jne 0x14009b20f
mov bl, 1
jmp 0x14009b211
xor bl, bl
lea rcx, [rbp - 0x70]
call fcn.140001339
test bl, bl
jne 0x14009b4aa
mov rax, qword [rsi + 0x10]
cmp rax, 2
jb 0x14009b294
mov rdx, rsi
mov rcx, qword [rsi + 0x18]
cmp rcx, 8
jb 0x14009b23c
mov rdx, qword [rsi]
cmp word [rdx + rax*2 - 2], 0x2e
jne 0x14009b294
mov rdx, rsi
cmp rcx, 8
jb 0x14009b250
mov rdx, qword [rsi]
cmp word [rdx + rax*2 - 4], 0x2e
jne 0x14009b294
cmp rax, 2
je 0x14009b4aa
mov rdx, rsi
cmp rcx, 8
jb 0x14009b26e
mov rdx, qword [rsi]
movzx ecx, word [rdx + rax*2 - 6]
sub cx, 0x2f
cmp cx, 0x2d
ja 0x14009b294
movzx eax, cx
movabs rcx, 0x200000000801
bt rcx, rax
jb 0x14009b4aa
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov byte [rsp + 0x44], r12b
lea r15, [0x1400ccd88]
mov qword [rsp + 0x48], r15
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140001695
cmp dword [rsp + 0x50], 3
jne 0x14009b2dd
test rdi, rdi
je 0x14009b2d6
mov dword [rdi], r12d
mov byte [rdi + 4], r12b
mov qword [rdi + 8], r15
xor al, al
jmp 0x14009b4d1
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1400042d2
nop
cmp qword [rsp + 0x78], 0
je 0x14009b3c0
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 0x14009b333
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.14009cdb0
mov r14d, dword [rsp + 0x50]
jmp 0x14009b411
mov edx, r14d
lea rcx, [rsp + 0x68]
call fcn.140002a2c
bt r14d, 0xa
jae 0x14009b3f6
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], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14009b3a8
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.14009cdb0
nop
mov r14d, dword [rsp + 0x50]
jmp 0x14009b411
lea rcx, [rsp + 0x68]
call fcn.14009c7f0
nop
mov rcx, rbx
test al, al
jne 0x14009b3f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14009b3cd
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14009b450
test rdi, rdi
je 0x14009b3e9
mov dword [rdi], r12d
mov byte [rdi + 4], 0
mov qword [rdi + 8], r15
mov bl, 1
jmp 0x14009b4a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x40], r12d
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x48], r15
and r14d, 0x10
or r14d, 0x20
shr r14d, 4
cmp r14d, 1
jne 0x14009b3c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140001708
nop
cmp dword [rsp + 0x40], 0
je 0x14009b3c0
test rdi, rdi
je 0x14009b596
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
lea rcx, [rsp + 0x68]
call fcn.140001339
xor al, al
jmp 0x14009b4d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x50], r12d
mov byte [rsp + 0x54], 0
mov qword [rsp + 0x58], r15
lea r8, [rsp + 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140001695
cmp dword [rax], 3
jne 0x14009b48f
test rdi, rdi
je 0x14009b4a1
mov dword [rdi], r12d
mov byte [rdi + 4], 0
mov qword [rdi + 8], r15
jmp 0x14009b4a1
test rdi, rdi
je 0x14009b4f9
mov r8, r15
mov edx, ebx
mov rcx, rdi
call fcn.140002126
xor bl, bl
lea rcx, [rsp + 0x68]
jmp 0x14009b4c9
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1400042d2
nop
mov rdx, rdi
mov rcx, rax
call fcn.140001708
movzx ebx, al
lea rcx, [rbp - 0x50]
call fcn.140001339
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001c58
lea r11, [rsp + 0x130]
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.140004124
nop
call fcn.140002c8e
mov r8, rax
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140001ba4
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.140003e0e
lea rdx, [0x140116bf0]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x50]
call fcn.140004124
nop
mov edx, 0x16
lea rcx, [rsp + 0x50]
call fcn.140002446
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.140003e0e
lea rdx, [0x140116bf0]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x50]
call fcn.140004124
nop
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140003e0e
lea rdx, [0x140116bf0]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3