Function at 0x140017450
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 [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400625e0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r12, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x80], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
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.14002b2f0
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
mov r9d, r13d
lea r8, str.SOFTWAREWow6432NodeMicrosoftInternet_Explorer
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.1400028e0
test eax, eax
jne 0x140017941
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 + 0x54]
xor r8d, r8d
lea rdx, str.svcVersion
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x1400176d6
mov eax, dword [rsp + 0x54]
dec eax
cmp eax, r13d
ja 0x1400176d6
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140017576
cmp byte [rbp + rax - 0x71], r15b
je 0x14001757a
jmp 0x1400176d6
mov byte [rbp - 0x70], 0
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
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 0x1400175d3
movzx esi, cx
xor edx, edx
mov ecx, esi
call fcn.1400017a0
test rax, rax
je 0x1400176b5
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002140
mov rbx, qword [rsp + 0x38]
jmp 0x1400176b5
lea rax, [rbp - 0x70]
mov rsi, rdi
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400175e0
test esi, esi
jne 0x140017645
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400176b5
cmp dword [rdx + 0x10], 0
jge 0x140017621
cmp dword [rbx - 0xc], 0
jge 0x140017615
mov ecx, 0x80070057
call fcn.140001850
int3
mov dword [rbx - 0x10], r15d
mov byte [rbx], 0
jmp 0x1400176b5
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017631
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
jmp 0x1400176b5
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x70]
sub r14, rbx
test esi, esi
jns 0x14001765f
mov ecx, 0x80070057
call fcn.140001850
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14001767f
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.1400029e0
mov rbx, qword [rsp + 0x38]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r15
movsxd r15, esi
mov r9, r15
ja 0x14001769c
lea r8, [r14 + rbx]
call fcn.1400296b4
jmp 0x1400176a5
lea r8, [rbp - 0x70]
call fcn.140029610
cmp esi, dword [rbx - 0xc]
jg 0x1400176cb
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 0x1400176db
mov sil, 1
jmp 0x1400176de
mov ecx, 0x80070057
call fcn.140001850
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r14b, 2
je 0x140017706
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017701
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rsp + 0x30]
test sil, sil
je 0x14001771e
lea rax, [rbp - 0x70]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140017710
jmp 0x140017919
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 + 0x50]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400178dc
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
ja 0x1400178dc
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14001777e
cmp byte [rbp + rax - 0x71], 0
je 0x140017782
jmp 0x1400178dc
mov byte [rbp - 0x70], 0
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
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 0x1400177db
movzx esi, cx
xor edx, edx
mov ecx, esi
call fcn.1400017a0
test rax, rax
je 0x1400178bd
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002140
mov rbx, qword [rsp + 0x40]
jmp 0x1400178bd
lea rax, [rbp - 0x70]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400177e2
test esi, esi
jne 0x14001784c
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400178bd
cmp dword [rdx + 0x10], 0
jge 0x140017823
cmp dword [rbx - 0xc], 0
jge 0x140017817
mov ecx, 0x80070057
call fcn.140001850
int3
mov dword [rbx - 0x10], r15d
mov byte [rbx], 0
jmp 0x1400178bd
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017833
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
mov r14d, dword [rsp + 0x30]
jmp 0x1400178bd
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x70]
sub r15, rbx
test esi, esi
jns 0x140017866
mov ecx, 0x80070057
call fcn.140001850
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x140017885
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400029e0
mov rbx, qword [rsp + 0x40]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r15, r12
movsxd r12, esi
mov r9, r12
ja 0x1400178a2
lea r8, [r15 + rbx]
call fcn.1400296b4
jmp 0x1400178ab
lea r8, [rbp - 0x70]
call fcn.140029610
cmp esi, dword [rbx - 0xc]
jg 0x1400178d1
mov dword [rbx - 0x10], esi
mov byte [r12 + rbx], 0
mov r12, qword [rsp + 0x70]
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x1400178e1
mov sil, 1
jmp 0x1400178e4
mov ecx, 0x80070057
call fcn.140001850
nop
mov rbx, qword [rsp + 0x40]
xor sil, sil
test r14b, 4
je 0x140017907
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017907
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140017928
lea rax, [rbp - 0x70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140017910
mov r8d, edi
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140002fd0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017941
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017951
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r12
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14002b2c0
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