Function at 0x14006b100
Capabilities:
Get file version info

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
je 0x14006b3ab
mov eax, dword [rsp + 0xd0]
mov edx, eax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
jne 0x14006b17c
xor eax, eax
jmp 0x14006b3b4
mov r9, qword [rsp + 0xd8]
mov r8d, dword [rsp + 0xd0]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x100]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14006b1d6
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x14006b3b4
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xe0]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rsp + 0xd8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14006b230
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x14006b3b4
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 2]
mov rcx, qword [rsp + 0xe0]
movzx ecx, word [rcx]
mov dword [rsp + 0x20], eax
mov r9d, ecx
lea r8, str.StringFileInfo_04x_04xFileVersion
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.14006d540
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xd8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14006b2b9
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x14006b3b4
mov rcx, qword [rsp + 0x40]
call fcn.14006b660
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140099f30
mov ecx, dword [rsp + 0x110]
cmp rax, rcx
jb 0x14006b338
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x14006b3b4
mov eax, dword [rsp + 0x110]
mov r8, qword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x108]
call fcn.14006d4e0
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14006b3af
xor eax, eax
jmp 0x14006b3b4
mov eax, 1
add rsp, 0xf8
ret