Function at 0x1402f5960
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rdx
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1402f59c8
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]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x1402f5ab9
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r15w
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.140055574
nop
mov r8, rbx
lea rdx, str.Failed_getting_file_version___GetFileVersionInfoSize
lea rcx, [rbp + 0x70]
call fcn.1400a88b0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov r9, rbx
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.1402f624c
lea rcx, [rbp + 0x70]
call fcn.140055f70
nop
lea rcx, [rbp + 0x50]
call fcn.140055f70
lea rdx, [0x1403c55d2]
mov rcx, rdi
call fcn.140072838
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1402f5db6
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402f5db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f5db1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400708ec
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1402f5ad3
mov rcx, qword [rbx]
mov r9, qword [rsp + 0x28]
mov r8d, esi
xor edx, edx
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x1402f5bc5
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r15w
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.140055574
nop
mov r8, rbx
lea rdx, str.Failed_getting_file_version___GetFileVersionInfo
lea rcx, [rbp + 0x70]
call fcn.1400a88b0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov r9, rbx
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.1402f624c
lea rcx, [rbp + 0x70]
call fcn.140055f70
nop
lea rcx, [rbp + 0x50]
call fcn.140055f70
lea rdx, [0x1403c55d2]
mov rcx, rdi
call fcn.140072838
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1402f5db6
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402f5db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f5db1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
lea rdx, [0x1403ce9d8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1402f5cc3
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r15w
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.140055574
nop
mov r8, rbx
lea rdx, str.Failed_getting_file_version___VerQueryValue
lea rcx, [rbp + 0x70]
call fcn.1400a88b0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov r9, rbx
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.1402f624c
lea rcx, [rbp + 0x70]
call fcn.140055f70
nop
lea rcx, [rbp + 0x50]
call fcn.140055f70
lea rdx, [0x1403c55d2]
mov rcx, rdi
call fcn.140072838
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1402f5db6
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402f5db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f5db1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x50]
call fcn.1402adf98
nop
mov rax, qword [rsp + 0x20]
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]
nop dword [rax + rax]
lea rbx, [0x1403e5a30]
mov rdx, rbx
mov rcx, rax
call fcn.1400d8638
mov rcx, qword [rsp + 0x20]
movzx edx, word [rcx + 8]
mov rcx, rax
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]
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rax
call fcn.1400d8638
mov rcx, qword [rsp + 0x20]
movzx edx, word [rcx + 0xe]
mov rcx, rax
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]
nop dword [rax + rax]
mov rdx, rbx
mov rcx, rax
call fcn.1400d8638
mov rcx, qword [rsp + 0x20]
movzx edx, word [rcx + 0xc]
mov rcx, rax
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]
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14019e9ac
nop
lea rcx, [rsp + 0x50]
call fcn.1402acaa0
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1402f5db6
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402f5db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f5db1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret