Function at 0x18001f980
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x328
mov qword [rsp + 0x148], 0xfffffffffffffffe
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x330]
add rax, 8
mov rcx, rax
call fcn.180020dc0
nop
mov rax, qword [rsp + 0x330]
add rax, 0x18
mov rcx, rax
call fcn.180002c00
nop
mov rax, qword [rsp + 0x330]
add rax, 0x38
mov rcx, rax
call fcn.180020040
nop
mov rax, qword [rsp + 0x330]
add rax, 0x118
mov rcx, rax
call fcn.180002c00
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rax, qword [rsp + 0x330]
add rax, 0x118
mov rdx, qword [rsp + 0x338]
mov rcx, rax
call fcn.180002000
mov rax, qword [rsp + 0x330]
mov qword [rax], 0
mov rcx, qword [rsp + 0x338]
call fcn.180003250
xor edx, edx
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x18001fa9f
mov rcx, qword [rsp + 0x338]
call fcn.180003250
mov qword [rsp + 0x28], rax
lea rax, str.ERR:_not_find_version_info___s
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x20
lea rdx, [0x1801130b0]
lea rcx, [0x180113110]
call fcn.1800fa910
jmp 0x18002000a
mov eax, dword [rsp + 0x40]
lea rdx, [0x18013356c]
mov ecx, eax
call fcn.180107f3c
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x138]
mov qword [rax], rcx
mov rax, qword [rsp + 0x330]
cmp qword [rax], 0
jne 0x18001fb1e
lea rax, [0x180113098]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, str.ERR:fail_new__d_bytes__s
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x26
lea rdx, [0x180113160]
lea rcx, str.CExeDetail::CExeDetail
call fcn.1800fa530
jmp 0x18002000a
mov rcx, qword [rsp + 0x338]
call fcn.180003250
mov rcx, qword [rsp + 0x330]
mov r9, qword [rcx]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x18001fb4f
jmp 0x18002000a
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x58]
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, [0x1801100f4]
mov rax, qword [rsp + 0x330]
mov rcx, qword [rax]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x18001fba9
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, str.VarFileInfoTranslation
mov rax, qword [rsp + 0x330]
mov rcx, qword [rax]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
movzx ecx, word [rdx + rcx]
mov r9d, eax
mov r8d, ecx
lea rdx, str.StringFileInfo_04x_04x_
lea rcx, [rsp + 0x2f0]
call fcn.180010a00
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x330]
add rax, 0x18
mov rdx, qword [rsp + 0xe0]
mov rcx, rax
call fcn.180007840
lea rcx, [rsp + 0x2f0]
call fcn.1800028a0
lea rax, [rsp + 0x190]
mov qword [rsp + 0x80], rax
lea rdx, str.CompanyName
mov rcx, qword [rsp + 0x80]
call fcn.1800033b0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x330]
add rax, 0x38
mov r8, rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x250]
mov qword [rsp + 0x90], rax
lea rdx, [0x180113230]
mov rcx, qword [rsp + 0x90]
call fcn.1800033b0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x330]
add rax, 0x58
mov r8, rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xa0], rax
lea rdx, str.Comments
mov rcx, qword [rsp + 0xa0]
call fcn.1800033b0
mov qword [rsp + 0x110], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x290]
mov qword [rsp + 0xb0], rax
lea rdx, [0x180113260]
mov rcx, qword [rsp + 0xb0]
call fcn.1800033b0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x330]
add rax, 0x78
mov r8, rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x210]
mov qword [rsp + 0xc0], rax
lea rdx, str.ProductName
mov rcx, qword [rsp + 0xc0]
call fcn.1800033b0
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x330]
add rax, 0x98
mov r8, rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x150]
mov qword [rsp + 0xd0], rax
lea rdx, [0x180113298]
mov rcx, qword [rsp + 0xd0]
call fcn.1800033b0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x330]
add rax, 0xb8
mov r8, rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x170]
mov qword [rsp + 0x128], rax
lea rdx, [0x1801132b8]
mov rcx, qword [rsp + 0x128]
call fcn.1800033b0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x330]
add rax, 0xd8
mov r8, rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x118], rax
lea rdx, [0x1801132d8]
mov rcx, qword [rsp + 0x118]
call fcn.1800033b0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x330]
add rax, 0xf8
mov r8, rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x68], rax
lea rdx, str.PrivateBuild
mov rcx, qword [rsp + 0x68]
call fcn.1800033b0
mov qword [rsp + 0x108], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x230]
mov qword [rsp + 0xd8], rax
lea rdx, str.LegalTrademarks
mov rcx, qword [rsp + 0xd8]
call fcn.1800033b0
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x270]
mov qword [rsp + 0x78], rax
lea rdx, [0x180113338]
mov rcx, qword [rsp + 0x78]
call fcn.1800033b0
mov qword [rsp + 0x88], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x98], rax
lea rdx, str.SpecialBuild
mov rcx, qword [rsp + 0x98]
call fcn.1800033b0
mov qword [rsp + 0xa8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0xb8], rax
lea rdx, str.Language
mov rcx, qword [rsp + 0xb8]
call fcn.1800033b0
mov qword [rsp + 0xc8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x330]
call fcn.1800200e0
nop
mov rcx, qword [rsp + 0x338]
call fcn.1800028a0
mov rax, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.180107750
add rsp, 0x328
ret