Function at 0x140247786
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rdx + 0x17], 0
js 0x140247a0a
mov byte [rdi + 0x17], 6
mov rax, rdi
movabs rcx, 0x6400450053004d
mov qword [rax], rcx
mov dword [rax + 8], 0x650067
mov word [rax + 0xc], 0
lea rdx, str.0.0.0.0_devel
mov r8d, 0xd
mov rcx, rbx
call fcn.14010a634
cmp byte [rsi + 0x17], 0
js 0x140247a33
mov word [rsi], 0
mov byte [rsi + 0x17], 0
mov dword [rsp + 0x64], 0
cmp byte [r15 + 0x17], 0
mov rcx, r15
jns 0x140247817
mov rcx, qword [r15]
lea rdx, [rsp + 0x64]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1402479b2
mov ebp, eax
mov ecx, eax
call fcn.140153d54
mov r14, rax
mov edx, dword [rsp + 0x64]
cmp byte [r15 + 0x17], 0
jns 0x140247843
mov r15, qword [r15]
mov rcx, r15
mov r8d, ebp
mov r9, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1402479a5
lea rdx, str.ProductVersion
lea r15, [rsp + 0x40]
mov r8d, 0xe
mov rcx, r15
call fcn.14012d7cc
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.1402475b0
cmp byte [r15 + 0x17], 0
jns 0x140247892
mov rcx, qword [rsp + 0x40]
call fcn.140153bcc
xorps xmm0, xmm0
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
lea rdx, str.Official_Build
lea r12, [rsp + 0x28]
mov r8d, 0xe
mov rcx, r12
call fcn.14012d7cc
mov rcx, r14
mov rdx, r12
mov r8, r15
call fcn.1402475b0
cmp byte [r12 + 0x17], 0
jns 0x1402478e0
mov rcx, qword [rsp + 0x28]
call fcn.140153bcc
movzx ecx, byte [rsp + 0x57]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x48]
cmovs r15, qword [rsp + 0x40]
test rax, rax
js 0x140247a48
test r15, r15
jne 0x14024790f
test rax, rax
jne 0x140247a74
cmp rax, 1
je 0x1402479fa
lea rdx, [0x140311e0e]
mov r8d, 6
mov rcx, rbx
call fcn.1401300e2
lea rdx, str.ProductShortName
lea rbx, [rsp + 0x28]
mov r8d, 0x10
mov rcx, rbx
call fcn.14012d7cc
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.1402475b0
cmp byte [rbx + 0x17], 0
jns 0x140247966
mov rcx, qword [rsp + 0x28]
call fcn.140153bcc
lea rdx, str.SpecialBuild
lea rdi, [rsp + 0x28]
mov r8d, 0xc
mov rcx, rdi
call fcn.14012d7cc
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.1402475b0
cmp byte [rdi + 0x17], 0
jns 0x14024799e
mov rcx, qword [rsp + 0x28]
call fcn.140153bcc
cmp byte [rsp + 0x57], 0
js 0x140247a24
test r14, r14
je 0x1402479b2
mov rcx, r14
call fcn.1401541d4
mov rsi, qword [rsp + 0xd0]
lea rcx, [rsp + 0x40]
mov dl, 1
call fcn.14013ebab
cmp byte [rsi + 0x17], 0
js 0x140247a1a
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140156fe0
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp word [r15], 0x31
je 0x14024792e
jmp 0x140247919
mov qword [rdi + 8], 6
mov rax, qword [rdi]
jmp 0x1402477c0
mov rcx, qword [rsi]
call fcn.140153bcc
jmp 0x1402479cc
mov rcx, qword [rsp + 0x40]
call fcn.140153bcc
jmp 0x1402479a5
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
jmp 0x140247802
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1401bf470
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1401bf470
int3