Function at 0x4770e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b577d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x7e500c]
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 - 0x2c], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov word [esi + 4], 0
mov byte [esi + 6], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0xc]
mov dword [esi], vtable.ViewMediatorUI.0
mov dword [esi + 8], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov byte [ebp - 4], 1
call fcn.005d4700
lea eax, [esi + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
call fcn.005d4700
lea eax, [esi + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov byte [ebp - 4], 5
call fcn.005d4700
lea eax, [esi + 0x24]
mov dword [esi + 0x18], 0x64
push eax
push 0x70b4c0
push 1
push 0
push 0x70b4d0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov word [esi + 0x28], 0
xor eax, eax
mov byte [esi + 0x2a], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 7
mov word [esi + 0x2c], ax
mov byte [esi + 0x50], al
and dword [esi + 0x50], 0xfffffeff
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], 0x32
mov dword [esi + 0x74], 0x32
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 0x2710
mov dword [esi + 0x9c], 0x2712
mov dword [esi + 0xa0], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.005cb670
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
push 0x12
push str.HTMLViewTester.dll
lea ecx, [ebp - 0x4c]
call fcn.004271d0
push ecx
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4c]
call fcn.00427170
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 0x4772f3
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x68]
call fcn.005e6c10
test al, al
je 0x4772f3
mov eax, dword [esi + 0x68]
xor edi, edi
mov ecx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4772cd
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 0x4772de
push str.registerHTMLView
push edx
call ecx
mov dword [esi + 0xa0], eax
test edi, edi
je 0x4772f3
push dword [ebp - 0x30]
push dword [ebp + 8]
call edi
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret 8