Function at 0x140031980
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 [0x14007a040]
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 0x1400319f0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.1400025f0
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x14006db20]
lea rcx, [rsp + 0x58]
call fcn.140002d50
mov r8d, 1
lea rdx, [0x14006c378]
lea rcx, [rsp + 0x58]
call fcn.140002d50
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 0x140031a8a
mov rdx, qword [rbx + 0x70]
mov r8, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140002d50
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 0x140031b0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031c18
call fcn.140033920
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140031b4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031c1e
call fcn.140033920
movdqa xmm0, xmmword [0x1400702c0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140031ba0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031c12
call fcn.140033920
cmp qword [rdi + 0x18], 7
jbe 0x140031baa
mov rdi, qword [rdi]
mov r8, rdi
call fcn.140013a40
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, [0x140068da8]
call fcn.140002100
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140033900
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.14003a9f4
nop
call fcn.14003a9f4
nop
call fcn.14003a9f4
int3