Function at 0x14003bd80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.14005f980
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1108], rbx
mov qword [rsp + 0x1110], rsi
mov qword [rsp + 0x1118], rdi
movaps xmmword [rsp + 0x10c0], xmm6
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov r14, qword [rcx + 8]
test r14, r14
je 0x14003c0eb
mov rsi, qword [rcx]
xor r13d, r13d
cmp r13w, word [rsi]
je 0x14003c10e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003be0b
test al, 0x10
jne 0x14003c0a9
lea rax, [rbp - 0x58]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0x800
lea r9, [r14 + 1]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140032870
nop
movabs rax, 0x7fffffffffffffff
cmp r14, qword [rbp - 0x60]
jbe 0x14003beb7
cmp r14, rax
ja 0x14003c131
lea rbx, [r14 + r14]
mov rcx, rbx
call fcn.14005f8a8
mov rdi, rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14003be8c
mov qword [rbp - 0x68], r13
lea rax, [rbp - 0x58]
cmp rax, rcx
je 0x14003be8c
call fcn.14005f8a0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x68], r13
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov rsi, qword [rbp - 0x68]
add rsi, r14
mov qword [rbp - 0x68], rsi
mov rdi, qword [rbp - 0x70]
jmp 0x14003bf12
lea r8, [r14 + r14]
mov r15, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
mov r12, rdi
cmp r15, r14
jae 0x14003befc
test r15, r15
je 0x14003beec
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
add rsi, rbx
add r12, rbx
mov rdi, qword [rbp - 0x70]
mov r8, r14
sub r8, r15
je 0x14003bf0b
add r8, r8
mov rcx, r12
jmp 0x14003beff
mov rcx, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov rdi, qword [rbp - 0x70]
mov rsi, r14
mov qword [rbp - 0x68], r14
mov dword [rsp + 0x38], r13d
cmp rsi, qword [rbp - 0x60]
jae 0x14003bf3a
lea rax, [rdi + rsi*2]
test rax, rax
je 0x14003bf32
mov word [rax], r13w
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
inc rsi
jmp 0x14003bfff
lea r12, [rdi + rsi*2]
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.14002f300
mov r15, rax
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x14003c0de
lea rcx, [r15 + r15]
call fcn.14005f8a8
mov rdi, rax
mov rsi, rax
mov rcx, qword [rbp - 0x70]
mov r14, rcx
test rcx, rcx
je 0x14003bfa1
mov rbx, r12
sub rbx, rcx
sar rbx, 1
je 0x14003bfa1
add rbx, rbx
mov r8, rbx
mov rdx, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rsi, [rbx + rsi]
mov rcx, qword [rbp - 0x70]
test rsi, rsi
je 0x14003bfb2
movzx eax, word [rsp + 0x38]
mov word [rsi], ax
mov rcx, qword [rbp - 0x70]
add rsi, 2
test r14, r14
je 0x14003bff1
mov rax, qword [rbp - 0x68]
lea rbx, [r14 + rax*2]
sub rbx, r12
sar rbx, 1
je 0x14003bfe3
add rbx, rbx
mov r8, rbx
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
add rsi, rbx
mov rcx, qword [rbp - 0x70]
lea rax, [rbp - 0x58]
cmp rax, rcx
je 0x14003bff1
call fcn.14005f8a0
mov qword [rbp - 0x70], rdi
sub rsi, rdi
sar rsi, 1
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x68], rsi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rsi, [rsi - 1]
lea rsi, [rdi + rsi*2]
cmp rdi, rsi
je 0x14003c091
movaps xmm6, xmmword [rsp + 0x40]
mov rbx, rdi
cmp rdi, rsi
je 0x14003c084
nop dword [rax + rax]
cmp word [rbx], 0x5c
je 0x14003c04f
add rbx, 2
cmp rbx, rsi
jne 0x14003c040
cmp rdi, rbx
je 0x14003c084
movdqa xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14003aee0
test al, al
je 0x14003c08d
cmp rbx, rsi
je 0x14003c08d
mov rdi, rbx
add rdi, 2
cmp rdi, rsi
jne 0x14003c033
mov rdi, qword [rbp - 0x70]
cmp qword [rbp - 0x60], 0
je 0x14003c0a9
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x14003c0a9
mov rcx, rdi
call fcn.14005f8a0
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.14005f850
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.get_next_capacity__allocators_max_size_reached
call fcn.140044fa0
nop
lea rdx, str.DirectoryCreateRecursively:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140039400
lea rdx, [0x1401061c8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140039400
lea rdx, [0x1401061c8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.get_next_capacity__allocators_max_size_reached
call fcn.140044fa0
int3