Function at 0x1800a9590
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
sub rsp, 0x4c0
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x180170038]
xor rax, rsp
mov qword [rbp + 0x460], rax
xor ebx, ebx
lea r9, [rbp + 0x250]
xor r8d, r8d
xor edx, edx
lea rcx, [0x18012cef8]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
lea r8d, [rbx + 6]
lea rdx, str.Carbon
lea rcx, [rbp + 0x120]
call fcn.180017ef0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
mov rdx, qword [rbp + 0x250]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800a9640
lea rcx, [rbp + 0x100]
call fcn.180017ef0
nop
mov r8d, 1
lea rdx, [0x180153774]
lea rcx, [rbp + 0x100]
call fcn.180041c20
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r9, [rbp + 0x120]
lea r8, [rbp + 0x160]
lea rcx, [rbp + 0x268]
call fcn.180045bc0
nop
lea rcx, [rbp + 0x160]
call fcn.180014700
nop
lea rcx, [rbp + 0x100]
call fcn.180014700
nop
lea rcx, [rbp + 0x120]
call fcn.180014700
movabs rax, 0xf0d9d2f6bfcac71f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0xac052988e97d74b2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xf75f10f888a42cfb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x69a397abb0457d0b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0x41ff22334ac44c99
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xe5f82e96135f4c3a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rdx, 0x73f75d42c94d5811
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rcx, 0xb7c61c8bdbeaad82
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
movabs r14, 0xf0b8d284bf89c743
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x420], rax
movabs r15, 0xac6829fde91474dc
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x428], rax
movabs r12, 0xf72c10d688952cad
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x430], rax
movabs rsi, 0x69ca97dfb0317d6e
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x438], rax
movabs rax, 0x41d122404aa34cf7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x440], rax
movabs rax, 0xe5962ef9132c4c50
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x448], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x450], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x458], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x420]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x440]
vmovdqa ymmword [rbp + 0xe0], ymm1
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x288]
vzeroupper
call fcn.1800aef40
nop
mov rcx, qword [rbp + 0x250]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rbp + 0x268]
cmp qword [rbp + 0x280], 8
cmovae rdx, qword [rbp + 0x268]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
mov r8, qword [rbp + 0x278]
lea rcx, [rbp + 0x70]
call fcn.180017ef0
nop
lea rcx, [rbp + 0x70]
call fcn.180024d20
movzx ebx, al
lea rcx, [rbp + 0x70]
call fcn.180014700
test bl, bl
jne 0x1800a9923
lea rcx, [rbp + 0x268]
cmp qword [rbp + 0x280], 8
cmovae rcx, qword [rbp + 0x268]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov byte [rbp + 0x258], 0
xor edx, edx
lea rcx, [rbp + 0x260]
call fcn.1800456d0
nop
lea rax, [rbp + 0x10]
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x10], 4
mov byte [rbp], 1
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs rax, 0x99d3bdebf7fa8e21
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0xc9044b9c875113b2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xf72c10d688952cc9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x3e0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3e8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x3f0], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x3f8], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x3e0]
vmovdqa ymmword [rbp + 0xa0], ymm1
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x258]
vzeroupper
call fcn.1800af060
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp + 0x10]
mov byte [rax], cl
mov byte [rbp + 0x10], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0x18]
mov qword [rax + 8], rdx
mov qword [rbp + 0x18], rcx
movzx edx, byte [rbp + 0x10]
lea rcx, [rbp + 0x18]
call fcn.1800420d0
lea rax, [rbp + 0x20]
mov qword [rbp + 0x60], rax
xor eax, eax
mov byte [rbp + 0x20], 4
mov byte [rbp], al
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x9eddb7d7cce88f21
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xf91846ad8860119e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xf72c10d688952cdd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x400], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x408], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x410], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x418], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x400]
vmovdqa ymmword [rbp + 0x40], ymm1
movzx eax, byte [rbp + 0x258]
test al, al
vzeroupper
jne 0x1800a9b28
mov byte [rbp + 0x258], 1
mov dl, 1
lea rcx, [rbp + 8]
call fcn.1800456d0
mov rbx, qword [rbp + 8]
mov qword [rbp + 0x260], rbx
movzx eax, byte [rbp + 0x258]
jmp 0x1800a9b2f
mov rbx, qword [rbp + 0x260]
cmp al, 1
jne 0x1800a9ed7
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
lea rax, [rbp + 0x40]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1800a9b53
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x140]
call fcn.18000a1e0
nop
lea rdx, [rbp + 0x140]
mov rcx, rbx
call fcn.180045840
mov rbx, rax
lea rcx, [rbp + 0x140]
call fcn.180014770
nop
movzx edx, byte [rbx]
movzx ecx, byte [rbp + 0x20]
mov byte [rbx], cl
mov byte [rbp + 0x20], dl
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x28]
mov qword [rbx + 8], rdx
mov qword [rbp + 0x28], rcx
movzx edx, byte [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.1800420d0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x60], rax
xor eax, eax
mov byte [rbp + 0x30], 4
mov byte [rbp + 8], al
mov rax, qword [rbp + 8]
mov qword [rbp + 0x38], rax
movabs rax, 0x95c8aac1dafa9221
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0xc0095d938c791dae
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0xf72c10d688dc79ea
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
mov qword [rbp + 8], rsi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
mov qword [rbp + 8], r14
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3c0], rax
mov qword [rbp + 8], r15
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3c8], rax
mov qword [rbp + 8], r12
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3d0], rax
mov qword [rbp + 8], rsi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3d8], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x3c0]
vmovdqa ymmword [rbp + 0x40], ymm1
movzx eax, byte [rbp + 0x258]
test al, al
vzeroupper
jne 0x1800a9c9f
mov byte [rbp + 0x258], 1
mov dl, 1
lea rcx, [rbp + 0x68]
call fcn.1800456d0
mov rbx, qword [rbp + 0x68]
mov qword [rbp + 0x260], rbx
movzx eax, byte [rbp + 0x258]
jmp 0x1800a9ca6
mov rbx, qword [rbp + 0x260]
cmp al, 1
jne 0x1800a9e7c
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3d0], xmm1
lea rax, [rbp + 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800a9cc7
mov r8, rdi
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x3c0]
call fcn.18000a1e0
nop
lea rdx, [rbp + 0x3c0]
mov rcx, rbx
call fcn.180045840
mov rbx, rax
lea rcx, [rbp + 0x3c0]
call fcn.180014770
nop
movzx edx, byte [rbx]
movzx ecx, byte [rbp + 0x30]
mov byte [rbx], cl
mov byte [rbp + 0x30], dl
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x38]
mov qword [rbx + 8], rdx
mov qword [rbp + 0x38], rcx
movzx edx, byte [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.1800420d0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x288]
lea rcx, [rbp + 0x2b0]
call fcn.1800ab7e0
nop
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x258]
call fcn.1800abab0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1800a9d76
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.180019ed0
nop
lea rcx, [rbp + 0x3c0]
call fcn.180014770
lea rcx, [rbp + 0x2b8]
call fcn.1800145e0
test rax, rax
jne 0x1800a9dc6
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2b0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x2b0], rax
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2ac], edx
lea rcx, [rbp + 0x2b8]
call fcn.180013340
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0x258]
lea rcx, [rbp + 0x260]
call fcn.1800420d0
nop
lea rcx, [rbp + 0x288]
call fcn.180014700
nop
lea rcx, [rbp + 0x268]
call fcn.180014700
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.18011eb40
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rbp + 0x258]
call fcn.180045990
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.18000a180
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp + 0x210]
call fcn.1800168b0
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0x180]
call fcn.180025920
lea rdx, [0x18016c8e0]
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x258]
call fcn.180045990
mov rdx, rax
lea rcx, [rbp + 0x3c0]
call fcn.18000a180
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp + 0x230]
call fcn.1800168b0
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0x1b8]
call fcn.180025920
lea rdx, [0x18016c8e0]
lea rcx, [rbp + 0x1b8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3