Function at 0x14002da30
Capabilities:
Access the windows event log
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov rbx, r9
mov rsi, rcx
mov rax, qword [0x1400ac070]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rdi, [rsp + 0xe8]
mov rcx, rdi
call fcn.14002cab0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14002da8c
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], eax
jmp 0x14002dd11
movups xmm0, xmmword [rsp + 0xe8]
movups xmm1, xmmword [rsp + 0xf8]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov word [rsp + 0xe8], 0
lea rdi, [rsp + 0xa0]
mov rcx, rdi
mov rdx, rbx
call fcn.14002cdd0
mov dword [rsp + 0x4c], 0
cmp qword [rsp + 0xd8], 8
jb 0x14002dae6
mov r8, qword [rsp + 0xc0]
jmp 0x14002daee
lea r8, [rsp + 0xc0]
cmp qword [rsp + 0xb8], 8
jb 0x14002db01
mov rdi, qword [rsp + 0xa0]
lea r14, [rsp + 0x4c]
mov qword [rsp + 0x30], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, 0xffffffff80000001
mov rdx, rdi
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14002dd36
mov ebx, dword [rsp + 0x4c]
and ebx, 0xfffffffe
add rbx, 2
mov rcx, rbx
call fcn.140055a0c
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0xd8], 8
jb 0x14002db69
mov r8, qword [rsp + 0xc0]
jmp 0x14002db71
lea r8, [rsp + 0xc0]
cmp qword [rsp + 0xb8], 8
jb 0x14002db86
mov rdx, qword [rsp + 0xa0]
jmp 0x14002db8e
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14002de74
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call fcn.14002df90
mov eax, dword [rbx + 0x20]
test eax, eax
jne 0x14002df69
lea r14, [rsp + 0x70]
mov rbx, qword [r14]
mov r15, qword [r14 + 0x18]
lea rdx, [rsp + 0x50]
mov qword [rdx], rbx
movups xmm0, xmmword [r14 + 8]
movups xmmword [rdx + 8], xmm0
mov qword [rdx + 0x18], r15
mov rcx, r14
call fcn.14005a6d0
mov byte [r14 + 0x20], 1
lea rcx, [rsi + 0x28]
lea rdx, [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi + 0x20], 0
call fcn.14005a360
mov dword [rsi + 0x28], 0
mov rcx, r14
call fcn.14005a480
cmp r15, 0x10
jb 0x14002dc6d
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x14002dc65
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x14002df83
add r15, 0x28
mov rdx, r15
mov rbx, rax
mov rcx, rbx
call fcn.140055a14
mov rcx, rdi
call fcn.140055a14
mov rax, qword [rsp + 0xb8]
cmp rax, 8
jb 0x14002dcc3
mov rcx, qword [rsp + 0xa0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002dcbe
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002df83
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055a14
mov rax, qword [rsp + 0xd8]
cmp rax, 8
jb 0x14002dd11
mov rcx, qword [rsp + 0xc0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002dd0c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002df83
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055a14
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140056980
nop
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 2
jne 0x14002dd80
xorps xmm0, xmm0
lea rdx, [rsp + 0x98]
movaps xmmword [rdx - 0x18], xmm0
movaps xmmword [rdx - 0x28], xmm0
mov qword [rdx - 8], 0
lea rcx, [rsi + 0x28]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov byte [rsi + 0x20], 0
call fcn.14005a360
mov dword [rsi + 0x28], 0
lea rcx, [rsp + 0x70]
call fcn.14005a480
jmp 0x14002dc75
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov r14, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r15, str.0x_X_in__S:_d
lea r12, str.RegistryGetValueString
mov rcx, r15
mov edx, edi
mov r8, r12
mov r9d, 0x49
call fcn.140058910
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.140055a0c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x49
mov rcx, rbx
mov rdx, r13
mov r9, r15
call fcn.140058990
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002de52
mov r14, rax
lea rax, [rsp + 0x70]
mov qword [rax], rbx
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, edi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rbx
call fcn.140055a14
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], edi
jmp 0x14002dc75
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.RegistryGetValueString
mov edx, ebx
mov r8, r13
mov r9d, 0x57
call fcn.140058910
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.140055a0c
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], 0x57
mov rcx, r14
mov rdx, rbp
lea r9, str.0x_X_in__S:_d
call fcn.140058990
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002df47
mov r15, rax
lea rax, [rsp + 0x70]
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]
mov rcx, r14
call fcn.140055a14
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], ebx
jmp 0x14002dc6d
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], eax
jmp 0x14002dc6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3