Function at 0x180098af0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 0xf
jbe 0x180098b50
mov rsi, qword [rsi]
mov r8, rsi
lea rdx, [0x18012de0c]
lea rcx, [rbp + 0xe0]
call fcn.18002baa0
xor edx, edx
lea rcx, [rbp + 0xe0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r15b
mov dword [rsp + 0x50], 1
test eax, eax
je 0x180098e1f
mov ecx, r14d
call fcn.1800ecc54
mov rsi, rax
mov r9, rax
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0xe0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x180098e17
mov r14, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180098bd6
mov rcx, qword [rbx]
mov r8, r14
mov eax, 0xe
cmp r14, rax
cmova r8, rax
lea rdx, [0x18012be80]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180098ca8
cmp r14, 0xe
jne 0x180098ca8
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], r15d
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [0x18012bd98]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x180098e17
cmp dword [rsp + 0x40], 0
je 0x180098e17
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x180098e17
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movzx eax, word [rdx + 0x14]
movzx ecx, word [rdx + 0x16]
movzx r9d, word [rdx + 0x10]
movzx r8d, word [rdx + 0x12]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x60]
call fcn.1800991f0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180098c94
lea rdx, [rsp + 0x60]
jmp 0x180098e0f
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], r15d
lea rdx, str.VarFileInfoTranslation
lea rcx, [rbp - 0x20]
call fcn.180099250
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x180098d40
cmp dword [rsp + 0x40], 4
jne 0x180098d40
mov rax, qword [rsp + 0x48]
mov edx, dword [rax]
mov r10, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180098d09
mov r10, qword [rbx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 0x18
movzx r9d, dl
shr edx, 8
movzx r8d, dl
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str.StringFileInfo_02X_02X_02X_02X_s
lea rcx, [rbp - 0x20]
call fcn.180099250
jmp 0x180098d5d
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180098d4d
mov r8, qword [rbx]
lea rdx, str.StringFileInfo040904B0_s
lea rcx, [rbp - 0x20]
call fcn.180099250
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x180098db0
cmp qword [rbx + 0x18], 0xf
jbe 0x180098d82
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.StringFileInfo00000000_s
lea rcx, [rbp - 0x20]
call fcn.180099250
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x180098e17
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov r8, qword [rsp + 0x48]
lea rdx, [0x18012de0c]
lea rcx, [rsp + 0x60]
call fcn.1800992b0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180098e00
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180033a00
mov rcx, rsi
call fcn.1800ec9a4
mov rax, rdi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1800ec4b0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret