Function at 0x180003fd0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x6c]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test eax, eax
je 0x1800042ff
mov ecx, ebx
call fcn.18001cb44
mov rdi, rax
mov r9, rax
mov r8d, ebx
mov edx, dword [rsp + 0x6c]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1800042ff
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1800042ff
cmp dword [rsp + 0x68], r14d
jbe 0x1800042ff
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
call fcn.180005210
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp - 0x80]
call fcn.1800056a0
mov rbx, rax
lea edx, [r14 + 4]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rbx + 0x58], 0x30
lea rdx, [0x180002890]
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x1800028b0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx]
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_short_int____ptr64]
mov rbx, rax
lea edx, [r14 + 4]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rcx, qword [rbx]
movsxd r8, dword [rcx + 4]
mov byte [r8 + rbx + 0x58], 0x30
lea rdx, [0x180002890]
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x1800028b0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx + 2]
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_short_int____ptr64]
mov rcx, rax
lea rdx, [0x18001fdc0]
call fcn.1800056a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], r14b
mov dword [rsp + 0x20], 4
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800041c6
mov rax, qword [rbp - 0x38]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800041c6
mov rax, qword [rbp - 0x58]
mov r9, qword [rax]
cmp rbx, qword [rbp - 0x10]
cmovb rbx, qword [rbp - 0x10]
sub rbx, r9
mov rax, rbx
jmp 0x180004200
mov rax, r14
test cl, 4
jne 0x1800041f6
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
mov rax, r14
test rcx, rcx
je 0x1800041f6
mov rax, qword [rbp - 0x60]
mov r9, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd rbx, dword [rax]
add rbx, rcx
sub rbx, r9
mov rax, rbx
jmp 0x180004200
mov rbx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x48]
test r9, r9
je 0x180004230
lea rcx, [rsp + 0x28]
cmp rax, 0xf
ja 0x180004227
mov qword [rsp + 0x38], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x28], 0
jmp 0x180004230
mov rdx, rbx
call fcn.180005b00
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x180004264
cmp dword [rsp + 0x68], 0
jbe 0x180004264
xor dil, dil
jmp 0x180004267
mov dil, 1
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1800042a7
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800042a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800042a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001c790
mov rbx, qword [rsp + 0x60]
test dil, dil
cmovne rbx, r14
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rdx + 0x70], rax
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x6c], r8d
lea rcx, [rbp - 0x78]
call fcn.180005150
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
jmp 0x180004301
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18001c770
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret