Function at 0x140045c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7d8]
sub rsp, 0x8b0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r12, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
mov r13d, 1
mov dword [rsp + 0x30], r13d
mov word [rbp - 0x60], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x5e]
call fcn.1400c8db0
mov ebx, r15d
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400461fd
mov dword [rsp + 0x70], r15d
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.svcVe
test rdx, 0xffffffffffff0000
jne 0x140045d29
movzx ebx, dx
mov ecx, ebx
call fcn.1400019f0
test rax, rax
je 0x140045d3a
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002530
jmp 0x140045d3a
mov r8d, 5
lea rcx, [rsp + 0x50]
call fcn.140002240
nop
lea r8, str.rsion
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.140019610
nop
mov dword [rsp + 0x4c], 0x800
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140045dbd
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
jbe 0x140045d97
mov ebx, 0xd
jmp 0x140045dbd
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x140045db5
test al, 1
jne 0x140045dae
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x140045dba
mov ebx, 0xd
jmp 0x140045dbd
mov word [rbp - 0x60], r15w
mov ebx, r15d
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
lock add dword [rdx + 0x10], edi
jg 0x140045dd9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045df2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x140045f64
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x60]
test rax, 0xffffffffffff0000
jne 0x140045e51
movzx esi, cx
mov ecx, esi
call fcn.1400019f0
test rax, rax
je 0x140045f43
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002530
mov rbx, qword [rsp + 0x40]
jmp 0x140045f43
lea rax, [rbp - 0x60]
mov rsi, rdi
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140045e60
test esi, esi
jne 0x140045ec7
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140045f43
cmp dword [rdx + 0x10], 0
jge 0x140045ea3
cmp dword [rbx - 0xc], 0
jge 0x140045e96
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x140045f43
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045eb3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
jmp 0x140045f43
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x60]
sub r14, rbx
sar r14, 1
test esi, esi
jns 0x140045ee4
mov ecx, 0x80070057
call fcn.140001930
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x140045f04
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140002330
mov rbx, qword [rsp + 0x40]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x140045f28
lea r8, [rbx + r14*2]
call fcn.1400c419c
jmp 0x140045f31
lea r8, [rbp - 0x60]
call fcn.1400c4298
cmp esi, dword [rbx - 0xc]
jg 0x140045f59
mov dword [rbx - 0x10], esi
xor eax, eax
mov word [r15 + rbx], ax
xor r15d, r15d
mov r14d, 3
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x140045f6e
mov sil, 1
jmp 0x140045f71
mov ecx, 0x80070057
call fcn.140001930
nop
mov rbx, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x30]
xor sil, sil
test r14b, 2
je 0x140045f99
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045f94
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rsp + 0x30]
test sil, sil
je 0x140045fb1
lea rax, [rbp - 0x60]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140045fa2
jmp 0x1400461ca
mov dword [rsp + 0x48], 0x800
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, [0x140136078]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004618b
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
ja 0x14004618b
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14004601d
test al, 1
jne 0x14004618b
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x140046022
jmp 0x14004618b
mov word [rbp - 0x60], r15w
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x60]
test rax, 0xffffffffffff0000
jne 0x140046079
movzx esi, cx
mov ecx, esi
call fcn.1400019f0
test rax, rax
je 0x14004616c
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002530
mov rbx, qword [rsp + 0x38]
jmp 0x14004616c
lea rax, [rbp - 0x60]
mov rsi, rdi
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140046080
test esi, esi
jne 0x1400460ef
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004616c
cmp dword [rdx + 0x10], 0
jge 0x1400460c3
cmp dword [rbx - 0xc], 0
jge 0x1400460b6
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14004616c
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400460d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov r14d, dword [rsp + 0x30]
jmp 0x14004616c
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x60]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x14004610c
mov ecx, 0x80070057
call fcn.140001930
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x14004612b
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140002330
mov rbx, qword [rsp + 0x38]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14004614f
lea r8, [rbx + r15*2]
call fcn.1400c419c
jmp 0x140046158
lea r8, [rbp - 0x60]
call fcn.1400c4298
cmp esi, dword [rbx - 0xc]
jg 0x140046180
mov dword [rbx - 0x10], esi
xor r15d, r15d
mov word [r12 + rbx], r15w
mov r12, qword [rbp - 0x80]
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x140046190
mov sil, 1
jmp 0x140046193
mov ecx, 0x80070057
call fcn.140001930
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r14b, 4
je 0x1400461b6
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400461b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x1400461d9
lea rax, [rbp - 0x60]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400461c0
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.140002240
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400461f3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rsp + 0x68], rbx
jmp 0x1400461f8
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x70], r15d
test rbx, rbx
je 0x140046210
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r15d
mov rax, r12
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400c3970
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret