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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x18023a308]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov byte [rbp - 0x59], r8b
mov r14, rdx
mov r13, rcx
xor r15d, r15d
mov dword [rbp - 0x11], r15d
call fcn.1800c4fe0
lea r9, [r13 + 0x10]
mov qword [rbp - 0x11], r9
cmp r9, r14
je 0x1800c4d3a
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800c4d2a
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, r9
call fcn.180092620
lea r9, [r13 + 0x10]
mov rcx, qword [r13 + 0x68]
test rcx, rcx
je 0x1800c4d4c
mov rax, qword [rcx]
mov rdx, r9
call qword [rax + reloc.WS2_32.dll_recv]
xor r12d, r12d
cmp dword [r13], r12d
jle 0x1800c4f95
nop dword [rax]
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.1800c4820
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1800c4d7c
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800c4e4e
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x1800c4e4e
xor esi, esi
nop word [rax + rax]
mov r8, rsi
lea rdx, [0x1801e6a70]
mov rcx, rbx
call fcn.180092300
mov rsi, rdi
cmp rax, 0xffffffffffffffff
cmovne rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800c4de5
mov rdx, qword [rbx]
lea rcx, [rbp - 9]
call fcn.180054a60
or r15d, 1
cmp qword [rbp + 7], 0
je 0x1800c4e2a
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800c4e2a
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
jne 0x1800c4e44
inc rsi
lea rcx, [rbp - 9]
call fcn.180058a50
mov rdi, qword [rbx + 0x10]
cmp rsi, rdi
jae 0x1800c4e4e
jmp 0x1800c4da0
lea rcx, [rbp - 9]
call fcn.180058a50
nop
lea rcx, [rbp - 0x51]
call fcn.180058a50
cmp byte [rbp - 0x59], 0
je 0x1800c4ecb
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0
mov r8d, 2
lea rdx, [0x1801fd6d0]
lea rcx, [rbp - 9]
call fcn.180054a60
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800c4ea5
mov rcx, qword [r14]
mov r8d, 0x40
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fsopen]
mov rbx, rax
lea rcx, [rbp - 9]
call fcn.180058a50
test rbx, rbx
je 0x1800c4f3e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0
mov r8d, 2
lea rdx, [0x1801e11d0]
lea rcx, [rbp - 9]
call fcn.180054a60
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800c4f13
mov rcx, qword [r14]
mov r8d, 0x40
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fsopen]
mov rbx, rax
mov qword [r13 + 8], rax
lea rcx, [rbp - 9]
call fcn.180058a50
test rbx, rbx
jne 0x1800c4f4c
mov ecx, dword [r13 + 4]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r12d
cmp r12d, dword [r13]
jge 0x1800c4f95
jmp 0x1800c4d60
mov rcx, qword [r13 + 0xa8]
test rcx, rcx
je 0x1800c4f6e
mov rax, qword [r13 + 8]
mov qword [rbp - 0x11], rax
mov rax, qword [rcx]
lea r8, [rbp - 0x11]
lea rdx, [r13 + 0x10]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18019a520
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.1800c4800
nop
mov r8, rax
lea rdx, str.Failed_opening_file
lea rcx, [rbp - 9]
call fcn.18007aaf0
nop
lea r8, str._for_writing
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.1800b6670
nop
mov edx, ebx
mov rcx, rax
call fcn.1800522d0
int3