Function at 0x692caa50
Capabilities:
Create thread
Listen for remote procedure calls

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
test byte [0x692d1118], 8
jne 0x692cabb0
mov dword [esp + 4], sym._schedsvc_handler_4
mov dword [esp], str.Schedule
call dword [sym.imp.advapi32.dll_RegisterServiceCtrlHandlerW]
mov dword [0x692d8010], eax
sub esp, 8
test eax, eax
je 0x692cabe0
mov eax, 2
call sym._schedsvc_update_status
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov dword [0x692d800c], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._tasks_monitor_thread_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov ebx, eax
test eax, eax
je 0x692cab60
mov eax, dword [str._V_i]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov esi, dword [sym.imp.rpcrt4.dll_RpcServerRegisterIf]
mov dword [esp], eax
call esi
sub esp, 0xc
test eax, eax
je 0x692cac28
test byte [0x692d1118], 2
je 0x692cab60
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerRegisterIf_error__lx_n
mov dword [esp + 8], str.RPC_init
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
lea esi, [esi]
mov eax, 1
call sym._schedsvc_update_status
test byte [0x692d1118], 8
jne 0x692cab80
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8
mov dword [esp + 0xc], str.exiting_Task_Scheduler_Service_n
mov dword [esp + 8], str.ServiceMain
mov dword [esp + 4], 0x692d1118
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8
mov dword [esp + 0xc], str.starting_Task_Scheduler_Service_n
mov dword [esp + 8], str.ServiceMain
mov dword [esp + 4], 0x692d1118
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x692caa65
test byte [0x692d1118], 2
je 0x692cab73
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.RegisterServiceCtrlHandler_error__ld_n
mov dword [esp + 8], str.ServiceMain
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8
mov eax, dword [0x692d113c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 0xc
test eax, eax
je 0x692cac80
test byte [0x692d1118], 2
jne 0x692cad70
mov eax, dword [str._V_i]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.rpcrt4.dll_RpcServerUnregisterIf]
sub esp, 0xc
jmp 0x692cab60
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.rpcrt4.dll_RpcServerUseProtseqEpW]
mov dword [esp + 8], str.pipe_atsvc
mov dword [esp + 4], 0xa
mov dword [esp], str.ncacn_np
call esi
sub esp, 0x10
test eax, eax
je 0x692cacf0
test byte [0x692d1118], 2
je 0x692cab60
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerUseProtseqEp_error__lx_n
mov dword [esp + 8], str.RPC_init
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x692cab60
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.atsvc
mov dword [esp + 4], 0xa
mov dword [esp], str.ncalrpc
call esi
sub esp, 0x10
test eax, eax
jne 0x692cacae
mov dword [esp], 0x692d8004
call dword [sym.imp.rpcrt4.dll_RpcServerInqBindings]
sub esp, 4
test eax, eax
je 0x692cada0
test byte [0x692d1118], 2
je 0x692cab60
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerInqBindings_error__lx_n
mov dword [esp + 8], str.RPC_init
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x692cab60
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerRegisterIf_error__lx_n
mov dword [esp + 8], str.RPC_init
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x692cac56
mov eax, dword [0x692d8004]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov esi, dword [sym.imp.rpcrt4.dll_RpcEpRegisterW]
mov dword [esp + 4], eax
mov eax, dword [str._V_i]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jne 0x692caefb
mov eax, dword [0x692d8004]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x692d113c]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jne 0x692caefb
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4d2
mov dword [esp], 1
call dword [sym.imp.rpcrt4.dll_RpcServerListen]
sub esp, 0xc
test eax, eax
jne 0x692caf35
mov eax, 4
call sym._schedsvc_update_status
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.rpcrt4.dll_RpcMgmtStopServerListening]
mov eax, dword [0x692d8004]
mov ebx, dword [sym.imp.rpcrt4.dll_RpcEpUnregister]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [str._V_i]
mov dword [esp + 8], 0
mov dword [esp], eax
call ebx
mov eax, dword [0x692d8004]
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [0x692d113c]
mov dword [esp + 8], 0
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp], 0x692d8004
call dword [sym.imp.rpcrt4.dll_RpcBindingVectorFree]
mov eax, dword [str._V_i]
mov ebx, dword [sym.imp.rpcrt4.dll_RpcServerUnregisterIf]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, dword [0x692d113c]
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x692cab60
test byte [0x692d1118], 2
je 0x692cab60
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcEpRegister_error__lx_n
mov dword [esp + 8], str.RPC_init
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x692cab60
test byte [0x692d1118], 2
je 0x692cab60
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RpcServerListen_error__lx_n
mov dword [esp + 8], str.RPC_init
mov dword [esp + 4], 0x692d1118
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_2
jmp 0x692cab60