Function at 0x46be60
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 0x4ad836
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.00462280
call fcn.004679c0
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 0x46bf0b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x46bee0
sub eax, edx
je 0x46bf0b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x46bef2
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x104]
call fcn.00403cd0
lea eax, [esp + 0x88]
push eax
call fcn.00467e20
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 0x46bf61
mov edx, dword [esp + 0x8c]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x110], ebx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
je 0x46bfb3
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.00467710
add esp, 0x20
jmp 0x46bffc
cmp dword [esp + 0xf8], esi
mov eax, dword [esp + 0xe4]
jae 0x46bfca
lea eax, [esp + 0xe4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
cmp eax, ebp
jne 0x46bffc
cmp dword [esp + 0xf8], esi
mov esi, dword [esp + 0xe4]
jae 0x46bfee
lea esi, [esp + 0xe4]
push esi
call edi
cmp eax, ebp
jne 0x46bffc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffe
push str.XUNYOU_CS_SHARE_INFO
lea ecx, [esp + 0x80]
call fcn.00476400
cmp dword [esp + 0x110], ebx
mov byte [esp + 0x53c], 4
mov edi, 0x10
je 0x46c18b
cmp dword [esp + 0x114], edi
mov eax, dword [esp + 0x100]
jae 0x46c043
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 0x46c0d4
mov dword [0x4ce414], ebp
jmp 0x46c10a
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 0x46c13c
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 0x46c155
mov eax, dword [esp + 0xc8]
push eax
call fcn.0047b89c
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 0x46c18b
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.0047b89c
add esp, 4
cmp dword [0x4cc4b4], edi
mov eax, dword [0x4cc4a0]
jae 0x46c19d
mov eax, 0x4cc4a0
mov edx, dword [0x4cc4b0]
add edx, 1
push edx
push eax
push 2
lea ecx, [esp + 0x84]
call fcn.00475cd0
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 0x46c1de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46c48d
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.00467890
add esp, 0x1c
push 0x32
mov edi, eax
call ebp
add esi, 1
cmp esi, 0x64
jg 0x46c22d
cmp edi, ebx
je 0x46c1f0
cmp dword [0x4cdefc], ebx
mov esi, 0xf
jne 0x46c26c
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 0x46c271
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 0x46c2c8
cmp dword [esp + 0x74], 0x10
jb 0x46c2bc
mov eax, dword [esp + 0x60]
push eax
call fcn.0047b89c
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 0x46c2d7
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 0x46c35f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov esi, eax
call fcn.00461e70
add esp, 4
test al, al
je 0x46c3cf
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 0x46c3f6
mov ebx, str.tyframe.exe
lea esi, [esp + 0x118]
call fcn.00469810
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x46c3cd
mov ecx, dword [esp + 0x120]
sub ecx, eax
sar ecx, 2
je 0x46c3b8
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x46c3a1
lea eax, [esp + 0xc8]
push 0
push eax
push 0x4b3c68
push 0
call ebp
mov eax, dword [esp + 0x11c]
xor esi, esi
jmp 0x46c3bc
mov esi, dword [esp + 0x14]
test eax, eax
je 0x46c3c9
push eax
call fcn.0047b89c
add esp, 4
test esi, esi
je 0x46c3f4
xor ebx, ebx
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x46c3e7
lea eax, [esp + 0xc8]
push 0x30
push eax
push 0x4b3c30
push ebx
call ebp
jmp 0x46c3f6
xor ebx, ebx
mov edi, 0x10
cmp dword [esp + 0xdc], edi
jb 0x46c414
mov edx, dword [esp + 0xc8]
push edx
call fcn.0047b89c
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.00475be0
cmp dword [esp + 0xf8], edi
jb 0x46c458
mov eax, dword [esp + 0xe4]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x46c486
mov ecx, dword [esp + 0x100]
push ecx
call fcn.0047b89c
add esp, 4
xor eax, eax
jmp 0x46c851
mov dword [0x4ce400], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047d084
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.00464c60
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1774
push str.CA3B26E9_D363_474E_AC76_73DCBAC3C388
lea ecx, [esp + 0xac]
call fcn.00476400
push 0x100000
push str.XUNYOU_241C82F9_A704_4AF4_A143_CDC246545889
lea ecx, [esp + 0xbc]
mov byte [esp + 0x544], 0xb
call fcn.00476400
mov byte [esp + 0x53c], 0xc
call fcn.0046b530
call fcn.0046b370
cmp dword [esp + 0x110], ebx
je 0x46c56b
lea edx, [esp + 0xfc]
push edx
call fcn.0041ab50
mov ecx, eax
call fcn.00469210
call fcn.0041ab50
cmp dword [eax + 0x1c], ebx
je 0x46c5c3
cmp dword [eax + 0x38], ebx
je 0x46c5c3
push ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0041ab50
mov ecx, eax
call fcn.00467990
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.00467960
mov byte [esp + 0x578], 0xc
call fcn.00467e50
mov ebp, 0xf
jmp 0x46c5f2
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.00467e50
add esp, 0x3c
lea ecx, [esp + 0x134]
call fcn.00469fd0
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.004696f0
add esp, 0x14
cmp eax, ebx
jne 0x46c724
lea ecx, [esp + 0x134]
mov byte [esp + 0x53c], 0xc
call fcn.00469d80
lea ecx, [esp + 0xb4]
mov byte [esp + 0x53c], 0xb
call fcn.00475be0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x53c], 0xa
call fcn.00462d50
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x46c697
push eax
call fcn.0047bae2
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 0x46c6b4
push eax
call fcn.0047bae2
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.00475be0
mov esi, 0x10
cmp dword [esp + 0xf8], esi
jb 0x46c6eb
mov edx, dword [esp + 0xe4]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x114], esi
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x46c486
mov eax, dword [esp + 0x100]
push eax
call fcn.0047b89c
add esp, 4
xor eax, eax
jmp 0x46c851
call fcn.0041ab50
cmp dword [0x4ce220], ebx
mov eax, dword [eax + 0x40]
je 0x46c739
mov eax, dword [0x4ce208]
cmp dword [0x4ce410], ebx
jne 0x46c74c
mov ecx, dword [esp + 0x138]
push eax
push ecx
jmp 0x46c755
mov edx, dword [esp + 0x138]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041ab50
mov ecx, eax
call fcn.00462060
lea ecx, [esp + 0x24]
call fcn.00462bd0
mov ecx, 0x4ce4e4
mov esi, eax
call fcn.004661b0
lea ecx, [esp + 0x134]
mov byte [esp + 0x53c], 0xc
call fcn.00469d80
lea ecx, [esp + 0xb4]
mov byte [esp + 0x53c], 0xb
call fcn.00475be0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x53c], 0xa
call fcn.00462d50
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x46c7cd
push eax
call fcn.0047bae2
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 0x46c7ea
push eax
call fcn.0047bae2
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.00475be0
mov edi, 0x10
cmp dword [esp + 0xf8], edi
jb 0x46c821
mov eax, dword [esp + 0xe4]
push eax
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x46c84f
mov ecx, dword [esp + 0x100]
push ecx
call fcn.0047b89c
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.0047b88d
add esp, 0x52c
ret