Function at 0x14003f040
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 [0x140087048]
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 0x14003f0b0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.1400076b0
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x1400790c0]
lea rcx, [rsp + 0x58]
call fcn.1400072f0
mov r8d, 1
lea rdx, [0x140072f34]
lea rcx, [rsp + 0x58]
call fcn.1400072f0
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], 8
jb 0x14003f14a
mov rdx, qword [rbx + 0x70]
mov r8, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400072f0
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.140006e20
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14003f1cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f1c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f2e0
call fcn.1400411c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14003f20f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f20a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f2e6
call fcn.1400411c0
movdqa xmm0, xmmword [0x14007c270]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14003f260
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f25b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f2da
call fcn.1400411c0
cmp qword [rdi + 0x18], 8
jb 0x14003f26a
mov rdi, qword [rdi]
mov r8, rdi
mov ecx, 0xf3
call fcn.140020df0
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]
cmp qword [rbx + 0x48], 8
jb 0x14003f2a7
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0x40], rsi
mov word [rcx], si
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400411a0
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.140047c14
nop
call fcn.140047c14
nop
call fcn.140047c14
int3