Function at 0x14001be30
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14009b010]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x10], rcx
xor r13d, r13d
mov qword [rbp], r13
mov qword [rbp + 0x10], r13
mov edi, SafeArrayGetLBound
mov qword [rbp + 0x18], rdi
mov byte [rbp], r13b
mov dword [rbp + 0x38], r13d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001be97
mov rcx, qword [rdx]
lea rdx, [rbp + 0x38]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12d, eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
test eax, eax
je 0x14001bf19
cmp r12, 0x1000
jb 0x14001beed
lea rcx, [r12 + 0x27]
cmp rcx, r12
jbe 0x14001c387
lfence
call fcn.140045020
mov rcx, rax
test rax, rax
je 0x14001c38d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14001bef8
lfence
mov rcx, r12
call fcn.140045020
mov qword [rbp + 0x20], rax
lea rbx, [rax + r12]
mov qword [rbp + 0x30], rbx
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.14004a420
mov qword [rbp + 0x28], rbx
mov rdi, qword [rbp + 0x18]
cmp qword [r14 + 0x18], 8
jb 0x14001bf23
mov r14, qword [r14]
mov r9, qword [rbp + 0x20]
mov r8d, r12d
xor edx, edx
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14001c356
mov dword [rbp - 8], r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov r8d, SafeArrayPutElement
lea rdx, str.VarFileInfoTranslation
lea rcx, [rsp + 0x30]
call fcn.140005330
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea r9, [rbp - 8]
lea r8, [rbp - 0x10]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14001bfd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bfcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c393
call fcn.1400452ac
test ebx, ebx
je 0x14001c1cb
mov r14d, r13d
mov ecx, dword [rbp - 8]
test ecx, 0xfffffffc
jbe 0x14001c1cb
mov r12d, 0x409
movups xmm6, xmmword [rbp + 0x10]
movups xmm7, xmmword [rbp]
nop word [rax + rax]
mov eax, r14d
lea r15, [rax*4]
mov rax, qword [rbp - 0x10]
movzx r8d, word [r15 + rax]
cmp r8w, r12w
je 0x14001c024
test r8w, r8w
jne 0x14001c1ba
movzx r9d, word [r15 + rax + 2]
mov rdx, qword [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.14001b700
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x14001c0a0
cmp rdi, 0x10
jb 0x14001c07c
lea rdx, [rdi + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c39f
call fcn.1400452ac
movups xmm7, xmmword [rbx]
movups xmmword [rbp], xmm7
movups xmm6, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm6
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], 0
mov rdi, qword [rbp + 0x18]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001c0dd
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c0d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c39f
call fcn.1400452ac
cmp qword [rbp + 0x10], 0
jne 0x14001c2bf
mov rax, qword [rbp - 0x10]
movzx r9d, word [r15 + rax + 2]
movzx r8d, word [r15 + rax]
mov rdx, qword [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14001b700
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x14001c170
cmp rdi, 0x10
jb 0x14001c149
lea rdx, [rdi + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c144
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c3a5
call fcn.1400452ac
movups xmm7, xmmword [rbx]
movups xmmword [rbp], xmm7
movups xmm6, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm6
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], 0
mov rdi, qword [rbp + 0x18]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14001c1ac
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c1a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c3a5
call fcn.1400452ac
cmp qword [rbp + 0x10], 0
jne 0x14001c257
mov ecx, dword [rbp - 8]
inc r14d
mov eax, ecx
shr eax, 2
cmp r14d, eax
jb 0x14001c000
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.14001bb60
mov rdx, rax
lea rcx, [rbp]
call fcn.140010ea0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001c21f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c21a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c399
call fcn.1400452ac
cmp qword [rbp + 0x10], 0
je 0x14001c335
movups xmm0, xmmword [rbp]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14001c301
mov r8, qword [rbp + 0x30]
sub r8, rdx
call fcn.1400056c0
jmp 0x14001c301
movups xmmword [rsi], xmm7
movups xmmword [rsi + 0x10], xmm6
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], SafeArrayGetLBound
mov byte [rbp], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14001c2b4
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c2a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c3ab
call fcn.1400452ac
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
lea rcx, [rbp]
call fcn.140004ec0
jmp 0x14001c301
movups xmmword [rsi], xmm7
movups xmmword [rsi + 0x10], xmm6
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14001c301
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c2fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c3ab
call fcn.1400452ac
nop
mov rax, rsi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140045000
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_get_version_information
lea rcx, [rbp - 0x50]
call fcn.14000bd40
lea rdx, [0x1400990d0]
lea rcx, [rbp - 0x50]
call fcn.14004a344
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.1400170a0
mov r8, rax
lea r9, str.Failed_to_get_file_version
lea rcx, [rbp - 0x38]
call fcn.140016e20
lea rdx, [0x1400990b0]
lea rcx, [rbp - 0x38]
call fcn.14004a344
nop
call fcn.140001920
int3
call fcn.14004eb2c
nop
call fcn.14004eb2c
int3
call fcn.14004eb2c
int3
call fcn.14004eb2c
int3
call fcn.14004eb2c
nop
call fcn.14004eb2c
int3