Function at 0x1400a9030
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x14032f0c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, rcx
xor r13d, r13d
add rcx, 8
cmp qword [r15 + 0x20], 7
jbe 0x1400a906a
mov rcx, qword [r15 + 8]
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x180], r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a92c5
mov rbx, qword [r15 + 0x18]
test rbx, rbx
je 0x1400a9423
mov rsi, r13
mov r8d, 0x100
lea r9, [0x1402bf068]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [r9 + rdi*2], r13w
jne 0x1400a90c0
cmp qword [r15 + 0x20], 7
lea r14, [r15 + 8]
jbe 0x1400a90d9
mov r14, qword [r15 + 8]
test rdi, rdi
je 0x1400a91b5
cmp rsi, rbx
jae 0x1400a91b5
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140277340
lea r9, [0x1402bf068]
mov r8d, 0x100
lea rdx, [r9 + rdi*2]
mov rcx, r9
cmp r9, rdx
je 0x1400a912a
movzx eax, word [rcx]
cmp ax, r8w
jae 0x1400a9152
movzx eax, al
add rcx, 2
mov byte [rsp + rax + 0x70], 1
cmp rcx, rdx
jne 0x1400a9110
lea rcx, [r14 + rbx*2]
lea rbx, [r14 + rsi*2]
cmp rbx, rcx
jae 0x1400a91b5
movzx eax, word [rbx]
cmp ax, r8w
jae 0x1400a9147
cmp byte [rsp + rax + 0x70], r13b
jne 0x1400a91a9
add rbx, 2
cmp rbx, rcx
jb 0x1400a9137
jmp 0x1400a91b5
lea r8, [r14 + rbx*2]
lea rbx, [r14 + rsi*2]
cmp rbx, r8
jae 0x1400a91a0
mov r10d, 0x5c
nop word [rax + rax]
movzx edx, word [rbx]
mov rax, rdi
mov rcx, r9
cmp r10w, dx
je 0x1400a91a9
nop
cmp rax, 1
je 0x1400a9197
add rcx, 2
dec rax
cmp word [rcx], dx
jne 0x1400a9180
test rcx, rcx
jne 0x1400a91a9
add rbx, 2
cmp rbx, r8
jb 0x1400a9170
mov rbx, 0xffffffffffffffff
jmp 0x1400a91af
sub rbx, r14
sar rbx, 1
cmp rbx, 0xffffffffffffffff
jne 0x1400a91b9
mov rbx, qword [r15 + 0x18]
cmp qword [r15 + 0x18], rbx
lea rdx, [r15 + 8]
mov r8, rbx
mov qword [rsp + 0x40], r13
cmovb r8, qword [r15 + 0x18]
xorps xmm0, xmm0
cmp qword [r15 + 0x20], 7
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
jbe 0x1400a91eb
mov rdx, qword [r15 + 8]
lea rcx, [rsp + 0x40]
call fcn.140048850
cmp qword [rsp + 0x58], r13
je 0x1400a9236
cmp qword [rsp + 0x60], 7
lea rcx, [rsp + 0x48]
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a9236
cmp qword [rsp + 0x60], 7
lea rcx, [rsp + 0x48]
cmova rcx, qword [rsp + 0x48]
call fcn.14022b0d0
test eax, eax
jne 0x1400a9302
mov edx, 3
lea rcx, [rsp + 0x30]
lea rsi, [rbx + 1]
call fcn.1401f1c90
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a926c
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r13
test rax, rax
je 0x1400a926c
mov qword [rax], r13
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400a9260
lea rcx, [rsp + 0x30]
call fcn.1401f1d70
mov r8, qword [rsp + 0x60]
cmp r8, 7
jbe 0x1400a9290
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14003e8a0
mov rcx, qword [rsp + 0x40]
mov edx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r13w
call fcn.1401f5a50
mov rbx, qword [r15 + 0x18]
cmp rsi, rbx
jb 0x1400a90a9
mov al, 1
mov r14, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401f4d70
add rsp, 0x188
pop r15
pop r13
pop r12
pop rbp
ret
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1401f1c90
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a933c
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r13
test rax, rax
je 0x1400a933c
nop dword [rax + rax]
mov qword [rax], r13
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400a9330
lea rcx, [rsp + 0x30]
call fcn.1401f1d70
mov rax, qword [rsp + 0x60]
cmp rax, 7
jbe 0x1400a93fb
mov rbx, qword [rsp + 0x48]
lea rdi, [rax + 1]
test rbx, rbx
jne 0x1400a93c3
test rdi, rdi
je 0x1400a93c3
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1402e4370]
lea rax, [0x1402e4364]
mov r8d, 0x3cf
lea ecx, [rbx + 2]
mov qword [rsp + 0x20], rax
call fcn.1402033a0
cmp eax, 1
jne 0x1400a939e
int3
mov r9d, 0x3cf
mov qword [rsp + 0x20], r13
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.39.33519includexmemory
lea rdx, [0x1402e44a4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.140203dc0
lea rdx, [rdi + rdi]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdx
cmp rdx, 0x1000
jb 0x1400a93f3
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140002250
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1401f5a50
mov rcx, qword [rsp + 0x40]
mov edx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r13w
call fcn.1401f5a50
xor al, al
jmp 0x1400a92c7