Function at 0x46be40
Capabilities:
Check if file exists
Check mutex on windows
Delete file
Log keystrokes
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ad816
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x51c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x534]
mov dword fs:[0], eax
mov esi, dword [esp + 0x544]
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.00462260
call fcn.004679a0
mov edi, 0xf
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
cmp esi, ebx
mov dword [esp + 0x53c], ebx
je 0x46beeb
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x46bec0
sub eax, edx
je 0x46beeb
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x46bed2
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x104]
call fcn.00403cd0
lea eax, [esp + 0x88]
push eax
call fcn.00467e00
push str.configupdateStartCommond.tmp
push eax
lea ecx, [esp + 0xec]
push ecx
mov ebp, 1
mov byte [esp + 0x54c], 1
call fcn.0041b600
add esp, 0x10
mov esi, 0x10
cmp dword [esp + 0xa0], esi
mov byte [esp + 0x53c], 3
jb 0x46bf41
mov edx, dword [esp + 0x8c]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x110], ebx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
je 0x46bf93
lea eax, [esp + 0xfc]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x108]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403af0
call fcn.004676f0
add esp, 0x20
jmp 0x46bfdc
cmp dword [esp + 0xf8], esi
mov eax, dword [esp + 0xe4]
jae 0x46bfaa
lea eax, [esp + 0xe4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
cmp eax, ebp
jne 0x46bfdc
cmp dword [esp + 0xf8], esi
mov esi, dword [esp + 0xe4]
jae 0x46bfce
lea esi, [esp + 0xe4]
push esi
call edi
cmp eax, ebp
jne 0x46bfdc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffe
push str.XUNYOU_CS_SHARE_INFO
lea ecx, [esp + 0x80]
call fcn.004763e0
cmp dword [esp + 0x110], ebx
mov byte [esp + 0x53c], 4
mov edi, 0x10
je 0x46c16b
cmp dword [esp + 0x114], edi
mov eax, dword [esp + 0x100]
jae 0x46c023
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x104]
mov esi, 0xf
push eax
lea ecx, [esp + 0x124]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
call fcn.00403af0
push 0xb
push str._syxq_1616
lea ecx, [esp + 0xcc]
mov byte [esp + 0x544], 5
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.00403cd0
push 0xb
push ebx
push str._syxq_1616
lea ecx, [esp + 0x124]
mov byte [esp + 0x548], 6
call fcn.00402910
cmp eax, 0xffffffff
je 0x46c0b4
mov dword [0x4ce414], ebp
jmp 0x46c0ea
push 0xd
push str._syxqth_1616
lea ecx, [esp + 0xcc]
call fcn.00403cd0
push 0xd
push ebx
push str._syxqth_1616
lea ecx, [esp + 0x124]
call fcn.00402910
cmp eax, 0xffffffff
je 0x46c11c
mov dword [0x4ce414], 2
mov ecx, dword [esp + 0xd8]
add ecx, eax
push ecx
push eax
lea ecx, [esp + 0x120]
mov dword [0x4ce410], ebp
call fcn.00403360
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x120]
push edx
mov ecx, 0x4cc49c
call fcn.00403af0
cmp dword [esp + 0xdc], edi
jb 0x46c135
mov eax, dword [esp + 0xc8]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x130], edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov byte [esp + 0x53c], 4
jb 0x46c16b
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.0047b87c
add esp, 4
cmp dword [0x4cc4b4], edi
mov eax, dword [0x4cc4a0]
jae 0x46c17d
mov eax, 0x4cc4a0
mov edx, dword [0x4cc4b0]
add edx, 1
push edx
push eax
push 2
lea ecx, [esp + 0x84]
call fcn.00475cb0
push str.bmvpnclient
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x46c1be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46c46d
mov dword [esp + 0x14], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ebx, [ebx]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x26
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push str.625922BE_A44B_40a8_B944_805C674807A5
mov word [ecx + 4], bx
call fcn.00411a40
call fcn.00467870
add esp, 0x1c
push 0x32
mov edi, eax
call ebp
add esi, 1
cmp esi, 0x64
jg 0x46c20d
cmp edi, ebx
je 0x46c1d0
cmp dword [0x4cdefc], ebx
mov esi, 0xf
jne 0x46c24c
push 4
push 0x4b1a48
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00403cd0
lea eax, [esp + 0x5c]
mov byte [esp + 0x53c], 7
mov dword [esp + 0x20], 1
jmp 0x46c251
mov eax, 0x4cdee8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00403af0
test byte [esp + 0x20], 1
mov dword [esp + 0x53c], 9
je 0x46c2a8
cmp dword [esp + 0x74], 0x10
jb 0x46c29c
mov eax, dword [esp + 0x60]
push eax
call fcn.0047b87c
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x46c2b7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
je 0x46c33f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov esi, eax
call fcn.00461e50
add esp, 4
test al, al
je 0x46c3af
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov ebp, eax
push esi
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
push esi
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x46c3d6
mov ebx, str.tyframe.exe
lea esi, [esp + 0x118]
call fcn.004697f0
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x46c3ad
mov ecx, dword [esp + 0x120]
sub ecx, eax
sar ecx, 2
je 0x46c398
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x46c381
lea eax, [esp + 0xc8]
push 0
push eax
push 0x4b3c68
push 0
call ebp
mov eax, dword [esp + 0x11c]
xor esi, esi
jmp 0x46c39c
mov esi, dword [esp + 0x14]
test eax, eax
je 0x46c3a9
push eax
call fcn.0047b87c
add esp, 4
test esi, esi
je 0x46c3d4
xor ebx, ebx
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x46c3c7
lea eax, [esp + 0xc8]
push 0x30
push eax
push 0x4b3c30
push ebx
call ebp
jmp 0x46c3d6
xor ebx, ebx
mov edi, 0x10
cmp dword [esp + 0xdc], edi
jb 0x46c3f4
mov edx, dword [esp + 0xc8]
push edx
call fcn.0047b87c
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0x78]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov byte [esp + 0x53c], 3
call fcn.00475bc0
cmp dword [esp + 0xf8], edi
jb 0x46c438
mov eax, dword [esp + 0xe4]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x46c466
mov ecx, dword [esp + 0x100]
push ecx
call fcn.0047b87c
add esp, 4
xor eax, eax
jmp 0x46c831
mov dword [0x4ce400], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047d064
add esp, 4
mov dword [esp + 0x24], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [0x4cdd10]
lea edx, [esp + 0x24]
add esi, 0x10
push esi
mov byte [esp + 0x540], 0xa
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x4ce518]
call fcn.00464c40
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1774
push str.CA3B26E9_D363_474E_AC76_73DCBAC3C388
lea ecx, [esp + 0xac]
call fcn.004763e0
push 0x100000
push str.XUNYOU_241C82F9_A704_4AF4_A143_CDC246545889
lea ecx, [esp + 0xbc]
mov byte [esp + 0x544], 0xb
call fcn.004763e0
mov byte [esp + 0x53c], 0xc
call fcn.0046b510
call fcn.0046b350
cmp dword [esp + 0x110], ebx
je 0x46c54b
lea edx, [esp + 0xfc]
push edx
call fcn.0041ab50
mov ecx, eax
call fcn.004691f0
call fcn.0041ab50
cmp dword [eax + 0x1c], ebx
je 0x46c5a3
cmp dword [eax + 0x38], ebx
je 0x46c5a3
push ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0041ab50
mov ecx, eax
call fcn.00467970
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
mov byte [esp + 0x57c], 0xd
call fcn.0041ab50
mov ecx, eax
call fcn.00467940
mov byte [esp + 0x578], 0xc
call fcn.00467e30
mov ebp, 0xf
jmp 0x46c5d2
push ebp
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x14], ebx
mov ebp, 0xf
mov dword [eax + 0x18], ebp
mov byte [eax + 4], bl
mov dword [esp + 0x38], esp
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
mov dword [esp + 0x54], esp
mov byte [eax + 4], bl
call fcn.00467e30
add esp, 0x3c
lea ecx, [esp + 0x134]
call fcn.00469fb0
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x140]
push eax
push 0x4cf08c
mov byte [esp + 0x548], 0xe
call fcn.00410060
mov ecx, dword [0x4cf058]
push ebx
push 0x41a560
push ebx
push 0x81
push ecx
call fcn.004696d0
add esp, 0x14
cmp eax, ebx
jne 0x46c704
lea ecx, [esp + 0x134]
mov byte [esp + 0x53c], 0xc
call fcn.00469d60
lea ecx, [esp + 0xb4]
mov byte [esp + 0x53c], 0xb
call fcn.00475bc0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x53c], 0xa
call fcn.00462d30
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x46c677
push eax
call fcn.0047bac2
add esp, 4
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x46c694
push eax
call fcn.0047bac2
add esp, 4
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x53c], 3
call fcn.00475bc0
mov esi, 0x10
cmp dword [esp + 0xf8], esi
jb 0x46c6cb
mov edx, dword [esp + 0xe4]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x114], esi
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x46c466
mov eax, dword [esp + 0x100]
push eax
call fcn.0047b87c
add esp, 4
xor eax, eax
jmp 0x46c831
call fcn.0041ab50
cmp dword [0x4ce220], ebx
mov eax, dword [eax + 0x40]
je 0x46c719
mov eax, dword [0x4ce208]
cmp dword [0x4ce410], ebx
jne 0x46c72c
mov ecx, dword [esp + 0x138]
push eax
push ecx
jmp 0x46c735
mov edx, dword [esp + 0x138]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041ab50
mov ecx, eax
call fcn.00462040
lea ecx, [esp + 0x24]
call fcn.00462bb0
mov ecx, 0x4ce4e4
mov esi, eax
call fcn.00466190
lea ecx, [esp + 0x134]
mov byte [esp + 0x53c], 0xc
call fcn.00469d60
lea ecx, [esp + 0xb4]
mov byte [esp + 0x53c], 0xb
call fcn.00475bc0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x53c], 0xa
call fcn.00462d30
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x46c7ad
push eax
call fcn.0047bac2
add esp, 4
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x46c7ca
push eax
call fcn.0047bac2
add esp, 4
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x53c], 3
call fcn.00475bc0
mov edi, 0x10
cmp dword [esp + 0xf8], edi
jb 0x46c801
mov eax, dword [esp + 0xe4]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x46c82f
mov ecx, dword [esp + 0x100]
push ecx
call fcn.0047b87c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x534]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x51c]
xor ecx, esp
call fcn.0047b86d
add esp, 0x52c
ret