Function at 0x10109740
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b417
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x101ac034]
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.10012a80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.10003f70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.10109b60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xcc
call fcn.10003f70
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.100035f0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
push 0
lea ecx, [ebp + 8]
call fcn.10002bf0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1010981a
lea ecx, [ebp + 8]
call fcn.10002bf0
push eax
push str.ERR:_not_find_version_info___s
push 1
push 0x20
push 0x10180410
push 0x101803e0
call fcn.10146290
add esp, 0x18
jmp 0x10109b28
push 0x101b239c
mov edx, dword [ebp - 0x30]
push edx
call fcn.10150f54
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 0x10109867
push 0x10180488
mov eax, dword [ebp - 0x30]
push eax
push str.ERR:fail_new__d_bytes__s
push 1
push 0x26
push 0x101804b8
push str.CExeDetail::CExeDetail
call fcn.10145f00
add esp, 0x1c
jmp 0x10109b28
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.10002bf0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1010988b
jmp 0x10109b28
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 0x1018051c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x101098d1
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.1007cf90
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.10003480
lea ecx, [ebp - 0x28]
call fcn.10003e00
mov eax, dword [ebp - 0x2c]
add eax, 0x24
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x10180520
call fcn.10003d50
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov ecx, dword [ebp - 0x2c]
add ecx, 0x3c
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x10180580
call fcn.10003d50
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.Comments
call fcn.10003d50
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov edx, dword [ebp - 0x2c]
add edx, 0x54
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x101805b0
call fcn.10003d50
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov eax, dword [ebp - 0x2c]
add eax, 0x6c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x10180598
call fcn.10003d50
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x101805ec
call fcn.10003d50
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov edx, dword [ebp - 0x2c]
add edx, 0x9c
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x101805cc
call fcn.10003d50
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov eax, dword [ebp - 0x2c]
add eax, 0xb4
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x10180628
call fcn.10003d50
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.PrivateBuild
call fcn.10003d50
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.LegalTrademarks
call fcn.10003d50
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x10180648
call fcn.10003d50
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.SpecialBuild
call fcn.10003d50
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.Language
call fcn.10003d50
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10109c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret 0x18