Function at 0x140091e20
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 0x1400920cd
mov eax, dword [rsp + 0xd0]
mov rdx, rax
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 0x140091e9d
xor eax, eax
jmp 0x1400920d6
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 0x140091ef7
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 0x1400920d6
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 0x140091f51
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 0x1400920d6
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.140093ec0
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 0x140091fda
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 0x1400920d6
mov rcx, qword [rsp + 0x40]
call fcn.1400920f0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400cf910
mov ecx, dword [rsp + 0x110]
cmp rax, rcx
jb 0x140092059
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 0x1400920d6
mov eax, dword [rsp + 0x110]
mov r8, qword [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.140093e70
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 0x1400920d1
xor eax, eax
jmp 0x1400920d6
mov eax, 1
add rsp, 0xf8
ret