Function at 0x10016bd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0e37
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x100e7034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.10017ba0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10001de0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.10016ff0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10001de0
mov byte [ebp - 4], 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10001990
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
push 0
lea ecx, [ebp + 8]
call fcn.10001c30
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10016caa
lea ecx, [ebp + 8]
call fcn.10001c30
push eax
push str.ERR:_not_find_version_info___s
push 1
push 0x20
push 0x100d8580
push 0x100d85dc
call fcn.100c3e10
add esp, 0x18
jmp 0x10016fb8
push 0x100efb2c
mov edx, dword [ebp - 0x30]
push edx
call fcn.100cedb4
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jne 0x10016cf7
push 0x100d860c
mov eax, dword [ebp - 0x30]
push eax
push str.ERR:fail_new__d_bytes__s
push 1
push 0x26
push 0x100d8640
push str.CExeDetail::CExeDetail
call fcn.100c3a80
add esp, 0x1c
jmp 0x10016fb8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.10001c30
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x10016d1b
jmp 0x10016fb8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0x100d8688
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10016d61
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x34]
push eax
push 0x100d868c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + eax]
push edx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + ecx]
push eax
push str.StringFileInfo_04x_04x_
lea ecx, [ebp - 0x28]
push ecx
call fcn.10008f30
add esp, 0x10
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10004a60
lea ecx, [ebp - 0x28]
call fcn.10001d90
mov eax, dword [ebp - 0x2c]
add eax, 0x24
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.CompanyName
call fcn.10002360
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3c
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x100d870c
call fcn.10002360
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.Comments
call fcn.10002360
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov edx, dword [ebp - 0x2c]
add edx, 0x54
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x100d8738
call fcn.10002360
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov eax, dword [ebp - 0x2c]
add eax, 0x6c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.ProductName
call fcn.10002360
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x100d876c
call fcn.10002360
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov edx, dword [ebp - 0x2c]
add edx, 0x9c
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x100d878c
call fcn.10002360
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov eax, dword [ebp - 0x2c]
add eax, 0xb4
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x100d87ac
call fcn.10002360
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.PrivateBuild
call fcn.10002360
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.LegalTrademarks
call fcn.10002360
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x100d8808
call fcn.10002360
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.SpecialBuild
call fcn.10002360
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.Language
call fcn.10002360
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100170a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001d90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ce73b
mov esp, ebp
pop ebp
ret 0x18