Function at 0x40aa10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4329b0
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x449048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [0x44ae08]
call fcn.00409b40
fstp qword [ebp - 0x278]
xor eax, eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
movsd xmm0, qword [0x444248]
mulsd xmm0, qword [ebp - 0x278]
cvttsd2si ecx, xmm0
mov dword [ebp - 0x220], ecx
movsd xmm0, qword [0x444240]
mulsd xmm0, qword [ebp - 0x278]
cvttsd2si edx, xmm0
mov dword [ebp - 0x21c], edx
push 0
push 1
push 0
push 0x1025
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor eax, eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x244], 0x80800000
push 0
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x220]
sub ecx, dword [ebp - 0x228]
mov dword [ebp - 0x234], ecx
lea edx, [ebp - 0x24c]
push edx
call dword [0x44bc1c]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x40ab4b
xor al, al
jmp 0x40add4
call fcn.0040a560
mov dword [ebp - 0x26c], eax
push 0x40000
push 0xffffffffffffffec
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffe6
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongW]
or eax, 0x20000
push eax
push 0xffffffffffffffe6
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.USER32.dll_SetClassLongW]
push 0
push 0
push 0x40a9d0
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
mov dword [ebp - 0x270], 0
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00419f90
add esp, 0xc
push 0x44b300
push str._lslogo.ico
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ac15
push 0x50
push 0
push 0
push 1
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x270], eax
jmp 0x40ac2c
push 0x6d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
push edx
push 0xfffffffffffffff2
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_SetClassLongW]
mov ecx, dword [ebp + 8]
push ecx
push 0x40a5a0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [0x44baa0]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x40a5e0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [0x44bb6c]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x40a600
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [0x44b978]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x40a620
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [0x44b9e0]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x40a640
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [0x44b95c]
add esp, 0xc
push 0
push str.decodeUrlRequest
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [0x44bba4]
add esp, 0xc
push 0
push 0
push 0x40a830
push str.native_exit
call dword [0x44add8]
add esp, 0x10
push 0
push 0
push 0x40a940
push str.native_setClipboardText
call dword [0x44add8]
add esp, 0x10
push 1
push 0
push 0x40a6a0
push str.native_openUrl
call dword [0x44add8]
add esp, 0x10
push 0
push 0
push 0x40a830
push str.close
call dword [0x44add8]
add esp, 0x10
push 0
push 0
push 0x40a810
push str.require
call dword [0x44add8]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [0x44ae94]
add esp, 4
mov edx, dword [ebp + 8]
add edx, 4
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [0x44bb64]
add esp, 8
push str.D:_Works_CppLibrary_miniblink_miniblink_20220405_front_end_inspector.html
lea ecx, [ebp - 0x264]
call fcn.0040d4f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0040d400
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40adb5
lea ecx, [ebp - 0x264]
call fcn.0040d400
push eax
push str.showDevTools
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [0x44bba4]
add esp, 0xc
mov byte [ebp - 0x265], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0040d480
mov al, byte [ebp - 0x265]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418129
mov esp, ebp
pop ebp
ret