Function at 0x1400919d0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x20], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x28], r15d
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140091a2d
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 0x140091ac0
mov r8, rdi
lea rdx, str.Failed_getting_file_version___GetFileVersionInfoSize
lea rcx, [rbp + 0x70]
call fcn.14006d408
mov rsi, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x140091a77
movzx edi, ax
or edi, 0x80070000
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.1400aeef0
mov r9, rsi
mov r8d, edi
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.140091d30
lea rcx, [rbp + 0x50]
call fcn.14007a7c0
nop
lea rcx, [rbp + 0x70]
call fcn.14007a7c0
lea rdx, [0x14036228e]
mov rcx, rbx
call fcn.1400b11b8
jmp 0x140091cf3
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14006c520
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140091ada
mov rcx, qword [rdi]
mov r9, qword [rsp + 0x30]
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 0x140091bb9
mov r8, rdi
lea rdx, str.Failed_getting_file_version___GetFileVersionInfo
lea rcx, [rbp + 0x70]
call fcn.14006d408
mov rsi, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x140091b29
movzx edi, ax
or edi, 0x80070000
lea rdx, str.fileVersion
lea rcx, [rbp + 0x50]
call fcn.1400aeef0
mov r9, rsi
mov r8d, edi
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.140091d30
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x140091b66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
call fcn.14007ebd0
movdqa xmm0, xmmword [0x1403600d0]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r15w
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140091b96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
call fcn.14007ebd0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], r15b
lea rdx, [0x14036228e]
mov rcx, rbx
call fcn.1400b0330
jmp 0x140091cf3
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x1403600c0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140091c45
mov r8, rdi
lea rdx, str.Failed_getting_file_version___VerQueryValue
lea rcx, [rbp + 0x50]
call fcn.14006d408
mov rsi, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x140091c10
movzx edi, ax
or edi, 0x80070000
lea rdx, str.fileVersion
lea rcx, [rbp + 0x70]
call fcn.1400aeef0
mov r9, rsi
mov r8d, edi
lea rdx, [rbp + 0x70]
mov rcx, r14
call fcn.140091d30
lea rcx, [rbp + 0x70]
call fcn.14007a7c0
nop
lea rcx, [rbp + 0x50]
jmp 0x140091aa7
lea rcx, [rsp + 0x50]
call fcn.1400bb9a8
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]
mov rcx, rax
lea rdi, [0x140361694]
mov rdx, rdi
call fcn.1400bb4f8
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 rcx, rax
mov rdx, rdi
call fcn.1400bb4f8
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 rcx, rax
mov rdx, rdi
call fcn.1400bb4f8
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, rbx
lea rcx, [rsp + 0x68]
call fcn.1400bb8c8
nop
lea rcx, [rsp + 0x50]
call fcn.1400bb440
nop
lea rcx, [rsp + 0x30]
call fcn.14007a750
mov rax, rbx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140123570
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret