Function at 0x140017f50
Capabilities:
Get file version info

Disassembly:
sub rsp, 0x168
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x148]
lea rcx, [0x1404cd6b8]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140017fb3
lea rdx, [0x1404cd6d8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ee00
lea rdx, [0x14000f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400182ac
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.14036c728
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x148]
lea rcx, [0x1404cd6f0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140018019
lea rdx, [0x1404cd710]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ee00
lea rdx, [0x14000f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400182ac
lea r9, [rsp + 0x14c]
lea r8, [rsp + 0x140]
lea rdx, [0x1404cd728]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x140018062
lea rdx, str.Unable_to_obtain_the_file_version_number
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ee00
lea rdx, [0x14000f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 8]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0xc]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0xc]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x30], eax
mov ecx, 0x40
call fcn.14036c0f8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400180f2
mov rcx, qword [rsp + 0x48]
call fcn.140017f10
mov qword [rsp + 0x50], rax
jmp 0x1400180fb
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [0x1404cd768]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ee00
mov edx, dword [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1404cd760]
mov rcx, rax
call fcn.14000ee00
mov edx, dword [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1404cd75c]
mov rcx, rax
call fcn.14000ee00
mov edx, dword [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1404cd72c]
mov rcx, rax
call fcn.14000ee00
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14000f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x100]
call fcn.14000fe20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.14000fe20
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [0x1404cd764]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.1400235e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xa0]
call fcn.140023790
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.14001dc40
lea rcx, [rsp + 0xa0]
call fcn.14000e1e0
nop
lea rcx, [rsp + 0xc0]
call fcn.14000e1e0
nop
lea rcx, [rsp + 0xe0]
call fcn.14000e1e0
nop
lea rcx, [rsp + 0x100]
call fcn.14000e1e0
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x120]
call fcn.14000fe20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call fcn.14001dc40
lea rcx, [rsp + 0x120]
call fcn.14000e1e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14036c0d0
add rsp, 0x168
ret