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

Disassembly:
push 0x280
mov eax, 0x5c428b
call fcn.00542a0f
mov dword [ebp - 0x278], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], eax
test edi, edi
je 0x46312f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46312f
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 0x46312f
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.00462be0
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 0x4630e2
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 0x4630e2
mov ecx, dword [ebp - 0x270]
push 0x601b00
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.004638a6
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 0x4630e2
cmp dword [ebp - 0x268], ebx
je 0x4630e2
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.00409240
inc ebx
lea ecx, [ebp - 0x240]
push 0x5fe14c
mov byte [ebp - 4], bl
call fcn.00409b6d
xorps xmm0, xmm0
xor edi, edi
and dword [ebp - 0x25c], edi
movlpd qword [ebp - 0x1c], xmm0
push edi
push 0x5fe14c
lea ecx, [ebp - 0x240]
call fcn.0044a169
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x463071
sub eax, edi
lea ecx, [ebp - 0x240]
push eax
push edi
lea eax, [ebp - 0x258]
push eax
call fcn.0043e4ec
cmp dword [eax + 0x14], 8
jb 0x46300f
mov eax, dword [eax]
push eax
call fcn.0055584e
pop ecx
mov ecx, dword [ebp - 0x25c]
mov word [ebp + ecx*2 - 0x1c], ax
lea ecx, [ebp - 0x258]
call fcn.00403f80
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
inc edi
inc eax
mov dword [ebp - 0x25c], eax
cmp eax, 4
jl 0x462fd1
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 0x463073
xor ebx, ebx
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x4630c8
mov ecx, dword [ebp - 0x240]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x264], ecx
cmp eax, 0x1000
jb 0x4630bf
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x25c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x264]
push eax
push ecx
call fcn.00541bf5
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 0x46312b
mov eax, dword [ebp - 0x280]
sub eax, esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x264], eax
cmp eax, 0x1000
jb 0x463122
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x264]
mov esi, dword [ebp - 0x25c]
pop ecx
pop ecx
push eax
push esi
call fcn.00541bf5
pop ecx
pop ecx
mov eax, ebx
jmp 0x463131
xor eax, eax
call fcn.005429be
ret