Function at 0x45a1e0
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c54fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
xor eax, eax
mov dword [ebp - 0x124], 7
movups xmmword [ebp - 0x138], xmm0
mov word [ebp - 0x138], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x10], eax
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x45a25c
mov eax, dword [edi]
xor ecx, ecx
push 0xb
mov word [eax], cx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x164]
push 0x4f3298
movups xmmword [ebp - 0x164], xmm0
call fcn.004226b0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x154], 0
mov byte [ebp - 0x141], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
je 0x45a416
cmp dword [esi + 0x10], 0
je 0x45a416
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x45a2da
mov eax, dword [esi]
lea ecx, [ebp - 0x120]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x148], eax
test eax, eax
je 0x45a416
push 0x4c84f0
push eax
call fcn.00473062
add esp, 8
mov dword [ebp - 0x14c], eax
test eax, eax
je 0x45a416
cmp dword [esi + 0x14], 7
jbe 0x45a31a
mov esi, dword [esi]
push eax
push dword [ebp - 0x148]
push dword [ebp - 0x120]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov esi, dword [ebp - 0x14c]
test eax, eax
je 0x45a40d
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x13c]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45a40d
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x45a40d
cmp dword [ebp - 0x11c], 0
je 0x45a40d
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp - 0x150], 7
lea eax, [ebp - 0x164]
cmova eax, dword [ebp - 0x164]
push eax
push ecx
push str.StringFileInfo_08lx_s
lea eax, [ebp - 0x118]
push 0x80
push eax
call fcn.00456330
add esp, 0x14
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, 1
jne 0x45a40d
mov edx, dword [ebp - 0x140]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x148], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a3e6
sub ecx, dword [ebp - 0x148]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00418760
mov byte [ebp - 0x141], 1
push esi
call fcn.00472e5d
add esp, 4
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0
call fcn.004013d0
cmp byte [ebp - 0x141], 0
je 0x45a47a
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x164]
call fcn.0045a4b0
mov esi, eax
cmp edi, esi
je 0x45a46f
mov ecx, edi
call fcn.004013d0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x164]
call fcn.004013d0
lea ecx, [ebp - 0x138]
call fcn.004013d0
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret