Function at 0x468210
Capabilities:
Check if file exists
Check mutex on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a92eb
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x508], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
xor eax, esp
push eax
lea eax, [esp + 0x520]
mov dword fs:[0], eax
mov esi, dword [esp + 0x530]
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.00463920
mov edi, 0xf
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp esi, ebx
mov dword [esp + 0x528], ebx
je 0x4682b9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x468287
sub eax, edx
je 0x4682b9
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4682a0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xf0]
call fcn.0040ecf0
lea eax, [esp + 0x74]
push eax
call fcn.00463e00
push str.configupdateStartCommond.tmp
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x538], 1
call fcn.00418fe0
add esp, 0x10
mov ebp, 0x10
cmp dword [esp + 0x8c], ebp
mov byte [esp + 0x528], 3
jb 0x468304
mov edx, dword [esp + 0x78]
push edx
call fcn.0047964d
add esp, 4
cmp dword [esp + 0xfc], ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
je 0x468353
lea eax, [esp + 0xe8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xd8]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00408230
call fcn.00463670
add esp, 0x20
jmp 0x4683a3
cmp dword [esp + 0xc8], ebp
mov eax, dword [esp + 0xb4]
jae 0x46836a
lea eax, [esp + 0xb4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
cmp eax, 1
jne 0x46839e
cmp dword [esp + 0xc8], ebp
mov esi, dword [esp + 0xb4]
jae 0x46838f
lea esi, [esp + 0xb4]
push esi
call edi
cmp eax, 1
jne 0x46839e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 0xf
push 0xffe
push str.XUNYOU_CS_SHARE_INFO
lea ecx, [esp + 0x5c]
call fcn.00472410
cmp dword [esp + 0xfc], ebx
mov byte [esp + 0x528], 4
je 0x468487
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.00408230
push 0xb
push ebx
push str._syxq_1616
lea ecx, [esp + 0xd8]
mov byte [esp + 0x534], 5
call fcn.00403cb0
cmp eax, 0xffffffff
je 0x468466
lea ecx, [eax + 0xb]
push ecx
push eax
lea ecx, [esp + 0xd4]
call fcn.00404e70
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xd4]
push edx
mov ecx, 0x4c747c
call fcn.00408230
cmp dword [0x4c7494], ebp
mov eax, dword [0x4c7480]
jae 0x468450
mov eax, 0x4c7480
mov ecx, dword [0x4c7490]
add ecx, 1
push ecx
push eax
push 2
lea ecx, [esp + 0x60]
call fcn.00471ce0
cmp dword [esp + 0xe4], ebp
mov byte [esp + 0x528], 4
jb 0x468487
mov edx, dword [esp + 0xd0]
push edx
call fcn.0047964d
add esp, 4
push str.bmvpnclient
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
cmp edi, ebx
je 0x4684ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x468703
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x26
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push str.625922BE_A44B_40a8_B944_805C674807A5
mov ebp, 1
mov word [ecx + 4], bx
call fcn.0040edc0
call fcn.004637f0
add esp, 0x1c
cmp dword [0x4c8ed4], ebx
mov esi, eax
jne 0x468527
push 4
push 0x4ac834
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.0040ecf0
lea eax, [esp + 0xcc]
mov byte [esp + 0x528], 6
mov dword [esp + 0x18], ebp
jmp 0x46852c
mov eax, 0x4c8ec0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.00408230
test byte [esp + 0x18], 1
mov dword [esp + 0x528], 8
je 0x46859a
cmp dword [esp + 0xe4], 0x10
jb 0x468581
mov eax, dword [esp + 0xd0]
push eax
call fcn.0047964d
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
cmp edi, ebx
je 0x4685a5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4685e6
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
call edi
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, 0x10
jmp 0x468671
mov ebx, str.tyframe.exe
lea esi, [esp + 0x64]
call fcn.00465bc0
mov eax, dword [esp + 0x68]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, 0x10
je 0x46864c
mov ecx, dword [esp + 0x6c]
sub ecx, eax
sar ecx, 2
je 0x46863b
cmp dword [esp + 0x11c], edi
mov eax, dword [esp + 0x108]
jae 0x468629
lea eax, [esp + 0x108]
push 0
push eax
push 0x4ae9e8
push 0
call esi
mov eax, dword [esp + 0x68]
xor ebp, ebp
test eax, eax
je 0x468648
push eax
call fcn.0047964d
add esp, 4
test ebp, ebp
je 0x46866f
cmp dword [esp + 0x11c], edi
mov eax, dword [esp + 0x108]
jae 0x468663
lea eax, [esp + 0x108]
push 0x30
push eax
push 0x4ae9b0
push 0
call esi
xor ebx, ebx
cmp dword [esp + 0x11c], edi
jb 0x46868a
mov edx, dword [esp + 0x108]
push edx
call fcn.0047964d
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0x54]
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0x528], 3
call fcn.00471bf0
cmp dword [esp + 0xc8], edi
jb 0x4686ce
mov eax, dword [esp + 0xb4]
push eax
call fcn.0047964d
add esp, 4
cmp dword [esp + 0x100], edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x4686fc
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0047964d
add esp, 4
xor eax, eax
jmp 0x468abe
mov dword [0x4c93d8], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047b9e8
add esp, 4
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov esi, dword [0x4c8cf0]
lea edx, [esp + 0x1c]
add esi, 0x10
push esi
mov byte [esp + 0x52c], 9
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x4c94e8]
call fcn.00460840
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1774
push str.CA3B26E9_D363_474E_AC76_73DCBAC3C388
lea ecx, [esp + 0xa8]
call fcn.00472410
push 0x100000
push str.XUNYOU_241C82F9_A704_4AF4_A143_CDC246545889
lea ecx, [esp + 0x98]
mov byte [esp + 0x530], 0xa
call fcn.00472410
mov byte [esp + 0x528], 0xb
call fcn.004678e0
call fcn.00467720
cmp dword [esp + 0xfc], ebx
je 0x4687e1
lea edx, [esp + 0xe8]
push edx
call fcn.00418500
mov ecx, eax
call fcn.00465550
call fcn.00418500
cmp dword [eax + 0x1c], ebx
je 0x468839
cmp dword [eax + 0x38], ebx
je 0x468839
push ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00418500
mov ecx, eax
call fcn.004638f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push ecx
mov byte [esp + 0x568], 0xc
call fcn.00418500
mov ecx, eax
call fcn.004638c0
mov byte [esp + 0x564], 0xb
call fcn.00463e30
mov edi, 0xf
jmp 0x468869
push 1
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x14], ebx
mov edi, 0xf
mov dword [eax + 0x18], edi
mov byte [eax + 4], bl
mov dword [esp + 0x34], esp
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
mov dword [esp + 0x50], esp
mov byte [eax + 4], bl
call fcn.00463e30
add esp, 0x3c
lea ecx, [esp + 0x120]
call fcn.00466380
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x12c]
push eax
push 0x4c9788
mov byte [esp + 0x534], 0xd
call fcn.0040d270
mov ecx, dword [0x4c9754]
push ebx
push 0x417ef0
push ebx
push 0x81
push ecx
call fcn.00465aa0
add esp, 0x14
cmp eax, ebx
jne 0x468996
lea ecx, [esp + 0x120]
mov byte [esp + 0x528], 0xb
call fcn.00466130
lea ecx, [esp + 0x90]
mov byte [esp + 0x528], 0xa
call fcn.00471bf0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x528], 9
call fcn.0045e740
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x46890e
push eax
call fcn.00479652
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x46892b
push eax
call fcn.00479652
add esp, 4
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x528], 3
call fcn.00471bf0
cmp dword [esp + 0xc8], ebp
jb 0x46895d
mov edx, dword [esp + 0xb4]
push edx
call fcn.0047964d
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x4686fc
mov eax, dword [esp + 0xec]
push eax
call fcn.0047964d
add esp, 4
xor eax, eax
jmp 0x468abe
call fcn.00418500
cmp dword [0x4c91f8], ebx
mov eax, dword [eax + 0x40]
je 0x4689ab
mov eax, dword [0x4c91e0]
cmp dword [0x4c7490], ebx
jne 0x4689be
mov ecx, dword [esp + 0x124]
push eax
push ecx
jmp 0x4689c7
mov edx, dword [esp + 0x124]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00418500
mov ecx, eax
call fcn.0045d8b0
lea ecx, [esp + 0x1c]
call fcn.0045e5c0
mov ecx, 0x4c94b4
mov esi, eax
call fcn.00462020
lea ecx, [esp + 0x120]
mov byte [esp + 0x528], 0xb
call fcn.00466130
lea ecx, [esp + 0x90]
mov byte [esp + 0x528], 0xa
call fcn.00471bf0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x528], 9
call fcn.0045e740
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x468a3f
push eax
call fcn.00479652
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x468a5c
push eax
call fcn.00479652
add esp, 4
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x528], 3
call fcn.00471bf0
cmp dword [esp + 0xc8], ebp
jb 0x468a8e
mov eax, dword [esp + 0xb4]
push eax
call fcn.0047964d
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x468abc
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0047964d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x520]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0047a194
add esp, 0x518
ret