Function at 0x14002a9a0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x78], rcx
xor r13d, r13d
mov dword [rbp + 0x88], r13d
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov rsi, qword [rdx + 0x10]
mov r15, rdx
cmp qword [rdx + 0x18], 8
jb 0x14002aa07
mov r15, qword [rdx]
lea rcx, [rsp + 0x20]
cmp rsi, 8
jae 0x14002aa26
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], 7
jmp 0x14002aa73
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14000fb60
mov qword [rsp + 0x20], rax
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.14005fb20
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rsi
lea rdx, [rbp + 0x88]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14002aaca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ae75
call fcn.14005a750
test r15d, r15d
je 0x14002ae7b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
cmp r15, 0x1000
jb 0x14002ab1d
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x14002ae96
lfence
call fcn.14005a758
mov rcx, rax
test rax, rax
je 0x14002ae4e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14002ab28
lfence
mov rcx, r15
call fcn.14005a758
mov qword [rbp + 0x90], rax
lea rbx, [rax + r15]
mov qword [rbp + 0xa0], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.14005f950
mov qword [rbp + 0x98], rbx
cmp qword [rdi + 0x18], 8
jb 0x14002ab58
mov rdi, qword [rdi]
mov r9, qword [rbp + 0x90]
mov r8d, r15d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14002ae9c
mov qword [rbp + 0x70], r13
mov dword [rbp + 0x80], r13d
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x70]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002ae54
cmp qword [rbp + 0x70], 0
je 0x14002ae54
cmp dword [rbp + 0x80], 4
jb 0x14002ae54
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.14005f950
lea rcx, [rbp + 0xb0]
call fcn.14002b960
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp + 0xc0]
call fcn.14002e2d0
mov rbx, rax
mov rax, qword [rax]
movsxd rdx, dword [rax + 4]
mov ecx, dword [rdx + rbx + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rbx + 0x18], ecx
mov edx, 4
lea rcx, [rbp - 0x40]
call fcn.14005d368
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rax, r8
call qword [0x140090530]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov edi, 0x30
mov word [rcx + rbx + 0x58], di
mov rax, qword [rbp + 0x70]
movzx edx, word [rax]
mov rcx, rbx
call fcn.14002bb50
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0xd8]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0xd8], eax
lea edx, [rdi - 0x2c]
lea rcx, [rbp - 0x30]
call fcn.14005d368
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
mov rax, r8
call qword [0x140090530]
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx + 0x118], di
mov rax, qword [rbp + 0x70]
movzx edx, word [rax + 2]
lea rcx, [rbp + 0xc0]
call fcn.14002bb50
mov rcx, rax
call fcn.14002e590
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14002ace8
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14002f2a0
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x84], r13d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.14002b890
cmp qword [rax + 0x18], 8
jb 0x14002ad1b
mov rax, qword [rax]
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x78]
mov rdx, rax
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rbp + 0x78]
test eax, eax
je 0x14002ad50
test rcx, rcx
je 0x14002ad50
cmp dword [rbp + 0x84], 0
jbe 0x14002ad50
xor bl, bl
jmp 0x14002ad52
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14002ad97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002aeb7
call fcn.14005a750
mov rcx, qword [rbp + 0x78]
test bl, bl
jne 0x14002aebd
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002adb0
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140059280
nop
lea rcx, [rbp + 0xb0]
call fcn.14002af20
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14002ae21
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ae1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ae4e
call fcn.14005a750
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14005a730
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006538c
nop
lea rdx, str.Failure_querying_for_VarFileInfoTranslation
lea rcx, [rbp - 0x58]
call fcn.140001d40
lea rdx, [0x1400b5fc8]
lea rcx, [rbp - 0x58]
call fcn.14005f880
nop
call fcn.14006538c
int3
lea rdx, str.GetFileVersionInfoSizeW_failed
lea rcx, [rbp - 0x10]
call fcn.140002f20
nop
lea rcx, [rbp - 0x10]
call fcn.140002ee0
nop
call fcn.140001ac0
nop
lea rdx, str.GetFileVersionInfoW_failed
lea rcx, [rbp + 0x10]
call fcn.140002f20
nop
lea rcx, [rbp + 0x10]
call fcn.140002ee0
nop
call fcn.14006538c
int3
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.14000f450
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.140059280
nop
mov r8, rax
lea rdx, str.Failure_querying_for_StringFileInfo..._
lea rcx, [rbp + 0x50]
call fcn.1400102a0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140001cd0
lea rdx, [0x1400b5fc8]
lea rcx, [rbp - 0x70]
call fcn.14005f880
int3