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

Disassembly:
jmp 0x1800543d0
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx r15d, r8b
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov rax, rcx
mov ebp, 4
mov ecx, ebp
nop dword [rax + rax]
movups xmm0, xmmword [r9]
movups xmmword [rax], xmm0
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [r9 + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [r9 + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [r9 + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [r9 + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [r9 + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [r9 + 0x70]
movups xmmword [rax - 0x10], xmm1
lea r9, [r9 + 0x80]
sub rcx, 1
jne 0x180054420
movups xmm0, xmmword [r9]
movups xmmword [rax], xmm0
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rax + 0x10], xmm1
movsxd r14, edx
mov qword [rdi + 0x228], r14
mov byte [rdi + 0x252], r15b
lea rcx, [rdi + 0x2a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rcx, [rdi + 0x2d0]
call fcn.180003639
mov rsi, qword [rdi + 0x228]
mov qword [rsp + 0x40], rsi
mov eax, 0x38
mul rsi
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.1800051a5
mov qword [rsp + 0x40], rax
xor ebx, ebx
test rax, rax
je 0x18005451a
test rsi, rsi
je 0x18005451d
lea rcx, [rax + 0x10]
mov qword [rcx - 0x10], rbx
mov qword [rcx - 8], rbx
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
mov byte [rcx + 0x14], bl
mov qword [rcx + 0x18], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x20], rbx
lea rcx, [rcx + 0x38]
sub rsi, 1
jne 0x1800544f1
jmp 0x18005451d
mov rax, rbx
mov qword [rdi + 0x220], rax
mov qword [rdi + 0x230], rbx
mov qword [rdi + 0x238], rbx
mov word [rdi + 0x250], 1
mov qword [rdi + 0x240], rbx
movabs rax, 0x8000000000000000
mov qword [rdi + 0x270], rax
mov qword [rdi + 0x278], rax
mov dword [rdi + 0x268], ebx
mov qword [rdi + 0x280], rbx
mov byte [rdi + 0x290], 0
mov eax, dword [rdi]
imul rcx, rax, 0x989680
mov qword [rdi + 0x288], rcx
mov dword [rdi + 0x2c8], 0x64
mov qword [rdi + 0x260], rbx
mov qword [rdi + 0x298], rbx
mov qword [rdi + 0x248], rbx
test r15b, r15b
je 0x18005460f
shl r14, 0x17
mov qword [rdi + 0x248], r14
mov eax, dword [rdi + 8]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, qword [0x180100f98]
mov eax, dword [rdi]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm1, xmm0
mulsd xmm1, qword [str.333333]
cvttsd2si rsi, xmm1
mov dword [0x180132050], 6
cmp dword [0x18013218c], 6
jg 0x180054651
mov qword [rsp + 0x20], rsi
mov r9d, dword [rdi + 8]
mov r8d, dword [rdi]
lea rdx, str.CircularSampleBuffer::GetVideoTempFileLimit_VIDEO__buffSize:_d_settings.br:_u_tmpFileSize:_I64d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180054651
shl r14, 0xc
mov qword [rdi + 0x248], r14
mov rsi, qword [rdi + 0x228]
shl rsi, 0xc
mov dword [0x180132050], 6
cmp dword [0x18013218c], 6
jg 0x180054651
mov r9, rsi
mov r8d, dword [rdi]
lea rdx, str.CircularSampleBuffer::GetAudioTempFileLimit_AUDIO__buffSize:_d_tmpFileSize:_I64d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov qword [rdi + 0x298], rsi
mov ecx, 0x440
call fcn.180002ba3
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180054842
mov rcx, rdi
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rbp, 1
jne 0x180054680
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rsi + 0x220], r12
mov byte [rsi + 0x438], bpl
mov qword [rsi + 0x430], rbx
mov word [rsi + 0x228], bx
lea r8, [rsi + 0xc]
mov r9, r12
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1800025b3
lea r8d, [rbp + 0x25]
lea rdx, str.9343b833_e7af_42ea_8a61_31bc41eefe2b
lea rcx, [rsp + 0x60]
call fcn.180005d0d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180054773
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180054773
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180054773
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, str.DataStorage::InitializeStorage:_CreateDirectory_failed_for___S__with_gle__X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
lea r9, [rsi + 0x228]
xor r8d, r8d
lea rdx, str.ShadowPlayCache
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1800547cd
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180054845
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, str.DataStorage::InitializeStorage:_GetTempFileNameW_failed_for___S__with_gle__X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180054845
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsi + 0x228]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi + 0x220], rax
cmp rax, 0xffffffffffffffff
jne 0x180054845
mov qword [rsi + 0x220], r12
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180054845
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsi + 0x228]
lea rdx, str.DataStorage::InitializeStorage:_CreateFileW__S__failed_with_gle__X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
jmp 0x180054845
mov rsi, rbx
mov qword [rdi + 0x258], rsi
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180002397
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret