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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
mov qword [rbp - 0x18], rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
lea r9, [rbp - 8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14003faa0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea r8d, [rsi + 4]
lea rdx, str.Logs
lea rcx, [rbp - 0x78]
call fcn.14001a9b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea r8d, [rsi + 6]
lea rdx, [0x140064e90]
lea rcx, [rsp + 0x28]
call fcn.14001a9b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov rdx, qword [rbp - 8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400244b0
lea rcx, [rsp + 0x48]
call fcn.14001a9b0
nop
mov r8d, 1
lea rdx, [0x140064eac]
lea rcx, [rsp + 0x48]
call fcn.140027430
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or edi, 2
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x28]
lea r8, [rbp - 0x38]
lea rcx, [rsp + 0x68]
call fcn.14002a040
or edi, 4
mov dword [rsp + 0x20], edi
mov r8d, 1
lea rdx, [0x140064eac]
lea rcx, [rsp + 0x68]
call fcn.140027430
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or edi, 8
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x58]
mov rcx, rbx
call fcn.14002a040
or edi, 0x10
or edi, 1
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400245b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400245b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400245b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400245fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400245f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400245f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656c0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140024651
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002464b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002464b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140024696
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024691
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024691
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656c0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400246ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400246e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400246e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140024732
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002472d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002472d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140024749
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.14001a9b0
or edi, 0x60
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x28]
call fcn.140008ad0
movzx edi, al
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400247c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400247bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400247bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
test dil, dil
jne 0x1400247dc
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400247d4
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14003ac30
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret