Function at 0x48a360
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 [0x5d7008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd54], eax
mov eax, dword [0x5e25d0]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xd60], edi
test eax, eax
jne 0x48a3a5
push 0x20
call fcn.0053d643
add esp, 4
mov ecx, eax
call fcn.00476f90
mov dword [0x5e25d0], eax
mov ecx, eax
cmp byte [ecx + 8], 1
jne 0x48a3c6
push 0x10
push str.Warning
mov edx, str.WIndows_XP_require_special_build
call fcn.004254b0
mov eax, dword [0x5e25d0]
add esp, 8
test eax, eax
jne 0x48a3e0
push 0x20
call fcn.0053d643
add esp, 4
mov ecx, eax
call fcn.00476f90
mov dword [0x5e25d0], eax
cmp byte [eax + 0xc], 1
jne 0x48a410
push 0x10
push str.Unsupported_OS
mov edx, str.Error_OS_not_supported
call fcn.004254b0
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
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 0x48a44d
push 2
call eax
jmp 0x48a45f
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48a45f
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x48a470
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x48a477
push ebx
call eax
push 0
push 2
mov byte [ebp - 0xd45], 0
mov dword [0x5e7ca4], 0
mov dword [0x5e7b1c], 0
call fcn.0054d4c0
add esp, 4
push eax
call fcn.0054e763
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x814]
add esp, 8
mov dword [0x5e6634], 0
push 0x104
push eax
push 0
call esi
test eax, eax
je 0x48a4df
lea eax, [ebp - 0x814]
push 0x5c
push eax
call fcn.0053eb80
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x710]
push 0x104
push eax
call fcn.005417f5
push 0x5b92c8
lea eax, [ebp - 0x710]
push 0x104
push eax
call fcn.0054184f
push str.vnclang_server.dll
lea eax, [ebp - 0x710]
push 0x104
push eax
call fcn.0054184f
add esp, 0x24
lea eax, [ebp - 0x710]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [ebp - 0xd54]
test eax, eax
cmove eax, ebx
mov dword [0x5e6634], eax
call fcn.00489cc0
push 0x104
lea eax, [ebp - 0x918]
push eax
push 0
call esi
test eax, eax
je 0x48a578
lea eax, [ebp - 0x918]
push 0x5c
push eax
call fcn.0053eb80
add esp, 8
test eax, eax
je 0x48bbe9
mov byte [eax], 0
push 0x104
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0xa1c]
push 0x104
push eax
call fcn.0054cc69
add esp, 0x10
mov byte [ebp - 0x919], 0
call fcn.004714c0
mov dword [0x5e7ca0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebp - 0xd5c]
call fcn.00488d10
cmp dword [ebp - 0xd5c], 0
jne 0x48a5ed
push 0
push 0x5bf9fc
mov edx, 0x5e7a90
call fcn.004254b0
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0xa1c]
call fcn.00425160
mov ecx, edi
xor esi, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48a600
sub ecx, edx
je 0x48a633
nop dword [eax + eax]
movsx eax, byte [edi + esi]
push eax
call fcn.0054cb56
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 0x48a626
sub ecx, edx
cmp esi, ecx
jb 0x48a610
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 0x48a642
sub ecx, edx
je 0x48bbd0
cmp byte [edi + ebx], 0x20
lea esi, [edi + ebx]
jle 0x48aff7
push 8
push str._inifile
push esi
mov dword [ebp - 0xd5c], 1
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48a730
push 0x104
lea eax, [ebp - 0xb20]
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.0054ef1f
lea eax, [ebp - 0xb20]
push 0x20
push eax
call fcn.0053ef30
add esp, 0x2c
test eax, eax
je 0x48a6d6
mov byte [eax], 0
lea eax, [ebp - 0xb20]
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.0054ea17
lea eax, [ebp - 0x508]
push eax
call fcn.0054cea1
lea ecx, [ebp - 0x508]
mov dword [0x5d9cd8], eax
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48a720
sub ecx, edx
add ebx, ecx
jmp 0x48aff7
push 0xf
push str._settingshelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48bb87
push 0x12
push str._stopservicehelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48bb5c
push 5
push str._kill
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48bad8
push 0xd
push str._openhomepage
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48baa5
push 0xa
push str._openforum
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48ba98
push 0x13
push str._startservicehelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48ba6d
push 0xe
push str._installhelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48ba42
push 0x10
push str._uninstallhelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48ba17
push 0x12
push str._softwarecadhelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b9ec
push 0x15
push str._delsoftwarecadhelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b922
push 0x15
push str._rebootsafemodehelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b8f7
push 0x12
push str._rebootforcehelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b8cc
push 0x15
push str._securityeditorhelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b8a1
push 0xf
push str._securityeditor
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b7fc
push 9
push str._settings
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b7bc
push 0x10
push str._dsmpluginhelper
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b6d7
push 0x12
push str._dsmplugininstance
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b697
push 0xc
push 0x586d88
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b5ed
push 0xf
push 0x586d24
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b551
push 0xf
push 0x586ca4
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b439
push 0xc
push 0x586dbc
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b368
push 0xc
push str._stopservice
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b320
push 0xd
push str._startservice
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b2f2
push 0xe
push str._installdriver
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b2fe
push 8
push str._install
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b23f
push 0xa
push str._uninstall
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b150
push 0xb
push str._preconnect
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48a9c3
add ebx, 0xb
mov byte [0x5d9e81], 1
jmp 0x48aff7
push 0xc
push str._service_run
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b131
push 0x10
push str._service_rdp_run
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b0de
push 8
push str._service
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b0bc
push 4
push str._run
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
je 0x48b0a7
push 8
push str._sc_exit
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48aa49
mov dword [0x5e7ca4], 1
add ebx, 8
jmp 0x48aff7
push 0xa
push str._sc_prompt
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48aa6f
mov dword [0x5e7b1c], 1
add ebx, 0xa
jmp 0x48aff7
push 6
push str._multi
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48aa95
mov dword [0x5e6878], 1
add ebx, 6
jmp 0x48aff7
push 0xe
push str._stopreconnect
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48aab6
add ebx, 0xe
call fcn.00487270
jmp 0x48aff7
push 0xe
push str._autoreconnect
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48abce
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 0x48aaf4
test al, al
je 0x48aaf4
mov al, byte [edi + esi + 1]
inc esi
cmp al, 0x20
jle 0x48aae7
push 3
lea eax, [edi + esi]
push 0x586ae4
push eax
mov dword [ebp - 0xd40], eax
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48ab70
cmp byte [edi + esi], 0x20
mov ebx, esi
jle 0x48ab27
nop dword [eax]
inc ebx
cmp byte [edi + ebx], 0x20
jg 0x48ab20
mov eax, ebx
sub eax, esi
mov dword [ebp - 0xd3c], eax
je 0x48ab70
lea esi, [eax + 1]
push esi
call fcn.0053d681
push dword [ebp - 0xd3c]
mov edi, eax
push dword [ebp - 0xd40]
push esi
push edi
call fcn.0054cc69
mov eax, dword [ebp - 0xd3c]
push edi
mov byte [eax + edi], 0
call fcn.0054d365
mov edi, dword [ebp - 0xd60]
add esp, 0x18
mov dword [ebp - 0xd4c], eax
mov esi, dword [ebp - 0xd4c]
mov ecx, esi
call fcn.004871a0
test eax, eax
jne 0x48abb8
mov byte [0x5e23b9], 1
test esi, esi
jne 0x48ab9d
mov byte [0x5e697f], 1
mov byte [0x5e23b9], al
jmp 0x48aff7
push esi
push 0x14
push 0x5e6c94
call fcn.005417f5
push esi
call fcn.0053d63e
add esp, 0x10
jmp 0x48aff7
test esi, esi
je 0x48aff7
push esi
call fcn.0053d63e
add esp, 4
jmp 0x48aff7
push 4
push str._id:
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48ac84
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 - 0xd58], ecx
jle 0x48ac0d
inc eax
cmp byte [edi + eax], 0x20
jg 0x48ac00
mov dword [ebp - 0xd3c], eax
mov ecx, eax
sub ecx, ebx
mov dword [ebp - 0xd40], ecx
je 0x48ac53
lea esi, [ecx + 1]
push esi
call fcn.0053d681
mov ebx, dword [ebp - 0xd40]
mov edi, eax
push ebx
push dword [ebp - 0xd58]
push esi
push edi
call fcn.0054cc69
push edi
mov byte [ebx + edi], 0
call fcn.0054d365
mov edi, dword [ebp - 0xd60]
mov esi, eax
mov eax, dword [ebp - 0xd3c]
add esp, 0x18
mov ecx, esi
mov ebx, eax
call fcn.00487320
test eax, eax
jne 0x48abb8
mov byte [0x5e70b1], 1
test esi, esi
jne 0x48ab9d
mov byte [0x5e70b0], 1
mov byte [0x5e70b1], al
jmp 0x48aff7
push 8
push str._connect
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48af14
cmp byte [ebp - 0xd45], al
jne 0x48aca9
call fcn.00487210
mov cl, byte [edi + ebx + 8]
add ebx, 8
mov dword [ebp - 0xd58], ebx
mov eax, ebx
cmp cl, 0x20
jg 0x48acd4
nop dword [eax]
test cl, cl
je 0x48acce
mov cl, byte [edi + eax + 1]
inc eax
cmp cl, 0x20
jle 0x48acc0
mov dword [ebp - 0xd58], eax
cmp byte [edi + eax], 0x20
lea edx, [edi + eax]
mov ecx, eax
mov dword [ebp - 0xd40], eax
mov dword [ebp - 0xd44], edx
jle 0x48acfd
nop dword [eax + eax]
inc ecx
cmp byte [edi + ecx], 0x20
jg 0x48acf0
mov dword [ebp - 0xd40], ecx
sub ecx, eax
mov dword [ebp - 0xd50], ecx
je 0x48aed9
lea esi, [ecx + 1]
push esi
call fcn.0053d681
push esi
mov dword [ebp - 0xd4c], eax
call fcn.0053d681
push dword [ebp - 0xd50]
mov dword [ebp - 0xd3c], eax
push dword [ebp - 0xd44]
push esi
mov esi, dword [ebp - 0xd4c]
push esi
call fcn.0054cc69
mov ebx, dword [ebp - 0xd40]
mov ecx, esi
sub ecx, dword [ebp - 0xd58]
add esp, 0x18
mov edx, dword [ebp - 0xd3c]
sub edx, esi
mov byte [ecx + ebx], 0
mov ecx, esi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x48ad60
push 0x5b
push esi
call fcn.0053ef30
push 0x5d
push esi
mov dword [ebp - 0xd40], eax
call fcn.0053ef30
add esp, 0x10
mov edx, eax
cmp dword [ebp - 0xd40], 0
mov dword [ebp - 0xd50], edx
je 0x48adef
test edx, edx
je 0x48adef
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xd44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48ada6
sub ecx, dword [ebp - 0xd44]
lea eax, [edx + 1]
push ecx
push eax
push dword [ebp - 0xd3c]
call fcn.0054e7a0
mov eax, dword [ebp - 0xd50]
add esp, 0xc
mov ecx, dword [ebp - 0xd40]
inc ecx
sub esi, ecx
mov byte [eax], 0
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x48ade0
jmp 0x48ae01
push 0x3a
push esi
call fcn.0053ef30
add esp, 8
test eax, eax
je 0x48ae01
mov byte [eax], 0
push 0x3a
push dword [ebp - 0xd3c]
mov esi, 0x157c
call fcn.0053ef30
add esp, 8
test eax, eax
je 0x48ae2f
mov byte [eax], 0
inc eax
cmp byte [eax], 0x3a
jne 0x48ae24
inc eax
push eax
call fcn.00547d9c
mov esi, eax
add esp, 4
push dword [ebp - 0xd3c]
call fcn.0053d63e
push esi
push dword [ebp - 0xd4c]
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvncwinvnc.cpp_:_test...__s__d_n
push 0
push 0x5d7d48
call fcn.0041c960
push dword [ebp - 0xd4c]
push 0xff
push 0x5e6880
call fcn.005417f5
mov ecx, dword [ebp - 0xd4c]
call fcn.004891d0
push dword [ebp - 0xd4c]
mov dword [ebp - 0xd3c], eax
call fcn.0053d63e
add esp, 0x28
cmp dword [ebp - 0xd3c], 0
je 0x48b04d
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvncwinvnc.cpp_:_PostAddNewClient_III__n
push 0
push 0x5d7d48
call fcn.0041c960
mov ecx, dword [ebp - 0xd3c]
add esp, 0xc
mov edx, esi
call fcn.00487090
test eax, eax
jne 0x48aff7
mov eax, dword [ebp - 0xd3c]
mov byte [0x5e23ba], 1
mov dword [0x5e687c], esi
mov dword [0x5e6c90], eax
jmp 0x48aff7
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvncwinvnc.cpp_:_PostAddNewClient_IIII_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
xor edx, edx
xor ecx, ecx
call fcn.00486fe0
test eax, eax
jne 0x48aff7
mov byte [0x5e23ba], 1
mov dword [0x5e687c], eax
mov dword [0x5e6c90], eax
jmp 0x48aff7
push 9
push str._repeater
push esi
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x48b08e
mov cl, byte [edi + ebx + 9]
add ebx, 9
mov eax, ebx
cmp cl, 0x20
jg 0x48af4e
nop word [eax + eax]
test cl, cl
je 0x48af4e
mov cl, byte [edi + eax + 1]
inc eax
cmp cl, 0x20
jle 0x48af40
cmp byte [edi + eax], 0x20
lea edx, [edi + eax]
mov ecx, eax
mov dword [ebp - 0xd40], eax
mov dword [ebp - 0xd50], edx
jle 0x48af72
inc ecx
cmp byte [edi + ecx], 0x20
jg 0x48af65
mov dword [ebp - 0xd40], ecx
mov esi, ecx
sub esi, eax
mov dword [ebp - 0xd44], esi
je 0x48aff7
mov eax, dword [0x5e6630]
test eax, eax
je 0x48af9a
push eax
call fcn.0053d63e
add esp, 4
mov dword [0x5e6630], 0
inc esi
push esi
call fcn.0053d681
mov ebx, dword [ebp - 0xd44]
push ebx
push dword [ebp - 0xd50]
mov dword [0x5e6630], eax
push esi
push eax
call fcn.0054cc69
mov eax, dword [0x5e6630]
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvncwinvnc.cpp_:_PostAddNewRepeaterClient_I_n
push 0
push 0x5d7d48
mov byte [eax + ebx], 0
call fcn.0041c960
add esp, 0x20
call fcn.00487140
test eax, eax
jne 0x48aff1
mov byte [0x5e23bb], 1
mov dword [0x5e687c], eax
mov dword [0x5e6c90], eax
mov ebx, dword [ebp - 0xd40]
mov ecx, edi
inc ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48b000
sub ecx, edx
cmp ebx, ecx
jb 0x48a651
cmp dword [ebp - 0xd5c], 0
je 0x48bbd0
mov ecx, dword [0x5e25d0]
test ecx, ecx
je 0x48bbe3
mov eax, dword [ecx]
push 1
call dword [eax]
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0x7d0
mov byte [0x5e23ba], 1
mov dword [0x5e687c], 0
mov dword [0x5e6c90], 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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0x40
push 0x5e7298
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.004254b0
add esp, 8
jmp 0x48b01e
mov ecx, dword [ebp - 0xd54]
call fcn.0048a040
test al, al
je 0x48bbe3
jmp 0x48b10f
mov ecx, edi
call fcn.0042b200
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xd54]
call fcn.0048a040
test al, al
je 0x48bbe3
mov dword [0x5e7498], 1
mov dword [0x5e767c], 1
mov dword [0x5e65ec], 1
call fcn.0048c180
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xd54]
call fcn.0048a040
test al, al
je 0x48bbe3
mov dword [0x5e7498], 1
jmp 0x48b105
mov al, byte [edi + ebx]
lea esi, [edi + ebx]
test al, al
je 0x48b1f2
nop
movzx eax, al
push eax
call fcn.0054ebe0
add esp, 4
test eax, eax
jne 0x48b17a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48b160
jmp 0x48b1f2
mov al, byte [esi]
test al, al
je 0x48b1f2
movzx eax, al
push eax
call fcn.0054ebe0
add esp, 4
test eax, eax
je 0x48b19a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48b180
jmp 0x48b1f2
mov al, byte [esi]
test al, al
je 0x48b1f2
cmp al, 0x22
jne 0x48b1aa
inc esi
cmp byte [esi], 0
je 0x48b1f2
push 0x22
push esi
call fcn.0053eb80
add esp, 8
test eax, eax
je 0x48b1bc
mov byte [eax], 0
cmp byte [esi], 0
je 0x48b1f2
push str.uvnc_service
push esi
call fcn.0054cf39
add esp, 8
test eax, eax
je 0x48b1f2
push 0x100
push esi
push 0x100
push str.uvnc_service
call fcn.0054cc69
add esp, 0x10
mov byte [0x5d7b9f], 0
push str.uvnc_service
push str.net_stop___s_
lea eax, [ebp - 0x128]
push 0x124
push eax
call fcn.004256a0
add esp, 0x10
lea eax, [ebp - 0x128]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.0042b520
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
mov al, byte [edi + ebx]
lea esi, [edi + ebx]
test al, al
je 0x48b2e2
nop dword [eax]
movzx eax, al
push eax
call fcn.0054ebe0
add esp, 4
test eax, eax
jne 0x48b26a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48b250
jmp 0x48b2e2
mov al, byte [esi]
test al, al
je 0x48b2e2
movzx eax, al
push eax
call fcn.0054ebe0
add esp, 4
test eax, eax
je 0x48b28a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48b270
jmp 0x48b2e2
mov al, byte [esi]
test al, al
je 0x48b2e2
cmp al, 0x22
jne 0x48b29a
inc esi
cmp byte [esi], 0
je 0x48b2e2
push 0x22
push esi
call fcn.0053eb80
add esp, 8
test eax, eax
je 0x48b2ac
mov byte [eax], 0
cmp byte [esi], 0
je 0x48b2e2
push str.uvnc_service
push esi
call fcn.0054cf39
add esp, 8
test eax, eax
je 0x48b2e2
push 0x100
push esi
push 0x100
push str.uvnc_service
call fcn.0054cc69
add esp, 0x10
mov byte [0x5d7b9f], 0
call fcn.0042b250
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.uvnc_service
push str.net_start___s_
jmp 0x48b32a
mov cl, 1
call fcn.00431a70
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.0053d630
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.004256a0
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.0053d630
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 0x48bbe3
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 0x48bbe3
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 0x48b416
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.0053d630
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push str.uvnc_service
push 0x5bd184
push str.SYSTEMCurrentControlSetControlSafeBoot_s_s
lea eax, [ebp - 0x404]
mov dword [ebp - 0xd44], 0
push 0x400
push eax
call fcn.0042bf60
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 0x48bbe3
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.0042b6d0
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 0x48bbe3
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 0x48bbe3
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.0053d630
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 0x48bbe3
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 0x48b643
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.0053d630
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 0x48bbe3
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 0x48b66a
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.0053d630
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 0x48b5bc
lea eax, [ebx + 0x13]
add eax, edi
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.005417f5
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.0047e8d0
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.0053d630
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.005417f5
push str.__dsmplugininstance
lea eax, [ebp - 0x508]
push 0x104
push eax
call fcn.005417f5
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push 0x104
push eax
call fcn.0054184f
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.0053d630
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.005417f5
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.00423790
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.0053d630
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 0x48b83f
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0053eb80
push str._authSSP.dll
push 0x104
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.0054184f
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48babd
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 [0x5e7ca0]
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004250c0
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042ba60
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042bb00
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.0053d630
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 0x48bbe3
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041d380
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00425020
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424f80
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424ee0
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push str.http:__forum.uvnc.com
jmp 0x48bab0
push 1
push 0
push 0
push str.http:__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.0053d630
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 [0x6244f0], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [0x6244f0]
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 0x48bb23
mov edi, dword [0x5e22b4]
test edi, edi
je 0x48bbe3
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00424e40
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.0053d630
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.005417f5
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.00423690
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.0053d630
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xd54]
call fcn.0048a040
test al, al
jne 0x48b10f
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0053d630
mov esp, ebp
pop ebp
ret 0x10