Function at 0x140054890
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov qword [rsp + 0x3c0], 0xfffffffffffffffe
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x20]
call fcn.1400021f0
nop
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x28]
call fcn.1400021f0
nop
mov rdx, qword [rsp + 0x480]
lea rcx, [rsp + 0x100]
call fcn.1401fdcc0
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0x3c8]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x28]
call fcn.140002260
nop
mov rax, qword [rsp + 0x100]
sub rax, 0x18
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x138]
call fcn.140001000
mov rax, qword [rsp + 0x28]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x140], eax
cmp dword [rsp + 0x140], 0
jne 0x140054963
mov dword [rsp + 0x3d0], 1
jmp 0x14005496e
mov dword [rsp + 0x3d0], 0
movzx eax, byte [rsp + 0x3d0]
test eax, eax
je 0x140054a49
mov r9d, 1
mov r8d, 0x104
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x108]
call fcn.1400020b0
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 8]
mov qword [rsp + 0x168], rax
xor r9d, r9d
mov r8d, 0x25
mov rdx, qword [rsp + 0x168]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x108]
call fcn.140001e20
lea rax, [0x1402ffeb0]
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0
jne 0x140054a0c
mov dword [rsp + 0x178], 0
jmp 0x140054a30
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x170]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0x178], eax
mov r8d, dword [rsp + 0x178]
lea rdx, [0x1402ffeb0]
lea rcx, [rsp + 0x28]
call fcn.140002740
xor eax, eax
cmp eax, 1
je 0x140054a5e
mov qword [rsp + 0x3d8], 0
jmp 0x140054a6a
mov qword [rsp + 0x3d8], 0
mov rcx, qword [rsp + 0x490]
call fcn.140056ab0
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
je 0x140054aa1
jmp 0x14005537d
xor eax, eax
cmp eax, 1
je 0x140054ab6
mov qword [rsp + 0x3e0], 0
jmp 0x140054ac2
mov qword [rsp + 0x3e0], 0
xor eax, eax
cmp eax, 1
je 0x140054ad7
mov qword [rsp + 0x3e8], 0
jmp 0x140054ae3
mov qword [rsp + 0x3e8], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x190]
call fcn.14002d550
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
xor eax, eax
test eax, eax
je 0x140054b2a
jmp 0x14005537d
xor eax, eax
cmp eax, 1
je 0x140054b3f
mov qword [rsp + 0x3f0], 0
jmp 0x140054b4b
mov qword [rsp + 0x3f0], 0
xor eax, eax
cmp eax, 1
je 0x140054b60
mov qword [rsp + 0x3f8], 0
jmp 0x140054b6c
mov qword [rsp + 0x3f8], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400439c0
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
xor eax, eax
test eax, eax
je 0x140054bb3
jmp 0x14005537d
mov byte [rsp + 0x60], 1
jmp 0x140054bf8
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x140054bf8
xor eax, eax
cmp eax, 1
je 0x140054bd8
mov qword [rsp + 0x400], 0
jmp 0x140054be4
mov qword [rsp + 0x400], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
add rax, 8
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x14005537d
xor eax, eax
cmp eax, 1
je 0x140054c1a
mov qword [rsp + 0x408], 0
jmp 0x140054c26
mov qword [rsp + 0x408], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x140054c45
mov dword [rsp + 0x410], 1
jmp 0x140054c50
mov dword [rsp + 0x410], 0
movzx eax, byte [rsp + 0x410]
test eax, eax
jne 0x14005537d
mov byte [rsp + 0x60], 0
xor eax, eax
test eax, eax
je 0x140054c70
jmp 0x140055378
xor eax, eax
cmp eax, 1
je 0x140054c85
mov qword [rsp + 0x418], 0
jmp 0x140054c91
mov qword [rsp + 0x418], 0
xor eax, eax
test eax, eax
jne 0x140054c91
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x68], rax
jmp 0x140054cbb
mov byte [rsp + 0x60], 1
movzx eax, byte [rsp + 0x60]
test eax, eax
jne 0x140055378
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x78]
call fcn.1400021f0
nop
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x68]
call fcn.1400553b0
movzx eax, al
test eax, eax
je 0x140054d48
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x498]
call fcn.140055800
mov qword [rsp + 0x210], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x210]
call fcn.140002260
nop
mov rax, qword [rsp + 0x78]
sub rax, 0x18
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0x218]
call fcn.140001000
jmp 0x140054cb6
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x70]
call fcn.1400021f0
nop
lea rdx, [0x14042f270]
lea rcx, [rsp + 0xa0]
call fcn.1400021f0
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.1401fd870
lea rax, [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x80]
call fcn.1400e6d30
nop
xor r9d, r9d
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.1401fd6e0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
sar rax, 3
test rax, rax
jne 0x140054f45
lea rdx, [0x14042f270]
lea rcx, [rsp + 0xa8]
call fcn.1400021f0
nop
mov rax, qword [rsp + 0x480]
mov r9, qword [rax]
mov r8, qword [rsp + 0xa0]
lea rdx, [0x1402fff20]
lea rcx, [rsp + 0xa8]
call fcn.14001bdb0
mov dword [rsp + 0x120], 2
mov dword [rsp + 0x124], 0
call fcn.1401f0280
lea r9, [rsp + 0x120]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x124]
mov rcx, rax
call fcn.14001d6d0
mov byte [rsp + 0x128], 0
mov rax, qword [rsp + 0xa8]
sub rax, 0x18
mov qword [rsp + 0x240], rax
mov rcx, qword [rsp + 0x240]
call fcn.140001000
nop
lea rcx, [rsp + 0x80]
call fcn.1400366f0
nop
mov rax, qword [rsp + 0xa0]
sub rax, 0x18
mov qword [rsp + 0x248], rax
mov rcx, qword [rsp + 0x248]
call fcn.140001000
nop
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0x250], rax
mov rcx, qword [rsp + 0x250]
call fcn.140001000
nop
mov rax, qword [rsp + 0x78]
sub rax, 0x18
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x258]
call fcn.140001000
nop
mov rax, qword [rsp + 0x28]
sub rax, 0x18
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x260]
call fcn.140001000
nop
mov rax, qword [rsp + 0x20]
sub rax, 0x18
mov qword [rsp + 0x268], rax
mov rcx, qword [rsp + 0x268]
call fcn.140001000
movzx eax, byte [rsp + 0x128]
jmp 0x1400553a2
xor eax, eax
cmp eax, 1
je 0x140054f5a
mov qword [rsp + 0x420], 0
jmp 0x140054f66
mov qword [rsp + 0x420], 0
lea rcx, [rsp + 0x80]
call fcn.140056ab0
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
xor eax, eax
test eax, eax
je 0x140054fa6
jmp 0x140055342
xor eax, eax
cmp eax, 1
je 0x140054fbb
mov qword [rsp + 0x428], 0
jmp 0x140054fc7
mov qword [rsp + 0x428], 0
xor eax, eax
cmp eax, 1
je 0x140054fdc
mov qword [rsp + 0x430], 0
jmp 0x140054fe8
mov qword [rsp + 0x430], 0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x280], rax
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x280]
call fcn.14002d550
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xc0], rax
xor eax, eax
test eax, eax
je 0x14005503b
jmp 0x140055342
xor eax, eax
cmp eax, 1
je 0x140055050
mov qword [rsp + 0x438], 0
jmp 0x14005505c
mov qword [rsp + 0x438], 0
xor eax, eax
cmp eax, 1
je 0x140055071
mov qword [rsp + 0x440], 0
jmp 0x14005507d
mov qword [rsp + 0x440], 0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x290], rax
lea rdx, [rsp + 0x288]
mov rcx, qword [rsp + 0x290]
call fcn.1400439c0
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xd0], rax
xor eax, eax
test eax, eax
je 0x1400550d0
jmp 0x140055342
mov byte [rsp + 0xe0], 1
jmp 0x140055121
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x140055121
xor eax, eax
cmp eax, 1
je 0x1400550fb
mov qword [rsp + 0x448], 0
jmp 0x140055107
mov qword [rsp + 0x448], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
add rax, 8
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x140055342
xor eax, eax
cmp eax, 1
je 0x140055146
mov qword [rsp + 0x450], 0
jmp 0x140055152
mov qword [rsp + 0x450], 0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x140055177
mov dword [rsp + 0x458], 1
jmp 0x140055182
mov dword [rsp + 0x458], 0
movzx eax, byte [rsp + 0x458]
test eax, eax
jne 0x140055342
mov byte [rsp + 0xe0], 0
xor eax, eax
test eax, eax
je 0x1400551a5
jmp 0x14005533d
xor eax, eax
cmp eax, 1
je 0x1400551ba
mov qword [rsp + 0x460], 0
jmp 0x1400551c6
mov qword [rsp + 0x460], 0
xor eax, eax
test eax, eax
jne 0x1400551c6
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0xe8], rax
jmp 0x1400551f9
mov byte [rsp + 0xe0], 1
movzx eax, byte [rsp + 0xe0]
test eax, eax
jne 0x14005533d
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
sub rax, 0x18
mov qword [rsp + 0x2a0], rax
mov rcx, qword [rsp + 0x2a0]
call fcn.1400026b0
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
add rax, 0x18
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xf0]
call fcn.140055750
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
sub rax, 0x18
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0x2c0]
call fcn.1400026b0
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2c8]
add rax, 0x18
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0xf8]
call fcn.140055750
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x2e0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0xf8]
call fcn.140053110
cmp eax, 0xffffffff
jne 0x1400552ed
lea rcx, [rsp + 0xf8]
call fcn.140203610
nop
lea rcx, [rsp + 0xf0]
call fcn.140203610
jmp 0x1400551f1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x498]
call fcn.140055800
mov qword [rsp + 0x380], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x380]
call fcn.140002260
nop
lea rcx, [rsp + 0xf8]
call fcn.140203610
nop
lea rcx, [rsp + 0xf0]
call fcn.140203610
jmp 0x1400551f1
jmp 0x1400550da
lea rcx, [rsp + 0x80]
call fcn.1400366f0
nop
lea rcx, [rsp + 0xa0]
call fcn.140203610
nop
lea rcx, [rsp + 0x70]
call fcn.140203610
nop
lea rcx, [rsp + 0x78]
call fcn.140203610
jmp 0x140054cb6
jmp 0x140054bba
mov byte [rsp + 0x129], 1
lea rcx, [rsp + 0x28]
call fcn.140203610
nop
lea rcx, [rsp + 0x20]
call fcn.140203610
movzx eax, byte [rsp + 0x129]
add rsp, 0x470
pop rdi
ret