Function at 0x584de0
Capabilities:
Access peb ldr_data
Check if file exists
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741a6a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x857060]
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 edi, ecx
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi], vtable.ViewMediatorBase.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [edi + 0x40], al
and dword [edi + 0x40], 0xfffffeff
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 2
mov dword [edi], vtable.ViewMediatorUI.0
mov dword [edi + 0x50], eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0x58]
mov dword [edi + 0x54], eax
push 1
push 0x7ec0e0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
mov dword [edi + 0x70], 0
xor eax, eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 7
mov word [edi + 0x90], ax
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], 7
mov word [edi + 0xa8], ax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], 7
mov word [edi + 0xc0], ax
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], 7
mov word [edi + 0xd8], ax
mov dword [edi + 0x100], eax
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [edi + 0x74], al
mov dword [edi + 0x120], eax
mov dword [edi + 0x124], 7
mov word [edi + 0x110], ax
mov dword [edi + 0x138], eax
mov dword [edi + 0x13c], 7
mov word [edi + 0x128], ax
mov dword [edi + 0x150], eax
mov dword [edi + 0x154], 7
mov word [edi + 0x140], ax
mov dword [edi + 0x168], eax
mov dword [edi + 0x16c], 7
mov word [edi + 0x158], ax
mov dword [edi + 0x180], eax
mov dword [edi + 0x184], 7
mov word [edi + 0x170], ax
mov dword [edi + 0x198], eax
mov dword [edi + 0x19c], 7
mov word [edi + 0x188], ax
mov dword [edi + 0x1b0], eax
mov dword [edi + 0x1b4], 7
mov word [edi + 0x1a0], ax
mov dword [edi + 0x1c8], eax
mov dword [edi + 0x1cc], 7
mov word [edi + 0x1b8], ax
mov dword [edi + 0x1e0], eax
mov dword [edi + 0x1e4], 7
mov word [edi + 0x1d0], ax
mov dword [edi + 0x1ec], eax
mov dword [edi + 0x1f0], eax
lea eax, [edi + 0x1f4]
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov byte [ebp - 4], 7
call fcn.00663f20
lea eax, [edi + 0x1f8]
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov byte [ebp - 4], 9
call fcn.00663f20
lea eax, [edi + 0x1fc]
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov byte [ebp - 4], 0xb
call fcn.00663f20
lea eax, [edi + 0x20c]
mov dword [edi + 0x200], 0x64
push eax
push 0x77fffc
push 1
push 0
push 0x78001c
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x210]
mov dword [ecx + 0x10], 0
push eax
push 0x799430
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
xor eax, eax
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 7
mov word [edi + 0x228], ax
mov dword [edi + 0x250], eax
mov dword [edi + 0x254], 7
mov word [edi + 0x240], ax
mov dword [edi + 0x258], eax
mov dword [edi + 0x25c], eax
mov word [edi + 0x260], ax
mov byte [edi + 0x270], al
and dword [edi + 0x270], 0xfffffeff
mov dword [edi + 0x274], eax
mov dword [edi + 0x278], eax
mov dword [edi + 0x27c], eax
mov byte [edi + 0x74], al
mov byte [edi + 0x10c], al
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x58516e
push 0x58
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push dword [ebp - 0x30]
mov esi, eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_ReleaseDC]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x813e5c]
comiss xmm0, dword [0x813d90]
jbe 0x58516e
mov byte [edi + 0x25c], 1
cmp dword [edi + 0x14], 1
jne 0x58517b
mov byte [edi + 0x25e], 1
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00650ee0
push 0x12
xor eax, eax
mov dword [ebp - 0x3c], 0
push str.HTMLViewTester.dll
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4c]
call fcn.00426ce0
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 0x58526b
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x50]
call fcn.0065e690
test al, al
je 0x58526b
push str.Successfully_loaded_HTMLViewTester.
push 0x799430
push 0x799430
push str.ViewMediatorUI
push 0x799430
push 0xa
call fcn.0056c500
mov eax, dword [edi + 0x50]
add esp, 0x18
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
test eax, eax
je 0x585245
push str.initializeTester
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov edx, dword [edi + 0x50]
xor eax, eax
test edx, edx
je 0x585256
push str.registerHTMLView
push edx
call ecx
mov dword [edi + 0x54], eax
test esi, esi
je 0x58526b
mov ecx, dword [edi + 0xc]
push dword [ecx + 0xc]
push dword [ecx + 8]
call esi
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00426ce0
mov eax, edi
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.006d0965
mov esp, ebp
pop ebp
ret 0x14