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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xfc0]
mov eax, 0x10c0
call fcn.1402663a0
sub rsp, rax
movaps xmmword [rsp + 0x10b0], xmm6
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, qword [rcx + 8]
test rsi, rsi
je 0x140256c71
mov rbx, qword [rcx]
xor r12d, r12d
cmp r12w, word [rbx]
je 0x140256c94
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402569d3
test al, 0x10
jne 0x140256c34
lea rdi, [rsi + 1]
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rax
mov r9, r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0x800
cmp rdi, 0x800
ja 0x140256a18
test rdi, rdi
je 0x140256a0f
lea r8, [rdi + rdi]
xor edx, edx
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rbp - 0x78]
add r9, rdi
mov qword [rbp - 0x78], r9
jmp 0x140256a43
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r9, rdi
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140252d10
mov r9, qword [rbp - 0x78]
lea rdi, [rsi + rsi]
lea r15, [rbx + rdi]
sar rdi, 1
mov rsi, qword [rbp - 0x70]
cmp rdi, rsi
jbe 0x140256ac2
movabs rax, 0x3fffffffffffffff
cmp rdi, rax
ja 0x140256c64
lea rcx, [rdi + rdi]
call fcn.140265ffc
mov r14, rax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140256a95
mov qword [rbp - 0x78], r12
lea rax, [rbp - 0x68]
cmp rax, rcx
je 0x140256a95
lea rdx, [rsi + rsi]
call fcn.140082030
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], r12
mov r9, r14
mov r8, r15
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140252e60
sub rax, r14
sar rax, 1
mov rdi, qword [rbp - 0x78]
add rdi, rax
jmp 0x140256b34
mov rcx, qword [rbp - 0x80]
cmp r9, rdi
jae 0x140256b0b
test r9, r9
je 0x140256af4
mov rdx, r9
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx], ax
add rbx, 2
add rcx, 2
sub rdx, 1
jne 0x140256ae0
mov r8, rdi
sub r8, r9
mov r9, rcx
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140252ea0
jmp 0x140256b34
mov rdx, rdi
test rdi, rdi
je 0x140256b34
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx], ax
lea rbx, [rbx + 2]
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x140256b20
mov rcx, rdi
mov qword [rbp - 0x78], rdi
mov dword [rsp + 0x38], r12d
mov rax, qword [rbp - 0x80]
lea r8, [rax + rdi*2]
cmp rcx, qword [rbp - 0x70]
je 0x140256b64
test r8, r8
je 0x140256b5b
mov word [r8], r12w
mov rdi, qword [rbp - 0x78]
inc rdi
mov qword [rbp - 0x78], rdi
jmp 0x140256b8f
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140252bd0
mov rdi, qword [rbp - 0x78]
mov qword [rsp + 0x50], r12
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x58], rcx
lea rdi, [rdi - 1]
lea rdi, [rcx + rdi*2]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
cmp rcx, rdi
je 0x140256c16
mov rbx, rcx
movaps xmm6, xmmword [rsp + 0x40]
cmp word [rbx], 0x5c
je 0x140256bd5
add rbx, 2
cmp rbx, rdi
jne 0x140256bc6
cmp rcx, rbx
je 0x140256c0a
movdqa xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1402561e0
test al, al
je 0x140256c16
cmp rbx, rdi
je 0x140256c16
mov rcx, rbx
add rcx, 2
mov rbx, rcx
cmp rcx, rdi
jne 0x140256bc6
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x140256c34
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x80]
cmp rax, rcx
je 0x140256c34
add rdx, rdx
call fcn.140082030
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140266400
lea r11, [rsp + 0x10c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, str.get_next_capacity__allocators_max_size_reached
call fcn.140261920
nop
lea rdx, str.DirectoryCreateRecursively:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140081b70
lea rdx, [0x140338230]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x60]
call fcn.140081b70
lea rdx, [0x140338230]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3