Function at 0x14002e330
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, 0xa8
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400ac070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], 0
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r14, rax
lea rcx, [rsp + 0x80]
cmp rax, 7
ja 0x14002e522
mov qword [rcx + 0x10], r14
mov r8, r14
add r8, r14
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + r14*2 + 0x80], 0
lea rbx, [rsp + 0x80]
mov r15, qword [rbx]
movups xmm0, xmmword [rbx + 8]
lea r14, [rsp + 0x58]
movups xmmword [r14 + 8], xmm0
mov r12, qword [rbx + 0x18]
mov qword [r14], r15
mov qword [r14 + 0x18], r12
mov rcx, rbx
mov rdx, rdi
call fcn.14002cdd0
mov dword [rsp + 0x50], 4
cmp r12, 8
cmovae r14, r15
cmp qword [rbx + 0x18], 8
jb 0x14002e40f
mov rbx, qword [rsp + 0x80]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
mov rdx, rbx
mov r8, r14
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor edi, edi
test eax, eax
je 0x14002e458
cmp eax, 2
jne 0x14002e532
xor eax, eax
jmp 0x14002e461
mov eax, dword [rsp + 0x54]
bts rax, 0x20
mov qword [rsi], rax
mov dword [rsi + 8], edi
mov rax, qword [rsp + 0x98]
cmp rax, 8
jb 0x14002e4b5
mov rcx, qword [rsp + 0x80]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e4b0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e611
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055a14
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x14002e4fd
mov rcx, qword [rsp + 0x58]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002e4f8
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002e611
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055a14
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140056980
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r14
mov r8, rbx
call fcn.140059cf0
jmp 0x14002e3c1
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.RegistryGetValueDword
mov rcx, r15
mov edx, edi
mov r8, r12
mov r9d, 0x10d
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], 0x10d
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 0x14002e604
mov r14, rax
lea rax, [rsp + 0x78]
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
jmp 0x14002e454
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3