Function at 0x140003ce0
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140090750]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, rcx
call fcn.1400023d0
mov rcx, rax
lea r9, [0x14007635c]
lea r8, str.CMainService::OnStart
xor edx, edx
call fcn.14001c1e0
xor ebp, ebp
mov ebx, ebp
mov qword [rsp + 0x58], rbx
call fcn.1400023d0
cmp byte [rax + 0x64], bpl
je 0x140003d74
lea ecx, [rbp + 0x28]
call fcn.14001e180
mov rbx, rax
mov qword [rsp + 0x50], rax
call fcn.1400023d0
mov rdx, rax
lea r8, str.CMainService::OnStart
mov rcx, rbx
call fcn.140017870
mov rbx, rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x78]
call fcn.1400029f0
nop
mov rdx, qword [rsi + 8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x140003de5
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x60], rcx
lea rax, str.LAN_WLAN__LAN_WWAN_Switching_Service_in_OnStart
mov qword [rsp + 0x68], rax
mov ecx, 2
xor r8d, r8d
lea edx, [rcx + 2]
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebp
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rdi, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rdi, qword [rsp + 0x78]
call fcn.1400023d0
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, str.LAN_WLAN__LAN_WWAN_Switching_Service___s__in_OnStart
lea r8, str.CMainService::OnStart
mov edx, 3
call fcn.14001c1e0
call fcn.1400035f0
mov edi, eax
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.LAN_WLAN__LAN_WWAN_Switching_Service_Restart_Recovery_On_Failure_set_status_:__d
lea r8, str.CMainService::OnStart
mov edx, 3
call fcn.14001c1e0
mov byte [rsi + 0x98], 1
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14001e180
lea rcx, [0x140003f80]
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov qword [rsp + 0x60], rax
mov r8d, 0x80
mov rdx, rax
lea rcx, [0x140007180]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x140003f5b
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
xor ecx, ecx
call fcn.14001e178
call fcn.1400023d0
mov rcx, rax
lea r9, [0x14007635c]
lea r8, str.CMainService::OnStart
mov edx, 1
call fcn.14001c1e0
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
jb 0x140003ef9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f55
call fcn.14001e178
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], bp
test rbx, rbx
je 0x140003f2c
mov rcx, rbx
call fcn.140018310
mov edx, 0x28
mov rcx, rbx
call fcn.14001e178
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001da60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400416f8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rdx, [0x14008dc80]
lea rcx, [rsp + 0x50]
call fcn.14003c0f8
int3