Function at 0x14025b914
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, r8
mov r14, rdx
mov rsi, rcx
and qword [rsp + 0x20], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x38], 0
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14025b971
mov rdx, qword [r8]
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov edi, eax
test eax, eax
jne 0x14025ba40
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.140048750
nop
mov r8, rbx
lea rdx, str.Failed_getting_file_version___GetFileVersionInfoSize
lea rcx, [rbp + 0x70]
call fcn.1400930d4
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov r9, rbx
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.14025c144
lea rcx, [rbp + 0x70]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x50]
call fcn.1400492c0
lea rdx, [0x1402c6bb2]
mov rcx, r14
call fcn.14005d3d4
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14025bd1b
mov rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0x1000
jb 0x14025bd16
test cl, 0x1f
jne 0x14025ba39
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14025ba39
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x14025bd0a
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14005b8c8
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14025ba5a
mov rcx, qword [rbx]
mov r9, qword [rsp + 0x20]
mov r8d, edi
xor edx, edx
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW]
test eax, eax
jne 0x14025bb2a
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.140048750
nop
mov r8, rbx
lea rdx, str.Failed_getting_file_version___GetFileVersionInfo
lea rcx, [rbp + 0x70]
call fcn.1400930d4
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov r9, rbx
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.14025c144
lea rcx, [rbp + 0x70]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x50]
call fcn.1400492c0
lea rdx, [0x1402c6bb2]
mov rcx, r14
call fcn.14005d3d4
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14025bd1b
mov rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0x1000
jb 0x14025bd16
test cl, 0x1f
jne 0x14025bb23
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14025bb23
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x14025bd0a
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [0x1402cc570]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
jne 0x14025bc06
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.140048750
nop
mov r8, rbx
lea rdx, str.Failed_getting_file_version___VerQueryValue
lea rcx, [rbp + 0x70]
call fcn.1400930d4
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov r9, rbx
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.14025c144
lea rcx, [rbp + 0x70]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x50]
call fcn.1400492c0
lea rdx, [0x1402c6bb2]
mov rcx, r14
call fcn.14005d3d4
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14025bd1b
mov rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0x1000
jb 0x14025bd16
test cl, 0x1f
jne 0x14025bbff
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14025bbff
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x14025bd0a
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x50]
call fcn.14023500c
nop
mov rax, qword [rsp + 0x40]
movzx esi, word [rax + 0xc]
movzx edi, word [rax + 0xe]
movzx ebx, word [rax + 8]
movzx edx, word [rax + 0xa]
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcp_win.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]
mov rcx, rax
lea rdx, [0x1402dfde0]
call fcn.1400b2b94
mov rcx, rax
mov edx, ebx
call qword [sym.imp.msvcp_win.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]
mov rcx, rax
lea rdx, [0x1402dfde0]
call fcn.1400b2b94
mov rcx, rax
mov edx, edi
call qword [sym.imp.msvcp_win.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]
mov rcx, rax
lea rdx, [0x1402dfde0]
call fcn.1400b2b94
mov rcx, rax
mov edx, esi
call qword [sym.imp.msvcp_win.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]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140167ce0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.1401685d0
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14025bd1b
mov rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0x1000
jb 0x14025bd16
test cl, 0x1f
jne 0x14025bd0f
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14025bd0f
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14025bd0f
mov rcx, rax
jmp 0x14025bd16
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027abd8
mov rax, r14
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14027a710
add rsp, 0x1a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret