Function at 0x10042e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1273
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100fe39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
cmp byte [edi + 0x54], 0
mov byte [ebp - 0x219], 0
je 0x10042e7f
mov byte [ebp - 0x219], 0
jmp 0x100430eb
mov byte [edi + 0x54], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x4c], eax
test eax, eax
je 0x100430ca
push dword [edi + 8]
call esi
test eax, eax
je 0x100430ca
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10087da0
add esp, 0xc
call fcn.1002d500
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.Utilsjs_basic.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
xor esi, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100430c4
lea eax, [ebp - 0x218]
push eax
call fcn.10049b90
add esp, 4
test eax, eax
je 0x100430c4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10042f59
push str.GetWebWindowFactory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10042f59
call eax
mov esi, eax
test esi, esi
je 0x100430c4
mov dword [edi + 0x2c], esi
mov eax, dword [esi]
push esi
call dword [eax]
lea ecx, [edi + 0x34]
push edi
call fcn.10038e30
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], eax
cmp ecx, 0x10
jae 0x10042fc4
movups xmm0, xmmword [eax]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], 0xf
movups xmmword [ebp - 0x23c], xmm0
jmp 0x10043047
mov esi, ecx
mov eax, 0x7fffffff
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x10043005
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.1004f16d
add esp, 4
test eax, eax
je 0x1004311d
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x10043018
test ecx, ecx
je 0x10043016
push ecx
call fcn.1004f16d
add esp, 4
mov ecx, eax
jmp 0x10043018
xor ecx, ecx
mov eax, dword [ebp - 0x220]
inc eax
mov dword [ebp - 0x23c], ecx
push eax
push dword [ebp - 0x224]
push ecx
call fcn.100872a0
mov eax, dword [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x2c]
mov byte [ebp - 0x21a], 0
test ecx, ecx
je 0x100430a3
mov eax, dword [ecx]
push 0
push 0x10101c08
push 0x10101be4
mov eax, dword [eax + 4]
push 0
push edi
call eax
push eax
call fcn.100885e7
mov edx, eax
add esp, 0x14
mov dword [edi + 0x30], edx
test edx, edx
je 0x100430a3
cmp dword [ebp - 0x228], 0x10
lea ecx, [ebp - 0x23c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x23c]
push ecx
push edx
call dword [eax + 0x20]
mov byte [ebp - 0x21a], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.100053b0
cmp byte [ebp - 0x21a], 0
je 0x100430c4
mov byte [ebp - 0x219], 1
jmp 0x100430eb
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push dword [edi + 8]
call esi
test eax, eax
je 0x100430e4
push 0
push 0
push 0x10
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100430eb
mov ecx, edi
call fcn.10043820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.100053b0
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f51c
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1008b33c
int3