Function at 0x414e80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8fab
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5363c0]
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 esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x149]
mov dword [ebp - 0x148], esi
call fcn.00404c70
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x414ed4
mov eax, dword [ecx]
push 0x4ef2a0
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x54]
test ecx, ecx
je 0x414ee5
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x414ef6
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
cmp byte [ebp + 8], 0
je 0x4151ba
call fcn.004059f0
mov ecx, eax
call sym.CAD.exe_public:_int___thiscall_DuiLib::CPaintManagerUI::GetTooltipWindowWidth_void_const
mov dword [ebp - 0x154], eax
call fcn.004059f0
mov ecx, eax
call fcn.00407880
mov ecx, dword [eax + 4]
mov dword [ebp - 0x150], ecx
call fcn.004059f0
mov ecx, eax
call fcn.00407880
mov esi, dword [eax]
mov eax, dword [ebp - 0x150]
cmp esi, eax
je 0x414f50
mov ecx, dword [ebp - 0x154]
cmp dword [esi], ecx
je 0x414f50
add esi, 0x68
cmp esi, eax
jne 0x414f45
call fcn.004059f0
mov ecx, eax
call fcn.00407880
cmp esi, dword [eax + 4]
jne 0x414f92
push 0x12c
push 0x4ef2ac
lea ecx, [edi - 0x6ec]
call fcn.00417a30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push dword [ebp - 0x148]
jmp 0x4151e1
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x414fa3
mov eax, dword [ecx]
push 0x4ef2d0
call dword [eax + 0x3c]
cmp dword [esi + 0x60], 0
jne 0x414fb5
push 0xc8
push 0x4ef2dc
jmp 0x414f6b
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004bda50
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [ebp - 0x148]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esi, 0x50
cmp dword [esi + 0x14], 0x10
jb 0x414fe9
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x12c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415020
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00403d10
push 0xffffffffffffffff
push 0x4ed64c
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.0041d2c0
push eax
push 0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402230
mov esi, eax
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x4150a5
mov ecx, eax
call fcn.00403210
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x16c]
call fcn.00403210
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov dword [ebp - 0x134], 0
mov ecx, edx
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x144], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4150e2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x144]
call fcn.00403d10
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x415148
push 0xc8
push 0x4ef2dc
lea ecx, [edi - 0x6ec]
call fcn.00417a30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push dword [ebp - 0x148]
push 0x5113e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4151a2
push 1
push 0
push 0
push dword [ebp - 0x148]
push 0x5113e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push 1
cmovae ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x144]
cmp dword [ebp - 0x130], 0x10
push 0
cmovae eax, dword [ebp - 0x144]
push eax
push ecx
call fcn.00401aa0
add esp, 0x10
lea ecx, [ebp - 0x144]
call fcn.00403210
lea ecx, [ebp - 0x12c]
call fcn.00403210
jmp 0x4151ee
push 0xc8
push 0x4ef2f8
lea ecx, [edi - 0x6ec]
call fcn.00417a30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push esi
push 0x5113e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
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.004bb96c
mov esp, ebp
pop ebp
ret 0xc