Function at 0x140003490
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor esi, esi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
lea r9, str.SOFTWAREMicrosoftEdgeExtensions
lea edx, [rsi + 0x22]
lea rcx, [rbp - 0x60]
call fcn.140005140
nop
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], 5
movsd xmm0, qword [str.r4v3n]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140007720]
mov word [rsp + 0x48], ax
mov word [rsp + 0x4a], si
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], 4
movabs rax, 0x5300300041004b
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], si
mov edi, esi
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003714
mov dword [rsp + 0x38], 0x200
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
test eax, eax
jne 0x140003679
lea rax, [rbp - 0x40]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], si
jne 0x1400035e0
lea rcx, [rbp - 0x80]
cmp rdx, 7
ja 0x14000360e
mov qword [rbp - 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx - 0x80], si
jmp 0x140003617
lea r9, [rbp - 0x40]
call fcn.140005140
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x140003679
lea rcx, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 8
cmovae rcx, r9
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
cmp rdx, qword [rsp + 0x70]
jne 0x14000366a
test rdx, rdx
je 0x1400036c5
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14000366a
add rcx, 2
sub rdx, 1
jne 0x140003654
jmp 0x1400036c5
lea rcx, [rsp + 0x60]
cmp r10, 8
cmovae rcx, r9
jmp 0x14000368a
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x70]
lea eax, [rax*2 + 2]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
mov dword [rsp + 0x28], eax
mov edi, 1
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, edi
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140003714
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000370e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000370e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140003759
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400037b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140003807
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003802
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d08
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400057c0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret