Function at 0x100c7940
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111847
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10152034]
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.1000c4a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10002370
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.100c7d60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10002370
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.10001c80
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
push 0
lea ecx, [ebp + 8]
call fcn.10001710
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100c7a1a
lea ecx, [ebp + 8]
call fcn.10001710
push eax
push str.ERR:_not_find_version_info___s
push 1
push 0x20
push 0x1012ce68
push 0x1012ce1c
call fcn.100ffcc0
add esp, 0x18
jmp 0x100c7d28
push 0x10156fe8
mov edx, dword [ebp - 0x30]
push edx
call fcn.1010a8f5
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 0x100c7a67
push 0x1012cec4
mov eax, dword [ebp - 0x30]
push eax
push str.ERR:fail_new__d_bytes__s
push 1
push 0x26
push 0x1012cef4
push str.CExeDetail::CExeDetail
call fcn.100ff930
add esp, 0x1c
jmp 0x100c7d28
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.10001710
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x100c7a8b
jmp 0x100c7d28
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 0x1012cf58
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100c7ad1
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.10040660
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.10001c40
lea ecx, [ebp - 0x28]
call fcn.10002300
mov eax, dword [ebp - 0x2c]
add eax, 0x24
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x1012cf5c
call fcn.10002200
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3c
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x1012cfbc
call fcn.10002200
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.Comments
call fcn.10002200
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov edx, dword [ebp - 0x2c]
add edx, 0x54
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x1012cfec
call fcn.10002200
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov eax, dword [ebp - 0x2c]
add eax, 0x6c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x1012cfd4
call fcn.10002200
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x1012d028
call fcn.10002200
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov edx, dword [ebp - 0x2c]
add edx, 0x9c
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x1012d008
call fcn.10002200
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov eax, dword [ebp - 0x2c]
add eax, 0xb4
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x1012d064
call fcn.10002200
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.PrivateBuild
call fcn.10002200
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.LegalTrademarks
call fcn.10002200
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x1012d084
call fcn.10002200
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.SpecialBuild
call fcn.10002200
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.Language
call fcn.10002200
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100c7e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002300
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.1010a06b
mov esp, ebp
pop ebp
ret 0x18