Function at 0x467b80
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4bb27c
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0xa20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0xa38]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa48]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
call fcn.004626a0
lea ecx, [esp + 0x24]
call fcn.00469d90
cmp edi, ebx
mov dword [esp + 0xa40], ebx
je 0x467d08
sub esp, 0x1c
mov esi, esp
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x467c04
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00401e90
lea eax, [esp + 0xf0]
push eax
call fcn.0046f480
add esp, 0x20
cmp dword [esp + 0xe8], ebx
mov byte [esp + 0xa40], 1
je 0x467ce1
push 0x40000000
lea ecx, [esp + 0x180]
push 2
push ecx
call fcn.0046a740
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x40], esp
push str.configupdateStartCommond.tmp
push eax
push edx
mov byte [esp + 0xa70], 2
call fcn.00416030
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.0046a400
cmp eax, ebx
mov ebp, 0x10
setne byte [esp + 0x23]
cmp dword [esp + 0x194], ebp
mov byte [esp + 0xa40], 1
jb 0x467ca7
mov eax, dword [esp + 0x180]
push eax
call fcn.0048d433
add esp, 4
cmp byte [esp + 0x23], bl
je 0x467ce6
cmp dword [esp + 0xec], ebp
mov eax, dword [esp + 0xd8]
jae 0x467cc4
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0xe8]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00469da0
lea ecx, [esp + 0x24]
call fcn.00469f20
jmp 0x467ce6
mov ebp, 0x10
cmp dword [esp + 0xec], ebp
mov byte [esp + 0xa40], bl
jb 0x467d0d
mov edx, dword [esp + 0xd8]
push edx
call fcn.0048d433
add esp, 4
jmp 0x467d0d
mov ebp, 0x10
lea eax, [esp + 0x128]
push eax
call fcn.0046a740
push str._startCommand.txt
push eax
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0xa50], 3
call fcn.00416030
add esp, 0x10
cmp dword [esp + 0x140], ebp
mov byte [esp + 0xa40], 5
jb 0x467d59
mov edx, dword [esp + 0x12c]
push edx
call fcn.0048d433
add esp, 4
push 0x80000000
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
mov edi, 0xf
push ebx
lea eax, [esp + 0x11c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
mov byte [ecx + 4], bl
call fcn.00401cf0
lea ecx, [esp + 0x48]
call fcn.0046a400
lea ecx, [esp + 0x24]
call fcn.00469fa0
cmp edx, ebx
jl 0x467f9f
jg 0x467dc0
cmp eax, ebx
jbe 0x467f9f
lea ecx, [esp + 0x24]
call fcn.00469fa0
add eax, 1
push eax
call fcn.0048c510
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x467f9a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00469fa0
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.00469e20
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov byte [edx + edi], bl
call fcn.00469f20
cmp dword [esp + 0x108], ebp
mov eax, dword [esp + 0xf4]
jae 0x467e1f
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edi, edi
cmp dword [esp + 0x108], 0x10
mov eax, dword [esp + 0xf4]
jae 0x467e48
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x467e5f
push 0x32
add esi, 1
call ebp
cmp esi, 3
jle 0x467e30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
call fcn.00401c70
lea eax, [esp + 0xf0]
push eax
call fcn.0046f650
push edi
call fcn.0048e604
push 0x3ff
lea ecx, [esp + 0x65d]
push ebx
push ecx
mov byte [esp + 0x664], bl
call fcn.0048ea70
mov ecx, dword [esp + 0x118]
add esp, 0x30
cmp ecx, 0x400
mov edi, 0x10
jae 0x467edb
cmp dword [esp + 0xec], edi
mov eax, dword [esp + 0xd8]
jae 0x467ec9
lea eax, [esp + 0xd8]
push ecx
push eax
lea edx, [esp + 0x63c]
push edx
call fcn.004904b0
add esp, 0xc
push 0x40
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.0048ea70
add esp, 0xc
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x94]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x654]
push eax
push ebx
mov dword [esp + 0xb8], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp dword [esp + 0xec], edi
jb 0x467f37
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0048d433
add esp, 4
mov esi, 0xf
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x108], edi
jb 0x467f6a
mov edx, dword [esp + 0xf4]
push edx
call fcn.0048d433
add esp, 4
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
lea ecx, [esp + 0x24]
mov dword [esp + 0xa40], 0xffffffff
call fcn.0046a260
xor eax, eax
jmp 0x46889c
mov edi, 0xf
push str.bmvpnclient
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, ebx
je 0x467fc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4681c7
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 dword [esp + 0x40], 1
mov word [ecx + 4], bx
call fcn.0044b360
call fcn.004639c0
add esp, 0x1c
cmp dword [0x4dff18], ebx
mov ebp, eax
mov edi, 0xf
jne 0x468047
push 4
push 0x4bfb44
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.00401e90
lea eax, [esp + 0xd4]
mov byte [esp + 0xa40], 6
mov dword [esp + 0x14], 1
jmp 0x46804c
mov eax, 0x4dff04
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x150]
mov dword [esp + 0x168], edi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
call fcn.00401cf0
test byte [esp + 0x14], 1
mov dword [esp + 0xa40], 8
je 0x4680b2
cmp dword [esp + 0xec], 0x10
jb 0x46809d
mov eax, dword [esp + 0xd8]
push eax
call fcn.0048d433
add esp, 4
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp esi, ebx
je 0x4680bd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x4680f4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov ecx, ebp
call fcn.004622a0
test al, al
je 0x46815f
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x46818a
mov ebx, str.tyframe.exe
lea esi, [esp + 0x2c]
call fcn.004644f0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x46815d
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x468148
cmp dword [esp + 0x15c], 0x10
mov eax, dword [esp + 0x148]
jae 0x468130
lea eax, [esp + 0x148]
push 0
push eax
push 0x4c2fb0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x30]
xor esi, esi
jmp 0x46814c
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x468159
push ecx
call fcn.0048d433
add esp, 4
test esi, esi
je 0x468188
xor ebx, ebx
cmp dword [esp + 0x15c], 0x10
mov eax, dword [esp + 0x148]
jae 0x468177
lea eax, [esp + 0x148]
push 0x30
push eax
push 0x4c2f94
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x46818a
xor ebx, ebx
mov edi, 0x10
cmp dword [esp + 0x15c], edi
jb 0x4681a8
mov ecx, dword [esp + 0x148]
push ecx
call fcn.0048d433
add esp, 4
mov esi, 0xf
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jmp 0x467f51
mov dword [0x4dfddc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0049047f
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x4dfe78
lea ecx, [esp + 0x118]
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.00401cf0
mov dword [esp + 0x3c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov esi, dword [0x4e108c]
lea eax, [esp + 0x3c]
add esi, 0x10
push esi
mov byte [esp + 0xa44], 0xa
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x4dfe18]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00461110
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x124], ebp
mov eax, dword [esp + 0x110]
mov dword [esp + 0x14], ebx
jae 0x468286
lea eax, [esp + 0x110]
push str.b003
push eax
call fcn.004a0500
add esp, 8
test eax, eax
je 0x4687e4
push 0xdae8
call fcn.0048e9fc
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0xa40], 0xb
je 0x4682c4
mov ecx, eax
call fcn.004567f0
mov ebp, eax
jmp 0x4682c6
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0xa44], 0xc
call fcn.00401c70
lea ecx, [esp + 0x128]
push ecx
mov byte [esp + 0xa44], 0xd
call fcn.0044d850
push eax
call fcn.0044d9a0
add esp, 8
xor esi, esi
cmp dword [esp + 0x13c], ebx
je 0x4685e3
lea ecx, [esp + 0x2c]
call fcn.0047db60
push 0x20
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0xa48], 0xe
call fcn.0047e370
lea ecx, [esp + 0x2c]
call fcn.0047cce0
cmp eax, 4
jb 0x4685d2
mov eax, dword [esp + 0x110]
mov edi, 0x10
cmp dword [esp + 0x124], edi
jae 0x468362
lea eax, [esp + 0x110]
push str.0000
push eax
call fcn.004a0500
add esp, 8
test eax, eax
push 0xffffffffffffffff
push 1
jne 0x468408
lea eax, [esp + 0x168]
push eax
push 2
lea ecx, [esp + 0x3c]
call fcn.0047cc90
mov ecx, eax
call fcn.00425d20
cmp dword [esp + 0x178], edi
mov eax, dword [esp + 0x164]
mov byte [esp + 0xa40], 0xf
jae 0x4683b5
lea eax, [esp + 0x164]
push eax
call fcn.0048e702
add esp, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4bf904
call fcn.00401c70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x4bf904
mov byte [esp + 0xa80], 0x10
call fcn.00401c70
mov ecx, ebp
mov byte [esp + 0xa7c], 0xf
call fcn.0044e770
lea ecx, [esp + 0x160]
jmp 0x4685cd
lea ecx, [esp + 0x184]
push ecx
push 2
lea ecx, [esp + 0x3c]
call fcn.0047cc90
mov ecx, eax
call fcn.00425d20
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xa44], 0x11
call fcn.0047cc90
push eax
lea ecx, [esp + 0x164]
call fcn.00401c40
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xa44], 0x12
call fcn.0047cc90
push eax
lea ecx, [esp + 0x19c]
call fcn.00401c40
lea edx, [esp + 0x160]
push edx
mov byte [esp + 0xa44], 0x13
call fcn.0044e130
lea eax, [esp + 0x19c]
push eax
call fcn.0044e130
add esp, 8
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x16c]
call fcn.00425d20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0xa4c], 0x14
call fcn.00401cf0
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa40], 0x13
call fcn.00401cb0
push 0xffffffffffffffff
push 1
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x1a4]
call fcn.00425d20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1a4]
mov byte [esp + 0xa4c], 0x15
call fcn.00401cf0
lea ecx, [esp + 0xd4]
mov byte [esp + 0xa40], 0x13
call fcn.00401cb0
cmp dword [esp + 0x194], edi
mov eax, dword [esp + 0x180]
jae 0x468525
lea eax, [esp + 0x180]
push eax
call fcn.0048e702
add esp, 4
push eax
sub esp, 0x1c
lea eax, [esp + 0x1b8]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401c40
sub esp, 0x1c
lea edx, [esp + 0x19c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0xa80], 0x16
call fcn.00401c40
mov ecx, ebp
mov byte [esp + 0xa7c], 0x13
call fcn.0044e770
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x7c]
push eax
push 3
lea ecx, [esp + 0x3c]
call fcn.0047cc90
mov ecx, eax
call fcn.00425d20
cmp dword [eax + 0x18], edi
jb 0x468597
mov eax, dword [eax + 4]
jmp 0x46859a
add eax, 4
push eax
call fcn.0048e6dc
add esp, 4
lea ecx, [esp + 0x74]
mov esi, eax
call fcn.00401cb0
lea ecx, [esp + 0x198]
call fcn.00401cb0
lea ecx, [esp + 0x160]
call fcn.00401cb0
lea ecx, [esp + 0x17c]
call fcn.00401cb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa40], 0xd
call fcn.0047db70
push ebx
push ebx
mov ecx, ebp
call fcn.0044abd0
sub esp, 0x1c
cmp eax, 1
mov ecx, esp
mov dword [esp + 0x34], esp
je 0x46869e
push str.login_fail_
call fcn.00401c70
mov edi, dword [ebp + 4]
push 1
call fcn.004625d0
add esp, 0x20
cmp dword [esp + 0x140], 0x10
jb 0x46862f
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.0048d433
add esp, 4
mov esi, 0xf
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
mov byte [esp + 0xa44], 0xa
call eax
lea ecx, [esp + 0x3c]
call fcn.00460b50
mov edi, 0x10
cmp dword [esp + 0x124], edi
jb 0x468684
mov ecx, dword [esp + 0x110]
push ecx
call fcn.0048d433
add esp, 4
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jmp 0x467f51
push str.login_succeed_
call fcn.00401c70
mov edi, dword [ebp + 4]
push ebx
call fcn.004625d0
add esp, 0x10
lea eax, [ebp + 0xd8b0]
mov ecx, esp
mov dword [esp + 0x28], esp
lea edi, [ebp + 0x148]
push eax
mov byte [edi + 0xd56d], 1
call fcn.00464310
mov ecx, dword [ebp + 0xd8c0]
push ecx
push edi
lea edx, [ebp + 0xd9d4]
push edx
lea ecx, [esp + 0x1d0]
call fcn.00464890
push ebx
push ebx
lea ecx, [esp + 0x1bc]
mov byte [esp + 0xa48], 0x17
call fcn.004627e0
test eax, eax
jne 0x468762
lea ecx, [esp + 0x1b4]
mov byte [esp + 0xa40], 0xd
call fcn.00466e20
lea ecx, [esp + 0x128]
call fcn.00401cb0
mov eax, dword [ebp]
mov edx, dword [eax + 4]
push 1
mov ecx, ebp
mov byte [esp + 0xa44], 0xa
call edx
lea ecx, [esp + 0x3c]
call fcn.00460b50
lea ecx, [esp + 0x10c]
call fcn.00401cb0
lea ecx, [esp + 0xf0]
call fcn.00401cb0
jmp 0x467f7f
mov eax, dword [0x4e0198]
mov ecx, dword [esp + 0x1b8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x3c]
call fcn.0045ef20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.XunYou_Exit_
mov dword [esp + 0x34], eax
call fcn.00401c70
mov edi, dword [esp + 0x1d4]
push ebx
call fcn.004625d0
add esp, 0x20
lea ecx, [esp + 0x1b4]
mov byte [esp + 0xa40], 0xd
call fcn.00466e20
lea ecx, [esp + 0x128]
call fcn.00401cb0
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
mov byte [esp + 0xa44], 0xa
call eax
mov ebp, 0x10
mov edi, 0xf
mov ecx, 0x4dfde4
call fcn.00462550
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x468803
push eax
call fcn.0048d438
add esp, 4
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
je 0x468820
push eax
call fcn.0048d438
add esp, 4
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x124], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
jb 0x468841
mov ecx, dword [esp + 0x110]
push ecx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x108], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x46886f
mov edx, dword [esp + 0xf4]
push edx
call fcn.0048d433
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov dword [esp + 0xa40], 0xffffffff
call fcn.0046a260
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa20]
xor ecx, esp
call fcn.0048de34
add esp, 0xa30
ret