Function at 0x140099b20
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.1400aaeb0
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 [0x140239158]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rsi, qword [rcx + 8]
test rsi, rsi
je 0x140099ed4
mov rbx, qword [rcx]
xor r13d, r13d
cmp r13w, word [rbx]
je 0x140099ef7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140099bab
test al, 0x10
jne 0x140099e92
lea rax, [rbp - 0x58]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0x800
lea r9, [rsi + 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.14008b090
nop
lea r14, [rbx + rsi*2]
movabs rax, 0x3fffffffffffffff
cmp rsi, qword [rbp - 0x60]
jbe 0x140099c5a
cmp rsi, rax
ja 0x140099f1a
lea rcx, [rsi + rsi]
call fcn.1400aa71c
mov rdi, rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140099c2d
mov qword [rbp - 0x68], r13
lea rax, [rbp - 0x58]
cmp rax, rcx
je 0x140099c2d
call fcn.1400aab44
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], r13
mov r9, rdi
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14008b9f0
sub rax, rdi
sar rax, 1
mov rsi, qword [rbp - 0x68]
add rsi, rax
jmp 0x140099cc4
mov rdx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
cmp rdx, rsi
jae 0x140099c9b
test rdx, rdx
je 0x140099c84
mov rcx, rdx
nop
movzx eax, word [rbx]
mov word [rdi], ax
add rbx, 2
add rdi, 2
sub rcx, 1
jne 0x140099c70
mov r8, rsi
sub r8, rdx
mov r9, rdi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14008ba30
jmp 0x140099cc4
mov rcx, rsi
test rsi, rsi
je 0x140099cc8
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rdi], ax
lea rbx, [rbx + 2]
lea rdi, [rdi + 2]
sub rcx, 1
jne 0x140099cb0
mov rdi, qword [rbp - 0x70]
mov qword [rbp - 0x68], rsi
mov dword [rsp + 0x38], r13d
cmp rsi, qword [rbp - 0x60]
jae 0x140099cf4
lea rax, [rdi + rsi*2]
test rax, rax
je 0x140099cec
mov word [rax], r13w
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
inc rsi
jmp 0x140099dcf
lea r15, [rdi + rsi*2]
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.140086e20
mov r12, rax
movabs rax, 0x3fffffffffffffff
cmp r12, rax
ja 0x140099ec7
lea rcx, [r12 + r12]
call fcn.1400aa71c
mov rdi, rax
mov rsi, rax
mov rcx, qword [rbp - 0x70]
mov r14, rcx
test rcx, rcx
je 0x140099d64
cmp rcx, r15
je 0x140099d64
test rax, rax
je 0x140099d64
mov rax, r15
sub rax, rcx
sar rax, 1
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, rcx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rsi, [rbx + rsi]
mov rcx, qword [rbp - 0x70]
test rsi, rsi
je 0x140099d75
movzx eax, word [rsp + 0x38]
mov word [rsi], ax
mov rcx, qword [rbp - 0x70]
add rsi, 2
test r14, r14
je 0x140099dc1
mov rax, qword [rbp - 0x68]
lea rbx, [r14 + rax*2]
cmp r15, rbx
je 0x140099db3
test rsi, rsi
je 0x140099db3
test r15, r15
je 0x140099db3
sub rbx, r15
sar rbx, 1
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
add rsi, rbx
mov rcx, qword [rbp - 0x70]
lea rax, [rbp - 0x58]
cmp rax, rcx
je 0x140099dc1
call fcn.1400aab44
mov qword [rbp - 0x70], rdi
sub rsi, rdi
sar rsi, 1
mov qword [rbp - 0x60], r12
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
test rsi, rsi
lea r14, [rdi + rsi*2]
jne 0x140099dfd
mov r14, rdi
add r14, 0xfffffffffffffffe
cmp rdi, r14
je 0x140099e7a
mov rbx, rdi
movaps xmm6, xmmword [rsp + 0x40]
nop
mov rsi, rbx
cmp rbx, r14
je 0x140099e35
mov rax, rbx
nop dword [rax + rax]
cmp word [rbx], 0x5c
je 0x140099e35
lea rbx, [rax + 2]
mov rsi, rbx
mov rax, rbx
cmp rbx, r14
jne 0x140099e20
cmp rdi, rsi
je 0x140099e6a
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.140098970
test al, al
je 0x140099e76
cmp rsi, r14
je 0x140099e76
mov rdi, rbx
add rdi, 2
mov rbx, rdi
cmp rdi, r14
jne 0x140099e10
mov rdi, qword [rbp - 0x70]
cmp qword [rbp - 0x60], 0
je 0x140099e92
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x140099e92
mov rcx, rdi
call fcn.1400aab44
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.1400aab20
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.1400a7b40
nop
lea rdx, str.DirectoryCreateRecursively:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140096730
lea rdx, [0x140233d78]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140096730
lea rdx, [0x140233d78]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.get_next_capacity__allocators_max_size_reached
call fcn.1400a7b40
int3