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

Disassembly:
mov dword [rsp + 0x20], r9d
mov word [rsp + 0x18], r8w
mov byte [rsp + 0x10], dl
mov word [rsp + 8], cx
sub rsp, 0x3d8
movabs rax, 0xbd25f8e86295315
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x41], 0xf7
movabs rax, 0x4e6e7d46fee0cc14
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x3e8]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x41]
cmp eax, 0xe
jle 0x140154478
lea rax, [rsp + 0x3e8]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x8c], al
cmp byte [rsp + 0x8c], 2
je 0x1401541ab
jmp 0x140154253
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x90], al
cmp byte [rsp + 0x90], 0x6b
je 0x1401541c6
jmp 0x1401541c8
jmp 0x14015420d
mov r8d, 1
mov edx, 0x86
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_PrepareTape]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x40]
add eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x68], eax
mov ecx, dword [rsp + 0x44]
call fcn.140153e90
nop
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x3e8], al
movsx eax, byte [rsp + 0x40]
movsx ecx, byte [rsp + 0x3e8]
sub eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
movzx r8d, word [rsp + 0x3e0]
mov edx, 0xcd
movzx ecx, word [rsp + 0x3f0]
call fcn.1401539e0
nop
jmp 0x1401543e7
movabs rax, 0x4d5c84ad122a374b
cmp qword [rsp + 0x58], rax
je 0x140154358
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x40]
add eax, ecx
movsx ecx, byte [rsp + 0x3e8]
cmp eax, ecx
jl 0x140154338
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x14015429b
jmp 0x140154324
movsx eax, word [rsp + 0x3f0]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1401542b0
jmp 0x140154314
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
movabs rax, 0x5a40dcd5850a1f29
cmp qword [rsp + 0xb8], rax
je 0x1401542d3
jmp 0x1401542f8
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x42], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
movzx eax, word [rsp + 0x3f0]
mov word [rsp + 0x50], ax
jmp 0x140154312
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x60]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0xa0]
mov dword [rcx], eax
jmp 0x140154322
movzx eax, byte [rsp + 0x41]
sub eax, 0xb5
mov byte [rsp + 0x42], al
jmp 0x140154336
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetNumberOfConsoleMouseButtons]
mov dword [rsp + 0xb4], eax
jmp 0x140154353
movabs rax, 0x2e5415ba8c7c33cb
cmp qword [rsp + 0x58], rax
jne 0x140154353
mov ecx, dword [rsp + 0x68]
call fcn.140153e90
nop
jmp 0x1401543da
movsx eax, word [rsp + 0x50]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x6afa
je 0x14015436d
jmp 0x1401543cb
movsx eax, byte [rsp + 0x40]
movsx ecx, byte [rsp + 0x3e8]
add eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x3e8]
sar eax, cl
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x3e8]
xor eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
jmp 0x1401543da
mov ecx, 0xd0
call qword [sym.imp.KERNEL32.dll_SetUserGeoID]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x64]
shr eax, 0xce
cmp eax, dword [rsp + 0x44]
jbe 0x14015440a
movsx eax, byte [rsp + 0x3e8]
movsx ecx, byte [rsp + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
movsx eax, byte [rsp + 0x40]
movsx ecx, byte [rsp + 0x3e8]
xor eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x78], al
cmp byte [rsp + 0x78], 0x40
je 0x140154432
jmp 0x140154434
jmp 0x14015444b
mov edx, 0x38
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov dword [rsp + 0x7c], eax
movzx eax, byte [rsp + 0x41]
shl eax, 7
mov byte [rsp + 0x41], al
movzx r8d, word [rsp + 0x3e0]
mov edx, 0xfb
movzx ecx, word [rsp + 0x3e0]
call fcn.1401539e0
nop
jmp 0x1401544fb
movabs rax, 0x7ea20c21aa748fec
cmp qword [rsp + 0x58], rax
jne 0x1401544fb
movabs rax, 0x5c87a96c274e9492
mov rcx, qword [rsp + 0x58]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xb74ddc47
je 0x1401544bd
jmp 0x1401544d7
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x41]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
mov dword [rsp + 0xb0], eax
mov ecx, dword [rsp + 0x44]
call fcn.140153e90
nop
mov r9d, dword [rsp + 0x3f8]
movzx r8d, word [rsp + 0x3e0]
movzx edx, byte [rsp + 0x40]
movzx ecx, word [rsp + 0x3f0]
call fcn.140154120
movsx eax, byte [rsp + 0x3e8]
sub eax, 0xa
mov byte [rsp + 0x40], al
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xa8]
lea rdx, str.Trekked_fendersApproach
mov ecx, 0xa1
call sub.VERSION.dll_VerFindFileW
mov dword [rsp + 0x44], eax
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x84], al
cmp byte [rsp + 0x84], 0x88
je 0x14015459b
jmp 0x1401545ac
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x3e8], al
jmp 0x140154649
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0x98]
lea rdx, str.WedsScalding
mov ecx, 0x24
call sub.VERSION.dll_VerFindFileW
mov dword [rsp + 0x64], eax
mov r9d, dword [rsp + 0x3f8]
movzx r8d, word [rsp + 0x3e0]
movzx edx, byte [rsp + 0x40]
movzx ecx, word [rsp + 0x3e0]
call fcn.140154120
lea r9, [rsp + 0x58]
mov r8d, 0xfe
mov edx, 0x7b
mov rcx, qword [rsp + 0xc8]
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [rsp + 0x88], eax
mov eax, 0xc7
add rsp, 0x3d8
ret