Function at 0x140126db0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
add rcx, 0x660
cmp rdx, rcx
jne 0x1401272e0
xor edx, edx
call fcn.140286e80
lea rdx, [r14 + 0x530]
lea rcx, [rsp + 0x50]
call fcn.14001f330
nop
mov edx, r12d
movsxd rax, dword [rsp + 0x5c]
mov rdi, qword [rsp + 0x50]
lea rsi, [rdi + rax*8]
mov rcx, rdi
cmp rdi, rsi
je 0x1401272bd
nop dword [rax]
mov eax, dword [rcx + 4]
sub eax, dword [rcx]
add edx, eax
add rcx, 8
cmp rcx, rsi
jne 0x140126e40
test edx, edx
jle 0x1401272bd
lea rcx, [r14 + 0x558]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x58]
mov dl, 1
mov rcx, qword [r14 - 0xb0]
call fcn.1402857e0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov eax, r12d
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x3c], eax
mov r15d, r12d
mov r13, 0xffffffffffffffff
lea r8, [0x140379908]
mov r9d, 4
mov edx, r12d
mov rcx, rdi
cmp rdi, rsi
je 0x140126ec0
nop dword [rax]
mov eax, dword [rcx + 4]
sub eax, dword [rcx]
add edx, eax
add rcx, 8
cmp rcx, rsi
jne 0x140126eb0
cmp r15d, edx
jge 0x140127020
mov ecx, r12d
cmp rdi, rsi
je 0x140126eea
mov ebx, dword [rdi]
mov eax, dword [rdi + 4]
sub eax, ebx
add eax, ecx
cmp r15d, eax
jl 0x140126f45
mov ecx, eax
add rdi, 8
cmp rdi, rsi
jne 0x140126ed1
mov ebx, r12d
mov edx, r9d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140444c40], eax
jg 0x140127310
jmp 0x140126f14
lea r8, [0x140379908]
test ebx, ebx
js 0x140126f4c
cmp ebx, dword [0x1404446c4]
jge 0x140126f4c
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [0x1404446b8]
call fcn.14000cb10
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
jmp 0x140126f5f
sub ebx, ecx
add ebx, r15d
jmp 0x140126eed
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov rbx, r8
mov qword [rsp + 0x68], rbx
mov rdi, r8
mov ecx, dword [rsp + 0x20]
inc ecx
cmp ecx, dword [rsp + 0x38]
jle 0x140126f8e
mov eax, ecx
test ecx, ecx
jns 0x140126f74
lea eax, [rcx + 1]
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
lea rcx, [rsp + 0x30]
call fcn.1400082a0
mov ecx, dword [rsp + 0x3c]
jmp 0x140126f92
mov ecx, dword [rsp + 0x20]
lea eax, [rcx + 1]
mov dword [rsp + 0x3c], eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x30]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], rbx
mov dword [rax + rcx*8 + 0x10], r14d
mov eax, dword [0x1403798f8]
nop
test eax, 0x30000000
jne 0x140126fdf
mov eax, r13d
lock xadd dword [0x1403798f8], eax
dec eax
cmp eax, r13d
jne 0x140126fdf
lea rcx, [0x1403798f8]
call fcn.1400da0f0
mov eax, dword [0x1403798f8]
nop
test eax, 0x30000000
jne 0x14012700b
mov eax, r13d
lock xadd dword [0x1403798f8], eax
dec eax
cmp eax, r13d
jne 0x14012700b
lea rcx, [0x1403798f8]
call fcn.1400da0f0
inc r15d
mov rdi, qword [rsp + 0x50]
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
jmp 0x140126e94
call fcn.140003070
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14013fa60
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.1400055b0
mov rcx, qword [rsp + 0x30]
call fcn.1400e0818
test bl, bl
je 0x1401272b8
lea rdx, str.Presets_are_exported_successfully_
lea rcx, [rsp + 0x20]
call fcn.140019df0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14017f4e0
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140127099
mov eax, r13d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140127099
call fcn.1400da0f0
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.140005bf0
xor r9d, r9d
mov r8d, 5
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140127108
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.14001a140
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140178d10
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140127114
mov eax, r13d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140127114
call fcn.1400da0f0
jmp 0x140127114
lea rax, [0x140379908]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14017e080
mov rsi, rax
mov qword [rsp + 0x40], rax
mov edi, 1
lea rcx, [0x1402d4ce0]
mov r9d, 0xdc00
mov r10d, 4
movzx eax, word [rcx]
test ax, ax
je 0x1401271a9
add rcx, 2
lea edx, [rax - 0xd800]
cmp edx, 0x7ff
ja 0x14012717b
movzx r8d, word [rcx]
cmp r8w, r9w
jb 0x14012717b
mov eax, r8d
sub eax, r9d
shl edx, 0xa
or eax, edx
add eax, 0x10000
add rcx, 2
mov edx, 1
cmp eax, 0x80
jb 0x1401271a1
mov edx, 2
cmp eax, 0x800
jb 0x1401271a1
mov edx, 3
cmp eax, 0x10000
cmovae rdx, r10
add r12, rdx
inc rdi
jmp 0x140127143
test r12, r12
je 0x1401271e8
mov rax, qword [rsi]
mov rbx, r13
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401271b4
lea rdx, [rbx + r12]
mov rcx, rsi
call fcn.14016a9f0
movsxd rax, ebx
add rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov r8d, edi
lea rdx, [0x1402d4ce0]
lea rcx, [rsp + 0x40]
call fcn.14001cb60
mov rcx, qword [rsi]
mov qword [rsp + 0x40], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x1401271ff
lock inc dword [rcx - 0x10]
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140127224
mov eax, r13d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140127224
call fcn.1400da0f0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140178d10
nop
lea rcx, [rsp + 0x28]
call fcn.14017e210
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140127266
mov eax, r13d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140127266
call fcn.1400da0f0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012728d
mov eax, r13d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012728d
call fcn.1400da0f0
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x1401272b3
lock xadd dword [rcx], r13d
dec r13d
cmp r13d, 0xffffffff
jne 0x1401272b3
call fcn.1400da0f0
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [r14 - 0xb0]
call fcn.140280120
mov rcx, qword [r14 - 0xb0]
call fcn.140285930
nop
mov rcx, rdi
call fcn.1400e0818
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400d9d70
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x140444c40]
call fcn.1400d9e38
cmp dword [0x140444c40], r13d
jne 0x140126f0d
call fcn.140144420
lea rcx, [0x1402b8380]
call fcn.1400da0d8
lea rcx, [0x140444c40]
call fcn.1400d9dcc
nop
jmp 0x140126f0d