Function at 0x484e50
Capabilities:
Check for foreground window switch
Check os version
Create process on windows
Delete registry value
Set registry value
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd9c
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd58], eax
mov eax, dword [0x5bb8f8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xd60], edi
test eax, eax
jne 0x484e95
push 0x20
call fcn.005187ac
add esp, 4
mov ecx, eax
call fcn.0047a120
mov dword [0x5bb8f8], eax
mov ecx, eax
cmp byte [ecx + 9], 1
jne 0x484eb6
push 0x10
push str.Warning
mov edx, str.WIndows_XP_require_special_build
call fcn.00424f50
mov eax, dword [0x5bb8f8]
add esp, 8
test eax, eax
jne 0x484ed0
push 0x20
call fcn.005187ac
add esp, 4
mov ecx, eax
call fcn.0047a120
mov dword [0x5bb8f8], eax
cmp byte [eax + 0xd], 1
jne 0x484f00
push 0x10
push str.Unsupported_OS
mov edx, str.Error_OS_not_supported
call fcn.00424f50
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push ebx
push esi
push 0
push 0x100
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.user32.dll
call ebx
push str.SHCore.dll
mov esi, eax
call ebx
mov ebx, eax
push str.SetProcessDpiAwareness
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x484f3d
push 2
call eax
jmp 0x484f4f
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x484f4f
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x484f60
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x484f67
push ebx
call eax
mov eax, dword [0x5bdff0]
push 0
push 2
mov byte [ebp - 0xd45], 0
mov word [eax + 0xe2c], 0
call fcn.0052c46a
add esp, 4
push eax
call fcn.0052d9db
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x814]
add esp, 8
mov dword [0x5bb900], 0
push 0x104
push eax
push 0
call esi
test eax, eax
je 0x484fc9
lea eax, [ebp - 0x814]
push 0x5c
push eax
call fcn.00519d20
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x710]
push 0x104
push eax
call fcn.0051e70e
push 0x597538
lea eax, [ebp - 0x710]
push 0x104
push eax
call fcn.0051e768
push str.vnclang_server.dll
lea eax, [ebp - 0x710]
push 0x104
push eax
call fcn.0051e768
add esp, 0x24
lea eax, [ebp - 0x710]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [ebp - 0xd58]
test eax, eax
cmove eax, ebx
mov dword [0x5bb900], eax
call fcn.004847b0
push 0x104
lea eax, [ebp - 0x918]
push eax
push 0
call esi
test eax, eax
je 0x485062
lea eax, [ebp - 0x918]
push 0x5c
push eax
call fcn.00519d20
add esp, 8
test eax, eax
je 0x48668b
mov byte [eax], 0
push 0x104
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0xb20]
push 0x104
push eax
call fcn.0052bbb8
add esp, 0x10
mov byte [ebp - 0xa1d], 0
call fcn.00474ea0
mov dword [0x5bb904], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebp - 0xd5c]
call fcn.00483790
cmp dword [ebp - 0xd5c], 0
jne 0x4850d7
push 0
push 0x59d4e0
mov edx, 0x5bcd68
call fcn.00424f50
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
xor esi, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4850e0
sub ecx, edx
je 0x485113
nop dword [eax + eax]
movsx eax, byte [edi + esi]
push eax
call fcn.0052b963
mov ecx, edi
mov byte [edi + esi], al
add esp, 4
inc esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485106
sub ecx, edx
cmp esi, ecx
jb 0x4850f0
mov ecx, edi
xor eax, eax
mov dword [ebp - 0xd5c], eax
xor ebx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485122
sub ecx, edx
je 0x4866a0
cmp byte [edi + ebx], 0x20
lea esi, [edi + ebx]
jle 0x485abb
push 8
push str._inifile
push esi
mov dword [ebp - 0xd5c], 1
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485210
push 0x104
lea eax, [ebp - 0xa1c]
add ebx, 8
push eax
push 0x104
lea eax, [ebp - 0xc24]
push eax
push 0x104
lea eax, [ebp - 0xd28]
push eax
push 0x104
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebx + 1]
add eax, edi
push eax
call fcn.0052e05d
lea eax, [ebp - 0xa1c]
push 0x20
push eax
call fcn.0051a0d0
add esp, 0x2c
test eax, eax
je 0x4851b6
mov byte [eax], 0
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xc24]
push eax
lea eax, [ebp - 0xd28]
push eax
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x508]
push 0x104
push eax
call fcn.0052db5d
lea eax, [ebp - 0x508]
push eax
call fcn.0052bf02
lea ecx, [ebp - 0x508]
mov dword [0x5b2cdc], eax
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485200
sub ecx, edx
add ebx, ecx
jmp 0x485abb
push 0xf
push str._settingshelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486657
push 0x12
push str._stopservicehelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x48662c
push 5
push str._kill
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4865a8
push 0xd
push str._openhomepage
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486575
push 0xa
push str._openforum
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486568
push 0x13
push str._startservicehelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x48653d
push 0xe
push str._installhelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486512
push 0x10
push str._uninstallhelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4864e7
push 0x12
push str._softwarecadhelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4864bc
push 0x15
push str._delsoftwarecadhelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4863f2
push 0x15
push str._rebootsafemodehelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4863c7
push 0x12
push str._rebootforcehelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x48639c
push 0x15
push str._securityeditorhelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486371
push 0xf
push str._securityeditor
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4862cc
push 9
push str._settings
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x48628c
push 0x10
push str._dsmpluginhelper
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4861a7
push 0x12
push str._dsmplugininstance
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486167
push 0xc
push 0x56bd50
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4860bd
push 0xf
push 0x56bcec
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x486021
push 0xf
push 0x56bc6c
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485f09
push 0xc
push 0x56bd84
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485e38
push 0xc
push str._stopservice
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485df0
push 0xd
push str._startservice
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485dc2
push 0xe
push str._installdriver
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485dce
push 8
push str._install
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485d06
push 0xa
push str._uninstall
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485c16
push 0xb
push str._preconnect
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x4854a3
add ebx, 0xb
mov byte [0x5b31a6], 1
jmp 0x485abb
push 0xc
push str._service_run
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485bef
push 0x10
push str._service_rdp_run
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485bbe
push 8
push str._service
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x485b9c
push 4
push str._run
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4866a0
push 8
push str._sc_exit
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x48552b
mov eax, dword [0x5bdff0]
add ebx, 8
mov byte [eax + 0xe2c], 1
jmp 0x485abb
push 0xa
push str._sc_prompt
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485553
mov eax, dword [0x5bdff0]
add ebx, 0xa
mov byte [eax + 0xe2d], 1
jmp 0x485abb
push 6
push str._multi
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485576
mov byte [0x5b2c32], 1
add ebx, 6
jmp 0x485abb
push 0xe
push str._stopreconnect
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485597
add ebx, 0xe
call fcn.004254b0
jmp 0x485abb
push 0xe
push str._autoreconnect
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x4856ae
add ebx, 0xe
mov dword [ebp - 0xd4c], eax
mov byte [ebp - 0xd45], 1
mov esi, ebx
mov al, byte [edi + ebx]
cmp al, 0x20
jg 0x4855d5
test al, al
je 0x4855d5
mov al, byte [edi + esi + 1]
inc esi
cmp al, 0x20
jle 0x4855c8
push 3
lea eax, [edi + esi]
push 0x56baac
push eax
mov dword [ebp - 0xd40], eax
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485650
cmp byte [edi + esi], 0x20
mov ebx, esi
jle 0x485607
nop word [eax + eax]
inc ebx
cmp byte [edi + ebx], 0x20
jg 0x485600
mov eax, ebx
sub eax, esi
mov dword [ebp - 0xd3c], eax
je 0x485650
lea esi, [eax + 1]
push esi
call fcn.005187ea
push dword [ebp - 0xd3c]
mov edi, eax
push dword [ebp - 0xd40]
push esi
push edi
call fcn.0052bbb8
mov eax, dword [ebp - 0xd3c]
push edi
mov byte [edi + eax], 0
call fcn.0052c30f
mov edi, dword [ebp - 0xd60]
add esp, 0x18
mov dword [ebp - 0xd4c], eax
mov esi, dword [ebp - 0xd4c]
mov ecx, esi
call fcn.00425360
test eax, eax
jne 0x485698
mov byte [0x5bb6f1], 1
test esi, esi
jne 0x48567d
mov byte [0x5bbc0f], 1
mov byte [0x5bb6f1], al
jmp 0x485abb
push esi
push 0x14
push 0x5bbf24
call fcn.0051e70e
push esi
call fcn.005187a7
add esp, 0x10
jmp 0x485abb
test esi, esi
je 0x485abb
push esi
call fcn.005187a7
add esp, 4
jmp 0x485abb
push 4
push str._id:
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485764
inc ebx
xor esi, esi
cmp byte [edi + ebx], 0x20
mov eax, ebx
mov dword [ebp - 0xd3c], ebx
lea ecx, [edi + ebx]
mov dword [ebp - 0xd4c], ecx
jle 0x4856ed
inc eax
cmp byte [edi + eax], 0x20
jg 0x4856e0
mov dword [ebp - 0xd3c], eax
mov ecx, eax
sub ecx, ebx
mov dword [ebp - 0xd40], ecx
je 0x485733
lea esi, [ecx + 1]
push esi
call fcn.005187ea
mov ebx, dword [ebp - 0xd40]
mov edi, eax
push ebx
push dword [ebp - 0xd4c]
push esi
push edi
call fcn.0052bbb8
push edi
mov byte [ebx + edi], 0
call fcn.0052c30f
mov edi, dword [ebp - 0xd60]
mov esi, eax
mov eax, dword [ebp - 0xd3c]
add esp, 0x18
mov ecx, esi
mov ebx, eax
call fcn.00425650
test eax, eax
jne 0x485698
mov byte [0x5bc3c2], 1
test esi, esi
jne 0x48567d
mov byte [0x5bc3c0], 1
mov byte [0x5bc3c2], al
jmp 0x485abb
push 8
push str._connect
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x4859da
cmp byte [ebp - 0xd45], al
jne 0x485789
call fcn.00425450
mov al, byte [edi + ebx + 8]
add ebx, 8
mov esi, ebx
cmp al, 0x20
jg 0x4857a3
test al, al
je 0x4857a3
mov al, byte [edi + esi + 1]
inc esi
cmp al, 0x20
jle 0x485796
cmp byte [edi + esi], 0x20
lea ecx, [edi + esi]
mov eax, esi
mov dword [ebp - 0xd40], esi
jle 0x4857c1
inc eax
cmp byte [edi + eax], 0x20
jg 0x4857b4
mov dword [ebp - 0xd40], eax
sub eax, esi
mov dword [ebp - 0xd50], eax
je 0x48599f
inc eax
push eax
mov dword [ebp - 0xd54], eax
call fcn.005187ea
push dword [ebp - 0xd54]
mov ebx, eax
mov dword [ebp - 0xd4c], ebx
call fcn.005187ea
push dword [ebp - 0xd50]
lea ecx, [edi + esi]
mov dword [ebp - 0xd3c], eax
push ecx
push dword [ebp - 0xd54]
push ebx
call fcn.0052bbb8
mov ecx, ebx
mov ebx, dword [ebp - 0xd40]
sub ecx, esi
mov esi, dword [ebp - 0xd4c]
push esi
push dword [ebp - 0xd54]
push dword [ebp - 0xd3c]
mov byte [ecx + ebx], 0
call fcn.0051e70e
push 0x5b
push esi
call fcn.0051a0d0
push 0x5d
push esi
mov dword [ebp - 0xd40], eax
call fcn.0051a0d0
add esp, 0x34
mov edx, eax
cmp dword [ebp - 0xd40], 0
mov dword [ebp - 0xd44], edx
je 0x4858b5
test edx, edx
je 0x4858b5
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xd50], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485870
sub ecx, dword [ebp - 0xd50]
lea eax, [edx + 1]
push ecx
push eax
push dword [ebp - 0xd54]
push dword [ebp - 0xd3c]
call fcn.0052bbb8
mov eax, dword [ebp - 0xd44]
mov byte [eax], 0
mov eax, dword [ebp - 0xd40]
inc eax
push eax
push dword [ebp - 0xd54]
push esi
call fcn.0051e70e
add esp, 0x1c
jmp 0x4858c7
push 0x3a
push esi
call fcn.0051a0d0
add esp, 8
test eax, eax
je 0x4858c7
mov byte [eax], 0
push 0x3a
push dword [ebp - 0xd3c]
mov esi, 0x157c
call fcn.0051a0d0
add esp, 8
test eax, eax
je 0x4858f5
mov byte [eax], 0
inc eax
cmp byte [eax], 0x3a
jne 0x4858ea
inc eax
push eax
call fcn.00526a89
mov esi, eax
add esp, 4
push dword [ebp - 0xd3c]
call fcn.005187a7
push esi
push dword [ebp - 0xd4c]
push str.WinMain_:_test...__s__d_n
push 0
push 0x5b0d48
call fcn.0041ccb0
push dword [ebp - 0xd4c]
push 0xff
push 0x5bbb10
call fcn.0051e70e
mov ecx, dword [ebp - 0xd4c]
call fcn.00483cc0
push dword [ebp - 0xd4c]
mov dword [ebp - 0xd3c], eax
call fcn.005187a7
add esp, 0x28
cmp dword [ebp - 0xd3c], 0
je 0x485b42
push str.WinMain_:_PostAddNewClient_III__n
push 0
push 0x5b0d48
call fcn.0041ccb0
mov ecx, dword [ebp - 0xd3c]
add esp, 0xc
mov edx, esi
call fcn.00425570
test eax, eax
jne 0x485abb
mov eax, dword [ebp - 0xd3c]
mov byte [0x5bb6f2], 1
mov dword [0x5bbacc], esi
mov dword [0x5bbf20], eax
jmp 0x485abb
push str.WinMain_:_PostAddNewClient_IIII_n
push 0
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
xor edx, edx
xor ecx, ecx
call fcn.004255e0
test eax, eax
jne 0x485abb
mov byte [0x5bb6f2], 1
mov dword [0x5bbacc], eax
mov dword [0x5bbf20], eax
jmp 0x485abb
push 9
push str._repeater
push esi
call fcn.005267e0
add esp, 0xc
test eax, eax
jne 0x485b83
mov cl, byte [edi + ebx + 9]
add ebx, 9
mov eax, ebx
cmp cl, 0x20
jg 0x485a0e
test cl, cl
je 0x485a0e
mov cl, byte [edi + eax + 1]
inc eax
cmp cl, 0x20
jle 0x485a00
cmp byte [edi + eax], 0x20
lea edx, [edi + eax]
mov ecx, eax
mov dword [ebp - 0xd40], eax
mov dword [ebp - 0xd50], edx
jle 0x485a32
inc ecx
cmp byte [edi + ecx], 0x20
jg 0x485a25
mov dword [ebp - 0xd40], ecx
mov esi, ecx
sub esi, eax
mov dword [ebp - 0xd44], esi
je 0x485abb
mov eax, dword [0x5bbac8]
test eax, eax
je 0x485a5e
push eax
call fcn.005187a7
add esp, 4
mov dword [0x5bbac8], 0
inc esi
push esi
call fcn.005187ea
mov ebx, dword [ebp - 0xd44]
push ebx
push dword [ebp - 0xd50]
mov dword [0x5bbac8], eax
push esi
push eax
call fcn.0052bbb8
mov eax, dword [0x5bbac8]
push str.WinMain_:_PostAddNewRepeaterClient_I_n
push 0
push 0x5b0d48
mov byte [eax + ebx], 0
call fcn.0041ccb0
add esp, 0x20
call fcn.004253e0
test eax, eax
jne 0x485ab5
mov byte [0x5bb6f3], 1
mov dword [0x5bbacc], eax
mov dword [0x5bbf20], eax
mov ebx, dword [ebp - 0xd40]
mov ecx, edi
inc ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485ac1
sub ecx, edx
cmp ebx, ecx
jb 0x485131
cmp dword [ebp - 0xd5c], 0
je 0x4866a0
mov ecx, dword [0x5bb8f8]
test ecx, ecx
je 0x485aef
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x5b2e38]
test eax, eax
jne 0x485b19
push 0x1134
call fcn.005187ac
add esp, 4
mov ecx, eax
call fcn.0042a8b0
mov dword [0x5b2e38], eax
test eax, eax
je 0x486685
push 0x1134
push eax
call fcn.005187dc
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0x7d0
mov byte [0x5bb6f2], 1
mov dword [0x5bbacc], 0
mov dword [0x5bbf20], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0x40
push 0x5bc700
mov edx, str.winvnc___sc_prompt____sc_exit____id:________stopreconnect___autoreconnect__ID:_________connect_host_:display_____connect_host_::port_____repeater_host_:port_____inifile_________run__n
call fcn.00424f50
add esp, 8
jmp 0x485adf
mov ecx, edi
call fcn.0042cb10
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xd58]
call fcn.00484b30
test al, al
je 0x486685
mov eax, dword [0x5bdff0]
mov dword [eax + 0xe20], 1
mov dword [eax + 0xe24], 1
jmp 0x4866af
mov ecx, dword [ebp - 0xd58]
call fcn.00484b30
test al, al
je 0x486685
mov eax, dword [0x5bdff0]
mov dword [eax + 0xe20], 1
jmp 0x4866af
mov al, byte [edi + ebx]
lea esi, [edi + ebx]
test al, al
je 0x485cb9
movzx eax, al
push eax
call fcn.0052dd20
add esp, 4
test eax, eax
jne 0x485c41
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x485c24
jmp 0x485cb9
mov al, byte [esi]
test al, al
je 0x485cb9
movzx eax, al
push eax
call fcn.0052dd20
add esp, 4
test eax, eax
je 0x485c61
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x485c47
jmp 0x485cb9
mov al, byte [esi]
test al, al
je 0x485cb9
cmp al, 0x22
jne 0x485c71
inc esi
cmp byte [esi], 0
je 0x485cb9
push 0x22
push esi
call fcn.00519d20
add esp, 8
test eax, eax
je 0x485c83
mov byte [eax], 0
cmp byte [esi], 0
je 0x485cb9
push str.uvnc_service
push esi
call fcn.0052bbfc
add esp, 8
test eax, eax
je 0x485cb9
push 0x100
push esi
push 0x100
push str.uvnc_service
call fcn.0052bbb8
add esp, 0x10
mov byte [0x5b0ba7], 0
push str.uvnc_service
push str.net_stop___s_
lea eax, [ebp - 0x128]
push 0x124
push eax
call fcn.00425da0
add esp, 0x10
lea eax, [ebp - 0x128]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.0042ce30
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
mov al, byte [edi + ebx]
lea esi, [edi + ebx]
test al, al
je 0x485db2
movzx eax, al
push eax
call fcn.0052dd20
add esp, 4
test eax, eax
jne 0x485d31
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x485d14
jmp 0x485db2
mov al, byte [esi]
test al, al
je 0x485db2
nop dword [eax + eax]
movzx eax, al
push eax
call fcn.0052dd20
add esp, 4
test eax, eax
je 0x485d5a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x485d40
jmp 0x485db2
mov al, byte [esi]
test al, al
je 0x485db2
cmp al, 0x22
jne 0x485d6a
inc esi
cmp byte [esi], 0
je 0x485db2
push 0x22
push esi
call fcn.00519d20
add esp, 8
test eax, eax
je 0x485d7c
mov byte [eax], 0
cmp byte [esi], 0
je 0x485db2
push str.uvnc_service
push esi
call fcn.0052bbfc
add esp, 8
test eax, eax
je 0x485db2
push 0x100
push esi
push 0x100
push str.uvnc_service
call fcn.0052bbb8
add esp, 0x10
mov byte [0x5b0ba7], 0
call fcn.0042cb60
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.uvnc_service
push str.net_start___s_
jmp 0x485dfa
mov cl, 1
call fcn.00434c70
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push str.uvnc_service
push str.net_stop___s_
lea eax, [ebp - 0x128]
push 0x124
push eax
call fcn.00425da0
add esp, 0x10
lea eax, [ebp - 0x128]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xd44]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x486685
lea eax, [ebp - 0xd34]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [ebp - 0xd38]
mov dword [ebp - 0xd38], 1
push eax
push 0
push dword [ebp - 0xd44]
mov dword [ebp - 0xd2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x486685
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
push 0
jae 0x485ee6
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push str.uvnc_service
push 0x59b240
push str.SYSTEMCurrentControlSetControlSafeBoot_s_s
lea eax, [ebp - 0x404]
mov dword [ebp - 0xd44], 0
push 0x400
push eax
call fcn.0042f150
add esp, 0x14
lea eax, [ebp - 0xd44]
push eax
lea eax, [ebp - 0xd40]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x486685
push 8
push str.Service
push 1
push eax
push eax
push dword [ebp - 0xd40]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xd40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042cfe0
lea eax, [ebp - 0xd44]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x486685
lea eax, [ebp - 0xd34]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [ebp - 0xd38]
mov dword [ebp - 0xd38], 1
push eax
push 0
push dword [ebp - 0xd44]
mov dword [ebp - 0xd2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x486685
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xd44]
push eax
lea eax, [ebp - 0xd3c]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x486685
lea eax, [ebp - 0xd40]
push eax
push 0x2001f
push 0
push str.System
push dword [ebp - 0xd3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x486113
push str.SoftwareSASGeneration
push dword [ebp - 0xd40]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0xd40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xd3c]
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xd50]
push eax
lea eax, [ebp - 0xd3c]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x486685
lea eax, [ebp - 0xd40]
push eax
push 0x2001f
push 0
push str.System
push dword [ebp - 0xd3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48613a
push dword [ebp - 0xd3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 4
lea eax, [ebp - 0xd44]
mov dword [ebp - 0xd44], 1
push eax
push 4
push 0
push str.SoftwareSASGeneration
push dword [ebp - 0xd40]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x48608c
lea eax, [ebx + 0x13]
add eax, edi
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e70e
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.0047d0f0
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx + 0x11]
add eax, edi
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e70e
push str.__dsmplugininstance
lea eax, [ebp - 0x508]
push 0x104
push eax
call fcn.0051e70e
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push 0x104
push eax
call fcn.0051e768
add esp, 0x24
lea eax, [ebp - 0x60c]
push 0x104
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call eax
mov dword [ebp - 0xd9c], 0x3c
mov dword [ebp - 0xd98], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xd94], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0xd8c], eax
lea eax, [ebp - 0x508]
mov dword [ebp - 0xd88], eax
lea eax, [ebp - 0xd9c]
push eax
mov dword [ebp - 0xd90], str.runas
mov dword [ebp - 0xd84], 0
mov dword [ebp - 0xd80], 0
mov dword [ebp - 0xd7c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx + 0xa]
add eax, edi
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e70e
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.00423300
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0x104
lea eax, [ebp - 0x108]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call eax
test eax, eax
je 0x48630f
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.00519d20
push str._authSSP.dll
push 0x104
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.0051e768
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48658d
push str.vncEditSecurity
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [0x5bb904]
push 0
call esi
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424e90
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042d370
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042d410
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
jb 0x486685
push 0x104
lea eax, [ebp - 0x60c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call eax
mov dword [ebp - 0xd9c], 0x3c
mov dword [ebp - 0xd98], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xd94], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0xd8c], eax
lea eax, [ebp - 0xd9c]
push eax
mov dword [ebp - 0xd90], str.runas
mov dword [ebp - 0xd88], str._delsoftwarecad
mov dword [ebp - 0xd84], 0
mov dword [ebp - 0xd80], 1
mov dword [ebp - 0xd7c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041cce0
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424dd0
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424d10
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424c50
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push str.https:__forum.uvnc.com
jmp 0x486580
push 1
push 0
push 0
push str.https:__www.uvnc.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push str.GlobalSessionEventUltra
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push eax
mov dword [0x5f95d0], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [0x5f95d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.WinVNC_Tray_Icon
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
jne 0x4865f3
mov edi, dword [0x5b2c94]
test edi, edi
je 0x486685
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x9c42
push 0x111
push edi
call esi
push 0
push 0
push 0x10
push edi
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424b90
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e70e
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.004231f0
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xd58]
call fcn.00484b30
test al, al
je 0x486685
call fcn.00486b30
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x10