Function at 0x452cdb
Capabilities:
Check if file exists

Disassembly:
push 0x668
mov eax, 0x49247d
call fcn.00458f67
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x66c], eax
test eax, eax
je 0x452f76
xor ecx, ecx
cmp cx, word [eax]
je 0x452f76
lea edi, [esi + 8]
push edi
mov dword [ebp - 0x674], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
inc ebx
mov byte [ebp - 0x670], bl
and dword [ebp - 4], 0
cmp dword [esi + 4], 0
jne 0x452f38
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0045b1d0
push 0x10
lea eax, [ebp - 0x668]
mov dword [ebp - 0x664], ebx
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x668], 0x208
push eax
lea eax, [ebp - 0x664]
push eax
push str.Install_Dir
push str.SOFTWAREMcAfeePlatform
push 0x80000002
call fcn.00452a81
add esp, 0x28
test eax, eax
jne 0x452da5
cmp dword [ebp - 0x664], ebx
jne 0x452da5
push str.core_vtploader_x86.dll
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00470d2a
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x65c], 2
test eax, eax
jne 0x452ed1
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0045b1d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x452ed1
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0045b1d0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov byte [ebp - 0x660], 0
lea eax, [ebp - 0x628]
push dword [ebp - 0x660]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00450608
mov byte [ebp - 0x660], 0
lea eax, [ebp - 0x658]
push dword [ebp - 0x660]
mov byte [ebp - 4], bl
push str._vtploader_x86.dll
push eax
call fcn.00450608
add esp, 0x18
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.0040bf5c
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x640]
call fcn.00450a91
lea ecx, [ebp - 0x658]
call fcn.00403bdf
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0045ed7b
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
call fcn.00403bdf
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452f55
push 0x4c389c
push dword [0x4a6b48]
lea eax, [ebp - 0x218]
push 0x4c13b4
push 0x4c13d4
push dword [0x4a6b4c]
push eax
call fcn.00451d1d
add esp, 0x18
test eax, eax
je 0x452f32
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x452f32
push str.ValidateModule
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
je 0x452f5a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x66c]
mov eax, dword [esi + 4]
xor bl, bl
mov byte [ebp - 0x670], bl
call eax
pop ecx
jmp 0x452f5d
push 2
pop eax
jmp 0x452f63
push 5
pop eax
mov dword [ebp - 0x65c], eax
test bl, bl
je 0x452f79
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x65c]
jmp 0x452f79
push 0x57
pop eax
call fcn.00458f11
ret 4