Function at 0x465c9a
Capabilities:
Check if file exists
Get file version info

Disassembly:
push 0x280
mov eax, 0x5d3fe7
call fcn.0056df1d
mov dword [ebp - 0x278], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], eax
test edi, edi
je 0x465f85
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465f85
and dword [ebp - 0x26c], 0
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x465f85
xor eax, eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 0x25d], al
lea eax, [ebp - 0x25d]
push eax
lea eax, [ebx + 1]
push eax
call fcn.00465a1e
mov esi, dword [ebp - 0x288]
push esi
push ebx
push dword [ebp - 0x26c]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
xor ebx, ebx
test eax, eax
je 0x465f38
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], ebx
push eax
push str.VarFileInfoTranslation
push esi
mov dword [ebp - 0x274], ebx
call edi
test eax, eax
je 0x465f38
mov ecx, dword [ebp - 0x270]
push 0x60c888
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004666b3
add esp, 0x1c
mov dword [ebp - 0x268], ebx
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
je 0x465f38
cmp dword [ebp - 0x268], ebx
je 0x465f38
push dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x240], ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
call fcn.004089a4
inc ebx
lea ecx, [ebp - 0x240]
push 0x6088ac
mov byte [ebp - 4], bl
call fcn.004092d1
xorps xmm0, xmm0
xor edi, edi
and dword [ebp - 0x25c], edi
movlpd qword [ebp - 0x1c], xmm0
push edi
push 0x6088ac
lea ecx, [ebp - 0x240]
call fcn.0044c52f
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x465ec7
sub eax, edi
lea ecx, [ebp - 0x240]
push eax
push edi
lea eax, [ebp - 0x258]
push eax
call fcn.0043bb55
cmp dword [eax + 0x14], 8
jb 0x465e65
mov eax, dword [eax]
push eax
call fcn.0057d9f1
pop ecx
mov ecx, dword [ebp - 0x25c]
mov word [ebp + ecx*2 - 0x1c], ax
lea ecx, [ebp - 0x258]
call fcn.00403730
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
inc edi
inc eax
mov dword [ebp - 0x25c], eax
cmp eax, 4
jl 0x465e27
movzx ecx, word [ebp - 0x1c]
movzx eax, word [ebp - 0x1a]
shl ecx, 0x10
or ecx, eax
mov eax, dword [ebp - 0x278]
mov dword [eax], ecx
movzx ecx, word [ebp - 0x16]
movzx eax, word [ebp - 0x14]
shl ecx, 0x10
or ecx, eax
mov eax, dword [ebp - 0x27c]
mov dword [eax], ecx
jmp 0x465ec9
xor ebx, ebx
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x465f1e
mov ecx, dword [ebp - 0x240]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x264], ecx
cmp eax, 0x1000
jb 0x465f15
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x25c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x264]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
and dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
test esi, esi
je 0x465f81
mov eax, dword [ebp - 0x280]
sub eax, esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x264], eax
cmp eax, 0x1000
jb 0x465f78
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x264]
mov esi, dword [ebp - 0x25c]
pop ecx
pop ecx
push eax
push esi
call fcn.0056d0c8
pop ecx
pop ecx
mov eax, ebx
jmp 0x465f87
xor eax, eax
call fcn.0056decc
ret