Function at 0x14005a2ec
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5d8
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov qword [rsp + 0xb8], r9
mov rbx, r8
mov rbp, rdx
mov rsi, rcx
mov r15, qword [rsp + 0x640]
xor r12d, r12d
cmp rcx, r12
je 0x14005acef
cmp r15, r12
je 0x14005acef
lea ecx, [r12 + 8]
call fcn.140061238
cmp rax, r12
je 0x14005a368
lea rcx, [rsp + 0x80]
mov qword [rax], rcx
jmp 0x14005a36b
mov rax, r12
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x80]
call fcn.140005ed4
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], r12
mov r14d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea r13d, [r14 - 0xe]
cmp rbx, r12
je 0x14005a5b8
mov rcx, rbx
call fcn.1400980d0
cmp rax, r12
jbe 0x14005a5b8
mov qword [rsp + 0x170], r14
mov qword [rsp + 0x168], r12
mov byte [rsp + 0x158], r12b
mov rcx, rbx
call fcn.1400980d0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.14000352c
nop
or rdi, 0xffffffffffffffff
mov rbx, rdi
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x140], r12
mov byte [rsp + 0x130], r12b
mov rcx, rbp
call fcn.1400980d0
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x128]
call fcn.14000352c
nop
lea rcx, [0x1400c6360]
call fcn.1400980d0
mov r8, rax
lea rdx, [0x1400c6360]
lea rcx, [rsp + 0x128]
call fcn.14000627c
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x100]
call fcn.140002458
nop
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x150]
call fcn.140006a00
nop
mov r9, rdi
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.140002458
nop
cmp qword [rsp + 0xf8], 0x10
jb 0x14005a4c5
mov rcx, qword [rsp + 0xe0]
call fcn.14006127c
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x100]
call fcn.140006164
mov rdi, qword [rsp + 0xa8]
lea r9, [rsp + 0x100]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.14000739c
mov rbx, rax
mov rdx, r13
lea rcx, [rsp + 0x80]
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
lea rcx, [0x1400c6360]
call fcn.1400980d0
mov r9, rax
or rdi, 0xffffffffffffffff
mov r8, rdi
lea rdx, [0x1400c6360]
lea rcx, [rsp + 0x150]
call fcn.140005cbc
mov rbx, rax
cmp qword [rsp + 0x120], 0x10
jb 0x14005a567
mov rcx, qword [rsp + 0x108]
call fcn.14006127c
cmp rbx, rdi
jne 0x14005a446
cmp qword [rsp + 0x148], 0x10
jb 0x14005a588
mov rcx, qword [rsp + 0x130]
call fcn.14006127c
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x140], r12
mov byte [rsp + 0x130], r12b
cmp qword [rsp + 0x170], 0x10
jb 0x14005a5b8
mov rcx, qword [rsp + 0x158]
call fcn.14006127c
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
mov rcx, rbp
call fcn.1400980d0
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x100]
call fcn.14000352c
nop
mov rdi, qword [rsp + 0xa8]
lea r9, [rsp + 0x100]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.14000739c
mov rbx, rax
mov rdx, r13
lea rcx, [rsp + 0x80]
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rdx, qword [rbx + 8]
mov qword [rdx], rbx
cmp qword [rsp + 0x120], 0x10
jb 0x14005a646
mov rcx, qword [rsp + 0x108]
call fcn.14006127c
mov ecx, 8
call fcn.140061238
cmp rax, r12
je 0x14005a65f
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x14005a662
mov rax, r12
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140005ed4
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r12
lea rdx, [0x1400d276c]
mov rcx, rsi
call fcn.140099250
cmp rax, r12
jne 0x14005a968
lea rdx, [0x1400c985c]
mov rcx, rsi
call fcn.140099250
cmp rax, r12
jne 0x14005a968
mov byte [rsp + 0x180], r12b
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x181]
call fcn.1400988d0
mov ebp, 0x104
mov r8d, ebp
lea rdx, [rsp + 0x3a0]
xor ecx, ecx
call fcn.140054f00
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3a0]
lea r8, [0x1400c63b8]
mov rdx, rbp
lea rcx, [rsp + 0x180]
call fcn.14009841c
mov edx, ebp
lea rcx, [rsp + 0x180]
call fcn.14001dc18
cmp eax, r12d
je 0x14005a7ad
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
lea rcx, [rsp + 0x180]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x100]
call fcn.14000352c
nop
mov rax, qword [rsp + 0x58]
mov rdi, qword [rax]
lea r9, [rsp + 0x100]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000739c
mov rbx, rax
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x120], 0x10
jb 0x14005a7ad
mov rcx, qword [rsp + 0x108]
call fcn.14006127c
lea rdx, [rsp + 0x290]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x290]
lea r8, [0x1400c63b8]
mov rdx, rbp
lea rcx, [rsp + 0x180]
call fcn.14009841c
mov edx, ebp
lea rcx, [rsp + 0x180]
call fcn.14001dc18
cmp eax, r12d
je 0x14005a88b
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
lea rcx, [rsp + 0x180]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x100]
call fcn.14000352c
nop
mov rax, qword [rsp + 0x58]
mov rdi, qword [rax]
lea r9, [rsp + 0x100]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000739c
mov rbx, rax
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x120], 0x10
jb 0x14005a88b
mov rcx, qword [rsp + 0x108]
call fcn.14006127c
mov edx, ebp
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x4b0]
lea r8, [0x1400c63b8]
mov rdx, rbp
lea rcx, [rsp + 0x180]
call fcn.14009841c
mov edx, ebp
lea rcx, [rsp + 0x180]
call fcn.14001dc18
cmp eax, r12d
je 0x14005aa01
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
mov rcx, rsi
call fcn.1400980d0
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.14000352c
nop
mov rax, qword [rsp + 0x58]
mov rdi, qword [rax]
lea r9, [rsp + 0x100]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000739c
mov rbx, rax
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x120], 0x10
jb 0x14005aa01
mov rcx, qword [rsp + 0x108]
call fcn.14006127c
jmp 0x14005aa01
mov rcx, rsi
call fcn.14000bbb0
cmp eax, r12d
je 0x14005aa01
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x118], r12
mov byte [rsp + 0x108], r12b
mov rcx, rsi
call fcn.1400980d0
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.14000352c
nop
mov rax, qword [rsp + 0x58]
mov rdi, qword [rax]
lea r9, [rsp + 0x100]
mov r8, qword [rdi + 8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000739c
mov rbx, rax
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x120], 0x10
jb 0x14005aa01
mov rcx, qword [rsp + 0x108]
call fcn.14006127c
cmp qword [rsp + 0x60], r12
jne 0x14005aa34
lea rcx, [rsp + 0x30]
call fcn.140007328
mov rcx, qword [rsp + 0x58]
call fcn.14006127c
mov qword [rsp + 0x58], r12
mov rcx, qword [rsp + 0x30]
call fcn.14006127c
nop
mov r13d, r12d
jmp 0x14005ac64
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rbx]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov r14d, dword [rsp + 0x648]
mov rbp, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
cmp rbp, r12
je 0x14005aa78
cmp rbp, rax
je 0x14005aa7d
call fcn.14009861c
cmp rdi, rbx
je 0x14005ac98
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xc0], xmm0
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x58]
test rsi, rsi
je 0x14005aacc
cmp rsi, qword [rsp + 0x30]
je 0x14005aad1
call fcn.14009861c
cmp rbx, r12
je 0x14005ac07
test rsi, rsi
jne 0x14005aae9
call fcn.14009861c
xor r11d, r11d
jmp 0x14005aaec
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x28]
jne 0x14005aaf7
call fcn.14009861c
cmp qword [rbx + 0x30], 0x10
jb 0x14005ab04
mov r12, qword [rbx + 0x18]
jmp 0x14005ab08
lea r12, [rbx + 0x18]
test rbp, rbp
jne 0x14005ab17
call fcn.14009861c
xor r11d, r11d
jmp 0x14005ab1b
mov r11, qword [rbp]
cmp rdi, qword [r11 + 0x28]
jne 0x14005ab26
call fcn.14009861c
cmp qword [rdi + 0x30], 0x10
jb 0x14005ab33
mov r8, qword [rdi + 0x18]
jmp 0x14005ab37
lea r8, [rdi + 0x18]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0xb8]
lea rdx, str.GetValueByQualifier__s___s___s___d__n
lea rcx, [0x14010f570]
call fcn.14004b9f0
test rsi, rsi
jne 0x14005ab6b
call fcn.14009861c
xor r11d, r11d
jmp 0x14005ab6e
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x28]
jne 0x14005ab79
call fcn.14009861c
cmp qword [rbx + 0x30], 0x10
jb 0x14005ab86
mov r12, qword [rbx + 0x18]
jmp 0x14005ab8a
lea r12, [rbx + 0x18]
test rbp, rbp
jne 0x14005ab99
call fcn.14009861c
xor r11d, r11d
jmp 0x14005ab9d
mov r11, qword [rbp]
cmp rdi, qword [r11 + 0x28]
jne 0x14005aba8
call fcn.14009861c
cmp qword [rdi + 0x30], 0x10
jb 0x14005abb5
mov rcx, qword [rdi + 0x18]
jmp 0x14005abb9
lea rcx, [rdi + 0x18]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r14d
mov r9, r15
lea r8, [0x1400c49dc]
mov rdx, qword [rsp + 0xb8]
call fcn.14005a2bc
xor r12d, r12d
cmp eax, r12d
ja 0x14005ac40
cmp rsi, r12
jne 0x14005abf1
call fcn.14009861c
mov r11, r12
jmp 0x14005abf4
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x28]
jne 0x14005abff
call fcn.14009861c
mov rbx, qword [rbx]
jmp 0x14005aabb
xor r12d, r12d
cmp rbp, r12
jne 0x14005ac19
call fcn.14009861c
mov r11, r12
jmp 0x14005ac1d
mov r11, qword [rbp]
cmp rdi, qword [r11 + 0x28]
jne 0x14005ac28
call fcn.14009861c
mov rdi, qword [rdi]
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x80]
jmp 0x14005aa6e
lea rcx, [rsp + 0x30]
call fcn.140007328
mov rcx, qword [rsp + 0x58]
call fcn.14006127c
mov qword [rsp + 0x58], r12
mov rcx, qword [rsp + 0x30]
call fcn.14006127c
nop
lea rcx, [rsp + 0x80]
call fcn.140007328
mov rcx, qword [rsp + 0xa8]
call fcn.14006127c
mov qword [rsp + 0xa8], r12
mov rcx, qword [rsp + 0x80]
call fcn.14006127c
mov eax, r13d
jmp 0x14005acf1
lea rcx, [rsp + 0x30]
call fcn.140007328
mov rcx, qword [rsp + 0x58]
call fcn.14006127c
mov qword [rsp + 0x58], r12
mov rcx, qword [rsp + 0x30]
call fcn.14006127c
nop
lea rcx, [rsp + 0x80]
call fcn.140007328
mov rcx, qword [rsp + 0xa8]
call fcn.14006127c
mov qword [rsp + 0xa8], r12
mov rcx, qword [rsp + 0x80]
call fcn.14006127c
xor eax, eax
jmp 0x14005acf1
xor eax, eax
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.140061100
add rsp, 0x5d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret