Function at 0x423f00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482590
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x308]
cmp eax, ebx
je 0x423f4f
push str.CVNCServerAgent::Stop__entered
push 2
push eax
call fcn.00430990
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [esi + 0x274]
call fcn.00423ec0
test eax, eax
jne 0x423f7a
mov eax, dword [esi + 0x308]
cmp eax, ebx
je 0x423f7a
push str.CVNCServerAgent::RestoreScreenTimeout_failed.
push eax
call fcn.00430fd0
add esp, 8
lea ecx, [esi + 0x68]
call fcn.00432c60
cmp eax, ebx
je 0x423fa1
mov ecx, dword [esi + 0x308]
cmp ecx, ebx
je 0x423fa1
push eax
push str.CVNCServerAgent::Stop__Restore___Failed_to_restore_wallpaper__nRes___d
push 2
push ecx
call fcn.00430990
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x423fd1
mov ecx, 0x4bada0
call fcn.0043c3d0
cmp dword [esi + 0x2a0], ebx
je 0x424046
mov eax, dword [esi + 0x308]
cmp eax, ebx
je 0x423ffd
push str.CVNCServerAgent::Stop__stopping_service_remove_process
push 2
push eax
call fcn.00430990
add esp, 0xc
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [esi + 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42402c
cmp dword [ebp - 0x18], 0x103
jne 0x42402c
push ebx
mov eax, dword [esi + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esi + 0x2a0]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov edx, dword [esi + 0x2a4]
push edx
call edi
jmp 0x42404c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x290], ebx
je 0x4240b5
mov eax, dword [esi + 0x308]
cmp eax, ebx
je 0x42406e
push str.CVNCServerAgent::Stop__stopping_install_process
push 2
push eax
call fcn.00430990
add esp, 0xc
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [esi + 0x290]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42409d
cmp dword [ebp - 0x1c], 0x103
jne 0x42409d
push ebx
mov edx, dword [esi + 0x290]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi + 0x290]
push eax
call edi
mov ecx, dword [esi + 0x294]
push ecx
call edi
mov dword [esi + 0x290], ebx
cmp dword [esi + 0x2b0], ebx
je 0x42411e
mov eax, dword [esi + 0x308]
cmp eax, ebx
je 0x4240d7
push str.CVNCServerAgent::Stop__stopping_helper_process
push 2
push eax
call fcn.00430990
add esp, 0xc
mov dword [ebp - 0x20], ebx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [esi + 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x424106
cmp dword [ebp - 0x20], 0x103
jne 0x424106
push ebx
mov ecx, dword [esi + 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x2b0]
push edx
call edi
mov eax, dword [esi + 0x2b4]
push eax
call edi
mov dword [esi + 0x2b0], ebx
cmp dword [esi + 0x280], ebx
je 0x424187
mov eax, dword [esi + 0x308]
cmp eax, ebx
je 0x424140
push str.CVNCServerAgent::Stop__stopping_main_process
push 2
push eax
call fcn.00430990
add esp, 0xc
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [esi + 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42416f
cmp dword [ebp - 0x24], 0x103
jne 0x42416f
push ebx
mov eax, dword [esi + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esi + 0x280]
push ecx
call edi
mov edx, dword [esi + 0x284]
push edx
call edi
mov dword [esi + 0x280], ebx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret