Function at 0x1400033f0
Capabilities:
Create directory
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x88]
call fcn.140003200
nop
lea r8, str..config
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.140005690
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str..system_cache_2j79h455c512k.tmp
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140005690
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.140004f70
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0xac], edx
cmp qword [rsp + 0x138], 0
je 0x1400036b0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400034f3
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0xb0]
call fcn.140005ee0
lea rdx, [0x140008f9c]
mov rcx, rax
call fcn.140005470
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140003520
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140005ee0
lea rcx, [rsp + 0xb8]
call fcn.140004eb0
test rax, rax
jne 0x140003563
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xb0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rcx, [rsp + 0xb0]
call fcn.1400036e0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400035d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400035ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400061dc
movdqa xmm0, xmmword [0x1400091f0]
movdqu xmmword [rsp + 0x58], xmm0
xor ebx, ebx
mov word [rsp + 0x48], bx
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140003638
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000362b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000362b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400061dc
movdqa xmm0, xmmword [0x1400091f0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x14000368f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003689
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003689
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400061dc
nop
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.140006180
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1d0
pop rdi
ret
lea rdx, str.Unable_to_open_file_for_writing
lea rcx, [rsp + 0x30]
call fcn.1400012a0
lea rdx, [0x14000aca8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3