Function at 0x1000fe12
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x4c4]
sub esp, 0x544
mov eax, dword [0x1001e248]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp + 0x4c0], eax
mov esi, ecx
call dword [0x1001e040]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0xa8]
xor edi, edi
cmp eax, edi
jge 0x100100ff
cmp eax, 0x800403ec
je 0x100100ff
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x48], edi
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
mov ebx, 0x1001b37c
push ebx
lea ecx, [ebp - 0x4c]
call fcn.1000153a
push ebx
lea ecx, [ebp - 0x5c]
call fcn.1000153a
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x1000fe8c
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [ecx + 0x14]
push dword [ebp - 0x48]
push edi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
cmp dword [ebp - 0x4c], edi
je 0x1000fea8
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jne 0x1000ff08
push 2
push edi
push 0x1001b370
mov dword [ebp - 0x60], 0x1300
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
cmp ebx, edi
je 0x1000feca
mov dword [ebp - 0x60], 0x1b00
push edi
push edi
lea eax, [ebp - 0x54]
push eax
push 0x400
push dword [esi + 0xa8]
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x1000fefd
push dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
call fcn.10001d95
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebx, edi
je 0x1000ff08
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esi + 0x68], edi
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x64], eax
je 0x1000ff26
push 1
mov ecx, esi
call fcn.10009554
test eax, eax
je 0x1000ff26
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x5c], edi
je 0x1000ff3c
push dword [ebp - 0x5c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jne 0x10010000
push str.Unknown
lea ecx, [ebp - 0x5c]
call fcn.10001d95
lea eax, [ebp + 0x3bc]
push eax
push 0x1001a35c
call fcn.1000b355
test eax, eax
jl 0x10010000
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x3bc]
push eax
mov dword [ebp - 0x50], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, edi
je 0x10010000
add eax, 3
and eax, 0xfffffffc
call fcn.10018600
mov dword [ebp - 0x54], esp
push esp
push ebx
push edi
lea eax, [ebp + 0x3bc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10010000
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x1001a4ec
push dword [ebp - 0x54]
mov dword [ebp - 0x60], edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10010000
cmp dword [ebp - 0x60], edi
jbe 0x10010000
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d__d__d__d
lea eax, [ebp + 0x3bc]
push 0x104
push eax
call fcn.10017877
add esp, 0x1c
lea eax, [ebp + 0x3bc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10001d95
lea eax, [esi + 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001569
push dword [ebp - 0x5c]
push dword [esi + 0xa8]
push dword [eax]
lea eax, [ebp - 0x44]
push dword [ebp - 0x64]
push dword [esi + 0x98]
push dword [ebp - 0x4c]
push eax
push 0x400
push 0x44c
call fcn.10009bcd
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0x24
push dword [ebp - 0x50]
call ebx
mov eax, dword [esi + 0xa0]
cmp eax, edi
je 0x100100b6
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jbe 0x100100b6
push 0x1001b358
push 0x400
lea eax, [ebp - 0x44]
push eax
call fcn.100020fb
mov eax, dword [esi + 0xa0]
cmp eax, edi
mov dword [ebp - 0x64], eax
jne 0x1001007d
xor eax, eax
jmp 0x100100a7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x50], eax
add eax, 3
and eax, 0xfffffffc
call fcn.10018600
mov eax, esp
push dword [ebp - 0x58]
push dword [ebp - 0x50]
push dword [ebp - 0x64]
push eax
call fcn.10001313
push eax
push 0x400
lea eax, [ebp - 0x44]
push eax
call fcn.100020fb
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x70]
mov word [ebp - 0x70], di
call fcn.1000a2d0
push edi
push str.help:no
lea eax, [ebp - 0x70]
push eax
push str.error.htm
mov ecx, esi
call fcn.10003435
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x5c]
call ebx
push dword [ebp - 0x4c]
call ebx
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x10010105
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10010105
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 4
mov ecx, esi
call fcn.1000bc77
test byte [esi + 0xa4], 2
je 0x100101ef
lea eax, [ebp - 0x4c]
push eax
push 0x1001afd8
push dword [esi + 4]
mov dword [ebp - 0x4c], edi
call fcn.1000a09e
cmp dword [ebp - 0x4c], edi
je 0x10010169
push 8
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.10018640
add esp, 0xc
push edi
push 8
lea edx, [ebp - 0x68]
push edx
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x50]
lea eax, [esi + 0x30]
push edx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
push 0x1001ae78
mov dword [ebp - 0x68], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x48]
push eax
push 0x1001b154
push dword [esi + 4]
mov dword [ebp - 0x48], edi
call fcn.10009fe9
cmp dword [ebp - 0x48], edi
je 0x100101e0
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000949b
mov ebx, dword [ebp - 0x48]
mov esi, eax
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1001ae78
lea ecx, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
call fcn.10001569
mov ecx, dword [ebx]
sub esp, 0x10
mov edi, esp
push dword [eax]
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x88]
push dword [ebp - 0x58]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x100101de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov eax, dword [ebp - 0x4c]
cmp eax, edi
je 0x10010266
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10010266
lea eax, [ebp - 0x48]
push eax
push 0x1001b154
push dword [esi + 4]
mov dword [ebp - 0x48], edi
call fcn.10009fe9
cmp dword [ebp - 0x48], edi
je 0x10010266
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x48]
push 0x1001ae78
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x58], esi
call fcn.10001569
mov ecx, dword [esi]
sub esp, 0x10
mov edi, esp
push dword [eax]
lea esi, [ebp - 0x80]
push dword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x88]
push dword [ebp - 0x50]
call ebx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10010264
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
push edi
push edi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c0]
xor ecx, ebp
call fcn.10018081
add ebp, 0x4c4
leave
ret