Function at 0x140094580
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x14027b090]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x1400946ad
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140094600
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.14000d380
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x68]
cmovae rdx, qword [rsp + 0x68]
lea r9, [rsp + 0x34]
lea rcx, [rbp - 0x50]
call fcn.1400140b0
mov edi, 2
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140094698
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094693
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140094693
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140100ea4
movdqa xmm0, xmmword [0x140262370]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
jmp 0x1400946ca
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], sil
mov edi, 2
mov dword [rsp + 0x30], edi
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._silenceconfigs
lea rcx, [rbp - 0x50]
call fcn.14000b470
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], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 4
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140094753
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009474e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009474e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140100ea4
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140094774
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.14000eb00
or edi, 8
mov dword [rsp + 0x30], edi
mov r8d, 3
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.14007c830
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x40], ecx
lea rax, [0x14027b0d8]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140094874
cmp eax, 1
sete sil
lea rcx, [rbp - 0x30]
call fcn.14000bed0
test sil, sil
je 0x140094849
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140094800
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14000eb00
or edi, 0x10
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call fcn.1401004ec
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140094880
lea rcx, [rbp - 0x70]
call fcn.14000bed0
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140100e40
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov sil, 1
test ecx, ecx
jne 0x140094895
jmp 0x1400947e1
shr rdx, 0x20
lea r8, [rbp - 0x70]
lea rcx, str.create_directory
call fcn.140005650
nop
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1400056c0
int3