Function at 0x140039b1c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x6b0]
sub rsp, 0x7b0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov ecx, 0x130
call fcn.1400793f0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x70]
call fcn.140029414
nop
lea rcx, [rbp + 0x70]
call fcn.140050fa8
test eax, eax
je 0x140039ba8
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14003c4c8
mov rbx, qword [rdi + 0x32c0]
cmp rbx, qword [rdi + 0x32c8]
je 0x140039dae
mov r12d, 0x400
mov rcx, rbx
lea rdx, [rbp + 0x180]
mov eax, 2
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rax, 1
jne 0x140039bd1
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov eax, dword [rcx + 0x18]
mov dword [rdx + 0x18], eax
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x2a0]
call main
mov esi, r15d
lea r14, [0x1400ab9c8]
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [r14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x140039cca
mov rdx, r12
lea rcx, [rbp + 0x2a0]
call fcn.14005e6d4
test rax, 0xfffffffffffffbff
je 0x140039cca
cmp byte [rbp + rax + 0x29f], 0x5c
jne 0x140039cac
lea rcx, [rax - 1]
mov rax, rcx
cmp rcx, r12
jae 0x140039eb2
mov byte [rbp + rcx + 0x2a0], r15b
mov r8, rax
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x188]
call fcn.1400771f8
test eax, eax
je 0x140039d9a
inc esi
add r14, 4
cmp esi, 2
jb 0x140039c52
lea rcx, [rbp + 0x188]
call fcn.14001256c
mov rsi, rax
test rax, rax
je 0x140039d9a
or r8d, 0xffffffff
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140029464
nop
mov rcx, rsi
call fcn.140028090
mov rax, qword [rsp + 0x38]
mov rsi, qword [rax + 8]
mov r14, rax
cmp byte [rsi + 0x19], r15b
jne 0x140039d4e
lea rcx, [rsp + 0x60]
call fcn.1400295e0
mov rdx, rax
lea rcx, [rsi + 0x20]
call fcn.1400299cc
test al, al
je 0x140039d3d
mov rsi, qword [rsi + 0x10]
jmp 0x140039d43
mov r14, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], r15b
je 0x140039d1d
mov rax, qword [rsp + 0x38]
cmp byte [r14 + 0x19], r15b
jne 0x140039d73
lea rcx, [r14 + 0x20]
call fcn.1400295e0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400299cc
test al, al
mov rax, qword [rsp + 0x38]
je 0x140039d76
mov r14, rax
cmp rax, r14
jne 0x140039d90
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14003c4c8
nop
lea rcx, [rsp + 0x60]
call fcn.140029560
add rbx, 0x11c
cmp rbx, qword [rdi + 0x32c8]
jne 0x140039bc2
cmp qword [rsp + 0x40], r15
jne 0x140039dc4
mov dword [rdi + 0x28e8], 0x32c9
jmp 0x140039e6c
mov sil, 1
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140039e3d
lea r8, [rbx + 0x20]
lea rdx, [rdi + 0x2460]
lea rcx, [rsp + 0x30]
call fcn.140028d9c
movzx esi, sil
test eax, eax
cmovne esi, r15d
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
je 0x140039e1b
mov rax, qword [rbx + 8]
jmp 0x140039e10
cmp rbx, qword [rax + 0x10]
jne 0x140039e16
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x140039e03
mov rbx, rax
jmp 0x140039e36
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r15b
jne 0x140039e36
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r15b
je 0x140039e27
cmp rbx, qword [rsp + 0x38]
jne 0x140039dd4
test sil, sil
je 0x140039e62
mov dword [rdi + 8], 0x7d0
call fcn.140035168
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [0x1400beb24], 1
jmp 0x140039e73
mov dword [rdi + 0x28e8], 0x32ca
mov dword [rdi + 8], 0x3ed
lea rcx, [rbp + 0x70]
call fcn.140029560
nop
lea rcx, [rsp + 0x38]
call 0x14003bfa0
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0x7b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400797c4
nop
jmp 0x14003bfa0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], 0
jne 0x14003bffc
mov r8, qword [rsi + 0x10]
mov rdx, rdi
mov rcx, rdi
call fcn.14003c878
mov rbx, rsi
xor edx, edx
mov rsi, qword [rsi]
lea rcx, [rbx + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14002b591.0]
mov edx, 0x130
mov rcx, rbx
call fcn.140028090
cmp byte [rsi + 0x19], 0
je 0x14003bfbf
mov rcx, qword [rdi]
mov edx, 0x130
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140028090