Function at 0x140088c50
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 [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov rax, qword [0x1401fb428]
mov r14, r8
mov qword [rsp + 0x58], rcx
mov rsi, rcx
test rax, rax
jne 0x140088ca3
lea ecx, [rax + 0x30]
call fcn.140131308
mov rcx, rax
call fcn.14007c2e0
mov qword [0x1401fb428], rax
cmp byte [rax + 0xd], 1
mov rcx, rax
jne 0x140088ccc
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 [0x1401fb428]
test rax, rax
jne 0x140088ce8
lea ecx, [rax + 0x30]
call fcn.140131308
mov rcx, rax
call fcn.14007c2e0
mov qword [0x1401fb428], rax
cmp byte [rax + 0x11], 1
jne 0x140088d11
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 0x140089faf
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 0x140088d7c
mov ecx, 2
call rax
jmp 0x140088d93
lea rdx, str.SetProcessDPIAware
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140088d93
call rax
test rbx, rbx
je 0x140088da1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x140088daf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1401fdf60]
xor r13b, r13b
mov ecx, 2
mov byte [rsp + 0x50], r13b
mov word [rax + 0xe2c], 0
call fcn.14014a478
mov rcx, rax
xor edx, edx
call fcn.14014ba20
xor r15d, r15d
lea rdx, [rbp + 0x6a0]
mov r8d, 0x104
mov qword [0x1401fb638], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140088e11
lea edx, [r15 + 0x5c]
lea rcx, [rbp + 0x6a0]
call fcn.140133248
mov byte [rax], r13b
lea r8, [rbp + 0x6a0]
mov edx, 0x104
lea rcx, [rbp + 0x590]
call fcn.140139ff0
lea r8, [0x1401c3128]
mov edx, 0x104
lea rcx, [rbp + 0x590]
call fcn.14013a050
lea r8, str.vnclang_server.dll
mov edx, 0x104
lea rcx, [rbp + 0x590]
call fcn.14013a050
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
cmove rax, rsi
mov qword [0x1401fb638], rax
call fcn.140088330
mov r8d, 0x104
lea rdx, [rbp + 0x7b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140088eaf
mov edx, 0x5c
lea rcx, [rbp + 0x7b0]
call fcn.140133248
test rax, rax
je 0x14008a54f
mov byte [rax], r13b
mov r9d, 0x104
lea r8, [rbp + 0x7b0]
mov edx, r9d
lea rcx, [rbp + 0x8c0]
call fcn.14014993c
mov byte [rbp + 0x9c3], r13b
call fcn.140076700
mov qword [0x1401fb848], 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 0x14008a539
movzx eax, word [rbp - 0x70]
mov word [0x14023e4f4], ax
mov rax, 0xffffffffffffffff
mov qword [rsp + 0xd10], r12
inc rax
cmp byte [r14 + rax], r13b
jne 0x140088f15
test rax, rax
je 0x140088f54
mov rbx, r14
movsx ecx, byte [rbx]
call fcn.140149734
mov byte [rbx], al
inc rbx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], r13b
jne 0x140088f40
mov rcx, rbx
sub rcx, r14
cmp rcx, rax
jb 0x140088f26
mov dword [rsp + 0x54], r15d
mov r12, r15
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], r12b
jne 0x140088f63
test rax, rax
je 0x14008a524
cmp byte [r14 + r12], 0x20
lea rbx, [r14 + r12]
mov edi, 1
jle 0x140089979
lea r8d, [rdi + 7]
mov dword [rsp + 0x54], edi
lea rdx, str._inifile
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089081
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.14014c208
lea edx, [rdi + 0x1f]
lea rcx, [rbp + 0x130]
call fcn.140133570
test rax, rax
je 0x140089016
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.14014ba48
lea rcx, [rbp + 0x370]
call fcn.140149d90
mov qword [0x1401f29d8], rax
lea rcx, [rbp + 0x370]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140089070
add r12, rax
jmp 0x140089979
mov r8d, recv
lea rdx, str._settingshelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a4ee
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._stopservicehelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a4d9
mov r8d, 5
lea rdx, str._kill
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a452
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._openhomepage
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a42b
mov r8d, 0xa
lea rdx, str._openforum
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a422
mov r8d, reloc.WS2_32.dll_send
lea rdx, str._startservicehelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a40d
mov r8d, recv
lea rdx, str._installhelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a3f8
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._uninstallhelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a3e3
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._softwarecadhelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a3ce
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._delsoftwarecadhelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a322
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._rebootsafemodehelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a30d
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._rebootforcehelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a2f8
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._securityeditorhelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a2e3
mov r8d, recv
lea rdx, str._securityeditor
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a24b
mov r8d, 9
lea rdx, str._settings
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a222
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._dsmpluginhelper
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a15c
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._dsmplugininstance
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a133
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [0x1401971b8]
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x14008a076
mov r8d, recv
lea rdx, [0x140197150]
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089fd8
mov r8d, recv
lea rdx, [0x1401970a0]
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089fd1
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [0x140197200]
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089ef4
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str._stopservice
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089ec1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._startservice
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089eb8
mov r8d, recv
lea rdx, str._installdriver
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089eac
mov r8d, 8
lea rdx, str._install
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089de7
mov r8d, 0xa
lea rdx, str._uninstall
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089d0b
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str._preconnect
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x14008939c
add r12, 0xb
mov byte [0x1401f2eba], 1
jmp 0x140089979
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str._service_run
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089cd8
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._service_rdp_run
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089c9f
mov r8d, 8
lea rdx, str._service
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089c5a
mov r8d, 4
lea rdx, str._run
mov rcx, rbx
call fcn.140143800
test eax, eax
je 0x140089c34
mov r8d, 8
lea rdx, str._sc_exit
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089440
mov rax, qword [0x1401fdf60]
add r12, 8
mov byte [rax + 0xe2c], 1
jmp 0x140089979
mov r8d, 0xa
lea rdx, str._sc_prompt
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089470
mov rax, qword [0x1401fdf60]
add r12, 0xa
mov byte [rax + 0xe2d], 1
jmp 0x140089979
mov r8d, 6
lea rdx, str._multi
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089499
mov byte [0x1401f2902], 1
add r12, 6
jmp 0x140089979
mov r8d, recv
lea rdx, str._stopreconnect
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x1400894db
mov ecx, dword [0x1401fdf38]
xor r8d, r8d
xor edx, edx
add r12, 0xe
call fcn.140020ea0
mov ecx, dword [0x1401fdf58]
xor r8d, r8d
xor edx, edx
call fcn.140020ea0
jmp 0x140089979
mov r8d, recv
lea rdx, str._autoreconnect
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x14008960f
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 0x140089525
test al, al
je 0x140089525
movzx eax, byte [r14 + rbx + 1]
inc rbx
cmp al, 0x20
jle 0x140089514
lea r15, [r14 + rbx]
mov r8d, 3
mov rcx, r15
lea rdx, [0x140196e3c]
call fcn.140143800
test eax, eax
jne 0x14008958f
cmp byte [r15], 0x20
mov r12, rbx
jle 0x14008955a
nop dword [rax + rax]
inc r12
cmp byte [r14 + r12], 0x20
jg 0x140089550
mov rsi, r12
sub rsi, rbx
je 0x14008958f
lea rcx, [rsi + 1]
call fcn.14013134c
mov r9, rsi
lea rdx, [rsi + 1]
mov r8, r15
mov rcx, rax
mov rdi, rax
call fcn.14014993c
mov rcx, rdi
mov byte [rdi + rsi], 0
call fcn.14014a2ac
mov rdi, rax
xor r15d, r15d
movzx eax, r15w
test rdi, rdi
je 0x1400895a4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x1401fdf40]
xor edx, edx
movzx r8d, ax
call fcn.140020ea0
test eax, eax
jne 0x1400895f9
mov byte [0x1401fb421], r13b
test rdi, rdi
jne 0x1400895d8
mov byte [0x1401fb9bc], r13b
mov byte [0x1401fb421], r15b
jmp 0x140089979
mov r8, rdi
lea rcx, [0x1401fb9a8]
mov edx, setsockopt
call fcn.140139ff0
mov rcx, rdi
call fcn.140131300
jmp 0x140089979
test rdi, rdi
je 0x140089979
mov rcx, rdi
call fcn.140131300
jmp 0x140089979
mov r8d, 4
lea rdx, str._id:
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089711
inc r12
mov rbx, r15
cmp byte [r14 + r12], 0x20
mov rsi, r12
lea r13, [r14 + r12]
jle 0x14008964a
inc rsi
cmp byte [r14 + rsi], 0x20
jg 0x140089640
mov r15, rsi
sub r15, r12
je 0x140089680
lea rcx, [r15 + 1]
call fcn.14013134c
mov r9, r15
lea rdx, [r15 + 1]
mov r8, r13
mov rcx, rax
mov rdi, rax
call fcn.14014993c
mov rcx, rdi
mov byte [r15 + rdi], 0
call fcn.14014a2ac
mov rbx, rax
xor r15d, r15d
mov r12, rsi
movzx eax, r15w
test rbx, rbx
je 0x140089698
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x1401fdf4c]
xor edx, edx
movzx r8d, ax
call fcn.140020ea0
test eax, eax
jne 0x1400896f9
mov byte [0x1401fb9bf], 1
test rbx, rbx
jne 0x1400896d2
movzx r13d, byte [rsp + 0x50]
mov byte [0x1401fb9bd], 1
mov byte [0x1401fb9bf], r15b
jmp 0x140089979
mov r8, rbx
lea rcx, [0x1401fb9a8]
mov edx, setsockopt
call fcn.140139ff0
mov rcx, rbx
call fcn.140131300
movzx r13d, byte [rsp + 0x50]
jmp 0x140089979
test rbx, rbx
je 0x140089706
mov rcx, rbx
call fcn.140131300
movzx r13d, byte [rsp + 0x50]
jmp 0x140089979
mov r8d, 8
lea rdx, str._connect
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089a5b
test r13b, r13b
jne 0x140089743
mov ecx, dword [0x1401fdf38]
xor r8d, r8d
xor edx, edx
call fcn.140020ea0
movzx eax, byte [r14 + r12 + 8]
add r12, 8
mov rbx, r12
cmp al, 0x20
jg 0x140089765
test al, al
je 0x140089765
movzx eax, byte [r14 + rbx + 1]
inc rbx
cmp al, 0x20
jle 0x140089754
cmp byte [r14 + rbx], 0x20
lea r13, [r14 + rbx]
mov rdi, rbx
jle 0x14008977d
inc rdi
cmp byte [r14 + rdi], 0x20
jg 0x140089773
mov rsi, rdi
sub rsi, rbx
je 0x1400899f9
lea r12, [rsi + 1]
mov rcx, r12
call fcn.14013134c
mov rcx, r12
mov r15, rax
call fcn.14013134c
mov r9, rsi
mov qword [rsp + 0x60], rax
mov r8, r13
mov rdx, r12
mov rcx, r15
call fcn.14014993c
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.140139ff0
mov edx, 0x5b
mov rcx, r15
call fcn.140133570
mov edx, 0x5d
mov rcx, r15
mov rsi, rax
call fcn.140133570
mov rbx, rax
test rsi, rsi
je 0x140089831
test rax, rax
je 0x140089831
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x140089804
lea r8, [rax + 1]
mov rdx, r12
mov rcx, r13
call fcn.14014993c
lea r8, [rsi + 1]
mov byte [rbx], 0
mov rdx, r12
mov rcx, r15
call fcn.140139ff0
jmp 0x140089846
mov edx, 0x3a
mov rcx, r15
call fcn.140133570
test rax, rax
je 0x140089846
mov byte [rax], 0
mov edx, 0x3a
mov rcx, r13
mov esi, 0x157c
call fcn.140133570
test rax, rax
je 0x140089875
mov byte [rax], 0
lea rcx, [rax + 2]
cmp byte [rax + 1], 0x3a
je 0x14008986e
lea rcx, [rax + 1]
call fcn.140143ba0
mov esi, eax
mov rcx, r13
call fcn.140131300
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, [0x1401fcbc0]
mov edx, 0xff
call fcn.140139ff0
mov rcx, r15
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, eax
mov eax, 0xffffffff
cmp ebx, eax
jne 0x1400898e5
mov rcx, r15
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140089b5b
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x140089b5b
mov ebx, dword [rcx]
mov rcx, r15
call fcn.140131300
test ebx, ebx
je 0x140089b63
lea r8, str.WinMain_:_PostAddNewClient_III__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov ecx, dword [0x1401fdf3c]
movzx r15d, si
mov edx, r15d
mov r8d, ebx
call fcn.140020ea0
test eax, eax
jne 0x14008996d
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 0x14008995a
movzx eax, byte [0x1401f2901]
cmp ebx, edx
mov ecx, 1
cmove eax, ecx
mov byte [0x1401f2901], al
mov byte [0x1401fb422], 1
mov dword [0x1401fb424], esi
mov dword [0x1401fb8dc], 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 0x140089983
cmp r12, rax
jb 0x140088f75
cmp dword [rsp + 0x54], 0
je 0x14008a51f
mov edi, 1
mov rcx, qword [0x1401fb428]
test rcx, rcx
je 0x1400899b9
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
mov rax, qword [0x1401f2b28]
test rax, rax
jne 0x1400899e7
mov ecx, 0x1134
call fcn.140131308
mov rcx, rax
call fcn.140027130
mov qword [0x1401f2b28], rax
test rax, rax
je 0x140089f7f
mov edx, 0x1134
mov rcx, rax
call fcn.140131344
jmp 0x140089f7f
lea r8, str.WinMain_:_PostAddNewClient_IIII_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov ecx, dword [0x1401fdf48]
xor r8d, r8d
xor edx, edx
call fcn.140020ea0
test eax, eax
jne 0x140089706
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 [0x1401fb422], 1
mov dword [0x1401fb424], r15d
mov dword [0x1401fb8dc], r15d
jmp 0x140089979
mov r8d, 9
lea rdx, str._repeater
mov rcx, rbx
call fcn.140143800
test eax, eax
jne 0x140089b88
movzx eax, byte [r14 + r12 + 9]
add r12, 9
mov rcx, r12
cmp al, 0x20
jg 0x140089aa1
nop dword [rax]
test al, al
je 0x140089aa1
movzx eax, byte [r14 + rcx + 1]
inc rcx
cmp al, 0x20
jle 0x140089a90
cmp byte [r14 + rcx], 0x20
lea r15, [r14 + rcx]
mov rdi, rcx
jle 0x140089aba
nop
inc rdi
cmp byte [r14 + rdi], 0x20
jg 0x140089ab0
mov rsi, rdi
sub rsi, rcx
je 0x140089976
mov rcx, qword [0x1401fbb08]
test rcx, rcx
je 0x140089ae0
call fcn.140131300
xor eax, eax
mov qword [0x1401fbb08], rax
lea rcx, [rsi + 1]
call fcn.14013134c
mov r9, rsi
mov qword [0x1401fbb08], rax
mov r8, r15
lea rdx, [rsi + 1]
mov rcx, rax
call fcn.14014993c
mov rax, qword [0x1401fbb08]
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 [0x1401fdf48]
mov esi, 0xffffffff
mov r8d, esi
mov edx, esi
call fcn.140020ea0
xor r15d, r15d
test eax, eax
jne 0x140089b53
mov byte [0x1401fb423], 1
mov dword [0x1401fb424], r15d
mov dword [0x1401fb8dc], r15d
mov r12, rdi
jmp 0x140089979
mov rcx, r15
call fcn.140131300
xor eax, eax
mov byte [0x1401fb422], 1
mov ecx, 0x7d0
mov dword [0x1401fb424], eax
mov dword [0x1401fb8dc], eax
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140089f7f
mov rax, qword [0x1401fdf60]
cmp dword [rax + 0xe20], 0
je 0x140089c13
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 0x1400899a1
test rax, rax
je 0x1400899a1
cmp rax, rbx
je 0x1400899a1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov r9d, 0x40
lea r8, [0x1401fc630]
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 0x1400899a1
mov r9d, 0x40
lea r8, [0x1401fc630]
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 0x1400899a6
mov rcx, qword [rsp + 0x58]
call fcn.140088930
test al, al
je 0x140089f7f
call fcn.14008aa20
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
jmp 0x140089f87
mov r8, r14
lea rcx, [0x1401f2b40]
mov edx, 0x100
call fcn.140139ff0
lea rax, [0x140029910]
mov qword [rsp + 0x78], r15
lea rdi, [0x1401efc50]
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 0x140089f7f
mov rcx, qword [rsp + 0x58]
call fcn.140088930
test al, al
je 0x140089f7f
mov rax, qword [0x1401fdf60]
mov dword [rax + 0xe20], edi
mov dword [rax + 0xe24], edi
call fcn.14008aa20
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
jmp 0x140089f87
mov rcx, qword [rsp + 0x58]
call fcn.140088930
test al, al
je 0x140089f7f
mov rax, qword [0x1401fdf60]
mov dword [rax + 0xe20], edi
call fcn.14008aa20
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
jmp 0x140089f87
movzx eax, byte [r14 + r12]
lea rbx, [r14 + r12]
lea rdi, [0x1401efc50]
test al, al
je 0x140089db3
movzx ecx, al
call fcn.14014bde0
test eax, eax
jne 0x140089d3c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089d23
jmp 0x140089db3
movzx eax, byte [rbx]
test al, al
je 0x140089db3
movzx ecx, al
call fcn.14014bde0
test eax, eax
je 0x140089d5c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089d43
jmp 0x140089db3
movzx eax, byte [rbx]
test al, al
je 0x140089db3
cmp al, 0x22
jne 0x140089d6f
inc rbx
cmp byte [rbx], 0
je 0x140089db3
mov edx, 0x22
mov rcx, rbx
call fcn.140133248
test rax, rax
je 0x140089d84
mov byte [rax], 0
cmp byte [rbx], 0
je 0x140089db3
mov rdx, rdi
mov rcx, rbx
call fcn.140149a68
test eax, eax
je 0x140089db3
mov r9d, 0x100
mov r8, rbx
mov edx, r9d
mov rcx, rdi
call fcn.14014993c
mov byte [0x1401efd4f], 0
mov r9, rdi
lea r8, str.net_stop___s_
mov edx, 0x124
lea rcx, [rbp + 0x240]
call fcn.1400215e0
xor edx, edx
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WinExec]
call fcn.14002a2e0
jmp 0x140089f7f
movzx eax, byte [r14 + r12]
lea rbx, [r14 + r12]
lea rdi, [0x1401efc50]
test al, al
je 0x140089e90
nop
movzx ecx, al
call fcn.14014bde0
test eax, eax
jne 0x140089e19
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089e00
jmp 0x140089e90
movzx eax, byte [rbx]
test al, al
je 0x140089e90
movzx ecx, al
call fcn.14014bde0
test eax, eax
je 0x140089e39
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140089e20
jmp 0x140089e90
movzx eax, byte [rbx]
test al, al
je 0x140089e90
cmp al, 0x22
jne 0x140089e4c
inc rbx
cmp byte [rbx], 0
je 0x140089e90
mov edx, 0x22
mov rcx, rbx
call fcn.140133248
test rax, rax
je 0x140089e61
mov byte [rax], 0
cmp byte [rbx], 0
je 0x140089e90
mov rdx, rdi
mov rcx, rbx
call fcn.140149a68
test eax, eax
je 0x140089e90
mov r9d, 0x100
mov r8, rbx
mov edx, r9d
mov rcx, rdi
call fcn.14014993c
mov byte [0x1401efd4f], 0
call fcn.140029fb0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9, rdi
lea r8, str.net_start___s_
jmp 0x140089ecf
mov cl, 1
call fcn.140033080
jmp 0x140089f7f
lea r8, str.net_start___s_
jmp 0x140089ec8
lea r8, str.net_stop___s_
lea r9, [0x1401efc50]
mov edx, 0x124
lea rcx, [rbp + 0x240]
call fcn.1400215e0
xor edx, edx
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x140089f7f
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 0x140089f7f
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 0x140089f7f
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 0x140089fca
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.1401312e0
add rsp, 0xd20
pop r14
pop rsi
pop rbp
ret
mov ecx, 6
jmp 0x140089f79
call fcn.14002a520
jmp 0x140089f7f
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 0x140089f7f
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 0x14008a066
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 0x140089f7f
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 0x140089f7f
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 0x14008a123
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 0x140089f7f
lea r8, [r14 + 0x13]
mov edx, 0x104
add r8, r12
lea rcx, [rbp + 0x240]
call fcn.140139ff0
lea rcx, [rbp + 0x240]
call fcn.14007fb10
jmp 0x140089f7f
lea r8, [r14 + 0x11]
mov edx, 0x104
add r8, r12
lea rcx, [rbp + 0x240]
call fcn.140139ff0
lea r8, str.__dsmplugininstance
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.140139ff0
lea r8, [rbp + 0x240]
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.14013a050
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 0x140089f7f
lea r8, [r14 + 0xa]
mov edx, 0x104
add r8, r12
lea rcx, [rbp + 0x240]
call fcn.140139ff0
lea rcx, [rbp + 0x240]
call fcn.14001e540
jmp 0x140089f7f
mov r8d, 0x104
lea rdx, [rbp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14008a290
mov edx, 0x5c
lea rcx, [rbp + 0x240]
call fcn.140133248
lea r8, str._authSSP.dll
mov edx, 0x104
lea rcx, [rbp + 0x240]
mov byte [rax], 0
call fcn.14013a050
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140089f7f
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 [0x1401fb848]
xor ecx, ecx
call rbx
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140020820
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14002a480
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14002a890
jmp 0x140089f7f
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 0x140089f7f
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 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140017c50
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140020750
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140020680
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400205b0
jmp 0x140089f7f
lea r8, str.https:__forum.uvnc.com
jmp 0x14008a432
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 0x140089f7f
lea r8, str.GlobalSessionEventUltra
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov rcx, rax
mov qword [0x1402595b0], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1402595b0]
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 0x14008a4aa
mov rbx, qword [0x1401f2970]
test rbx, rbx
je 0x140089f7f
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 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400204e0
jmp 0x140089f7f
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbx + 0x10]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call fcn.140139ff0
lea rcx, [rbp + 0x240]
call fcn.14001e420
jmp 0x140089f7f
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140088930
test al, al
jne 0x140089cf7
jmp 0x140089f7f
xor r9d, r9d
lea r8, [0x1401c9afc]
lea rdx, [0x1401fc9b0]
call fcn.1400208f0
xor eax, eax
jmp 0x140089f8f