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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x560
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14d, edx
xor r15d, r15d
mov esi, r15d
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea r12d, [r15 + 1]
mov r9d, r12d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rbx, 0xffffffff80000002
mov rcx, rbx
call fcn.140007c08
mov r9d, r12d
mov r8d, r12d
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140007c08
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140007717
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rsp + 0x58], r15
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000772d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [rsp + 0x20], 0xa
mov r9d, 0x32
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea ecx, [r9 - 0x22]
call fcn.14000df0c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rdx, [0x140048430]
mov rdi, 0xffffffff80000000
mov rcx, rdi
call fcn.14000e42c
test eax, eax
jne 0x140007a67
nop dword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, str.42042206_2D85_11D3_8CFF_005004838597
mov rcx, qword [rbp - 0x78]
call fcn.14000e42c
test eax, eax
jne 0x140007a67
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rdx, str.Version
mov rcx, qword [rsp + 0x78]
call fcn.14000e42c
test eax, eax
jne 0x140007a67
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.14000e42c
test eax, eax
jne 0x140007a67
lea r8d, [rax + 2]
lea rcx, [rbp + 0x240]
call fcn.14000bdb8
test eax, eax
je 0x140007a67
lea rax, [rbp + 0x240]
mov ecx, r15d
cmp word [rbp + 0x240], r15w
je 0x14000783c
lea rax, [rax + 2]
add ecx, r12d
cmp word [rax], r15w
jne 0x14000782f
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x240]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140007a67
mov ebx, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov dword [rbp - 0x80], 0x208
lea rax, str..mht
lea rdx, str..htm
test ebx, ebx
cmovne rdx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov rcx, rdi
call fcn.14000e39c
test eax, eax
je 0x1400078e2
lea rax, str..mhtml
lea rdx, str..html
test ebx, ebx
cmovne rdx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov rcx, rdi
call fcn.14000e39c
test eax, eax
jne 0x140007a40
movzx eax, byte [rbp + 0x30]
cmp dword [rbp - 0x7c], r12d
cmove eax, r15d
mov byte [rbp + 0x30], al
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x7c]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007a40
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rbp - 0x70], rax
lea rax, str.Param
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x60], rax
mov word [rbp - 0x58], r15w
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, str.Got_HTML_browser_ID:
mov qword [rsp + 0x20], rax
mov edx, 0x851
mov ecx, 0x170b00f
mov r8d, 0x64
call fcn.14000262c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.14000e42c
test eax, eax
jne 0x140007a40
mov edx, ebx
lea rcx, [rbp + 0x30]
call fcn.14000b9f4
mov dword [rsp + 0x20], r14d
lea r8, [0x140047ad0]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call fcn.140008114
mov dword [rsp + 0x20], r14d
lea r8, [0x140047ac0]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call fcn.140008114
lea r8, [rbp + 0x30]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call fcn.140008da8
mov edi, r15d
nop dword [rax]
nop word [rax + rax]
mov edx, ebx
mov ecx, edi
call fcn.14000955c
add edi, r12d
cmp edi, 9
jb 0x1400079f0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007a12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140007a28
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add ebx, r12d
cmp ebx, r12d
mov rdi, 0xffffffff80000000
jle 0x14000786d
mov esi, r12d
jmp 0x140007a67
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007a51
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
mov qword [rsp + 0x50], r15
je 0x140007a67
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140007a78
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rsp + 0x68], r15
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140007a8e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rsp + 0x70], r15
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140007aa4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rsp + 0x78], r15
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140007ab9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, esi
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret