Function at 0x1400537b0
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 [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r12, rcx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
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.1400dc6e0
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 0x140053e1a
mov dword [rsp + 0x70], r15d
mov r14, qword [rsp + 0x58]
mov qword [rsp + 0x68], r14
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea r8, str.svcVe
test r8, 0xffffffffffff0000
jne 0x1400538de
movzx ebx, r8w
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140053950
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002a60
jmp 0x140053950
mov esi, dword [rbx - 0x10]
mov rdi, r8
sub rdi, rbx
sar rdi, 1
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 5
or eax, ecx
jge 0x140053915
mov edx, 5
lea rcx, [rsp + 0x48]
call fcn.140002860
mov rbx, qword [rsp + 0x48]
lea r8, str.svcVe
movsxd rdx, dword [rbx - 0xc]
mov r9d, 0xa
mov rcx, rbx
add rdx, rdx
cmp rdi, rsi
ja 0x140053935
lea r8, [rbx + rdi*2]
call fcn.1400d7ac4
jmp 0x14005393a
call fcn.1400d7bc0
cmp dword [rbx - 0xc], 5
jl 0x140053e0f
mov dword [rbx - 0x10], 5
mov word [rbx + 0xa], r15w
lea r8, str.rsion
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.14001c2d0
nop
mov dword [rsp + 0x54], 0x800
lea rcx, [rsp + 0x54]
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, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400539d3
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
jbe 0x1400539ad
mov ebx, 0xd
jmp 0x1400539d3
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x1400539cb
test al, 1
jne 0x1400539c4
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x1400539d0
mov ebx, 0xd
jmp 0x1400539d3
mov word [rbp - 0x60], r15w
mov ebx, r15d
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
lock add dword [rdx + 0x10], edi
jg 0x1400539ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140053a08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x140053b74
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
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 0x140053a67
movzx esi, cx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x140053b53
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002a60
mov rbx, qword [rsp + 0x40]
jmp 0x140053b53
lea rax, [rbp - 0x60]
mov rsi, rdi
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140053a70
test esi, esi
jne 0x140053ad7
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140053b53
cmp dword [rdx + 0x10], 0
jge 0x140053ab3
cmp dword [rbx - 0xc], 0
jge 0x140053aa6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x140053b53
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140053ac3
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 0x140053b53
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x60]
sub r14, rbx
sar r14, 1
test esi, esi
jns 0x140053af4
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x140053b14
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140002860
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 0x140053b38
lea r8, [rbx + r14*2]
call fcn.1400d7ac4
jmp 0x140053b41
lea r8, [rbp - 0x60]
call fcn.1400d7bc0
cmp esi, dword [rbx - 0xc]
jg 0x140053b69
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 0x140053b7e
mov sil, 1
jmp 0x140053b81
mov ecx, 0x80070057
call fcn.140001920
nop
mov rbx, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x30]
xor sil, sil
test r14b, 2
je 0x140053ba9
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140053ba4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rsp + 0x30]
test sil, sil
je 0x140053bc1
lea rax, [rbp - 0x60]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140053bb2
jmp 0x140053dda
mov dword [rsp + 0x50], 0x800
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, [0x140165f40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140053d9b
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
ja 0x140053d9b
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140053c2d
test al, 1
jne 0x140053d9b
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x140053c32
jmp 0x140053d9b
mov word [rbp - 0x60], r15w
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
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 0x140053c89
movzx esi, cx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x140053d7c
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002a60
mov rbx, qword [rsp + 0x38]
jmp 0x140053d7c
lea rax, [rbp - 0x60]
mov rsi, rdi
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140053c90
test esi, esi
jne 0x140053cff
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140053d7c
cmp dword [rdx + 0x10], 0
jge 0x140053cd3
cmp dword [rbx - 0xc], 0
jge 0x140053cc6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x140053d7c
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140053ce3
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 0x140053d7c
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x60]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x140053d1c
mov ecx, 0x80070057
call fcn.140001920
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x140053d3b
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140002860
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 0x140053d5f
lea r8, [rbx + r15*2]
call fcn.1400d7ac4
jmp 0x140053d68
lea r8, [rbp - 0x60]
call fcn.1400d7bc0
cmp esi, dword [rbx - 0xc]
jg 0x140053d90
mov dword [rbx - 0x10], esi
xor r15d, r15d
mov word [r12 + rbx], r15w
mov r12, qword [rbp - 0x78]
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x140053da0
mov sil, 1
jmp 0x140053da3
mov ecx, 0x80070057
call fcn.140001920
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r14b, 4
je 0x140053dc6
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140053dc6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140053de9
lea rax, [rbp - 0x60]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140053dd0
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.140002770
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140053e03
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rsp + 0x68], rbx
jmp 0x140053e08
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x70], r15d
jmp 0x140053e1a
mov ecx, 0x80070057
call fcn.140001920
nop
test rbx, rbx
je 0x140053e2d
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.1400d72a0
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