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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov r9, qword [rcx]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r10, qword [r9]
lea rax, [r10 + 1]
mov qword [r9], rax
test r10, r10
jne 0x140253743
mov rax, qword [rdx]
movzx ecx, word [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x140253743
mov rax, qword [rsi]
add rax, 2
cmp word [rax], 0x3a
je 0x14025386e
mov rax, qword [rdi]
xor esi, esi
mov word [rax], si
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
cmp si, word [rcx]
je 0x1402538a7
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14025376e
test al, 0x10
jne 0x140253863
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
cmp si, word [rcx]
je 0x1402538c8
xor edx, edx
mov qword [rsp + 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r14, [0x1403749c8]
mov ebx, eax
mov r8, r14
lea rdx, [0x14024ba30]
lea rcx, [0x1403749c0]
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test ebx, ebx
je 0x1402537c2
mov dword [rbp - 0x50], esi
test eax, eax
je 0x1402537c6
mov qword [rbp - 0x48], r14
lea rax, [rbp - 0x50]
jmp 0x1402537de
test eax, eax
jne 0x1402537cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rax]
movd eax, xmm0
movups xmmword [rbp - 0x30], xmm0
test eax, eax
je 0x14025385b
lea rbx, [0x1403749b0]
mov dword [rbp - 0x50], esi
mov r8, rbx
mov qword [rbp - 0x48], rsi
lea rdx, [0x14024ba10]
lea rcx, [0x1403749a8]
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test eax, eax
jne 0x14025381c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rbp - 0x28]
lea r8, [rbp - 0x50]
mov edx, dword [rbp - 0x30]
mov dword [rbp - 0x50], reloc.WS2_32.dll_recvfrom
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
jne 0x14025385b
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8d, dword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
je 0x140253886
mov r14, qword [rsp + 0x80]
mov rax, qword [rdi]
mov ecx, 0x5c
mov word [rax], cx
lea r11, [rsp + 0x70]
mov al, 1
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.DirectoryCreateRecursively:_cannot_create_directory
lea rcx, [rbp - 0x18]
call fcn.140082580
lea rdx, [0x140359df0]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rbp - 0x30]
call fcn.140082580
lea rdx, [0x140359df0]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryCreate:_empty_path
lea rcx, [rbp - 0x50]
call fcn.140082580
lea rdx, [0x140359df0]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3