Function at 0x140029290
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.140036440
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 [0x14005a138]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov r14, qword [rcx + 8]
test r14, r14
je 0x140029654
mov r15, qword [rcx]
xor r13d, r13d
cmp r13w, word [r15]
je 0x140029677
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002931b
test al, 0x10
jne 0x140029612
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.14001fe70
nop
lea rbx, [r15 + r14*2]
movabs rax, 0x3fffffffffffffff
cmp r14, qword [rbp - 0x60]
jbe 0x1400293f2
cmp r14, rax
ja 0x14002969a
lea rcx, [r14 + r14]
call fcn.1400359fc
mov r12, rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400293a1
mov qword [rbp - 0x68], r13
lea rax, [rbp - 0x58]
cmp rax, rcx
je 0x1400293a1
call fcn.140035e24
mov rdi, r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r14
mov rsi, r13
mov qword [rbp - 0x68], r13
mov rax, r12
cmp r15, rbx
je 0x1400293e3
test r12, r12
je 0x1400293e3
test r15, r15
je 0x1400293e3
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r12]
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
sub rax, r12
sar rax, 1
add rsi, rax
mov qword [rbp - 0x68], rsi
jmp 0x14002944d
lea r8, [r14 + r14]
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
mov r12, rdi
cmp rsi, r14
jae 0x140029437
test rsi, rsi
je 0x140029427
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
add r15, rbx
add r12, rbx
mov rdi, qword [rbp - 0x70]
mov r8, r14
sub r8, rsi
je 0x140029446
add r8, r8
mov rcx, r12
jmp 0x14002943a
mov rcx, rdi
mov rdx, r15
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 0x140029475
lea rax, [rdi + rsi*2]
test rax, rax
je 0x14002946d
mov word [rax], r13w
mov rsi, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
inc rsi
jmp 0x140029550
lea r15, [rdi + rsi*2]
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.14001de90
mov r12, rax
movabs rax, 0x3fffffffffffffff
cmp r12, rax
ja 0x140029647
lea rcx, [r12 + r12]
call fcn.1400359fc
mov rdi, rax
mov rsi, rax
mov rcx, qword [rbp - 0x70]
mov r14, rcx
test rcx, rcx
je 0x1400294e5
cmp rcx, r15
je 0x1400294e5
test rax, rax
je 0x1400294e5
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 0x1400294f6
movzx eax, word [rsp + 0x38]
mov word [rsi], ax
mov rcx, qword [rbp - 0x70]
add rsi, 2
test r14, r14
je 0x140029542
mov rax, qword [rbp - 0x68]
lea rbx, [r14 + rax*2]
cmp r15, rbx
je 0x140029534
test rsi, rsi
je 0x140029534
test r15, r15
je 0x140029534
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 0x140029542
call fcn.140035e24
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 0x14002957e
mov r14, rdi
add r14, 0xfffffffffffffffe
cmp rdi, r14
je 0x1400295fa
mov rbx, rdi
movaps xmm6, xmmword [rsp + 0x40]
nop
mov rsi, rbx
cmp rbx, r14
je 0x1400295b5
mov rax, rbx
nop dword [rax + rax]
cmp word [rbx], 0x5c
je 0x1400295b5
lea rbx, [rax + 2]
mov rsi, rbx
mov rax, rbx
cmp rbx, r14
jne 0x1400295a0
cmp rdi, rsi
je 0x1400295ea
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.140028350
test al, al
je 0x1400295f6
cmp rsi, r14
je 0x1400295f6
mov rdi, rbx
add rdi, 2
mov rbx, rdi
cmp rdi, r14
jne 0x140029590
mov rdi, qword [rbp - 0x70]
cmp qword [rbp - 0x60], 0
je 0x140029612
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x140029612
mov rcx, rdi
call fcn.140035e24
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.140035b50
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.140035260
nop
lea rdx, str.DirectoryCreateRecursively:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140004450
lea rdx, [0x140057da0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140004450
lea rdx, [0x140057da0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.get_next_capacity__allocators_max_size_reached
call fcn.140035260
int3