Function at 0x18001ee50
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rdi, rdx
mov r14, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], esi
jne 0x18001ef04
lea rcx, [rsp + 0x48]
call fcn.18001e9b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.180001e20
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001eeb0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov r9d, dword [0x180069c80]
mov ecx, r9d
imul ecx, r9d
imul ecx, r9d
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 9
jne 0x18001eee7
dec r9d
mov dword [0x180069c80], r9d
mov rcx, qword [rdi]
cmp dword [rcx - 0x10], 0
jne 0x18001ef0b
lea rdx, [0x180056ee0]
mov rcx, r14
call fcn.180001aa0
jmp 0x18001f0b5
mov r9d, dword [0x180069c80]
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0xa8], esi
mov qword [rsp + 0x40], rsi
lea r8d, [r9 + 1]
imul r8d, r9d
mov eax, 0x6bca1af3
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub r8d, edx
cmp r8d, 0x11
jne 0x18001ef4e
dec r9d
mov dword [0x180069c80], r9d
lea rdx, [rsp + 0xa0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebp, eax
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [0x180056ee0]
test rdx, 0xffffffffffff0000
jne 0x18001efa9
movzx esi, dx
mov ecx, esi
call fcn.180002840
test rax, rax
je 0x18001efba
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800023e0
jmp 0x18001efba
mov r8d, 3
lea rcx, [rsp + 0x38]
call fcn.180002020
nop
test ebp, ebp
je 0x18001f08a
mov rcx, rbp
call fcn.1800289f0
mov rsi, rax
mov r9, rax
mov r8d, ebp
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x18001f082
mov r8d, dword [0x180069c80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 5
jne 0x18001f01f
dec r8d
mov dword [0x180069c80], r8d
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x40]
lea rdx, [0x180055dd0]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x18001f082
cmp dword [rsp + 0xa8], 0
je 0x18001f082
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0xfeef04bd
jne 0x18001f082
movzx r8d, word [rax + 0xa]
movzx r9d, word [rax + 8]
movzx ecx, word [rax + 0xe]
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x38]
call fcn.180003840
mov rcx, rsi
call fcn.180028a24
mov rsi, qword [rsp + 0x38]
lea rcx, [rsi - 0x18]
call fcn.180002110
add rax, 0x18
mov qword [r14], rax
lock add dword [rsi - 8], 0xffffffff
jg 0x18001f0b5
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
lea rdx, [rsi - 0x18]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001f0cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, r14
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret