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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140085700]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x58], rdx
xor r12d, r12d
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140002607
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140004d50
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, rdx
cmp rax, 1
jb 0x14000240a
lea r8, [rdx + 1]
mov qword [rcx + 0x10], r8
mov rax, rcx
cmp r9, 7
jbe 0x1400023fd
mov rax, qword [rcx]
mov word [rax + rdx*2], 0x5c
mov word [rax + r8*2], r12w
jmp 0x140002427
mov qword [rsp + 0x20], 1
lea r9, [0x14007b218]
mov edx, 1
call fcn.140009690
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x140002467
mov rsi, qword [rsi]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r15
cmp r14, rax
ja 0x1400024b4
lea rax, [r15 + r14]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [r14 + r14]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + r15]
mov word [rbx + rax*2], r12w
lea rax, [rsp + 0x30]
jmp 0x1400024c9
mov qword [rsp + 0x20], r14
mov r9, rsi
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140009690
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000253c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002537
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067af4
movdqa xmm0, xmmword [0x14007b320]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140002595
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002590
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002590
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067af4
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002644
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140002644
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002607
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002602
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002602
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067af4
lea rdx, [0x14007b21c]
mov rcx, rdi
call fcn.140004d50
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140067730
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140002616