Function at 0x14000b6f0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r13, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x2c], esi
lea rdx, [rsp + 0x2c]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
jne 0x14000b771
call fcn.140062924
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.updtDispDevEnumClass::GetBasicFileVersion_Failed
lea edx, [rsi + 2]
mov rax, qword [rax + 0x38]
call qword [case.0x140051314.0]
xor al, al
jmp 0x14000bb15
mov rdx, rbx
lea r8, [rsp + 0x24]
lea rcx, [rsp + 0x38]
call fcn.14000c4b8
nop
mov r9, qword [rsp + 0x38]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x14000b824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140062924
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x80]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetBasicFileVersion::GetFileVersionInfo_FailedError_code_
mov rcx, rbx
call fcn.140015a04
mov edx, edi
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x128]
call fcn.14000c32c
lea rax, [rbp + 0x128]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x128], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x128], rax
lea rcx, [rbp + 0x128]
jmp 0x14000babf
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x1400e7f50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000ba3f
mov rax, qword [rsp + 0x58]
movzx ebx, word [rax + 0xa]
movzx edi, word [rax + 8]
movzx esi, word [rax + 0xe]
movzx r14d, word [rax + 0xc]
mov r12d, 1
mov r8d, r12d
lea r15d, [r12 + 1]
mov edx, r15d
lea rcx, [rsp + 0x68]
call fcn.14000fbe0
nop
movzx edx, bx
lea rcx, [rsp + 0x68]
call fcn.140013d90
lea ebx, [r12 + 0x2d]
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140015cc8
mov edx, r15d
lea rcx, [rbp + 0x50]
call fcn.140069c90
mov rcx, qword [rsp + 0x68]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + 0x68]
add rcx, r8
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x140051314.0]
lea edx, [rbx + 2]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx - 0x40], dx
movzx edx, di
lea rcx, [rsp + 0x68]
call fcn.140013d90
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140015cc8
mov edx, r15d
lea rcx, [rbp + 0x60]
call fcn.140069c90
mov rcx, qword [rsp + 0x68]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + 0x68]
add rcx, r8
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x140051314.0]
lea edi, [rbx + 2]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx - 0x40], di
movzx edx, si
lea rcx, [rsp + 0x68]
call fcn.140013d90
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140015cc8
lea edx, [rbx - 0x2a]
lea rcx, [rbp + 0x70]
call fcn.140069c90
mov rcx, qword [rsp + 0x68]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + 0x68]
add rcx, r8
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x140051314.0]
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx - 0x40], di
movzx edx, r14w
lea rcx, [rsp + 0x68]
call fcn.140013d90
nop
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x70]
call fcn.140010e88
mov dword [rsp + 0x20], r15d
and r15d, 0xfffffffd
mov dword [rsp + 0x20], r15d
or r15d, r12d
mov dword [rsp + 0x20], r15d
lea rax, [rbp + 0x290]
cmp r13, rax
je 0x14000b9f1
mov rcx, r13
call fcn.140001a14
lea r8d, [r12 + 0x1f]
lea rdx, [rbp + 0x290]
mov rcx, r13
call fcn.140089be0
movdqa xmm0, xmmword [0x1400fe9e0]
movdqu xmmword [rbp + 0x2a0], xmm0
xor esi, esi
mov word [rbp + 0x290], si
jmp 0x14000b9f3
xor esi, esi
and r15d, 0xfffffffe
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x290]
call fcn.140001a14
nop
lea rcx, [rbp - 0x10]
call fcn.14000c944
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x10], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.140069b78
jmp 0x14000bac7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140062924
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x188]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetBasicFileVersion::VerQueryValue_FailedError_code_
mov rcx, rbx
call fcn.140015a04
mov edx, edi
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x230]
call fcn.14000c32c
lea rax, [rbp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x230], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x230], rax
lea rcx, [rbp + 0x230]
call fcn.140069b78
mov r12b, sil
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000bb12
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000baff
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bb3f
call fcn.14006b6e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov al, r12b
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14006b800
mov rbx, qword [rsp + 0x410]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14008d8cc
int3