Function at 0x1400353e0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe0
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1400aa050]
xor rax, rsp
mov qword [rsp + 0xd8], rax
lea rsi, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movups xmm0, xmmword [rsi]
lea rax, [rsp + 0x90]
movaps xmmword [rax], xmm0
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0xa8]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9, r15
call fcn.14005aab0
cmp qword [rsi], 0
je 0x140035673
lea rsi, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x140035651
lea r14, [rsp + 0xd0]
add qword [r14], 0xf4240
lea rdx, [rsp + 0xc0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x140035651
lea rdx, [rsp + 0xc0]
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xb0]
lea rcx, [rsp + 0x60]
mov qword [rcx], rax
mov eax, dword [rsp + 0xb8]
mov dword [rcx + 8], eax
xor eax, eax
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x7c], eax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x140035535
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x140035535
mov eax, dword [rsp + 0xc0]
cmp eax, dword [rsp + 0xd0]
jne 0x140035535
mov eax, dword [rsp + 0xd4]
cmp dword [rsp + 0xc4], eax
je 0x1400355e9
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdx, str.Hash_is_too_close_to_expiration__sleeping_until_next_hash.
lea r8, str.SetUserChoice
mov r9d, 0x77
call fcn.14002cf00
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rsi, [rsp + 0xb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movups xmm0, xmmword [rsi]
lea rax, [rsp + 0x50]
movaps xmmword [rax], xmm0
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0xc0]
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9, r15
call fcn.14005aab0
mov rax, qword [rsi]
mov qword [rsi], 0
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rax
test rcx, rcx
je 0x1400355e4
call fcn.1400574f0
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], 0
test rcx, rcx
je 0x1400355dc
call fcn.1400574f0
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x140035651
lea rsi, [rsp + 0xc0]
mov rcx, rsi
mov rdx, rdi
call fcn.14005aa20
mov rdx, qword [rsi]
test rdx, rdx
je 0x140035651
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov r9d, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140035696
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.SetUserChoice
mov r9d, 0x8c
call fcn.14002cdf0
xor esi, esi
jmp 0x14003574d
xor esi, esi
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
test rcx, rcx
je 0x140035675
call fcn.1400574f0
jmp 0x140035675
xor esi, esi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140058610
mov eax, esi
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [rsp + 0xd0]
lea rdx, [0x1400a293c]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400356d6
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.SetUserChoice
mov r9d, 0x96
jmp 0x140035738
xor eax, eax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
lea rdx, [0x1400a293c]
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140035774
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.SetUserChoice
mov r9d, 0xa0
call fcn.14002cdf0
xor esi, esi
test rdi, rdi
je 0x14003574d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], 0
test rcx, rcx
je 0x140035653
call fcn.1400574f0
jmp 0x140035653
mov rbx, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, 2
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
lea rdx, str.ProgID
mov rcx, rbx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400357b5
mov r9d, 0xaa
jmp 0x1400357fc
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, 2
mov rcx, qword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea rdx, str.Hash
mov rcx, rbx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140035836
mov r9d, 0xb3
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.SetUserChoice
call fcn.14002cdf0
xor esi, esi
test rbx, rbx
je 0x14003573f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003573f
mov sil, 1
jmp 0x14003581f