Function at 0x140002ac0
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
push r14
push r15
sub rsp, 0x78
mov rbx, qword [0x14001b5c0]
xor r15d, r15d
mov dword [rax + 0x10], r15d
mov r14d, r15d
mov qword [rax + 8], r15
cmp rbx, 0xffffffffffffffff
jne 0x140002b6b
lea rdi, str.DptfPolicyLpmService
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140002b5d
mov qword [rsp + 0x40], r15
lea r9d, [r15 + 2]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rcx
lea rax, str.CreateApplicationList:__p_handle_is_NULL.
mov dword [rsp + 0x30], r15d
lea edx, [r15 + 1]
mov word [rsp + 0x28], r9w
xor r8d, r8d
mov r9d, 0xc0020001
mov qword [rsp + 0x58], rax
mov rcx, rbx
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, r15d
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rbx
ret
mov ecx, 0xfb0
mov qword [rsp + 0xb0], rbp
mov qword [0x14001c978], r15
call fcn.1400033f4
mov rbp, rax
test rax, rax
jne 0x140002ba0
lea rcx, str.CreateApplicationList:__malloc____1__failed.
call fcn.140002f60
mov eax, r15d
jmp 0x140002d68
xor edx, edx
mov r8d, 0xfb0
mov rcx, rax
call fcn.140006800
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0xfb0
xor r8d, r8d
mov edx, 0x222108
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
test eax, eax
je 0x140002d4d
mov eax, dword [rbp + 4]
test eax, eax
jne 0x140002c08
lea rcx, str.CreateApplicationList:__numAppSpecificEntries__0.
call fcn.140002f60
mov edi, r15d
jmp 0x140002d4d
lea eax, [rax*8 + 8]
mov ecx, eax
mov ebx, eax
call fcn.1400033f4
mov r14, rax
test rax, rax
jne 0x140002c34
lea rcx, str.CreateApplicationList:__malloc____2__failed.
call fcn.140002f60
mov edi, r15d
jmp 0x140002d4d
mov qword [rsp + 0x70], rsi
mov r8, rbx
mov qword [rsp + 0x68], r12
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x60], r13
call fcn.140006800
mov eax, dword [rbp + 4]
lea rcx, [rbp + 8]
lea r8, [rsp + 0xa0]
mov dword [r14], eax
lea rdx, [0x14001737c]
call fcn.14000350c
mov ebx, r15d
mov rsi, rax
cmp ebx, dword [rbp + 4]
jae 0x140002cfc
nop dword [rax]
test rsi, rsi
je 0x140002cf6
mov edx, 0x64
mov rcx, rsi
call fcn.1400034ac
mov r15, rax
lea r12, [rax*2 + 2]
mov rcx, r12
call fcn.1400033f4
mov ecx, ebx
mov qword [r14 + rcx*8 + 8], rax
lea r13, [r14 + rcx*8]
test rax, rax
je 0x140002d27
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.140006800
mov rcx, qword [r13 + 8]
lea rdx, [r15 + 2]
mov r8, rsi
call fcn.1400035cc
test eax, eax
jne 0x140002d0f
lea r8, [rsp + 0xa0]
xor ecx, ecx
lea rdx, [0x14001737c]
call fcn.14000350c
inc ebx
mov rsi, rax
cmp ebx, dword [rbp + 4]
jb 0x140002c80
xor r15d, r15d
cmp ebx, dword [rbp + 4]
je 0x140002d37
lea rcx, str.CreateApplicationList:__Number_of_items_in_application_list_didnt_match_expected_value.
call fcn.140002f60
mov edi, r15d
jmp 0x140002d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateApplicationList:__wcscpy_s___failed_for_application_name.
call fcn.140002ff0
xor edi, edi
jmp 0x140002d3e
lea rcx, [0x140017380]
call fcn.140002f60
xor edi, edi
jmp 0x140002d3e
mov qword [0x14001c978], r14
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
mov rcx, rbp
call fcn.1400034cc
test edi, edi
jne 0x140002d66
test r14, r14
je 0x140002d66
mov rcx, r14
call fcn.140002d80
mov eax, edi
mov rbp, qword [rsp + 0xb0]
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rbx
ret