Function at 0x140064ab0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x4a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140123108]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rcx
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
lea r14, [rcx + 0x10]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140064b0a
mov rax, qword [r14]
mov qword [r14 + 0x10], r15
mov word [rax], r15w
lea rcx, [rsp + 0x78]
call fcn.140064974
mov rdx, rax
lea rcx, [rdi + 0x30]
call fcn.140064664
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x38]
lea rdx, [fcn.140064ab0]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140064d2b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140087fe0
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140064d2b
mov dword [rsp + 0x28], r15d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x140064d2b
mov edx, esi
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000c4dc
nop
mov rbx, qword [rsp + 0x58]
mov r9, rbx
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140064ce8
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x2c], 8
lea r9, [rsp + 0x2c]
lea r8, [rsp + 0x40]
lea rdx, [0x1400e5f90]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140064ce8
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + 0xa]
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rdi + 0xc], eax
mov dword [rsp + 0x24], 8
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x50]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140064ce8
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.140087fe0
mov rdi, r15
mov eax, dword [rsp + 0x24]
mov esi, 1
test rax, 0xfffffffffffffffc
jbe 0x140064ceb
mov rax, qword [rsp + 0x50]
movzx r9d, word [rax + rdi*4 + 2]
movzx r8d, word [rax + rdi*4]
lea rdx, str.StringFileInfo_04x_04xFileDescription
lea rcx, [rbp + 0x190]
call fcn.140064900
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x48], r15
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x190]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140064cbe
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x140064cd0
add rdi, rsi
mov eax, dword [rsp + 0x24]
shr rax, 2
cmp rdi, rax
jae 0x140064ceb
jmp 0x140064c6a
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140064cd4
mov rcx, r14
call fcn.140001a78
jmp 0x140064ceb
mov sil, r15b
test rbx, rbx
je 0x140064d26
mov rdx, qword [rsp + 0x68]
sub rdx, rbx
cmp rdx, 0x1000
jb 0x140064d1e
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064d59
mov rcx, rbx
call fcn.1400696d0
mov al, sil
jmp 0x140064d2d
xor al, al
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400697f0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14008b8bc
int3