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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5aecf1
xor al, al
jmp 0x5aef11
call fcn.00477bf0
test al, al
je 0x5aed15
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.00477a10
test al, al
je 0x5aed3c
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x3c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x40], eax
test eax, eax
je 0x5aecea
call fcn.00477dd0
test al, al
je 0x5aed77
push edi
pop ebx
push edi
push edx
push ecx
pop ebx
pop edx
push ebx
pop eax
push eax
pop ebp
pop edi
pop ebp
pop esp
pop ecx
push ecx
push edx
push esp
push ecx
push edi
pop ebp
pop ecx
pop ebx
call fcn.00477ad0
test al, al
je 0x5aed98
pop eax
pop ebx
pop edi
pop edi
pop ebp
pop edi
pop ecx
pop esp
push esp
pop edi
push eax
push ebp
pop esp
pop edi
pop edx
push ebx
pop esi
push edx
push esp
push ecx
pop ebp
pop ebp
pop edi
push edi
call fcn.00477470
test al, al
je 0x5aedb9
push esi
push esi
push edx
pop esi
pop ecx
push ecx
pop edi
pop eax
pop ebp
pop eax
push esp
push ecx
pop edx
pop eax
pop ebx
push esi
pop esp
pop ecx
push ecx
pop ebp
pop edi
pop esi
push esi
push ebp
mov edi, dword [ebp - 0x40]
push edi
call fcn.005c5a72
mov esi, eax
mov dword [ebp - 0x4c], esi
pop ecx
test esi, esi
je 0x5aee18
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp - 0x3c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5aee18
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
push 0x6947dc
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5aee18
push 0x34
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
call fcn.005bd1e0
add esp, 0xc
cmp dword [ebp - 0x38], 0xfeef04bd
sete al
mov byte [ebp - 0x44], al
call fcn.00477bf0
test al, al
je 0x5aee3c
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.00477a10
test al, al
je 0x5aee63
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
push dword [ebp - 0x4c]
call fcn.005c5a6d
cmp byte [ebp - 0x44], 0
pop ecx
je 0x5aecea
call fcn.004775f0
test al, al
je 0x5aee9e
push esp
push edi
pop ebx
pop ecx
pop esp
pop ebx
pop ebx
push ecx
pop ebp
pop eax
pop ebp
push ebx
pop ebx
pop edx
push ebp
push ebx
pop edi
pop eax
push ebx
push edx
pop edx
pop eax
pop edi
push ebp
pop edx
push ebp
push ebx
pop ebp
push ebx
pop edx
pop esi
call fcn.00477830
test al, al
je 0x5aeec0
pop edx
push ecx
push ebp
pop edx
push esp
push esp
push edx
push esi
pop eax
push esi
pop ebx
pop ecx
pop esi
pop ebx
push edi
pop edi
push ecx
push esi
pop edi
pop edi
push ecx
push esp
pop ebp
push ebp
push edi
call fcn.00477c50
test al, al
je 0x5aeee5
pop edx
push ecx
pop ebp
pop ebx
pop ebp
pop eax
pop ebx
push edi
push edx
push esi
pop edi
push eax
push edx
push edi
push esi
push esp
pop ebp
push ecx
push edx
pop eax
pop ebp
pop esi
push ecx
pop ecx
push ebx
pop edi
push edi
pop ebp
mov ecx, dword [ebp - 0x30]
mov eax, ecx
mov edx, dword [ebp - 0x50]
shr eax, 0x10
mov dword [edx], eax
mov edx, dword [ebp - 0x58]
movzx eax, cx
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
shr eax, 0x10
mov dword [edx], eax
movzx eax, cx
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ad281
mov esp, ebp
pop ebp
ret