Function at 0x47e1a0
Capabilities:
Create process on windows
Resolve dns
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8c
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5b4770]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd44], ecx
push ebx
mov ebx, dword [ebp + 0x10]
test eax, eax
jne 0x47e1df
push 0x20
call fcn.0051134c
add esp, 4
mov ecx, eax
call fcn.00474710
mov dword [0x5b4770], eax
mov ecx, eax
cmp byte [ecx + 9], 1
jne 0x47e200
push 0x10
push str.Warning
mov edx, str.WIndows_XP_require_special_build
call fcn.004257b0
mov eax, dword [0x5b4770]
add esp, 8
test eax, eax
jne 0x47e21a
push 0x20
call fcn.0051134c
add esp, 4
mov ecx, eax
call fcn.00474710
mov dword [0x5b4770], eax
cmp byte [eax + 0xd], 1
jne 0x47e24a
push 0x10
push str.Unsupported_OS
mov edx, str.Error_OS_not_supported
call fcn.004257b0
add esp, 8
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
push 0
push 0x100
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.user32.dll
call edi
push str.SHCore.dll
mov esi, eax
call edi
mov edi, eax
push str.SetProcessDpiAwareness
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e287
push 2
call eax
jmp 0x47e299
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e299
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x47e2aa
push esi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x47e2b1
push edi
call eax
push 0
push 2
mov byte [ebp - 0xd2d], 0
call fcn.00523ead
add esp, 4
push eax
call fcn.00525026
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x414]
add esp, 8
mov dword [0x5b4878], 0
push 0x104
push eax
push 0
call edi
test eax, eax
je 0x47e305
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.005128c0
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.0051736e
push 0x58e428
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.005173c8
push str.vnclang_server.dll
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.005173c8
add esp, 0x24
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [ebp - 0xd44]
test eax, eax
cmove eax, esi
mov dword [0x5b4878], eax
call fcn.0047db10
push 0x104
lea eax, [ebp - 0x518]
push eax
push 0
call edi
test eax, eax
je 0x47e39e
lea eax, [ebp - 0x518]
push 0x5c
push eax
call fcn.005128c0
add esp, 8
test eax, eax
je 0x47f266
mov byte [eax], 0
push 0x104
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x720]
push 0x104
push eax
call fcn.00522f4c
add esp, 0x10
mov byte [ebp - 0x61d], 0
mov dword [0x5b487c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebp - 0xd4c]
call fcn.0047cdb0
cmp dword [ebp - 0xd4c], 0
jne 0x47e40e
push 0
push 0x593d78
mov edx, 0x5b5c20
call fcn.004257b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
mov edx, ebx
mov ecx, esi
call fcn.004295c0
mov edi, eax
xor esi, esi
mov ecx, edi
mov dword [ebp - 0xd50], edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e426
sub ecx, edx
je 0x47e454
movsx eax, byte [esi + edi]
push eax
call fcn.00523cb7
mov ecx, edi
mov byte [esi + edi], al
add esp, 4
inc esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e447
sub ecx, edx
cmp esi, ecx
jb 0x47e431
mov ecx, edi
xor eax, eax
mov dword [ebp - 0xd4c], eax
xor ebx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e463
sub ecx, edx
je 0x47f27b
cmp byte [ebx + edi], 0x20
lea esi, [ebx + edi]
jle 0x47ee12
push 8
push str._inifile
push esi
mov dword [ebp - 0xd4c], 1
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e551
push 0x104
lea eax, [ebp - 0x61c]
add ebx, 8
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x104
lea eax, [ebp - 0x928]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
lea eax, [edi + 1]
add eax, ebx
push eax
call fcn.005253dc
lea eax, [ebp - 0x61c]
push 0x20
push eax
call fcn.00512c70
add esp, 0x2c
test eax, eax
je 0x47e4f7
mov byte [eax], 0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x928]
push eax
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005251a8
lea eax, [ebp - 0x20c]
push eax
call fcn.00523296
lea ecx, [ebp - 0x20c]
mov dword [0x5a8afc], eax
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e541
sub ecx, edx
add ebx, ecx
jmp 0x47ee12
push 0xf
push str._settingshelper
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f232
push 5
push str._kill
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f1b2
push 0xd
push str._openhomepage
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f17f
push 0xa
push str._openforum
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f172
push 0xb
push str._noregistry
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e5cd
add ebx, 0xb
jmp 0x47ee12
push 0xd
push str._secureplugin
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e5f8
mov eax, dword [0x5b6e6c]
add ebx, 0xd
mov dword [eax + 0x7b4], 1
jmp 0x47ee12
push 0xf
push str._securityeditor
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f0d1
push 9
push str._settings
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f091
push 0x10
push 0x5629c4
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47efac
push 0x12
push 0x562b10
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47ef72
push 0xb
push str._preconnect
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e67b
add ebx, 0xb
mov byte [0x5ab36f], 1
jmp 0x47ee12
push 0xc
push str._service_run
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47ef4b
push 0x10
push str._service_rdp_run
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47ef1a
push 4
push str._run
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x47f27b
push 8
push str._sc_exit
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e6eb
mov eax, dword [0x5b6e6c]
add ebx, 8
mov byte [eax + 0xe2c], 1
jmp 0x47ee12
push 0xa
push str._sc_prompt
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e713
mov eax, dword [0x5b6e6c]
add ebx, 0xa
mov byte [eax + 0xe2d], 1
jmp 0x47ee12
push 6
push str._multi
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e736
mov byte [0x5a8a52], 1
add ebx, 6
jmp 0x47ee12
push 0xe
push str._stopreconnect
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e81a
mov esi, dword [0x5b6e44]
add ebx, 0xe
cmp byte [0x5a8a52], al
jne 0x47e78e
mov eax, dword [0x5b6e6c]
cmp byte [eax + 0xe2c], 0
jne 0x47e78e
cmp byte [eax + 0xe2d], 0
jne 0x47e78e
push 0
push str.WinVNC_Tray_Icon
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x47e799
mov eax, dword [0x5a8ab4]
jmp 0x47e795
mov cl, 1
call fcn.00425e00
test eax, eax
je 0x47e7a5
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [0x5a8a52], 0
mov esi, dword [0x5b6e64]
jne 0x47e7fa
mov eax, dword [0x5b6e6c]
cmp byte [eax + 0xe2c], 0
jne 0x47e7fa
cmp byte [eax + 0xe2d], 0
jne 0x47e7fa
push 0
push str.WinVNC_Tray_Icon
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x47e7e9
mov eax, dword [0x5a8ab4]
test eax, eax
je 0x47ee12
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x47ee12
mov cl, 1
call fcn.00425e00
test eax, eax
je 0x47ee12
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x47ee12
push 0xe
push str._autoreconnect
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e930
add ebx, 0xe
mov dword [ebp - 0xd3c], eax
mov byte [ebp - 0xd2d], 1
mov esi, ebx
mov al, byte [ebx + edi]
cmp al, 0x20
jg 0x47e85d
nop dword [eax + eax]
test al, al
je 0x47e85d
mov al, byte [esi + edi + 1]
inc esi
cmp al, 0x20
jle 0x47e850
push 3
lea eax, [esi + edi]
push 0x5629d8
push eax
mov dword [ebp - 0xd2c], eax
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e8d2
cmp byte [esi + edi], 0x20
mov ebx, esi
jle 0x47e889
inc ebx
cmp byte [ebx + edi], 0x20
jg 0x47e882
mov eax, ebx
sub eax, esi
mov dword [ebp - 0xd38], eax
je 0x47e8d2
lea esi, [eax + 1]
push esi
call fcn.0051138a
push dword [ebp - 0xd38]
mov edi, eax
push dword [ebp - 0xd2c]
push esi
push edi
call fcn.00522f4c
mov eax, dword [ebp - 0xd38]
push edi
mov byte [eax + edi], 0
call fcn.00523805
mov edi, dword [ebp - 0xd50]
add esp, 0x18
mov dword [ebp - 0xd3c], eax
mov esi, dword [ebp - 0xd3c]
mov ecx, esi
call fcn.00425bb0
test eax, eax
jne 0x47e91a
mov byte [0x5abd49], 1
test esi, esi
jne 0x47e8ff
mov byte [0x5b4ac7], 1
mov byte [0x5abd49], al
jmp 0x47ee12
push esi
push 0x14
push 0x5b4e1c
call fcn.0051736e
push esi
call fcn.00511347
add esp, 0x10
jmp 0x47ee12
test esi, esi
je 0x47ee12
push esi
call fcn.00511347
add esp, 4
jmp 0x47ee12
push 4
push str._id:
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47e9e6
inc ebx
xor esi, esi
cmp byte [ebx + edi], 0x20
mov eax, ebx
mov dword [ebp - 0xd38], ebx
lea ecx, [ebx + edi]
mov dword [ebp - 0xd3c], ecx
jle 0x47e96f
inc eax
cmp byte [eax + edi], 0x20
jg 0x47e962
mov dword [ebp - 0xd38], eax
mov ecx, eax
sub ecx, ebx
mov dword [ebp - 0xd2c], ecx
je 0x47e9b5
lea esi, [ecx + 1]
push esi
call fcn.0051138a
mov ebx, dword [ebp - 0xd2c]
mov edi, eax
push ebx
push dword [ebp - 0xd3c]
push esi
push edi
call fcn.00522f4c
push edi
mov byte [edi + ebx], 0
call fcn.00523805
mov edi, dword [ebp - 0xd50]
mov esi, eax
mov eax, dword [ebp - 0xd38]
add esp, 0x18
mov ecx, esi
mov ebx, eax
call fcn.00425d10
test eax, eax
jne 0x47e91a
mov byte [0x5b52ba], 1
test esi, esi
jne 0x47e8ff
mov byte [0x5b52b8], 1
mov byte [0x5b52ba], al
jmp 0x47ee12
push 8
push str._connect
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47ed2e
cmp byte [ebp - 0xd2d], al
jne 0x47ea5a
mov esi, dword [0x5b6e44]
cmp byte [0x5a8a52], al
jne 0x47ea43
mov eax, dword [0x5b6e6c]
cmp byte [eax + 0xe2c], 0
jne 0x47ea43
cmp byte [eax + 0xe2d], 0
jne 0x47ea43
push 0
push str.WinVNC_Tray_Icon
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x47ea4e
mov eax, dword [0x5a8ab4]
jmp 0x47ea4a
mov cl, 1
call fcn.00425e00
test eax, eax
je 0x47ea5a
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [ebx + edi + 8]
add ebx, 8
mov esi, ebx
cmp al, 0x20
jg 0x47ea74
test al, al
je 0x47ea74
mov al, byte [esi + edi + 1]
inc esi
cmp al, 0x20
jle 0x47ea67
cmp byte [esi + edi], 0x20
lea ecx, [esi + edi]
mov eax, esi
mov dword [ebp - 0xd2c], esi
jle 0x47ea92
inc eax
cmp byte [eax + edi], 0x20
jg 0x47ea85
mov dword [ebp - 0xd2c], eax
sub eax, esi
mov dword [ebp - 0xd48], eax
je 0x47ecda
inc eax
push eax
mov dword [ebp - 0xd34], eax
call fcn.0051138a
push dword [ebp - 0xd34]
mov ebx, eax
mov dword [ebp - 0xd38], ebx
call fcn.0051138a
push dword [ebp - 0xd48]
lea ecx, [esi + edi]
mov dword [ebp - 0xd3c], eax
push ecx
push dword [ebp - 0xd34]
push ebx
call fcn.00522f4c
mov ecx, ebx
mov ebx, dword [ebp - 0xd2c]
sub ecx, esi
mov esi, dword [ebp - 0xd38]
push esi
push dword [ebp - 0xd34]
push dword [ebp - 0xd3c]
mov byte [ecx + ebx], 0
call fcn.0051736e
push 0x5b
push esi
call fcn.00512c70
push 0x5d
push esi
mov dword [ebp - 0xd2c], eax
call fcn.00512c70
add esp, 0x34
mov edx, eax
cmp dword [ebp - 0xd2c], 0
mov dword [ebp - 0xd40], edx
je 0x47eb85
test edx, edx
je 0x47eb85
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xd48], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47eb40
sub ecx, dword [ebp - 0xd48]
lea eax, [edx + 1]
push ecx
push eax
push dword [ebp - 0xd34]
push dword [ebp - 0xd3c]
call fcn.00522f4c
mov eax, dword [ebp - 0xd40]
mov byte [eax], 0
mov eax, dword [ebp - 0xd2c]
inc eax
push eax
push dword [ebp - 0xd34]
push esi
call fcn.0051736e
add esp, 0x1c
jmp 0x47eb97
push 0x3a
push esi
call fcn.00512c70
add esp, 8
test eax, eax
je 0x47eb97
mov byte [eax], 0
push 0x3a
push dword [ebp - 0xd3c]
mov dword [ebp - 0xd34], 0x157c
call fcn.00512c70
add esp, 8
test eax, eax
je 0x47ebce
mov byte [eax], 0
inc eax
cmp byte [eax], 0x3a
jne 0x47ebbf
inc eax
push eax
call fcn.0051e079
mov dword [ebp - 0xd34], eax
add esp, 4
push dword [ebp - 0xd3c]
call fcn.00511347
push dword [ebp - 0xd34]
push esi
push str.WinMain_:_test...__s__d_n
push 0
push 0x5a6c48
call fcn.0041d720
push esi
push 0xff
push 0x5b49c8
call fcn.0051736e
add esp, 0x24
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47ec35
push dword [ebp - 0xd38]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x47ee99
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
test esi, esi
je 0x47ee99
mov esi, dword [esi]
test esi, esi
je 0x47ee99
push dword [ebp - 0xd38]
call fcn.00511347
push str.WinMain_:_PostAddNewClient_III__n
push 0
push 0x5a6c48
call fcn.0041d720
mov eax, dword [ebp - 0xd34]
mov ecx, dword [0x5b6e48]
movzx eax, ax
push esi
movzx edx, ax
mov dword [ebp - 0xd40], eax
call fcn.00425d90
add esp, 0x14
test eax, eax
jne 0x47ee12
push str.postHelper::PostAddNewClientInit_:_PostAddNewClient_failed_n
push eax
push 0x5a6c48
call fcn.0041d720
mov eax, 0x457
add esp, 0xc
cmp word [ebp - 0xd40], ax
jne 0x47ecbd
movzx eax, byte [0x5a8a51]
cmp esi, 0x457
mov ecx, 1
cmove eax, ecx
mov byte [0x5a8a51], al
mov eax, dword [ebp - 0xd34]
mov byte [0x5abd4a], 1
mov dword [0x5b4984], eax
mov dword [0x5b4e18], esi
jmp 0x47ee12
push str.WinMain_:_PostAddNewClient_IIII_n
push 0
push 0x5a6c48
call fcn.0041d720
mov ecx, dword [0x5b6e54]
xor edx, edx
push 0
call fcn.00425d90
add esp, 0x10
test eax, eax
jne 0x47ee12
push str.postHelper::PostAddNewClient_:_PostAddNewClient_failed_n
push eax
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
mov byte [0x5abd4a], 1
mov dword [0x5b4984], eax
mov dword [0x5b4e18], eax
jmp 0x47ee12
push 9
push str._repeater
push esi
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x47ef01
mov cl, byte [ebx + edi + 9]
add ebx, 9
mov eax, ebx
cmp cl, 0x20
jg 0x47ed62
test cl, cl
je 0x47ed62
mov cl, byte [eax + edi + 1]
inc eax
cmp cl, 0x20
jle 0x47ed54
cmp byte [eax + edi], 0x20
lea edx, [eax + edi]
mov ecx, eax
mov dword [ebp - 0xd2c], eax
mov dword [ebp - 0xd48], edx
jle 0x47ed8d
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0x20
jg 0x47ed80
mov dword [ebp - 0xd2c], ecx
mov esi, ecx
sub esi, eax
mov dword [ebp - 0xd40], esi
je 0x47ee12
mov eax, dword [0x5b4980]
test eax, eax
je 0x47edb5
push eax
call fcn.00511347
add esp, 4
mov dword [0x5b4980], 0
inc esi
push esi
call fcn.0051138a
mov ebx, dword [ebp - 0xd40]
push ebx
push dword [ebp - 0xd48]
mov dword [0x5b4980], eax
push esi
push eax
call fcn.00522f4c
mov eax, dword [0x5b4980]
push str.WinMain_:_PostAddNewRepeaterClient_I_n
push 0
push 0x5a6c48
mov byte [ebx + eax], 0
call fcn.0041d720
add esp, 0x20
call fcn.00425c30
test eax, eax
jne 0x47ee0c
mov byte [0x5abd4b], 1
mov dword [0x5b4984], eax
mov dword [0x5b4e18], eax
mov ebx, dword [ebp - 0xd2c]
mov ecx, edi
inc ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ee18
sub ecx, edx
cmp ebx, ecx
jb 0x47e472
cmp dword [ebp - 0xd4c], 0
je 0x47f27b
mov ecx, dword [0x5b4770]
test ecx, ecx
je 0x47ee46
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x5a950c]
test eax, eax
jne 0x47ee70
push 0x1134
call fcn.0051134c
add esp, 4
mov ecx, eax
call fcn.0042b5f0
mov dword [0x5a950c], eax
test eax, eax
je 0x47f260
push 0x1134
push eax
call fcn.0051137c
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
push 0x400
lea eax, [ebp - 0xd28]
push 0
push eax
call fcn.00513330
mov ebx, dword [ebp - 0xd38]
lea eax, [ebp - 0xd28]
push ebx
push str._Hostnamee___s__could_not_be_resolved
push eax
call fcn.0047daf0
add esp, 0x18
lea eax, [ebp - 0xd28]
push 0x30
push 0x593d78
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00511347
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
push 0x40
push 0x5b5578
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.004257b0
add esp, 8
jmp 0x47ee36
mov ecx, dword [ebp - 0xd44]
call fcn.0047de90
test al, al
je 0x47f260
mov eax, dword [0x5b6e6c]
mov dword [eax + 0xe20], 1
mov dword [eax + 0xe24], 1
jmp 0x47f28a
mov ecx, dword [ebp - 0xd44]
call fcn.0047de90
test al, al
je 0x47f260
mov eax, dword [0x5b6e6c]
mov dword [eax + 0xe20], 1
jmp 0x47f28a
lea eax, [edi + 0x13]
add eax, ebx
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051736e
add esp, 0xc
call fcn.004774e0
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi + 0x11]
add eax, ebx
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051736e
push str.__dsmplugininstance
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0051736e
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005173c8
add esp, 0x24
lea eax, [ebp - 0xa2c]
push 0x104
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call eax
mov dword [ebp - 0xd8c], 0x3c
mov dword [ebp - 0xd88], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xd84], eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xd7c], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xd78], eax
lea eax, [ebp - 0xd8c]
push eax
mov dword [ebp - 0xd80], str.runas
mov dword [ebp - 0xd74], 0
mov dword [ebp - 0xd70], 0
mov dword [ebp - 0xd6c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi + 0xa]
add eax, ebx
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051736e
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.00423f20
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
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 0x47f114
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.005128c0
push str._authSSP.dll
push 0x104
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.005173c8
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47f197
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 [0x5b487c]
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 edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0
push 0
push str.https:__forum.uvnc.com
jmp 0x47f18a
push 1
push 0
push 0
push str.https:__www.uvnc.com
push 0x58e434
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
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 [0x5f2450], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [0x5f2450]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.WinVNC_Tray_Icon
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
jne 0x47f1f9
mov esi, dword [0x5a8ab4]
test esi, esi
je 0x47f260
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x9c42
push 0x111
push esi
call ebx
push 0
push 0
push 0x10
push esi
call ebx
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
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.0051736e
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.00423e10
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xd44]
call fcn.0047de90
test al, al
je 0x47f260
call fcn.0047f700
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00511339
mov esp, ebp
pop ebp
ret 0x10