Function at 0x45fdb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x524
mov eax, dword [0x5af710]
push ebx
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x52c], eax
mov eax, dword [ebp + 8]
push str._fileVersion
push eax
mov ebx, ecx
mov dword [esp + 0x18], edi
call fcn.0053c3a0
mov esi, eax
push str.__fileVersion_
push esi
call fcn.0053c3a0
add esp, 0x10
test esi, esi
mov dword [esp + 0x18], eax
je 0x460060
test eax, eax
je 0x460060
cmp esi, edi
ja 0x460060
cmp eax, edi
ja 0x460060
xor eax, eax
mov byte [esp + 0x328], 0
mov ecx, 0x7f
lea edi, [esp + 0x329]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x128], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x5759c8
push esi
stosb byte es:[edi], al
call fcn.0053c3a0
mov edi, eax
add esp, 8
test edi, edi
je 0x460060
lea eax, [edi + 1]
push 0x5759c8
push eax
mov dword [esp + 0x1c], eax
call fcn.0053c3a0
add esp, 8
test eax, eax
je 0x460060
sub eax, edi
dec eax
mov edi, eax
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.0053d930
add esp, 0xc
mov byte [esp + edi + 0x128], 0
mov edi, dword [esp + 0x10]
push edi
push esi
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.0045edd0
test eax, eax
jl 0x460060
lea eax, [esp + 0x328]
push eax
push edi
push esi
mov ecx, ebx
call fcn.0045fac0
mov ecx, dword [esp + 0x18]
mov esi, eax
test esi, esi
mov dword [ebx + 0xe0], ecx
je 0x460047
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x32c]
push eax
xor esi, esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x460047
push edi
call fcn.0053a6dc
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x460047
mov ecx, dword [esp + 0x18]
push eax
push edi
push ecx
lea edx, [esp + 0x334]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x46003a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x572ea0
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46003a
lea eax, [esp + 0x128]
push str.HIGHER
push eax
call fcn.0053c3a0
add esp, 8
test eax, eax
je 0x45ffb0
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xc]
lea ecx, [esp + 0x20]
push ecx
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0045ee40
xor ecx, ecx
test eax, eax
setg cl
mov esi, ecx
lea edx, [esp + 0x128]
push str.LOWER
push edx
call fcn.0053c3a0
add esp, 8
test eax, eax
je 0x45fff6
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xc]
lea ecx, [esp + 0x20]
push ecx
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0045ee40
xor ecx, ecx
test eax, eax
setl cl
mov esi, ecx
lea edx, [esp + 0x128]
push str.SAME
push edx
call fcn.0053c3a0
add esp, 8
test eax, eax
je 0x46003a
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xc]
lea ecx, [esp + 0x20]
push ecx
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0045ee40
test eax, eax
jne 0x46003a
or esi, 1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0053a6ee
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x520]
xor ecx, ebp
call fcn.0053aaae
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x52c]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.0053aaae
mov esp, ebp
pop ebp
ret 8