Function at 0x1400420c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14030a918]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
mov byte [rsp + 0x78], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427c7
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov r8d, 2
lea rdx, [0x1402bb110]
lea rcx, [rbp - 0x80]
call fcn.140002aa8
mov rbx, qword [rbp - 0x80]
mov r9, rbx
xor r8d, r8d
mov edx, 0x116f0
mov rcx, qword [rsi]
call fcn.14001dce0
nop
lea rdx, [rbx - 0x18]
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042163
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r14d, r14d
mov ebx, r14d
mov dword [rbp], r14d
mov qword [rbp + 8], r14
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004226c
mov rbx, qword [rsp + 0x68]
mov qword [rbp - 8], rbx
mov dword [rbp], r14d
mov dword [rsp + 0x30], 0x64
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.svcVersion
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140042213
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x140042213
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400422a1
test al, 1
jne 0x140042213
shr rax, 1
cmp word [rbp + rax*2 + 0xe], r14w
je 0x1400422a6
mov dword [rsp + 0x34], 0x64
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, [0x1402c05e8]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004226c
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x14004226c
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x1400422a1
test al, 1
jne 0x14004226c
shr rax, 1
cmp word [rbp + rax*2 + 0xe], 0
je 0x1400422a6
test rbx, rbx
je 0x14004227a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1402117c0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov word [rbp + 0x10], r14w
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
call fcn.140010210
test rax, rax
je 0x1400427bc
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x10]
cmp rax, 0x10000
jae 0x1400422ef
lea rax, [rbp + 0x10]
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.140010ac0
jmp 0x140042312
lea rcx, [rbp + 0x10]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400422f6
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140002aa8
nop
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427bc
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140002bd8
mov edx, 0x2c
lea rcx, [rsp + 0x40]
call fcn.14003ef70
mov r9, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x1160c
mov rcx, qword [rsi]
call fcn.14001dce0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042384
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400423a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x78], 1
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov edx, 0x116f0
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400423f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140010210
test rax, rax
je 0x1400427b1
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.Internet_Explorer
cmp rdx, 0x10000
jae 0x140042436
movzx edx, dx
lea rcx, [rsp + 0x60]
call fcn.140010ac0
jmp 0x140042458
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140042440
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.140002aa8
nop
mov rbx, qword [rsp + 0x60]
mov r9, rbx
mov r8d, dword [0x140319ca0]
mov edx, 0x116b9
mov rcx, qword [rsi]
call fcn.14001dce0
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004248e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x70], rax
call fcn.140010210
test rax, rax
je 0x1400427d2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
cmp rax, 0x10000
jae 0x1400424d7
lea rax, [rbp + 0x10]
movzx edx, ax
lea rcx, [rsp + 0x48]
call fcn.140010ac0
jmp 0x1400424fc
lea rcx, [rbp + 0x10]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400424e0
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140002aa8
nop
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427d2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov ebx, dword [0x140319ca0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140002bd8
mov edx, 0x2c
lea rcx, [rsp + 0x50]
call fcn.14003ef70
mov r9, qword [rsp + 0x50]
mov r8d, ebx
mov edx, 0x116b8
mov rcx, qword [rsi]
call fcn.14001dce0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042574
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042592
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x68], 1
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
lea r9, [rbp - 0x68]
mov r8d, dword [0x140319ca0]
mov edx, 0x1177b
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400425eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x58], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x50], rax
lea r9, [rbp - 0x58]
mov r8d, dword [0x140319ca0]
mov edx, 0x1177e
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042644
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x48], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x48]
mov r8d, dword [0x140319ca0]
mov edx, 0x1177c
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004269d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x38], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x38]
mov r8d, dword [0x140319ca0]
mov edx, 0x11780
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400426f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x28], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x28]
mov r8d, dword [0x140319ca0]
mov edx, 0x1177f
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004274f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x18], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400427b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x10], rax
lea r9, [rbp - 0x18]
mov r8d, dword [0x140319ca0]
mov edx, 0x1177d
mov rcx, rsi
call fcn.14006e0c0
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400427a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc dword [0x140319ca0]
mov rbx, qword [rbp - 8]
jmp 0x14004226c
mov ecx, 0x80004005
call fcn.140002d2c
int3
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
int3