Function at 0x14002e710
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 [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rdi, [rsp + 0xe8]
mov rcx, rdi
call fcn.1400305e0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x14002e76c
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], eax
jmp 0x14002e9e7
movups xmm0, xmmword [rsp + 0xe8]
movups xmm1, xmmword [rsp + 0xf8]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
lea rdi, [rsp + 0xa0]
mov rcx, rdi
mov rdx, rbx
call fcn.140030930
mov dword [rsp + 0x4c], 0
cmp qword [rsp + 0xd8], 8
jb 0x14002e7bc
mov r8, qword [rsp + 0xc0]
jmp 0x14002e7c4
lea r8, [rsp + 0xc0]
cmp qword [rsp + 0xb8], 8
jb 0x14002e7d7
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 0x14002ea0e
mov ebx, dword [rsp + 0x4c]
and ebx, 0xfffffffe
add rbx, 2
mov rcx, rbx
call fcn.140056c40
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0xd8], 8
jb 0x14002e83f
mov r8, qword [rsp + 0xc0]
jmp 0x14002e847
lea r8, [rsp + 0xc0]
cmp qword [rsp + 0xb8], 8
jb 0x14002e85c
mov rdx, qword [rsp + 0xa0]
jmp 0x14002e864
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 0x14002eb61
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call fcn.140030a30
mov eax, dword [rbx + 0x20]
test eax, eax
jne 0x14002ec6b
lea r14, [rsp + 0x70]
mov rbx, qword [r14]
movups xmm0, xmmword [r14 + 8]
mov r15, qword [r14 + 0x18]
lea rdx, [rsp + 0x50]
mov qword [rdx], rbx
movups xmmword [rdx + 8], xmm0
mov qword [rdx + 0x18], r15
mov rcx, r14
call fcn.14005b5b0
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.14005b4d0
mov dword [rsi + 0x28], 0
mov rcx, r14
call fcn.14005b250
cmp r15, 0x10
jb 0x14002e943
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x14002e93b
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x14002ec85
add r15, 0x28
mov rdx, r15
mov rbx, rax
mov rcx, rbx
call fcn.140056c84
mov rcx, rdi
call fcn.140056c84
mov rax, qword [rsp + 0xb8]
cmp rax, 8
jb 0x14002e999
mov rcx, qword [rsp + 0xa0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e994
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002ec85
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rax, qword [rsp + 0xd8]
cmp rax, 8
jb 0x14002e9e7
mov rcx, qword [rsp + 0xc0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e9e2
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002ec85
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140057bf0
mov rax, rsi
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 2
jne 0x14002ea58
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.14005b4d0
mov dword [rsi + 0x28], 0
lea rcx, [rsp + 0x70]
call fcn.14005b250
jmp 0x14002e94b
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.140059a40
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl rbp, rax
mov rcx, rbp
call fcn.140056c40
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 r8, 0xffffffffffffffff
mov r9, r15
call fcn.140059ac0
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002eb3f
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.140056c84
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], edi
jmp 0x14002e94b
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.140059a40
cdqe
lea rbp, [rax + 1]
lea r12, [rax + rax]
add r12, 2
cmp eax, 0xffffffff
mov rax, 0xffffffffffffffff
cmovl r12, rax
mov rcx, r12
call fcn.140056c40
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
mov r8, 0xffffffffffffffff
lea r9, str.0x_X_in__S:_d
call fcn.140059ac0
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14002ec49
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.140056c84
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], ebx
jmp 0x14002e943
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x28], eax
jmp 0x14002e943
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3