Function at 0x140030960
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 [0x140077040]
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 0x1400309d0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140002610
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x14006ae00]
lea rcx, [rsp + 0x58]
call fcn.140002d70
mov r8d, 1
lea rdx, [0x140069568]
lea rcx, [rsp + 0x58]
call fcn.140002d70
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 0x140030a6a
mov rdx, qword [rbx + 0x70]
mov r8, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140002d70
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.140001cb0
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140030aed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030ae7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030bf8
call fcn.140032900
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140030b2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030b2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030bfe
call fcn.140032900
movdqa xmm0, xmmword [0x14006d170]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140030b80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030b7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030bf2
call fcn.140032900
cmp qword [rdi + 0x18], 7
jbe 0x140030b8a
mov rdi, qword [rdi]
mov r8, rdi
call fcn.140013a50
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, [0x140065f98]
call fcn.140002120
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400328e0
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.1400397fc
nop
call fcn.1400397fc
nop
call fcn.1400397fc
int3