Function at 0x415da0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba852
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
call fcn.004162a0
lea esi, [ebx + 0x34]
push str.Starting_control_server
push esi
call fcn.00405e90
mov dword [ebp - 4], 0
add esp, 8
mov dword [ebp - 0x38], vtable.StringStorage.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov byte [ebp - 4], 2
cmp byte [ebx + 0x3a4], 0
je 0x415e52
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push str.TightVNC_Service_Control
call dword [eax + 4]
jmp 0x415e70
mov ecx, esi
call fcn.0041e9e0
push eax
push str.TightVNC_Application_Control
lea eax, [ebp - 0x38]
push 0x5262bc
push eax
call fcn.004038c0
add esp, 0x10
push 0x2c
call fcn.0049b504
mov esi, eax
add esp, 4
push 1
lea eax, [esi + 0x18]
mov dword [esi], vtable.SecurityAttributes.0
mov byte [esi + 0x10], 1
push eax
mov dword [esi + 0x14], vtable.SecurityDescriptor.0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov dword [esi + 8], 0
mov ecx, esi
mov dword [esi + 4], 0xc
mov byte [esi + 0x10], 0
mov dword [esi + 0xc], 1
call fcn.0041e900
push 0x2c
call fcn.0049b504
add esp, 4
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push esi
push 0x10000
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0x34]
call fcn.0041e310
push 0xc0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.0049b504
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov eax, dword [ebx + 0x3b0]
mov dword [ebp - 0x18], eax
lea eax, [edi + 8]
push eax
push 4
push edi
push 0x471ee0
push 0
mov dword [edi], vtable.Thread.0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
lea eax, [edi + 0x10]
mov dword [edi], vtable.ControlServer.0
mov dword [ebp - 0x24], eax
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [eax], vtable.AuthTracker.0
mov dword [eax + 8], 0x7530
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 3
mov dword [eax + 0x20], vtable.LocalMutex.0
add eax, 0x24
push eax
call esi
lea eax, [edi + 0x54]
mov dword [edi + 0x10], vtable.ControlAppAuthenticator.0
push eax
mov dword [edi + 0x50], vtable.LocalMutex.0
call esi
push ecx
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 7
call fcn.0041e200
mov byte [edi + 0x74], 0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x78]
call fcn.00472280
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
mov dword [edi + 0xb4], eax
mov eax, dword [ebp - 0x18]
push 0x527fb0
mov dword [edi + 0xb8], eax
lea eax, [ebx + 0x34]
push 0x526af0
push eax
mov dword [edi + 0xbc], eax
call fcn.00405e90
add esp, 0xc
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x34]
setne al
mov byte [edi + 0xc], al
mov dword [ebx + 0x3b4], edi
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret