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

Disassembly:
push 0x11c
mov eax, 0x5e66ea
call fcn.00470bca
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov ebx, dword [ebp + 8]
xor edi, edi
push esi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x128], edi
call fcn.00404170
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], ax
push 0xc8
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.00483520
add esp, 0xc
call fcn.00453696
test al, al
je 0x466a9b
loope 0x466ab1
retf
cmp dword [ebp - 0xf8], 0
je 0x466cf9
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466cf9
clc
invalid
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], edi
push eax
push esi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x466b25
lea eax, [ebp - 0xf0]
mov ecx, ebx
push eax
call fcn.00452f5f
push edi
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041ed70
push edi
push 1
lea ecx, [ebp - 0x108]
call fcn.0041ed70
mov eax, ebx
jmp 0x466d4e
inc eax
push eax
call fcn.0047071d
mov dword [ebp - 0x110], eax
pop ecx
test eax, eax
je 0x466af4
call fcn.00453903
test al, al
je 0x466b50
and al, 0x3a
xor ecx, edx
push ds
retf
call fcn.00453c84
test al, al
je 0x466b79
pop ebp
out dx, al
hlt
call fcn.00453696
test al, al
je 0x466ba0
cmp eax, 0xb6146e4a
push esi
pop ebx
sub byte [ebp - 0x559dad56], 0xce
mov dword [0x7e3381e4], eax
add al, byte [ecx + ebx*2 - 0x29]
lahf
push eax
sub cl, bl
test al, 0x20
scasd eax, dword es:[edi]
mov edi, dword [ebp - 0x110]
xor ebx, ebx
push edi
push dword [ebp - 0x114]
push ebx
push dword [ebp - 0x118]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x466bec
push edi
call fcn.00470726
pop ecx
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
push eax
call fcn.00452f5f
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041ed70
push ebx
jmp 0x466d3b
call fcn.00453b70
test al, al
je 0x466c08
invalid
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x5e9bd4
push edi
call sub.VERSION.dll_VerQueryValueW
push edi
test eax, eax
je 0x466bc0
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx + 8]
mov ebx, eax
movzx eax, ax
mov dword [ebp - 0x110], eax
movzx eax, word [ecx + 0xe]
shr ebx, 0x10
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], eax
call fcn.00470726
pop ecx
call fcn.00453ae6
test al, al
je 0x466c7f
dec ebp
xor al, 0x82
push ds
xchg esp, eax
xor al, 0x6c
xchg ebx, eax
pop es
salc
push 0x17b071f6
invalid
call fcn.004538be
test al, al
je 0x466ca8
aad 0x54
lea esi, [esi + 9]
push eax
add eax, 0x1471a984
in al, 0x54
imul dword [esi - 0x5960ff22]
xlatb
fmul dword cs:[edi - 0x6f4ca34]
or dword [ebp*4 - 0x4a0041ad], eax
in al, dx
invalid
push dword [ebp - 0x114]
lea eax, [ebp - 0xd8]
push 1
push dword [ebp - 0x110]
push ebx
push 0x5f1330
push eax
call fcn.00407e80
add esp, 0x18
cmp word [ebp - 0xd8], 0
jne 0x466cd9
invalid
xor eax, eax
jmp 0x466ce6
lea eax, [ebp - 0xd8]
push eax
call fcn.00491bc7
pop ecx
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00402b90
call fcn.00453c3f
test al, al
je 0x466d18
or dword [ecx], ebx
cmp dword [edi + 0x22], esi
mov bh, byte [ebp - 0x7f669503]
stc
jle 0x466ccf
and byte [edx], dl
in eax, dx
mov edi, 0x8b4fe833
invalid
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
push eax
call fcn.00452f5f
push 0
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041ed70
push 0
push 1
lea ecx, [ebp - 0x108]
call fcn.0041ed70
mov eax, dword [ebp - 0x10c]
call fcn.00470b74
ret