Function at 0x414a53
Capabilities:
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x444376
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebp
mov ebp, ecx
push esi
lea ecx, [ebp + 0x348]
push edi
mov dword [esp + 0xc], ecx
call fcn.004285a0
lea ecx, [ebp + 0x330]
mov dword [esp + 0x128], 0
mov dword [esp + 0x18], ecx
call fcn.004285a0
mov eax, dword [ebp + 0x118]
mov eax, dword [eax]
lea edi, [ebp + 0x114]
mov byte [esp + 0x128], 1
mov esi, eax
test edi, edi
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
je 0x4149b0
cmp edi, edi
je 0x4149b5
call fcn.00432b04
cmp esi, dword [esp + 0x14]
je 0x4149f1
test edi, edi
jne 0x4149c4
call fcn.00432b04
cmp esi, dword [edi + 4]
jne 0x4149ce
call fcn.00432b04
mov cx, word [esp + 0x130]
cmp word [esi + 8], cx
je 0x4149ea
cmp esi, dword [edi + 4]
jne 0x4149e6
call fcn.00432b04
mov esi, dword [esi]
jmp 0x4149a1
push str.._vncServer.cpp:_tremoving_unauthorised_client_n
jmp 0x414a53
mov eax, dword [ebp + 0x124]
mov eax, dword [eax]
lea edi, [ebp + 0x120]
mov esi, eax
test edi, edi
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
je 0x414a10
cmp edi, edi
je 0x414a15
call fcn.00432b04
cmp esi, dword [esp + 0x14]
je 0x414aa0
test edi, edi
jne 0x414a28
call fcn.00432b04
cmp esi, dword [edi + 4]
jne 0x414a32
call fcn.00432b04
mov cx, word [esp + 0x130]
cmp word [esi + 8], cx
je 0x414a4e
cmp esi, dword [edi + 4]
jne 0x414a4a
call fcn.00432b04
mov esi, dword [esi]
jmp 0x414a01
push str.._vncServer.cpp:_tremoving_authorised_client_n
push 9
push 0x457788
call fcn.00401860
add esp, 0xc
cmp esi, dword [edi + 4]
jne 0x414a71
call fcn.00432b04
cmp esi, dword [edi + 4]
je 0x414a8d
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push esi
mov dword [eax + 4], ecx
call fcn.004317e4
add esp, 4
add dword [edi + 8], 0xffffffff
movsx edx, word [esp + 0x130]
mov dword [ebp + edx*4 + 0x12c], 0
mov ecx, dword [ebp + 0x360]
call fcn.00428600
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x128], 0
call fcn.004285b0
mov eax, dword [ebp]
mov edx, dword [eax + 0x14c]
mov ecx, ebp
call edx
test eax, eax
je 0x414ad5
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
cmp dword [ebp + 0x128], 0
jne 0x414b8e
cmp dword [ebp + 0x10], 0
je 0x414b8e
push str.._vncServer.cpp:_tdeleting_desktop_server_n
push 0
push 0x457788
call fcn.00401860
mov eax, dword [ebp]
mov edx, dword [eax + 0x1a0]
add esp, 0xc
mov ecx, ebp
call edx
cmp eax, 1
jne 0x414b19
call fcn.00415d00
jmp 0x414b70
mov eax, dword [ebp]
mov edx, dword [eax + 0x1a0]
mov ecx, ebp
call edx
cmp eax, 1
jle 0x414b70
lea eax, [esp + 0x1c]
push 0x101
push eax
call fcn.00416d70
add esp, 8
mov edi, 0x44938c
lea esi, [esp + 0x1c]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x414b70
push edx
push edx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x414b70
push str.._vncServer.cpp:_tclient_disconnect___failed_to_logoff_user__n
push eax
push 0x457788
call fcn.00401860
add esp, 0xc
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x414b87
mov ecx, esi
call fcn.0040d060
push esi
call fcn.004317e4
add esp, 4
mov dword [ebp + 0x10], 0
mov eax, dword [ebp]
mov edx, dword [eax + 0x5c]
push 0
push 0
push 0x404
mov ecx, ebp
call edx
push str.._vncServer.cpp:_tRemoveClient___done_n
push 9
push 0x457788
call fcn.00401860
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x128], 0xffffffff
call fcn.004285b0
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x120
ret 4