Function at 0x180054020
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1801091c0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r13, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp qword [rdx + 0x18], 0xf
jbe 0x180054075
mov r9, qword [rdx]
add r9, qword [rdx + 0x10]
mov rdx, qword [rdx]
jmp 0x18005407c
mov r9, qword [rdx + 0x10]
add r9, rdx
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x60], xmm1
cmp rdx, r9
jne 0x1800540aa
vmovdqu xmm0, xmmword [0x1800eec90]
vmovdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
jmp 0x1800540b8
sub r9, rdx
lea rcx, [rsp + 0x50]
call fcn.18002da00
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x1800541a6
lea rdx, str.Error:_GetFileVersionInfoSize_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18000f3a0
lea rdx, [fcn.18000f580]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18005416f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005416a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005442a
call fcn.180098974
mov rax, r13
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800984d0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.18002d300
mov r8, rdi
xor edx, edx
mov r12, qword [rsp + 0x30]
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
lea rax, ds:[rdi + r12]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
mov r9, r12
mov r8d, edi
mov edx, dword [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x180054297
lea rdx, str.Error:_GetFileVersionInfo_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
nop dword [rax]
call fcn.18000f3a0
lea rdx, [fcn.18000f580]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
test r12, r12
je 0x180054121
mov rdx, qword [rsp + 0x40]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x18005428a
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800543c6
mov rcx, r12
call fcn.180098974
jmp 0x180054121
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x28]
lea rdx, [0x1800ec478]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x180054345
lea rdx, str.Error:_VerQueryValue_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18000f3a0
lea rdx, [fcn.18000f580]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
test r12, r12
je 0x180054121
mov rdx, qword [rsp + 0x40]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x180054337
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800543c6
mov rcx, r12
call fcn.180098974
nop
jmp 0x180054121
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x180054431
lea rdx, str.Error:_No_file_info_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.18000f3a0
lea rdx, [fcn.18000f580]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
test r12, r12
je 0x1800543d6
mov rdx, qword [rsp + 0x40]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x1800543cd
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800543cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.180098974
nop
mov rdx, qword ds:[rsp + 0x68]
cmp rdx, 7
jbe 0x18005416f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005416a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005416a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edi, dword [rax + 8]
mov esi, edi
shr esi, 0x10
mov eax, dword [rax + 0xc]
mov ebx, eax
shr ebx, 0x10
movzx edx, ax
lea rcx, [rbp + 0x70]
call fcn.18001d480
mov r15, rax
mov edx, ebx
lea rcx, [rbp + 0x50]
call fcn.18001d480
mov r14, rax
movzx edx, di
lea rcx, [rbp + 0x30]
call fcn.18001d480
mov rbx, rax
mov edx, esi
lea rcx, [rbp + 0x10]
call fcn.18001d480
nop
mov r8d, 1
lea rdx, [0x1800ec448]
mov rcx, rax
call fcn.18000cd40
vmovups ymm0, ymmword [rax]
vmovups ymmword [rbp - 0x50], ymm0
mov qword [rax + 0x18], 0xf
xor edi, edi
mov qword [rax + 0x10], rdi
mov byte [rax], dil
mov r9, rbx
lea r8, [rbp - 0x50]
lea rcx, [rbp - 0x10]
vzeroupper
call fcn.180010540
nop
lea r8d, [rdi + 1]
lea rdx, [0x1800ec448]
lea rcx, [rbp - 0x10]
call fcn.18000cd40
vmovups ymm0, ymmword [rax]
vmovups ymmword [rbp - 0x70], ymm0
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rdi
mov byte [rax], dil
mov r9, r14
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x30]
vzeroupper
call fcn.180010540
nop
lea r8d, [rdi + 1]
lea rdx, [0x1800ec448]
lea rcx, [rbp - 0x30]
call fcn.18000cd40
vmovups ymm0, ymmword [rax]
vmovups ymmword [rsp + 0x70], ymm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov r9, r15
lea r8, [rsp + 0x70]
mov rcx, r13
vzeroupper
call fcn.180010540
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x18005457d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054577
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180054577
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180098974
nop
lea rcx, [rbp - 0x30]
call fcn.18000b6c0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1800545cd
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800545c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800545c7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180098974
nop
lea rcx, [rbp - 0x10]
call fcn.18000b6c0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18005461b
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054615
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180054615
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180098974
nop
lea rcx, ds:[rbp + 0x10]
call fcn.18000b6c0
nop
lea rcx, [rbp + 0x30]
call fcn.18000b6c0
nop
lea rcx, [rbp + 0x50]
call fcn.18000b6c0
nop
lea rcx, [rbp + 0x70]
call fcn.18000b6c0
nop
test r12, r12
je 0x180054686
mov rdx, qword [rsp + 0x40]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x18005467c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005467c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.180098974
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18005416f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005416a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005416a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3