Function at 0x140088af0
Capabilities:
Check for foreground window switch
Check os version
Create process on windows
Delete registry value
Initialize winsock library
Resolve dns
Set registry value
Shutdown system

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0xc20]
sub rsp, 0xd20
mov rax, qword [0x1401f0010]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov rax, qword [0x1401fc428]
mov r14, r8
mov qword [rsp + 0x58], rcx
mov rsi, rcx
test rax, rax
jne 0x140088b43
lea ecx, [rax + 0x30]
call fcn.140131f18
mov rcx, rax
call fcn.14007c180
mov qword [0x1401fc428], rax
cmp byte [rax + 0xd], 1
mov rcx, rax
jne 0x140088b6c
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Warning
lea rdx, str.WIndows_XP_require_special_build
call fcn.1400208f0
mov rax, qword [0x1401fc428]
test rax, rax
jne 0x140088b88
lea ecx, [rax + 0x30]
call fcn.140131f18
mov rcx, rax
call fcn.14007c180
mov qword [0x1401fc428], rax
cmp byte [rax + 0x11], 1
jne 0x140088bb1
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Unsupported_OS
lea rdx, str.Error_OS_not_supported
call fcn.1400208f0
mov eax, 1
jmp 0x140089e4f
mov qword [rsp + 0xd48], rbx
xor edx, edx
mov qword [rsp + 0xd18], rdi
mov ecx, 0x100
mov qword [rsp + 0xd08], r13
mov qword [rsp + 0xd00], r15
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.SHCore.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SetProcessDpiAwareness
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140088c1c
mov ecx, 2
call rax
jmp 0x140088c33
lea rdx, str.SetProcessDPIAware
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140088c33
call rax
test rbx, rbx
je 0x140088c41
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x140088c4f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1401fef68]
xor r13b, r13b
mov ecx, 2
mov byte [rsp + 0x50], r13b
mov word [rax + 0xe2c], 0
call fcn.14014b088
mov rcx, rax
xor edx, edx
call fcn.14014c630
xor r15d, r15d
lea rdx, [rbp + 0x6a0]
mov r8d, 0x104
mov qword [0x1401fc638], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140088cb1
lea edx, [r15 + 0x5c]
lea rcx, [rbp + 0x6a0]
call fcn.140133e58
mov byte [rax], r13b
lea r8, [rbp + 0x6a0]
mov edx, 0x104
lea rcx, [rbp + 0x590]
call fcn.14013ac00
lea r8, [0x1401c3a08]
mov edx, 0x104
lea rcx, [rbp + 0x590]
call fcn.14013ac60
lea r8, str.vnclang_server.dll
mov edx, 0x104
lea rcx, [rbp + 0x590]
call fcn.14013ac60
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
cmove rax, rsi
mov qword [0x1401fc638], rax
call fcn.1400881d0
mov r8d, 0x104
lea rdx, [rbp + 0x7b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140088d4f
mov edx, 0x5c
lea rcx, [rbp + 0x7b0]
call fcn.140133e58
test rax, rax
je 0x14008a3ef
mov byte [rax], r13b
mov r9d, 0x104
lea r8, [rbp + 0x7b0]
mov edx, r9d
lea rcx, [rbp + 0x8c0]
call fcn.14014a54c
mov byte [rbp + 0x9c3], r13b
call fcn.1400765a0
mov qword [0x1401fc848], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, 2
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14008a3d9
movzx eax, word [rbp - 0x70]
mov word [0x14023f4fc], ax
mov rax, 0xffffffffffffffff
mov qword [rsp + 0xd10], r12
inc rax
cmp byte [r14 + rax], r13b
jne 0x140088db5
test rax, rax
je 0x140088df4
mov rbx, r14
movsx ecx, byte [rbx]
call fcn.14014a344
mov byte [rbx], al
inc rbx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], r13b
jne 0x140088de0
mov rcx, rbx
sub rcx, r14
cmp rcx, rax
jb 0x140088dc6
mov dword [rsp + 0x54], r15d
mov r12, r15
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], r12b
jne 0x140088e03
test rax, rax
je 0x14008a3c4
cmp byte [r14 + r12], 0x20
lea rbx, [r14 + r12]
mov edi, 1
jle 0x140089819
lea r8d, [rdi + 7]
mov dword [rsp + 0x54], edi
lea rdx, str._inifile
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x140088f21
mov qword [rsp + 0x40], 0x104
lea rax, [rbp + 0x130]
mov qword [rsp + 0x38], rax
lea rcx, [r14 + 1]
lea rax, [rbp + 0x9d0]
mov qword [rsp + 0x30], 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xae0]
add r12, 8
mov qword [rsp + 0x20], 0x104
add rcx, r12
lea rdx, [rbp + 0x480]
mov r8d, 0x104
call fcn.14014ce18
lea edx, [rdi + 0x1f]
lea rcx, [rbp + 0x130]
call fcn.140134180
test rax, rax
je 0x140088eb6
mov byte [rax], 0
lea rax, [rbp + 0x130]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xae0]
lea rax, [rbp + 0x9d0]
lea r8, [rbp + 0x480]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x370]
call fcn.14014c658
lea rcx, [rbp + 0x370]
call fcn.14014a9a0
mov qword [0x1401f39d8], rax
lea rcx, [rbp + 0x370]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140088f10
add r12, rax
jmp 0x140089819
mov r8d, recv
lea rdx, str._settingshelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a38e
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._stopservicehelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a379
mov r8d, 5
lea rdx, str._kill
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a2f2
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._openhomepage
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a2cb
mov r8d, 0xa
lea rdx, str._openforum
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a2c2
mov r8d, reloc.WS2_32.dll_send
lea rdx, str._startservicehelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a2ad
mov r8d, recv
lea rdx, str._installhelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a298
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._uninstallhelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a283
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._softwarecadhelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a26e
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._delsoftwarecadhelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a1c2
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._rebootsafemodehelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a1ad
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._rebootforcehelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a198
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._securityeditorhelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a183
mov r8d, recv
lea rdx, str._securityeditor
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a0eb
mov r8d, 9
lea rdx, str._settings
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x14008a0c2
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._dsmpluginhelper
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089ffc
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._dsmplugininstance
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089fd3
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [0x1401981c8]
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089f16
mov r8d, recv
lea rdx, [0x140198160]
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089e78
mov r8d, recv
lea rdx, [0x1401980b0]
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089e71
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [0x140198210]
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089d94
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str._stopservice
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089d61
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._startservice
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089d58
mov r8d, recv
lea rdx, str._installdriver
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089d4c
mov r8d, 8
lea rdx, str._install
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089c87
mov r8d, 0xa
lea rdx, str._uninstall
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089bab
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str._preconnect
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x14008923c
add r12, 0xb
mov byte [0x1401f3eba], 1
jmp 0x140089819
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str._service_run
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089b78
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._service_rdp_run
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089b3f
mov r8d, 8
lea rdx, str._service
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089afa
mov r8d, 4
lea rdx, str._run
mov rcx, rbx
call fcn.140144410
test eax, eax
je 0x140089ad4
mov r8d, 8
lea rdx, str._sc_exit
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x1400892e0
mov rax, qword [0x1401fef68]
add r12, 8
mov byte [rax + 0xe2c], 1
jmp 0x140089819
mov r8d, 0xa
lea rdx, str._sc_prompt
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x140089310
mov rax, qword [0x1401fef68]
add r12, 0xa
mov byte [rax + 0xe2d], 1
jmp 0x140089819
mov r8d, 6
lea rdx, str._multi
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x140089339
mov byte [0x1401f3902], 1
add r12, 6
jmp 0x140089819
mov r8d, recv
lea rdx, str._stopreconnect
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x14008937b
mov ecx, dword [0x1401fef40]
xor r8d, r8d
xor edx, edx
add r12, 0xe
call fcn.140020e40
mov ecx, dword [0x1401fef60]
xor r8d, r8d
xor edx, edx
call fcn.140020e40
jmp 0x140089819
mov r8d, recv
lea rdx, str._autoreconnect
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x1400894af
movzx eax, byte [r14 + r12 + 0xe]
add r12, 0xe
mov r13b, 1
mov rdi, r15
mov byte [rsp + 0x50], r13b
mov rbx, r12
cmp al, 0x20
jg 0x1400893c5
test al, al
je 0x1400893c5
movzx eax, byte [r14 + rbx + 1]
inc rbx
cmp al, 0x20
jle 0x1400893b4
lea r15, [r14 + rbx]
mov r8d, 3
mov rcx, r15
lea rdx, [0x140197e4c]
call fcn.140144410
test eax, eax
jne 0x14008942f
cmp byte [r15], 0x20
mov r12, rbx
jle 0x1400893fa
nop dword [rax + rax]
inc r12
cmp byte [r14 + r12], 0x20
jg 0x1400893f0
mov rsi, r12
sub rsi, rbx
je 0x14008942f
lea rcx, [rsi + 1]
call fcn.140131f5c
mov r9, rsi
lea rdx, [rsi + 1]
mov r8, r15
mov rcx, rax
mov rdi, rax
call fcn.14014a54c
mov rcx, rdi
mov byte [rdi + rsi], 0
call fcn.14014aebc
mov rdi, rax
xor r15d, r15d
movzx eax, r15w
test rdi, rdi
je 0x140089444
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x1401fef48]
xor edx, edx
movzx r8d, ax
call fcn.140020e40
test eax, eax
jne 0x140089499
mov byte [0x1401fc421], r13b
test rdi, rdi
jne 0x140089478
mov byte [0x1401fc9bc], r13b
mov byte [0x1401fc421], r15b
jmp 0x140089819
mov r8, rdi
lea rcx, [0x1401fc9a8]
mov edx, setsockopt
call fcn.14013ac00
mov rcx, rdi
call fcn.140131f10
jmp 0x140089819
test rdi, rdi
je 0x140089819
mov rcx, rdi
call fcn.140131f10
jmp 0x140089819
mov r8d, 4
lea rdx, str._id:
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x1400895b1
inc r12
mov rbx, r15
cmp byte [r14 + r12], 0x20
mov rsi, r12
lea r13, [r14 + r12]
jle 0x1400894ea
inc rsi
cmp byte [r14 + rsi], 0x20
jg 0x1400894e0
mov r15, rsi
sub r15, r12
je 0x140089520
lea rcx, [r15 + 1]
call fcn.140131f5c
mov r9, r15
lea rdx, [r15 + 1]
mov r8, r13
mov rcx, rax
mov rdi, rax
call fcn.14014a54c
mov rcx, rdi
mov byte [r15 + rdi], 0
call fcn.14014aebc
mov rbx, rax
xor r15d, r15d
mov r12, rsi
movzx eax, r15w
test rbx, rbx
je 0x140089538
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x1401fef54]
xor edx, edx
movzx r8d, ax
call fcn.140020e40
test eax, eax
jne 0x140089599
mov byte [0x1401fc9bf], 1
test rbx, rbx
jne 0x140089572
movzx r13d, byte [rsp + 0x50]
mov byte [0x1401fc9bd], 1
mov byte [0x1401fc9bf], r15b
jmp 0x140089819
mov r8, rbx
lea rcx, [0x1401fc9a8]
mov edx, setsockopt
call fcn.14013ac00
mov rcx, rbx
call fcn.140131f10
movzx r13d, byte [rsp + 0x50]
jmp 0x140089819
test rbx, rbx
je 0x1400895a6
mov rcx, rbx
call fcn.140131f10
movzx r13d, byte [rsp + 0x50]
jmp 0x140089819
mov r8d, 8
lea rdx, str._connect
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x1400898fb
test r13b, r13b
jne 0x1400895e3
mov ecx, dword [0x1401fef40]
xor r8d, r8d
xor edx, edx
call fcn.140020e40
movzx eax, byte [r14 + r12 + 8]
add r12, 8
mov rbx, r12
cmp al, 0x20
jg 0x140089605
test al, al
je 0x140089605
movzx eax, byte [r14 + rbx + 1]
inc rbx
cmp al, 0x20
jle 0x1400895f4
cmp byte [r14 + rbx], 0x20
lea r13, [r14 + rbx]
mov rdi, rbx
jle 0x14008961d
inc rdi
cmp byte [r14 + rdi], 0x20
jg 0x140089613
mov rsi, rdi
sub rsi, rbx
je 0x140089899
lea r12, [rsi + 1]
mov rcx, r12
call fcn.140131f5c
mov rcx, r12
mov r15, rax
call fcn.140131f5c
mov r9, rsi
mov qword [rsp + 0x60], rax
mov r8, r13
mov rdx, r12
mov rcx, r15
call fcn.14014a54c
mov r13, qword [rsp + 0x60]
mov rcx, r15
sub rcx, rbx
mov r8, r15
mov rdx, r12
mov byte [rcx + rdi], 0
mov rcx, r13
call fcn.14013ac00
mov edx, 0x5b
mov rcx, r15
call fcn.140134180
mov edx, 0x5d
mov rcx, r15
mov rsi, rax
call fcn.140134180
mov rbx, rax
test rsi, rsi
je 0x1400896d1
test rax, rax
je 0x1400896d1
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x1400896a4
lea r8, [rax + 1]
mov rdx, r12
mov rcx, r13
call fcn.14014a54c
lea r8, [rsi + 1]
mov byte [rbx], 0
mov rdx, r12
mov rcx, r15
call fcn.14013ac00
jmp 0x1400896e6
mov edx, 0x3a
mov rcx, r15
call fcn.140134180
test rax, rax
je 0x1400896e6
mov byte [rax], 0
mov edx, 0x3a
mov rcx, r13
mov esi, 0x157c
call fcn.140134180
test rax, rax
je 0x140089715
mov byte [rax], 0
lea rcx, [rax + 2]
cmp byte [rax + 1], 0x3a
je 0x14008970e
lea rcx, [rax + 1]
call fcn.1401447b0
mov esi, eax
mov rcx, r13
call fcn.140131f10
mov r9, r15
mov dword [rsp + 0x20], esi
lea r8, str.WinMain_:_test...__s__d_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r8, r15
lea rcx, [0x1401fdbc0]
mov edx, 0xff
call fcn.14013ac00
mov rcx, r15
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
mov eax, 0xffffffff
cmp ebx, eax
jne 0x140089785
mov rcx, r15
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1400899fb
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400899fb
mov ebx, dword [rcx]
mov rcx, r15
call fcn.140131f10
test ebx, ebx
je 0x140089a03
lea r8, str.WinMain_:_PostAddNewClient_III__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov ecx, dword [0x1401fef44]
movzx r15d, si
mov edx, r15d
mov r8d, ebx
call fcn.140020e40
test eax, eax
jne 0x14008980d
lea r8, str.postHelper::PostAddNewClientInit_:_PostAddNewClient_failed_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov edx, 0x457
cmp r15w, dx
jne 0x1400897fa
movzx eax, byte [0x1401f3901]
cmp ebx, edx
mov ecx, 1
cmove eax, ecx
mov byte [0x1401f3901], al
mov byte [0x1401fc422], 1
mov dword [0x1401fc424], esi
mov dword [0x1401fc8dc], ebx
movzx r13d, byte [rsp + 0x50]
mov r12, rdi
xor r15d, r15d
inc r12
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x140089823
cmp r12, rax
jb 0x140088e15
cmp dword [rsp + 0x54], 0
je 0x14008a3bf
mov edi, 1
mov rcx, qword [0x1401fc428]
test rcx, rcx
je 0x140089859
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
mov rax, qword [0x1401f3b28]
test rax, rax
jne 0x140089887
mov ecx, 0x1134
call fcn.140131f18
mov rcx, rax
call fcn.1400270d0
mov qword [0x1401f3b28], rax
test rax, rax
je 0x140089e1f
mov edx, 0x1134
mov rcx, rax
call fcn.140131f54
jmp 0x140089e1f
lea r8, str.WinMain_:_PostAddNewClient_IIII_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov ecx, dword [0x1401fef50]
xor r8d, r8d
xor edx, edx
call fcn.140020e40
test eax, eax
jne 0x1400895a6
lea r8, str.postHelper::PostAddNewClient_:_PostAddNewClient_failed_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
movzx r13d, byte [rsp + 0x50]
mov byte [0x1401fc422], 1
mov dword [0x1401fc424], r15d
mov dword [0x1401fc8dc], r15d
jmp 0x140089819
mov r8d, 9
lea rdx, str._repeater
mov rcx, rbx
call fcn.140144410
test eax, eax
jne 0x140089a28
movzx eax, byte [r14 + r12 + 9]
add r12, 9
mov rcx, r12
cmp al, 0x20
jg 0x140089941
nop dword [rax]
test al, al
je 0x140089941
movzx eax, byte [r14 + rcx + 1]
inc rcx
cmp al, 0x20
jle 0x140089930
cmp byte [r14 + rcx], 0x20
lea r15, [r14 + rcx]
mov rdi, rcx
jle 0x14008995a
nop
inc rdi
cmp byte [r14 + rdi], 0x20
jg 0x140089950
mov rsi, rdi
sub rsi, rcx
je 0x140089816
mov rcx, qword [0x1401fcb08]
test rcx, rcx
je 0x140089980
call fcn.140131f10
xor eax, eax
mov qword [0x1401fcb08], rax
lea rcx, [rsi + 1]
call fcn.140131f5c
mov r9, rsi
mov qword [0x1401fcb08], rax
mov r8, r15
lea rdx, [rsi + 1]
mov rcx, rax
call fcn.14014a54c
mov rax, qword [0x1401fcb08]
lea r8, str.WinMain_:_PostAddNewRepeaterClient_I_n
xor edx, edx
lea rcx, vtable.VNCLog.0
mov byte [rax + rsi], 0
call fcn.140017a50
mov ecx, dword [0x1401fef50]
mov esi, 0xffffffff
mov r8d, esi
mov edx, esi
call fcn.140020e40
xor r15d, r15d
test eax, eax
jne 0x1400899f3
mov byte [0x1401fc423], 1
mov dword [0x1401fc424], r15d
mov dword [0x1401fc8dc], r15d
mov r12, rdi
jmp 0x140089819
mov rcx, r15
call fcn.140131f10
xor eax, eax
mov byte [0x1401fc422], 1
mov ecx, 0x7d0
mov dword [0x1401fc424], eax
mov dword [0x1401fc8dc], eax
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140089e1f
mov rax, qword [0x1401fef68]
cmp dword [rax + 0xe20], 0
je 0x140089ab3
xor edx, edx
xor ecx, ecx
mov r8d, 0x400001cf
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rdi, rax
test rbx, rbx
je 0x140089841
test rax, rax
je 0x140089841
cmp rax, rbx
je 0x140089841
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov r9d, 0x40
lea r8, [0x1401fd630]
lea rdx, str.winvnc___sc_prompt____sc_exit____id:________stopreconnect___autoreconnect__ID:_________connect_host_:display_____connect_host_::port_____repeater_host_:port_____inifile_________run__n
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_CloseDesktop]
jmp 0x140089841
mov r9d, 0x40
lea r8, [0x1401fd630]
lea rdx, str.winvnc___sc_prompt____sc_exit____id:________stopreconnect___autoreconnect__ID:_________connect_host_:display_____connect_host_::port_____repeater_host_:port_____inifile_________run__n
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140089846
mov rcx, qword [rsp + 0x58]
call fcn.1400887d0
test al, al
je 0x140089e1f
call fcn.14008a8c0
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
jmp 0x140089e27
mov r8, r14
lea rcx, [0x1401f3b40]
mov edx, 0x100
call fcn.14013ac00
lea rax, [0x1400298b0]
mov qword [rsp + 0x78], r15
lea rdi, [0x1401f0c50]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rdi
mov qword [rbp - 0x80], r15
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
jmp 0x140089e1f
mov rcx, qword [rsp + 0x58]
call fcn.1400887d0
test al, al
je 0x140089e1f
mov rax, qword [0x1401fef68]
mov dword [rax + 0xe20], edi
mov dword [rax + 0xe24], edi
call fcn.14008a8c0
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
jmp 0x140089e27
mov rcx, qword [rsp + 0x58]
call fcn.1400887d0
test al, al
je 0x140089e1f
mov rax, qword [0x1401fef68]
mov dword [rax + 0xe20], edi
call fcn.14008a8c0
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
jmp 0x140089e27
movzx eax, byte [r14 + r12]
lea rbx, [r14 + r12]
lea rdi, [0x1401f0c50]
test al, al
je 0x140089c53
movzx ecx, al
call fcn.14014c9f0
test eax, eax
jne 0x140089bdc
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089bc3
jmp 0x140089c53
movzx eax, byte [rbx]
test al, al
je 0x140089c53
movzx ecx, al
call fcn.14014c9f0
test eax, eax
je 0x140089bfc
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089be3
jmp 0x140089c53
movzx eax, byte [rbx]
test al, al
je 0x140089c53
cmp al, 0x22
jne 0x140089c0f
inc rbx
cmp byte [rbx], 0
je 0x140089c53
mov edx, 0x22
mov rcx, rbx
call fcn.140133e58
test rax, rax
je 0x140089c24
mov byte [rax], 0
cmp byte [rbx], 0
je 0x140089c53
mov rdx, rdi
mov rcx, rbx
call fcn.14014a678
test eax, eax
je 0x140089c53
mov r9d, 0x100
mov r8, rbx
mov edx, r9d
mov rcx, rdi
call fcn.14014a54c
mov byte [0x1401f0d4f], 0
mov r9, rdi
lea r8, str.net_stop___s_
mov edx, 0x124
lea rcx, [rbp + 0x240]
call fcn.140021580
xor edx, edx
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WinExec]
call fcn.14002a280
jmp 0x140089e1f
movzx eax, byte [r14 + r12]
lea rbx, [r14 + r12]
lea rdi, [0x1401f0c50]
test al, al
je 0x140089d30
nop
movzx ecx, al
call fcn.14014c9f0
test eax, eax
jne 0x140089cb9
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089ca0
jmp 0x140089d30
movzx eax, byte [rbx]
test al, al
je 0x140089d30
movzx ecx, al
call fcn.14014c9f0
test eax, eax
je 0x140089cd9
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089cc0
jmp 0x140089d30
movzx eax, byte [rbx]
test al, al
je 0x140089d30
cmp al, 0x22
jne 0x140089cec
inc rbx
cmp byte [rbx], 0
je 0x140089d30
mov edx, 0x22
mov rcx, rbx
call fcn.140133e58
test rax, rax
je 0x140089d01
mov byte [rax], 0
cmp byte [rbx], 0
je 0x140089d30
mov rdx, rdi
mov rcx, rbx
call fcn.14014a678
test eax, eax
je 0x140089d30
mov r9d, 0x100
mov r8, rbx
mov edx, r9d
mov rcx, rdi
call fcn.14014a54c
mov byte [0x1401f0d4f], 0
call fcn.140029f50
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9, rdi
lea r8, str.net_start___s_
jmp 0x140089d6f
mov cl, 1
call fcn.140033020
jmp 0x140089e1f
lea r8, str.net_start___s_
jmp 0x140089d68
lea r8, str.net_stop___s_
lea r9, [0x1401f0c50]
mov edx, 0x124
lea rcx, [rbp + 0x240]
call fcn.140021580
xor edx, edx
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x140089e1f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140089e1f
lea r8, [rsp + 0x6c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], r15
xor edx, edx
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x74], 2
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140089e1f
lea rcx, [rbp + 0x130]
mov dword [rbp + 0x130], __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edx, edx
cmp dword [rbp + 0x134], 6
jae 0x140089e6a
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov r12, qword [rsp + 0xd10]
mov r13, qword [rsp + 0xd08]
mov rdi, qword [rsp + 0xd18]
mov rbx, qword [rsp + 0xd48]
mov r15, qword [rsp + 0xd00]
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.140131ef0
add rsp, 0xd20
pop r14
pop rsi
pop rbp
ret
mov ecx, 6
jmp 0x140089e19
call fcn.14002a4c0
jmp 0x140089e1f
lea rax, [rsp + 0x54]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140089e1f
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.System
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140089f06
mov rcx, qword [rsp + 0x68]
lea rdx, str.SoftwareSASGeneration
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140089e1f
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140089e1f
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.System
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140089fc3
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x54]
mov dword [rsp + 0x28], 4
lea rdx, str.SoftwareSASGeneration
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x54], edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140089e1f
lea r8, [r14 + 0x13]
mov edx, 0x104
add r8, r12
lea rcx, [rbp + 0x240]
call fcn.14013ac00
lea rcx, [rbp + 0x240]
call fcn.14007f9b0
jmp 0x140089e1f
lea r8, [r14 + 0x11]
mov edx, 0x104
add r8, r12
lea rcx, [rbp + 0x240]
call fcn.14013ac00
lea r8, str.__dsmplugininstance
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.14013ac00
lea r8, [rbp + 0x240]
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.14013ac60
mov r8d, 0x104
lea rdx, [rbp + 0x480]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rbp + 0x130], WSACleanup
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0x130]
mov qword [rbp + 0x158], r15
mov qword [rbp + 0x138], rax
lea rax, str.runas
mov qword [rbp + 0x140], rax
lea rax, [rbp + 0x480]
mov qword [rbp + 0x148], rax
lea rax, [rbp + 0x370]
mov qword [rbp + 0x150], rax
mov dword [rbp + 0x160], r15d
mov qword [rbp + 0x168], r15
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
jmp 0x140089e1f
lea r8, [r14 + 0xa]
mov edx, 0x104
add r8, r12
lea rcx, [rbp + 0x240]
call fcn.14013ac00
lea rcx, [rbp + 0x240]
call fcn.14001e540
jmp 0x140089e1f
mov r8d, 0x104
lea rdx, [rbp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14008a130
mov edx, 0x5c
lea rcx, [rbp + 0x240]
call fcn.140133e58
lea r8, str._authSSP.dll
mov edx, 0x104
lea rcx, [rbp + 0x240]
mov byte [rax], 0
call fcn.14013ac60
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140089e1f
lea rdx, str.vncEditSecurity
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ole32.dll_CoInitialize]
mov rdx, qword [0x1401fc848]
xor ecx, ecx
call rbx
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140020820
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14002a420
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14002a830
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x240]
mov dword [rbp + 0x240], __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rbp + 0x244], 6
jb 0x140089e1f
mov r8d, 0x104
lea rdx, [rbp + 0x480]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rbp + 0x130], WSACleanup
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0x130]
mov qword [rbp + 0x158], r15
mov qword [rbp + 0x138], rax
lea rax, str.runas
mov qword [rbp + 0x140], rax
lea rax, [rbp + 0x480]
mov qword [rbp + 0x148], rax
lea rax, str._delsoftwarecad
mov qword [rbp + 0x150], rax
mov dword [rbp + 0x160], edi
mov qword [rbp + 0x168], r15
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140017c50
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140020750
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140020680
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400205b0
jmp 0x140089e1f
lea r8, str.https:__forum.uvnc.com
jmp 0x14008a2d2
lea r8, str.https:__www.uvnc.com
mov dword [rsp + 0x28], edi
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x140089e1f
lea r8, str.GlobalSessionEventUltra
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov rcx, rax
mov qword [0x14025a5c0], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x14025a5c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, str.WinVNC_Tray_Icon
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rax, rax
jne 0x14008a34a
mov rbx, qword [0x1401f3970]
test rbx, rbx
je 0x140089e1f
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x9c42
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageA]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400204e0
jmp 0x140089e1f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbx + 0x10]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call fcn.14013ac00
lea rcx, [rbp + 0x240]
call fcn.14001e420
jmp 0x140089e1f
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call fcn.1400887d0
test al, al
jne 0x140089b97
jmp 0x140089e1f
xor r9d, r9d
lea r8, [0x1401ca37c]
lea rdx, [0x1401fd9b0]
call fcn.1400208f0
xor eax, eax
jmp 0x140089e2f