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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0x20], 0x78
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x24]
lea rdx, [0x14021d4d0]
lea rcx, [rsp + 0x48]
call fcn.14003fda0
nop
lea rbx, [rdi + 0x18]
cmp qword [rbx + 0x18], 8
jb 0x1400756be
mov rcx, qword [rbx]
jmp 0x1400756c1
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400756e5
cmp qword [rbx + 0x18], 8
jb 0x1400756d7
mov rdx, qword [rbx]
jmp 0x1400756da
mov rdx, rbx
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov r12, r14
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
sar rax, 5
test rax, rax
je 0x1400758dc
mov rsi, r14
mov rcx, qword [rdi]
add rcx, rsi
cmp qword [rcx + 0x18], 8
jb 0x14007570f
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400758c1
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x14007588d
mov rax, qword [rcx]
mov edx, 0xfa0
call qword [rax + 0x10]
test eax, eax
je 0x14007588d
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14007579c
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14007579c
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400757a8
mov r13, qword [rbx]
jmp 0x1400757ab
mov r13, rbx
lea r14, [rdi + 0x38]
cmp qword [r14 + 0x18], 8
jb 0x1400757b9
mov r14, qword [r14]
mov r15, qword [rdi]
add r15, rsi
cmp qword [r15 + 0x18], 8
jb 0x1400757c9
mov r15, qword [r15]
lea rdx, [0x14021d4d0]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
lea rdx, str.File
call fcn.140043a10
mov rcx, rax
mov rdx, r15
call fcn.140043d80
mov rcx, rax
lea rdx, str._is_missing__lets_extract_extension_from
call fcn.140043a10
mov rcx, rax
mov rdx, r14
call fcn.140043d80
mov rcx, rax
lea rdx, [0x14021d520]
call fcn.140043a10
mov rcx, rax
mov rdx, r13
call fcn.140043d80
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae r8, qword [rbp + 0x50]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x60]
mov edx, 0xfa0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x50]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
xor r14d, r14d
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r14
mov word [rbp + 0x50], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140007890
lea rcx, [rdi + 0x38]
mov r8b, 1
lea rdx, [rbp + 0x50]
call fcn.1400eb1c4
inc r12
add rsi, 0x20
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
sar rax, 5
cmp r12, rax
jb 0x1400756ff
lea rcx, [rsp + 0x48]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret