Function at 0x140016fb0
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 [0x14007f010]
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 0x140017017
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 0x140017099
cmp r12, 0x1000
jb 0x14001706d
lea rcx, [r12 + 0x27]
cmp rcx, r12
jbe 0x140017507
lfence
call fcn.14002ec80
mov rcx, rax
test rax, rax
je 0x14001750d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140017078
lfence
mov rcx, r12
call fcn.14002ec80
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.140033ee0
mov qword [rbp + 0x28], rbx
mov rdi, qword [rbp + 0x18]
cmp qword [r14 + 0x18], 8
jb 0x1400170a3
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 0x1400174d6
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.140002f50
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 0x140017152
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001714d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017513
call fcn.14002ef0c
test ebx, ebx
je 0x14001734b
mov r14d, r13d
mov ecx, dword [rbp - 8]
test ecx, 0xfffffffc
jbe 0x14001734b
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 0x1400171a4
test r8w, r8w
jne 0x14001733a
movzx r9d, word [r15 + rax + 2]
mov rdx, qword [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140016880
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x140017220
cmp rdi, 0x10
jb 0x1400171fc
lea rdx, [rdi + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400171f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001751f
call fcn.14002ef0c
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], SafeArrayLock
mov byte [rbx], 0
mov rdi, qword [rbp + 0x18]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001725d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001751f
call fcn.14002ef0c
cmp qword [rbp + 0x10], 0
jne 0x14001743f
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.140016880
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x1400172f0
cmp rdi, 0x10
jb 0x1400172c9
lea rdx, [rdi + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400172c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017525
call fcn.14002ef0c
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], SafeArrayLock
mov byte [rbx], 0
mov rdi, qword [rbp + 0x18]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14001732c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017327
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017525
call fcn.14002ef0c
cmp qword [rbp + 0x10], 0
jne 0x1400173d7
mov ecx, dword [rbp - 8]
inc r14d
mov eax, ecx
shr eax, 2
cmp r14d, eax
jb 0x140017180
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140016ce0
mov rdx, rax
lea rcx, [rbp]
call fcn.140008730
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001739f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001739a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017519
call fcn.14002ef0c
cmp qword [rbp + 0x10], 0
je 0x1400174b5
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 0x140017481
mov r8, qword [rbp + 0x30]
sub r8, rdx
call fcn.1400032e0
jmp 0x140017481
movups xmmword [rsi], xmm7
movups xmmword [rsi + 0x10], xmm6
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], SafeArrayLock
mov byte [rbp], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140017434
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017423
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001752b
call fcn.14002ef0c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
lea rcx, [rbp]
call fcn.140002d40
jmp 0x140017481
movups xmmword [rsi], xmm7
movups xmmword [rsi + 0x10], xmm6
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140017481
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001747b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001752b
call fcn.14002ef0c
nop
mov rax, rsi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14002ec60
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.140004630
lea rdx, [0x14007d148]
lea rcx, [rbp - 0x50]
call fcn.140033e04
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.140012df0
mov r8, rax
lea r9, str.Failed_to_get_file_version
lea rcx, [rbp - 0x38]
call fcn.140012b80
lea rdx, [0x14007d108]
lea rcx, [rbp - 0x38]
call fcn.140033e04
nop
call fcn.140001960
int3
call fcn.1400385e8
nop
call fcn.1400385e8
int3
call fcn.1400385e8
int3
call fcn.1400385e8
int3
call fcn.1400385e8
nop
call fcn.1400385e8
int3