Function at 0x454d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59974a
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 8]
mov dword [esi], vtable.ViewMediatorBase.0
mov byte [esi + 4], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x4c], esi
jb 0x454dac
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x24]
mov dword [esi], vtable.ViewMediatorUI.0
call fcn.00507960
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.00507960
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call fcn.00507960
lea eax, [esi + 0x3c]
mov dword [esi + 0x30], 0x64
push eax
push 0x5ae59c
push 1
push 0
push 0x5ae5bc
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov word [esi + 0x40], 0
mov byte [esi + 0x50], 0
and dword [esi + 0x50], 0xfffffeff
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
xor eax, eax
mov dword [esi + 0x70], 0x3e99999a
mov byte [esi + 0x74], 1
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0x2710
mov dword [esi + 0xa0], 0x2712
mov dword [esi + 0xa4], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00500bc0
push 0x12
xor eax, eax
mov dword [ebp - 0x30], 7
push str.HTMLViewTester.dll
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00413c10
push ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00500ee0
mov byte [ebp - 4], 8
add esp, 4
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x454f27
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00414580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454f92
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x68]
call fcn.00512af0
test al, al
je 0x454f92
mov eax, dword [esi + 0x68]
xor edi, edi
mov ecx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x454f6c
push str.initializeTester
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
mov edx, dword [esi + 0x68]
xor eax, eax
test edx, edx
je 0x454f7d
push str.registerHTMLView
push edx
call ecx
mov dword [esi + 0xa4], eax
test edi, edi
je 0x454f92
push dword [ebp - 0x2c]
push dword [ebp + 8]
call edi
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x454fa7
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00414580
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 8