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

Disassembly:
push 0x280
mov eax, 0x5d8223
call fcn.0056d43d
mov dword [ebp - 0x278], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], eax
test edi, edi
je 0x462e86
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462e86
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 0x462e86
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.00462937
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 0x462e39
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 0x462e39
mov ecx, dword [ebp - 0x270]
push 0x614480
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.004635fd
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 0x462e39
cmp dword [ebp - 0x268], ebx
je 0x462e39
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.00408fe7
inc ebx
lea ecx, [ebp - 0x240]
push 0x610b34
mov byte [ebp - 4], bl
call fcn.00409914
xorps xmm0, xmm0
xor edi, edi
and dword [ebp - 0x25c], edi
movlpd qword [ebp - 0x1c], xmm0
push edi
push 0x610b34
lea ecx, [ebp - 0x240]
call fcn.00452e2a
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x462dc8
sub eax, edi
lea ecx, [ebp - 0x240]
push eax
push edi
lea eax, [ebp - 0x258]
push eax
call fcn.0043e28c
cmp dword [eax + 0x14], 8
jb 0x462d66
mov eax, dword [eax]
push eax
call fcn.00580270
pop ecx
mov ecx, dword [ebp - 0x25c]
mov word [ebp + ecx*2 - 0x1c], ax
lea ecx, [ebp - 0x258]
call fcn.00403d40
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
inc edi
inc eax
mov dword [ebp - 0x25c], eax
cmp eax, 4
jl 0x462d28
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 0x462dca
xor ebx, ebx
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x462e1f
mov ecx, dword [ebp - 0x240]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x264], ecx
cmp eax, 0x1000
jb 0x462e16
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00403daf
mov eax, dword [ebp - 0x25c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x264]
push eax
push ecx
call fcn.0056c61e
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 0x462e82
mov eax, dword [ebp - 0x280]
sub eax, esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x264], eax
cmp eax, 0x1000
jb 0x462e79
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00403daf
mov eax, dword [ebp - 0x264]
mov esi, dword [ebp - 0x25c]
pop ecx
pop ecx
push eax
push esi
call fcn.0056c61e
pop ecx
pop ecx
mov eax, ebx
jmp 0x462e88
xor eax, eax
call fcn.0056d3ec
ret