Function at 0x1400051c0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x270
mov qword [rax - 0x1d8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140044ee0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, r8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x278]
xor r14d, r14d
test eax, eax
js 0x1400059c4
mov byte [rsp + 0x20], 1
xor ecx, ecx
call fcn.140004734
nop
mov dword [0x140045688], 5
xor ecx, ecx
call fcn.140004734
nop
mov eax, r14d
cmp qword [0x1400456e8], r14
jne 0x14000527d
lea rcx, [0x1400457e8]
call fcn.14000739c
nop
test eax, eax
jns 0x140005261
lea rdx, str.Unable_to_setup_logging_file_location
jmp 0x140005272
call fcn.1400076dc
nop
test eax, eax
jns 0x14000527d
lea rdx, str.Unable_to_start_logging_to_file
mov ecx, eax
call fcn.140007988
nop
mov eax, r14d
mov ecx, eax
call fcn.140004734
nop
mov rcx, qword [0x140045580]
lea rax, [0x1400082c0]
test rcx, rcx
je 0x1400052a1
cmp rcx, rax
jne 0x1400059d9
mov qword [0x140045580], rax
call fcn.14000ced4
nop
mov rcx, qword [0x140045570]
lea rax, [0x1400082f0]
test rcx, rcx
je 0x1400052ca
cmp rcx, rax
jne 0x1400059fd
mov qword [0x140045570], rax
mov byte [rsp + 0x41], 1
mov qword [rsp + 0x230], r14
mov ebx, 7
mov qword [rsp + 0x238], rbx
mov word [rsp + 0x220], r14w
lea rdx, str._PLUGScheduler__LibWinMain
lea rcx, [rsp + 0x220]
call fcn.140006794
nop
lea r8, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae r8, qword [rsp + 0x220]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140008168
nop
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
nop
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_srand]
nop dword [rax + rax]
nop
mov edi, r14d
mov qword [rsp + 0x250], r14
mov qword [rsp + 0x258], rbx
mov word [rsp + 0x240], r14w
test rsi, rsi
je 0x1400053ca
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
nop
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140006794
nop
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0xd8]
call fcn.1400064bc
nop
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.140008b80
nop
mov edi, eax
mov rbx, qword [rsp + 0x258]
lea r8, [rsp + 0x240]
cmp rbx, 8
cmovae r8, qword [rsp + 0x240]
lea rdx, str._PLUGScheduler__LibWinMain_:_ParseCommandLine__s
mov ecx, edi
call fcn.140008168
nop
lea rcx, [rsp + 0x240]
cmp qword [rsp + 0x258], 8
cmovae rcx, qword [rsp + 0x240]
call fcn.1400063ec
nop
mov byte [rsp + 0x45], 1
test edi, edi
jns 0x1400054a4
mov rcx, qword [rsp + 0x278]
mov r9d, edi
lea r8, str.onecoreenduserwindowsupdate_ruximplugschedulerlibplugscheduler.cpp
mov edx, 0x31
call fcn.140003b78
nop
call fcn.140008990
nop
lea rcx, [rsp + 0x240]
call fcn.140006594
nop
lea r8, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae r8, qword [rsp + 0x220]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140008168
nop
lea rcx, [rsp + 0x220]
call fcn.140006594
nop
call fcn.140008ac4
nop
mov qword [0x140045580], r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
nop
mov eax, edi
jmp 0x140005998
mov qword [rsp + 0x28], r14
mov r9d, 0x1f0001
xor r8d, r8d
lea rdx, str.MUTEX_LCCSCHEDULER
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexExW]
nop dword [rax + rax]
nop
test rax, rax
jne 0x1400054d2
mov bl, r14b
jmp 0x1400054d9
mov qword [rsp + 0x28], rax
mov bl, 1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
test bl, bl
je 0x1400058eb
cmp eax, 0xb7
jne 0x140005574
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140005505
call fcn.140003c60
nop
call fcn.140008990
nop
lea rcx, [rsp + 0x240]
call fcn.140006594
nop
lea r8, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae r8, qword [rsp + 0x220]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140008168
nop
lea rcx, [rsp + 0x220]
call fcn.140006594
nop
call fcn.140008ac4
nop
mov qword [0x140045580], r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
nop
mov eax, 0x81333101
jmp 0x140005998
mov ecx, 0xa0
call fcn.1400308b0
nop
mov rdi, rax
mov qword [rsp + 0x98], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x140033198]
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
lea rcx, [rbx + 0x18]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSectionEx]
nop dword [rax + rax]
nop
lea rsi, [rbx + 0x40]
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], r14
mov ecx, 0x10
call fcn.1400308b0
nop
mov qword [rax + 8], r14
mov qword [rsi], rax
mov qword [rax], rsi
lea rcx, [rbx + 0x68]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSectionEx]
nop dword [rax + rax]
nop
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.140005ac8
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rdx, qword [rax]
mov qword [rsp + 0x58], rdx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x60], rdx
mov qword [rax], r14
mov qword [rax + 8], r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400094d0
nop
mov rbx, qword [rsp + 0xb0]
or edi, 0xffffffff
test rbx, rbx
je 0x1400056a1
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400056a1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140034878]
nop
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400056a1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140034878]
nop
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xb8]
call fcn.140005bbc
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rdx, qword [rax]
mov qword [rsp + 0x68], rdx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x70], rdx
mov qword [rax], r14
mov qword [rax + 8], r14
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400094d0
nop
mov rbx, qword [rsp + 0xc0]
test rbx, rbx
je 0x14000572c
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000572c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140034878]
nop
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000572c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140034878]
nop
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc8]
call fcn.140005cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov rdx, qword [rax]
mov qword [rsp + 0x78], rdx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x80], rdx
mov qword [rax], r14
mov qword [rax + 8], r14
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1400094d0
nop
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x1400057ba
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400057ba
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140034878]
nop
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400057ba
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140034878]
nop
mov rcx, qword [rsp + 0x30]
call fcn.140009c8c
nop
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call fcn.140009898
nop
lea rax, [0x140033218]
mov qword [rsp + 0x98], rax
call fcn.140010a40
nop
test eax, eax
jns 0x1400057f8
mov edx, 0xe
jmp 0x14000580f
lea r9, [rsp + 0x90]
call fcn.1400110e8
nop
test eax, eax
jns 0x140005827
mov edx, 0x11
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugschedulerlibplugschedulertasks.cpp
mov rcx, qword [rsp + 0x278]
call fcn.140003b78
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000586f
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000586f
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140034878]
nop
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000586f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140034878]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000587f
call fcn.140003c60
nop
call fcn.140008990
nop
lea rcx, [rsp + 0x240]
call fcn.140006594
nop
lea r8, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae r8, qword [rsp + 0x220]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140008168
nop
lea rcx, [rsp + 0x220]
call fcn.140006594
nop
call fcn.140008ac4
nop
mov qword [0x140045580], r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
nop
xor eax, eax
jmp 0x140005998
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14000591a
mov rcx, qword [rsp + 0x278]
mov r9d, ebx
lea r8, str.onecoreenduserwindowsupdate_ruximplugschedulerlibplugscheduler.cpp
mov edx, 0x3c
call fcn.140003b78
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000592a
call fcn.140003c60
nop
call fcn.140008990
nop
lea rcx, [rsp + 0x240]
call fcn.140006594
nop
lea r8, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae r8, qword [rsp + 0x220]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140008168
nop
lea rcx, [rsp + 0x220]
call fcn.140006594
nop
call fcn.140008ac4
nop
mov qword [0x140045580], r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
nop
mov eax, ebx
jmp 0x140005998
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002f8a0
nop
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
mov r9d, eax
lea r8, str.onecoreinternal_sdkincwilopensourcewil_resource.h
mov edx, 0x10e9
call fcn.140008340
nop
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x100]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
nop
lea rcx, [rsp + 0x100]
call fcn.1400037ac
nop
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x190]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
nop
lea rcx, [rsp + 0x190]
call fcn.1400037ac
nop
int3