Function at 0x100cf400
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4a47
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1000b330
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 0x20], 7
mov dword [edi + 0x1c], 0
mov word [edi + 0xc], ax
lea ecx, [edi + 0x24]
call fcn.10003f50
lea esi, [edi + 0xcc]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp + 8]
cmp esi, eax
je 0x100cf4a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001a60
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
mov dword [edi], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x100cf51b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.ERR:_not_find_version_info___s
push 1
push 0x20
push 0x100ff6c0
push 0x100ff71c
call fcn.100d1600
add esp, 0x18
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp + 0x1c], 8
jb 0x100cf4fb
push dword [ebp + 8]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret 0x18
push 0x101190f0
push esi
call fcn.100dd185
mov ecx, eax
add esp, 8
mov dword [edi], ecx
test ecx, ecx
jne 0x100cf554
push 0x100ff68c
push esi
push str.ERR:fail_new__d_bytes__s
push 1
push 0x26
push 0x100ff74c
push str.CExeDetail::CExeDetail
call fcn.100d1270
add esp, 0x1c
jmp 0x100cf4e7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x100cf4e7
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x38]
push 0
push eax
push 0x100ff794
push dword [edi]
mov dword [ebp - 0x38], 0
call esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 0
push eax
push 0x100ff798
push dword [edi]
call esi
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + 2]
push eax
movzx eax, word [edx]
push eax
lea eax, [ebp - 0x28]
push str.StringFileInfo_04x_04x_
push eax
call fcn.1002e5f0
add esp, 0x10
lea ecx, [edi + 0xc]
push eax
call fcn.10001960
cmp dword [ebp - 0x14], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x100cf5e7
push dword [ebp - 0x28]
call esi
add esp, 4
sub esp, 0x18
mov ecx, esp
push str.CompanyName
call fcn.10001ef0
lea eax, [edi + 0x24]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push 0x100ff818
call fcn.10001ef0
lea eax, [edi + 0x3c]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push str.Comments
call fcn.10001ef0
push 0
mov ecx, edi
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push 0x100ff844
call fcn.10001ef0
lea eax, [edi + 0x54]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push str.ProductName
call fcn.10001ef0
lea eax, [edi + 0x6c]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push 0x100ff878
call fcn.10001ef0
lea eax, [edi + 0x84]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push 0x100ff898
call fcn.10001ef0
lea eax, [edi + 0x9c]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push 0x100ff8b8
call fcn.10001ef0
lea eax, [edi + 0xb4]
mov ecx, edi
push eax
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push str.PrivateBuild
call fcn.10001ef0
push 0
mov ecx, edi
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push str.LegalTrademarks
call fcn.10001ef0
push 0
mov ecx, edi
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push 0x100ff914
call fcn.10001ef0
push 0
mov ecx, edi
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push str.SpecialBuild
call fcn.10001ef0
push 0
mov ecx, edi
call fcn.100cf740
sub esp, 0x18
mov ecx, esp
push str.Language
call fcn.10001ef0
push 0
mov ecx, edi
call fcn.100cf740
jmp 0x100cf4ed