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

Disassembly:
push 0x280
mov eax, 0x48a627
call fcn.004544e0
mov dword [ebp - 0x278], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], eax
test edi, edi
je 0x423776
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423776
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 0x423776
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 - 0x259], al
lea eax, [ebp - 0x259]
push eax
lea eax, [ebx + 1]
push eax
call fcn.00423c74
mov esi, dword [ebp - 0x288]
push esi
push ebx
push dword [ebp - 0x26c]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x423727
and dword [ebp - 0x270], 0
lea eax, [ebp - 0x274]
and dword [ebp - 0x274], 0
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push eax
lea eax, [ebp - 0x270]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x423727
mov ecx, dword [ebp - 0x270]
push 0x4a5de8
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.00423deb
and dword [ebp - 0x268], 0
lea eax, [ebp - 0x28c]
add esp, 0x1c
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
je 0x423727
cmp dword [ebp - 0x268], 0
je 0x423727
push dword [ebp - 0x268]
lea ecx, [ebp - 0x240]
call fcn.00404500
xor ebx, ebx
lea ecx, [ebp - 0x240]
inc ebx
push 0x4a5e44
mov byte [ebp - 4], bl
call fcn.004044a0
xorps xmm0, xmm0
xor edi, edi
and dword [ebp - 0x260], edi
movlpd qword [ebp - 0x1c], xmm0
push edi
push 0x4a5e44
lea ecx, [ebp - 0x240]
call fcn.00404410
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
je 0x423718
sub eax, edi
lea ecx, [ebp - 0x240]
push eax
push edi
lea eax, [ebp - 0x258]
push eax
call fcn.00423cf9
cmp dword [eax + 0x14], 8
jb 0x4236b6
mov eax, dword [eax]
push eax
call fcn.0045991d
pop ecx
mov ecx, dword [ebp - 0x260]
mov word [ebp + ecx*2 - 0x1c], ax
lea ecx, [ebp - 0x258]
call fcn.004087f0
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x260]
inc edi
inc eax
mov dword [ebp - 0x260], eax
cmp eax, 4
jl 0x423678
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 0x42371a
xor ebx, ebx
lea ecx, [ebp - 0x240]
call fcn.004087f0
jmp 0x423729
xor ebx, ebx
test esi, esi
je 0x423772
mov eax, dword [ebp - 0x280]
sub eax, esi
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], eax
cmp eax, 0x1000
jb 0x423769
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00408740
mov eax, dword [ebp - 0x260]
mov esi, dword [ebp - 0x264]
pop ecx
pop ecx
push eax
push esi
call fcn.00453c42
pop ecx
pop ecx
mov eax, ebx
jmp 0x423778
xor eax, eax
call fcn.0045449e
ret