Function at 0x140030310
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140030380
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140002750
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140069010]
lea rcx, [rsp + 0x58]
call fcn.140003130
mov r8d, 1
lea rdx, [0x140067578]
lea rcx, [rsp + 0x58]
call fcn.140003130
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov dword [rsp + 0x30], 3
lea rdx, [rbx + 0x70]
cmp qword [rbx + 0x88], 7
jbe 0x14003041a
mov rdx, qword [rbx + 0x70]
mov r8, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140003130
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdi, [rbx + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140001ea0
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14003049d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400305a8
call fcn.1400322b0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400304df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400304da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400305ae
call fcn.1400322b0
movdqa xmm0, xmmword [0x14006a730]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140030530
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003052b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400305a2
call fcn.1400322b0
cmp qword [rdi + 0x18], 7
jbe 0x14003053a
mov rdi, qword [rdi]
mov r8, rdi
call fcn.1400145a0
mov byte [rbx + 0x90], 0
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x18], rsi
lea rcx, [rbx + 0x30]
xor r8d, r8d
lea rdx, [0x140063f98]
call fcn.1400022b0
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140032290
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400390dc
nop
call fcn.1400390dc
nop
call fcn.1400390dc
int3