Function at 0x14002dab0
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.14002cb30
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14002db0c
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], eax
jmp 0x14002dd91
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.14002ce50
mov dword [rsp + 0x4c], 0
cmp qword [rsp + 0xd8], 8
jb 0x14002db66
mov r8, qword [rsp + 0xc0]
jmp 0x14002db6e
lea r8, [rsp + 0xc0]
cmp qword [rsp + 0xb8], 8
jb 0x14002db81
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 0x14002ddb6
mov ebx, dword [rsp + 0x4c]
and ebx, 0xfffffffe
add rbx, 2
mov rcx, rbx
call fcn.140055adc
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0xd8], 8
jb 0x14002dbe9
mov r8, qword [rsp + 0xc0]
jmp 0x14002dbf1
lea r8, [rsp + 0xc0]
cmp qword [rsp + 0xb8], 8
jb 0x14002dc06
mov rdx, qword [rsp + 0xa0]
jmp 0x14002dc0e
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 0x14002def4
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call fcn.14002e010
mov eax, dword [rbx + 0x20]
test eax, eax
jne 0x14002dfe9
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.14005a7a0
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.14005a430
mov dword [rsi + 0x28], 0
mov rcx, r14
call fcn.14005a550
cmp r15, 0x10
jb 0x14002dced
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x14002dce5
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x14002e003
add r15, 0x28
mov rdx, r15
mov rbx, rax
mov rcx, rbx
call fcn.140055ae4
mov rcx, rdi
call fcn.140055ae4
mov rax, qword [rsp + 0xb8]
cmp rax, 8
jb 0x14002dd43
mov rcx, qword [rsp + 0xa0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002dd3e
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e003
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055ae4
mov rax, qword [rsp + 0xd8]
cmp rax, 8
jb 0x14002dd91
mov rcx, qword [rsp + 0xc0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002dd8c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e003
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055ae4
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140056a50
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 0x14002de00
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.14005a430
mov dword [rsi + 0x28], 0
lea rcx, [rsp + 0x70]
call fcn.14005a550
jmp 0x14002dcf5
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.1400589e0
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.140055adc
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.140058a60
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002ded2
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.140055ae4
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], edi
jmp 0x14002dcf5
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.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], 0x57
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 0x14002dfc7
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.140055ae4
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], ebx
jmp 0x14002dced
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], eax
jmp 0x14002dced
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3