Function at 0x14007be30
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14024a080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r12, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x140201ef0]
movdqu xmmword [rsp + 0x48], xmm0
xor edi, edi
mov word [rsp + 0x38], di
lea r8d, [rdi + 7]
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x38]
call fcn.14007dc20
nop
movdqa xmm0, xmmword [0x140201ef0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14007bec0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14007dc20
nop
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x14007bf4a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140159570
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp - 0x80]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14007bf31
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14007dc20
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r14d, eax
test eax, eax
je 0x14007c031
lea edx, [rax + 1]
mov eax, 2
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.1400c7368
mov r15, rax
mov r9, rax
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rsp + 0x28]
movzx ebx, word [rcx]
shl ebx, 0x10
movzx eax, word [rcx + 2]
or ebx, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140159570
mov r9d, ebx
lea r8, str.StringFileInfo_08lxFileVersion
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14007b720
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14007c029
mov rdx, qword [rsp + 0x30]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x14007c012
mov r8, rsi
lea rcx, [rsp + 0x38]
call fcn.14007dc20
mov rcx, r15
call fcn.1400c7360
lea rax, [rsp + 0x38]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
cmp r10, 8
cmovae rax, r9
mov r11, qword [rsp + 0x48]
lea rax, [rax + r11*2]
lea rcx, [rsp + 0x38]
cmovae rcx, r9
mov rdx, rdi
mov r8, rax
sub r8, rcx
inc r8
shr r8, 1
cmp rcx, rax
cmova r8, rdi
test r8, r8
je 0x14007c0a4
mov eax, 0x2e
nop word [rax + rax]
cmp word [rcx], 0x2c
jne 0x14007c089
mov word [rcx], ax
add rcx, 2
inc rdx
cmp rdx, r8
jne 0x14007c080
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
cmp r10, 8
cmovae rax, r9
lea rax, [rax + r11*2]
lea rcx, [rsp + 0x38]
cmovae rcx, r9
cmp rcx, rax
je 0x14007c11e
cmp word [rcx], 0x20
je 0x14007c0d2
add rcx, 2
cmp rcx, rax
jne 0x14007c0c3
cmp rcx, rax
je 0x14007c11e
lea rdx, [rcx + 2]
mov r8, rax
sub r8, rdx
inc r8
shr r8, 1
cmp rdx, rax
cmova r8, rdi
test r8, r8
je 0x14007c11e
movzx eax, word [rdx]
cmp ax, 0x20
je 0x14007c103
mov word [rcx], ax
add rcx, 2
add rdx, 2
inc rdi
cmp rdi, r8
jne 0x14007c0f3
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
cmp r10, 8
cmovae rax, r9
lea rax, [rax + r11*2]
cmp rcx, rax
je 0x14007c1aa
lea rax, [rsp + 0x38]
cmp r10, 8
cmovae rax, r9
lea rbx, [rax + r11*2]
lea rax, [rsp + 0x38]
cmovae rax, r9
mov rdx, rcx
sub rdx, rax
sar rdx, 1
cmp r11, rdx
jb 0x14007c204
sub rbx, rcx
sar rbx, 1
mov rax, r11
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rsp + 0x38]
cmp r10, 8
cmovae rax, r9
lea rcx, [rax + rdx*2]
sub r11, rbx
mov qword [rsp + 0x48], r11
sub r11, rdx
lea r8, [r11*2 + 2]
lea rdx, [rcx + rbx*2]
call fcn.140159110
mov r10, qword [rsp + 0x50]
mov r9, qword [rsp + 0x38]
lea rdx, [rsp + 0x38]
cmp r10, 8
cmovae rdx, r9
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
lea rcx, [rsp + 0x60]
call fcn.14007dbb0
nop
lea rcx, [rsp + 0x38]
call fcn.14007dbb0
mov rax, r12
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400c7300
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14007dd90
nop
int3