Function at 0x457a94
Capabilities:
Check if file exists
Get file version info
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5631d7
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5b38f0]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x5b38f0]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov dword [esp + 0x34], edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
test esi, esi
je 0x457cc8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457cc8
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x457cc8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x17]
mov dword [esp + 0x298], ebx
push eax
lea eax, [edi + 1]
mov byte [esp + 0x1b], bl
push eax
lea ecx, [esp + 0x2c]
call fcn.0045782b
push dword [esp + 0x24]
push edi
push dword [esp + 0x24]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x457cb9
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ebx
push eax
push str.VarFileInfoTranslation
push dword [esp + 0x30]
mov dword [esp + 0x48], ebx
call esi
test eax, eax
je 0x457cb9
mov ecx, dword [esp + 0x20]
push 0x58ec38
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, [esp + 0x94]
push eax
call fcn.0052651a
add esp, 0x1c
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x30]
call esi
test eax, eax
je 0x457cb9
cmp dword [esp + 0x18], ebx
je 0x457cb9
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
call fcn.00408718
mov esi, 0x58b9c0
mov byte [esp + 0x298], 1
push esi
call fcn.004086d2
pop ecx
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.004090e2
xor eax, eax
mov dword [esp + 0x72], ebx
mov word [esp + 0x70], ax
mov esi, ebx
mov word [esp + 0x76], bx
mov edi, ebx
mov ebx, 0x58b9c0
push ebx
call fcn.004086d2
pop ecx
push eax
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.0043b13f
mov ebx, eax
cmp ebx, 0xffffffff
je 0x457ca8
mov ecx, ebx
lea eax, [esp + 0x58]
sub ecx, esi
push ecx
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.0043aafa
cmp dword [eax + 0x14], 8
jb 0x457c57
mov eax, dword [eax]
push eax
call fcn.0052586e
pop ecx
push 0
push 1
lea ecx, [esp + 0x60]
mov word [esp + edi*2 + 0x78], ax
call fcn.00403236
inc edi
lea esi, [ebx + 1]
cmp edi, 4
jl 0x457c1c
movzx ecx, word [esp + 0x70]
xor esi, esi
movzx eax, word [esp + 0x72]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
mov dword [eax], ecx
movzx ecx, word [esp + 0x76]
movzx eax, word [esp + 0x78]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x30]
inc esi
mov dword [eax], ecx
jmp 0x457caa
xor esi, esi
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00403236
jmp 0x457cbb
mov esi, ebx
lea ecx, [esp + 0x24]
call fcn.004090bc
mov eax, esi
jmp 0x457cca
xor eax, eax
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret