Function at 0x18001e3b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180066180]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r12, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x78], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
mov r13d, 1
mov r14d, r13d
mov dword [rsp + 0x30], r13d
mov byte [rbp - 0x70], r15b
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp - 0x6f]
call fcn.18002c930
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
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_RegOpenKeyExA]
test eax, eax
jne 0x18001e921
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x68], r15d
mov dword [rsp + 0x4c], 0x400
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.svcVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x18001e646
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, r13d
ja 0x18001e646
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x18001e4ed
cmp byte [rbp + rax - 0x71], r15b
je 0x18001e4f1
jmp 0x18001e646
mov byte [rbp - 0x70], 0
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x70]
test rax, 0xffffffffffff0000
jne 0x18001e548
movzx esi, cx
mov ecx, esi
call fcn.180002840
test rax, rax
je 0x18001e625
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800023e0
mov rbx, qword [rsp + 0x40]
jmp 0x18001e625
lea rax, [rbp - 0x70]
mov rsi, rdi
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x18001e550
test esi, esi
jne 0x18001e5b5
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x18001e625
cmp dword [rdx + 0x10], 0
jge 0x18001e591
cmp dword [rbx - 0xc], 0
jge 0x18001e585
mov ecx, 0x80070057
call fcn.180002bd0
int3
mov dword [rbx - 0x10], r15d
mov byte [rbx], 0
jmp 0x18001e625
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001e5a1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
jmp 0x18001e625
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x70]
sub r14, rbx
test esi, esi
jns 0x18001e5cf
mov ecx, 0x80070057
call fcn.180002bd0
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x18001e5ef
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.180002c50
mov rbx, qword [rsp + 0x40]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r15
movsxd r15, esi
mov r9, r15
ja 0x18001e60c
lea r8, [r14 + rbx]
call fcn.180029ae8
jmp 0x18001e615
lea r8, [rbp - 0x70]
call fcn.180028f24
cmp esi, dword [rbx - 0xc]
jg 0x18001e63b
mov dword [rbx - 0x10], esi
mov byte [r15 + rbx], 0
xor r15d, r15d
mov r14d, 3
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x18001e64b
mov sil, 1
jmp 0x18001e64e
mov ecx, 0x80070057
call fcn.180002bd0
nop
mov rbx, qword [rsp + 0x40]
xor sil, sil
test r14b, 2
je 0x18001e676
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001e671
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov r14d, dword [rsp + 0x30]
test sil, sil
je 0x18001e68e
lea rax, [rbp - 0x70]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x18001e680
jmp 0x18001e8f9
mov r8d, dword [0x180069c80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 2
jne 0x18001e6f8
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x63
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1800289f0
mov rcx, rax
call fcn.180028a24
mov dword [rsp + 0x48], 0x400
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18001e8ba
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x18001e8ba
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x18001e758
cmp byte [rbp + rax - 0x71], 0
je 0x18001e75c
jmp 0x18001e8ba
mov byte [rbp - 0x70], 0
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x70]
test rax, 0xffffffffffff0000
jne 0x18001e7b3
movzx esi, cx
mov ecx, esi
call fcn.180002840
test rax, rax
je 0x18001e89b
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800023e0
mov rbx, qword [rsp + 0x38]
jmp 0x18001e89b
lea rax, [rbp - 0x70]
mov rsi, rdi
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x18001e7c0
test esi, esi
jne 0x18001e82a
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x18001e89b
cmp dword [rdx + 0x10], 0
jge 0x18001e801
cmp dword [rbx - 0xc], 0
jge 0x18001e7f5
mov ecx, 0x80070057
call fcn.180002bd0
int3
mov dword [rbx - 0x10], r15d
mov byte [rbx], 0
jmp 0x18001e89b
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001e811
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
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 0x18001e89b
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x70]
sub r15, rbx
test esi, esi
jns 0x18001e844
mov ecx, 0x80070057
call fcn.180002bd0
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x18001e863
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.180002c50
mov rbx, qword [rsp + 0x38]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r15, r12
movsxd r12, esi
mov r9, r12
ja 0x18001e880
lea r8, [r15 + rbx]
call fcn.180029ae8
jmp 0x18001e889
lea r8, [rbp - 0x70]
call fcn.180028f24
cmp esi, dword [rbx - 0xc]
jg 0x18001e8af
mov dword [rbx - 0x10], esi
mov byte [r12 + rbx], 0
mov r12, qword [rsp + 0x78]
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x18001e8bf
mov sil, 1
jmp 0x18001e8c2
mov ecx, 0x80070057
call fcn.180002bd0
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r14b, 4
je 0x18001e8e5
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18001e8e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test sil, sil
je 0x18001e908
lea rax, [rbp - 0x70]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x18001e8f0
mov r8d, edi
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.180002020
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18001e921
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18001e931
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r12
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1800289d0
lea r11, [rsp + 0x4a0]
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