Function at 0x10106790
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156e17
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x101a5034]
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.100125b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10002fa0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.10106bb0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10002fa0
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.100023a0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
push 0
lea ecx, [ebp + 8]
call fcn.10001960
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1010686a
lea ecx, [ebp + 8]
call fcn.10001960
push eax
push str.ERR:_not_find_version_info___s
push 1
push 0x20
push 0x1017a530
push 0x1017a5e4
call fcn.10142a80
add esp, 0x18
jmp 0x10106b78
push 0x101aabfc
mov edx, dword [ebp - 0x30]
push edx
call fcn.1014cf04
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 0x101068b7
push 0x1017a5cc
mov eax, dword [ebp - 0x30]
push eax
push str.ERR:fail_new__d_bytes__s
push 1
push 0x26
push 0x1017a614
push str.CExeDetail::CExeDetail
call fcn.101426f0
add esp, 0x1c
jmp 0x10106b78
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.10001960
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x101068db
jmp 0x10106b78
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 0x1017a660
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10106921
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 str.VarFileInfoTranslation
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.1007b7d0
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.10002230
lea ecx, [ebp - 0x28]
call fcn.10002d10
mov eax, dword [ebp - 0x2c]
add eax, 0x24
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x1017a6fc
call fcn.10002c60
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3c
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x1017a6e4
call fcn.10002c60
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.Comments
call fcn.10002c60
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov edx, dword [ebp - 0x2c]
add edx, 0x54
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1017a714
call fcn.10002c60
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov eax, dword [ebp - 0x2c]
add eax, 0x6c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x1017a764
call fcn.10002c60
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x1017a744
call fcn.10002c60
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov edx, dword [ebp - 0x2c]
add edx, 0x9c
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x1017a79c
call fcn.10002c60
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov eax, dword [ebp - 0x2c]
add eax, 0xb4
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x1017a77c
call fcn.10002c60
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.PrivateBuild
call fcn.10002c60
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.LegalTrademarks
call fcn.10002c60
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x1017a814
call fcn.10002c60
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.SpecialBuild
call fcn.10002c60
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.Language
call fcn.10002c60
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10106c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002d10
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.1014c66b
mov esp, ebp
pop ebp
ret 0x18