Function at 0x14002d1b0
Capabilities:
Access the windows event log
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1400ac070]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 7
mov word [rsp + 0xb0], 0
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r15, rax
lea rcx, [rsp + 0xb0]
cmp rax, 7
ja 0x14002d520
mov qword [rcx + 0x10], r15
mov r8, r15
add r8, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + r15*2 + 0xb0], 0
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov rdx, r14
call fcn.14002ce50
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14002d530
mov ebp, eax
mov eax, eax
add rax, rax
test ebp, ebp
mov r15, 0xffffffffffffffff
cmovns r15, rax
mov rcx, r15
call fcn.140055adc
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.VCRUNTIME140.dll_memset
cmp ebp, 0xffffffff
je 0x14002d818
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14002d6f7
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 7
mov word [rsp + 0xb0], 0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rbx, rax
lea rcx, [rsp + 0xb0]
cmp rax, 7
ja 0x14002d808
mov qword [rcx + 0x10], rbx
mov r8, rbx
add r8, rbx
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx*2 + 0xb0], 0
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xc8]
mov rcx, r14
call fcn.140055ae4
cmp qword [rsp + 0x88], 8
jb 0x14002d3b1
mov rdi, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rax], r12
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r15
lea ecx, [r13 + r13 + 2]
cmp r15, 8
cmovae rax, r12
cmp qword [rsp + 0xa8], 8
jb 0x14002d3e7
mov r8, qword [rsp + 0x90]
jmp 0x14002d3ef
lea r8, [rsp + 0x90]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov rdx, rdi
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
xor ebx, ebx
test eax, eax
jne 0x14002d615
mov dword [rsi], ebx
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x14002d462
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002d45d
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002d823
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055ae4
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x14002d4ad
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002d4a8
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002d823
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055ae4
mov rax, qword [rsp + 0xa8]
cmp rax, 8
jb 0x14002d4fb
mov rcx, qword [rsp + 0x90]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002d4f6
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002d823
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055ae4
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140056a50
nop
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r15
mov r8, rdi
call fcn.140059dc0
jmp 0x14002d244
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rcx, str.0x_X_in__S:_d
lea r13, str.Utf8ToUtf16
mov edx, ebx
mov r8, r13
mov r9d, 0x29
call fcn.1400589e0
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.140055adc
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 0x29
mov rcx, r14
mov rdx, rbp
lea r9, str.0x_X_in__S:_d
call fcn.140058a60
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002d7df
mov r15, rax
lea rax, [rsp + 0xb0]
mov qword [rax], r14
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r15
mov dx, 1
xor r8d, r8d
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x14002d7df
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r14, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r15, str.0x_X_in__S:_d
lea r12, str.RegistrySetValueString
mov rcx, r15
mov edx, ebx
mov r8, r12
mov r9d, 0x7a
call fcn.1400589e0
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.140055adc
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 0x7a
mov rcx, rdi
mov rdx, r13
mov r9, r15
call fcn.140058a60
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002d6ea
mov r14, rax
lea rax, [rsp + 0xb0]
mov qword [rax], rdi
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r14
mov dx, 1
xor r8d, r8d
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rdi
call fcn.140055ae4
jmp 0x14002d418
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r12, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rcx, str.0x_X_in__S:_d
lea r8, str.Utf8ToUtf16
mov edx, ebx
mov r9d, 0x32
call fcn.1400589e0
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.140055adc
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
lea rax, str.Utf8ToUtf16
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 0x32
mov rcx, r15
mov rdx, r13
lea r9, str.0x_X_in__S:_d
call fcn.140058a60
xor ecx, ecx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002d7d7
mov r12, rax
lea rax, [rsp + 0xb0]
mov qword [rax], r15
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r12
mov dx, 1
xor r8d, r8d
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, r15
call fcn.140055ae4
mov rcx, r14
call fcn.140055ae4
xor r15d, r15d
mov r12d, 0
mov r13d, 0
mov ebp, 0
test ebx, ebx
je 0x14002d3a1
jmp 0x14002d418
mov rdx, rbx
mov r8, r14
call fcn.140059dc0
jmp 0x14002d379
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3