Function at 0x14001c714
Capabilities:
Get common file path
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
lea rdi, [rcx + 0x18]
mov rsi, rcx
mov ebx, r12d
cmp qword [rdi], r12
jne 0x14001cb38
mov r13d, 0x80
mov ebx, 0x80004005
mov ecx, r13d
call fcn.14003c310
mov qword [rdi], rax
test rax, rax
je 0x14001cb3f
test dword [rsi + 4], 0xfffffffc
jne 0x14001c7c5
cmp dword [rsi + 4], 2
je 0x14001c7c5
test rdi, rdi
je 0x14001cb33
mov rcx, rax
call fcn.14003c2b8
mov ecx, 0x10
mov qword [rdi], r12
call fcn.14003c310
mov qword [rdi], rax
test rax, rax
jne 0x14001c7b9
mov ebx, 0x8007000e
jmp 0x14001cb38
lea r8, str.0.0.0.0
jmp 0x14001cb0e
mov dword [rsp + 0x44], r12d
cmp qword [rsi + 0x10], r12
je 0x14001cadc
mov ecx, 0x208
call fcn.14003c310
mov r15, rax
test rax, rax
je 0x14001cadc
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14001cacd
mov rcx, qword [rsi + 0x10]
mov edx, 0x5c
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov r14, rax
test rax, rax
je 0x14001c81d
add r14, 2
jmp 0x14001c821
mov r14, qword [rsi + 0x10]
mov rcx, r15
mov dword [rsp + 0x40], r12d
mov esi, r12d
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov r8, r14
mov edx, 0x104
mov rcx, r15
call fcn.140001584
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], r12d
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12d, eax
mov r14d, 1
test eax, eax
jne 0x14001ca14
mov rcx, r15
call fcn.140017448
xor r12d, r12d
test eax, eax
je 0x14001cacd
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov r8d, r14d
xor edx, edx
mov dword [rsp + 0x20], 3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001cacd
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov r13d, ebx
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x14001ca09
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x14001ca09
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0xac
call sub.msvcrt.dll_memset
movzx ecx, word [rsp + 0x70]
mov r13d, r12d
movzx esi, word [rsp + 0x72]
movzx eax, word [rsp + 0x76]
mov dword [rsp + 0x40], ecx
lea rcx, [rbp - 0x80]
shl esi, 0x10
or esi, eax
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x14001ca09
mov r8d, dword [rbp - 0x80]
lea r9d, [r12 + 1]
movzx eax, r8w
neg ax
test r8d, r8d
cmovg ax, r8w
movzx ecx, ax
mov eax, 0x88888889
mul ecx
movzx eax, word [rsp + 0x78]
movzx ecx, word [rsp + 0x76]
shr edx, 5
cmp r8d, r9d
jge 0x14001c957
add ax, dx
jmp 0x14001c972
cmp ax, dx
jae 0x14001c96f
mov r8d, 0xffff
add cx, r8w
mov word [rsp + 0x76], cx
add ax, 0x18
sub ax, dx
mov word [rsp + 0x78], ax
cmp ax, 0x17
jbe 0x14001c9bf
add cx, r9w
mov edx, 0xffe8
add ax, dx
mov word [rsp + 0x76], cx
mov word [rsp + 0x78], ax
cmp cx, 0x20
jne 0x14001c9bf
movzx eax, word [rsp + 0x72]
add ax, r9w
mov word [rsp + 0x76], r9w
mov word [rsp + 0x72], ax
cmp ax, 0xd
jne 0x14001c9bf
add word [rsp + 0x70], r9w
mov word [rsp + 0x72], r9w
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
movsd qword [rsp + 0x50], xmm0
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x14001ca09
movsd xmm0, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x14001ca09
movzx esi, word [rsp + 0x72]
movzx ecx, word [rsp + 0x70]
movzx eax, word [rsp + 0x76]
shl esi, 0x10
or esi, eax
mov dword [rsp + 0x40], ecx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001ca7b
mov rcx, r12
call fcn.14003c310
mov r14, rax
test rax, rax
je 0x14001caca
mov r9, rax
mov r8d, r12d
xor edx, edx
mov rcx, r15
mov r13d, ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
xor r12d, r12d
test eax, eax
je 0x14001ca73
lea r9, [rsp + 0x58]
mov rcx, r14
lea r8, [rsp + 0x68]
lea rdx, [0x140042140]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14001ca73
mov rax, qword [rsp + 0x68]
mov r13d, r12d
mov ecx, dword [rax + 8]
mov esi, dword [rax + 0xc]
mov dword [rsp + 0x40], ecx
mov rcx, r14
call fcn.14003c2b8
test r13d, r13d
js 0x14001cacd
mov edx, dword [rsp + 0x40]
lea r8, str._lu._lu._lu._lu
movzx eax, dx
shr edx, 0x10
movzx ecx, si
mov r9d, edx
mov dword [rsp + 0x30], ecx
mov edx, 0x104
shr esi, 0x10
mov rcx, r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call fcn.140001734
mov rdx, r15
mov rcx, rdi
call fcn.140016cd8
mov ebx, eax
mov dword [rsp + 0x44], 1
jmp 0x14001cacd
xor r12d, r12d
mov rcx, r15
call fcn.14003c2b8
cmp dword [rsp + 0x44], r12d
jne 0x14001cb38
test rdi, rdi
je 0x14001cb33
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001caf1
call fcn.14003c2b8
mov qword [rdi], r12
mov ecx, 0x10
call fcn.14003c310
mov qword [rdi], rax
test rax, rax
je 0x14001c7af
lea r8, str.1.0.0.0
mov edx, 8
mov rcx, rax
call fcn.140001470
mov ebx, eax
test eax, eax
jns 0x14001cb38
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001cb38
call fcn.14003c2b8
mov qword [rdi], r12
jmp 0x14001cb38
mov ebx, 0x80004003
not ebx
shr ebx, 0x1f
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14003c6c0
lea r11, [rsp + 0x140]
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