Function at 0x410f10
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x454536
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46fb88]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46fb88]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0x114]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.0041b558
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x410f7d
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x30]
push ecx
push ebp
mov dword [esp + 0x110], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x410fe3
mov esi, dword [esp + 0x1c]
push 0x458f28
mov ecx, esi
call fcn.00401710
lea eax, [edi - 0x10]
mov dword [esp + 0x108], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410fdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x411135
push esi
call fcn.0041acde
add esp, 4
mov edi, eax
push edi
push esi
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x18]
shr eax, 2
xor esi, esi
test eax, eax
jle 0x4110ca
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x411030
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x3c]
push str.StringFileInfo_04x_04xProductVersion
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401710
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 1
call fcn.00402c60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x108], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
inc esi
shr ecx, 2
cmp esi, ecx
jl 0x411030
push 0x458f28
push 0x45a7ac
lea ecx, [esp + 0x1c]
call fcn.00407680
push 0x45b06c
push 0x45b068
lea ecx, [esp + 0x1c]
call fcn.00407680
push edi
call fcn.0041acd3
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
push esi
call fcn.00401410
mov edi, dword [esp + 0x24]
add eax, 0x10
mov dword [edi], eax
add esp, 8
mov dword [esp + 0x108], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x411133
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0043b6e4
add esp, 0xf8
ret