Function at 0x140039a3c
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.140079260
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.140029394
nop
lea rcx, [rbp + 0x70]
call fcn.140050e18
test eax, eax
je 0x140039ac8
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14003c3e8
mov rbx, qword [rdi + 0x32c0]
cmp rbx, qword [rdi + 0x32c8]
je 0x140039cce
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 0x140039af1
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, [0x1400ab958]
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 0x140039bea
mov rdx, r12
lea rcx, [rbp + 0x2a0]
call fcn.14005e544
test rax, 0xfffffffffffffbff
je 0x140039bea
cmp byte [rbp + rax + 0x29f], 0x5c
jne 0x140039bcc
lea rcx, [rax - 1]
mov rax, rcx
cmp rcx, r12
jae 0x140039dd2
mov byte [rbp + rcx + 0x2a0], r15b
mov r8, rax
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x188]
call fcn.140077068
test eax, eax
je 0x140039cba
inc esi
add r14, 4
cmp esi, 2
jb 0x140039b72
lea rcx, [rbp + 0x188]
call fcn.14001256c
mov rsi, rax
test rax, rax
je 0x140039cba
or r8d, 0xffffffff
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400293e4
nop
mov rcx, rsi
call fcn.140028010
mov rax, qword [rsp + 0x38]
mov rsi, qword [rax + 8]
mov r14, rax
cmp byte [rsi + 0x19], r15b
jne 0x140039c6e
lea rcx, [rsp + 0x60]
call fcn.140029560
mov rdx, rax
lea rcx, [rsi + 0x20]
call fcn.14002994c
test al, al
je 0x140039c5d
mov rsi, qword [rsi + 0x10]
jmp 0x140039c63
mov r14, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], r15b
je 0x140039c3d
mov rax, qword [rsp + 0x38]
cmp byte [r14 + 0x19], r15b
jne 0x140039c93
lea rcx, [r14 + 0x20]
call fcn.140029560
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14002994c
test al, al
mov rax, qword [rsp + 0x38]
je 0x140039c96
mov r14, rax
cmp rax, r14
jne 0x140039cb0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14003c3e8
nop
lea rcx, [rsp + 0x60]
call fcn.1400294e0
add rbx, 0x11c
cmp rbx, qword [rdi + 0x32c8]
jne 0x140039ae2
cmp qword [rsp + 0x40], r15
jne 0x140039ce4
mov dword [rdi + 0x28e8], 0x32c9
jmp 0x140039d8c
mov sil, 1
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140039d5d
lea r8, [rbx + 0x20]
lea rdx, [rdi + 0x2460]
lea rcx, [rsp + 0x30]
call fcn.140028d1c
movzx esi, sil
test eax, eax
cmovne esi, r15d
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r15b
je 0x140039d3b
mov rax, qword [rbx + 8]
jmp 0x140039d30
cmp rbx, qword [rax + 0x10]
jne 0x140039d36
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r15b
je 0x140039d23
mov rbx, rax
jmp 0x140039d56
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r15b
jne 0x140039d56
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r15b
je 0x140039d47
cmp rbx, qword [rsp + 0x38]
jne 0x140039cf4
test sil, sil
je 0x140039d82
mov dword [rdi + 8], 0x7d0
call fcn.1400350e4
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [0x1400beb24], 1
jmp 0x140039d93
mov dword [rdi + 0x28e8], 0x32ca
mov dword [rdi + 8], 0x3ed
lea rcx, [rbp + 0x70]
call fcn.1400294e0
nop
lea rcx, [rsp + 0x38]
call 0x14003bec0
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.140079240
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.140079634
nop
jmp 0x14003bec0
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 0x14003bf1c
mov r8, qword [rsi + 0x10]
mov rdx, rdi
mov rcx, rdi
call fcn.14003c798
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.0x14002b511.0]
mov edx, 0x130
mov rcx, rbx
call fcn.140028010
cmp byte [rsi + 0x19], 0
je 0x14003bedf
mov rcx, qword [rdi]
mov edx, 0x130
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140028010