Function at 0x415030
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6022
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
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.00415430
lea esi, [ebx + 0x34]
push str.Starting_control_server
push esi
call fcn.004056b0
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.00403cc0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov byte [ebp - 4], 2
cmp byte [ebx + 0x19c], 0
je 0x4150e2
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push str.TightVNC_Service_Control
call dword [eax + 4]
jmp 0x415100
mov ecx, esi
call fcn.0041d9c0
push eax
push str.TightVNC_Application_Control
lea eax, [ebp - 0x38]
push 0x4cb7e4
push eax
call fcn.00403a90
add esp, 0x10
push 0x2c
call fcn.004971c4
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.0041d8e0
push 0x2c
call fcn.004971c4
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.0041d300
push 0xc0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.004971c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov eax, dword [ebx + 0x1a8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 8]
push eax
push 4
push edi
push 0x46e520
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.0041d1f0
mov byte [edi + 0x74], 0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x78]
call fcn.0046e8c0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
mov dword [edi + 0xb4], eax
mov eax, dword [ebp - 0x18]
push 0x4cec18
mov dword [edi + 0xb8], eax
lea eax, [ebx + 0x34]
push 0x4cbe74
push eax
mov dword [edi + 0xbc], eax
call fcn.004056b0
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 + 0x1ac], edi
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00403b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret