Function at 0x140084a80
Capabilities:
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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
mov qword [rbp - 0x78], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
xorps xmm1, xmm1
test eax, eax
js 0x140084ba0
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140084b00
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140011d50
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x60]
cmova rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.14001af10
mov edi, 2
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140084b8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
movdqa xmm0, xmmword [0x140126c20]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], si
jmp 0x140084bc8
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
xor r8d, r8d
lea rdx, [0x140122615]
lea rcx, [rsp + 0x68]
call fcn.140004800
mov edi, 2
mov dword [rsp + 0x30], edi
mov r8d, 0xd
lea rdx, str.hookconfigs
lea rcx, [rsp + 0x68]
call fcn.1400113a0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 4
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140084c53
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084c4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084c4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
movdqa xmm0, xmmword [0x140126c40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140084c77
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
call fcn.1400f33fc
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140009ed0
or edi, 0x18
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.14001a380
movsd xmm0, qword [rax]
movsd qword [rsp + 0x58], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
lea rax, [0x1401ff298]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140084d25
cmp eax, 1
sete sil
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140084d37
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084d32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084d32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov sil, 1
test ecx, ecx
jne 0x140084e25
jmp 0x140084ce5
call fcn.1400f3fd4
test sil, sil
je 0x140084de4
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140084d51
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
call fcn.1400f33fc
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140009ed0
or edi, 0x60
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
call fcn.1400f365c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140084e0f
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140084de4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084ddf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084ddf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400f3f70
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x38]
lea rcx, str.create_directory
call fcn.14000a910
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.14000a980
int3