Function at 0x14004f710
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7e8]
sub rsp, 0x8c0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r12, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x58], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
mov r13d, 1
mov dword [rsp + 0x30], r13d
mov word [rbp - 0x50], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x4e]
call fcn.1400d6ac0
mov ecx, dword [0x1401cbd80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
or rdi, 0xffffffffffffffff
cmp r8d, 3
jne 0x14004f825
mov rax, qword [str.IN3EPG2tItjkt]
mov qword [rbp - 0x80], rax
mov eax, dword [0x1401590f8]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1401590fc]
mov word [rbp - 0x74], ax
lea rax, [rbp - 0x80]
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14004f800
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1400d0cc8
mov rcx, rax
call fcn.1400d272c
mov rbx, r15
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 0x14004fd8d
mov dword [rsp + 0x70], r15d
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rsi
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.svcVe
test rdx, 0xffffffffffff0000
jne 0x14004f8c2
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14004f8d3
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400025b0
jmp 0x14004f8d3
mov r8d, 5
lea rcx, [rsp + 0x50]
call fcn.1400022c0
nop
lea r8, str.rsion
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14001c930
nop
mov dword [rsp + 0x4c], 0x800
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14004f956
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x14004f930
mov ebx, 0xd
jmp 0x14004f956
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14004f94e
test al, 1
jne 0x14004f947
shr rax, 1
cmp word [rbp + rax*2 - 0x52], 0
je 0x14004f953
mov ebx, 0xd
jmp 0x14004f956
mov word [rbp - 0x50], r15w
mov ebx, r15d
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004f96f
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 0x14004f988
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x14004faf4
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x50]
test rax, 0xffffffffffff0000
jne 0x14004f9e7
movzx esi, cx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x14004fad3
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400025b0
mov rbx, qword [rsp + 0x40]
jmp 0x14004fad3
lea rax, [rbp - 0x50]
mov rsi, rdi
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14004f9f0
test esi, esi
jne 0x14004fa57
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004fad3
cmp dword [rdx + 0x10], 0
jge 0x14004fa33
cmp dword [rbx - 0xc], 0
jge 0x14004fa26
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14004fad3
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004fa43
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 0x14004fad3
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x50]
sub r14, rbx
sar r14, 1
test esi, esi
jns 0x14004fa74
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 0x14004fa94
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400023b0
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 0x14004fab8
lea r8, [rbx + r14*2]
call fcn.1400d1ea4
jmp 0x14004fac1
lea r8, [rbp - 0x50]
call fcn.1400d2064
cmp esi, dword [rbx - 0xc]
jg 0x14004fae9
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 0x14004fafe
mov sil, 1
jmp 0x14004fb01
mov ecx, 0x80070057
call fcn.140001920
nop
mov rbx, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x30]
xor sil, sil
test r14b, 2
je 0x14004fb29
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004fb24
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rsp + 0x30]
test sil, sil
je 0x14004fb41
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004fb32
jmp 0x14004fd5a
mov dword [rsp + 0x48], 0x800
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x140156ca8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004fd1b
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
ja 0x14004fd1b
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14004fbad
test al, 1
jne 0x14004fd1b
shr rax, 1
cmp word [rbp + rax*2 - 0x52], 0
je 0x14004fbb2
jmp 0x14004fd1b
mov word [rbp - 0x50], r15w
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x50]
test rax, 0xffffffffffff0000
jne 0x14004fc09
movzx esi, cx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x14004fcfc
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400025b0
mov rbx, qword [rsp + 0x38]
jmp 0x14004fcfc
lea rax, [rbp - 0x50]
mov rsi, rdi
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14004fc10
test esi, esi
jne 0x14004fc7f
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004fcfc
cmp dword [rdx + 0x10], 0
jge 0x14004fc53
cmp dword [rbx - 0xc], 0
jge 0x14004fc46
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14004fcfc
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004fc63
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 0x14004fcfc
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x50]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x14004fc9c
mov ecx, 0x80070057
call fcn.140001920
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x14004fcbb
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.1400023b0
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 0x14004fcdf
lea r8, [rbx + r15*2]
call fcn.1400d1ea4
jmp 0x14004fce8
lea r8, [rbp - 0x50]
call fcn.1400d2064
cmp esi, dword [rbx - 0xc]
jg 0x14004fd10
mov dword [rbx - 0x10], esi
xor r15d, r15d
mov word [r12 + rbx], r15w
mov r12, qword [rbp - 0x70]
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x14004fd20
mov sil, 1
jmp 0x14004fd23
mov ecx, 0x80070057
call fcn.140001920
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r14b, 4
je 0x14004fd46
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004fd46
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x14004fd69
lea rax, [rbp - 0x50]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004fd50
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1400022c0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004fd83
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rsp + 0x68], rbx
jmp 0x14004fd88
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x70], r15d
test rbx, rbx
je 0x14004fda0
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 + 0x7b0]
xor rcx, rsp
call fcn.1400d1680
lea r11, [rsp + 0x8c0]
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