Function at 0x140030e00
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, 0xc8
mov rsi, rcx
mov rax, qword [0x1400ab080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.1400305e0
mov eax, dword [rdi + 0x20]
test eax, eax
je 0x140030e6e
mov word [rsi], 0
mov dword [rsi + 4], eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140057bf0
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
xor edi, edi
lea rbx, [rsp + 0x50]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], 0
lea r9, str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov edx, 0x2e
mov rcx, rbx
call fcn.14005ab20
mov dword [rsp + 0x48], 4
cmp qword [rsp + 0x88], 8
jb 0x140030ed4
mov r8, qword [rsp + 0x70]
jmp 0x140030ed9
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x68], 8
jb 0x140030ee6
mov rbx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000001
mov rdx, rbx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140031021
mov ecx, 0
cmp eax, 2
je 0x140031031
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.RegistryGetValueBool
mov rcx, r15
mov edx, edi
mov r8, r12
mov r9d, 0x99
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], 0x99
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 0x140031015
mov r14, rax
lea rax, [rsp + 0xb8]
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
xor ecx, ecx
jmp 0x140031031
xor ecx, ecx
cmp dword [rsp + 0x4c], 0
setne cl
or ecx, 0x100
mov word [rsi], cx
mov dword [rsi + 4], edi
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x14003107b
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140031076
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400310cb
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x140030e47
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400310c1
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400310cb
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140056c84
jmp 0x140030e47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3