Function at 0x14004c030
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x9b8]
sub rsp, 0xa90
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401bce90]
xor rax, rsp
mov qword [rbp + 0x980], rax
mov r12, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x68], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
mov r13d, 1
mov dword [rsp + 0x30], r13d
mov word [rbp + 0x180], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x182]
call fcn.1400d3710
mov ebx, r14d
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x78], r14
mov eax, dword [0x1401c4d60]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 0x10
jne 0x14004c111
lea ecx, [r14 + 4]
call fcn.1400cea88
mov rcx, rax
mov eax, dword [0x1401c4d60]
mov dword [rcx], eax
mov qword [rsp + 0x58], r14
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 0x14004c7d6
mov dword [rsp + 0x70], r14d
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.svcVe
test rdx, 0xffffffffffff0000
jne 0x14004c19c
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14004c1ad
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400025a0
jmp 0x14004c1ad
mov r8d, 5
lea rcx, [rsp + 0x50]
call fcn.1400022b0
nop
lea r8, str.rsion
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.14001a720
nop
mov dword [rsp + 0x4c], 0x800
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x180]
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 0x14004c239
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
jbe 0x14004c20d
mov ebx, 0xd
jmp 0x14004c239
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14004c22e
test al, 1
jne 0x14004c227
shr rax, 1
cmp word [rbp + rax*2 + 0x17e], 0
je 0x14004c236
mov ebx, 0xd
jmp 0x14004c239
mov word [rbp + 0x180], r14w
mov ebx, r14d
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
lock add dword [rdx + 0x10], edi
jg 0x14004c255
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 0x14004c26e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x14004c3eb
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp + 0x180]
lea rax, [rbp + 0x180]
test rax, 0xffffffffffff0000
jne 0x14004c2d3
movzx esi, cx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x14004c3ca
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400025a0
mov rbx, qword [rsp + 0x40]
jmp 0x14004c3ca
lea rax, [rbp + 0x180]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14004c2e0
test esi, esi
jne 0x14004c34a
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004c3ca
cmp dword [rdx + 0x10], 0
jge 0x14004c323
cmp dword [rbx - 0xc], 0
jge 0x14004c316
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14004c3ca
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004c333
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 0x14004c3ca
mov r15d, dword [rbx - 0x10]
lea r14, [rbp + 0x180]
sub r14, rbx
sar r14, 1
test esi, esi
jns 0x14004c36a
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 0x14004c38a
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400023a0
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 0x14004c3ae
lea r8, [rbx + r14*2]
call fcn.1400ceaf4
jmp 0x14004c3ba
lea r8, [rbp + 0x180]
call fcn.1400cebf0
cmp esi, dword [rbx - 0xc]
jg 0x14004c3e0
mov dword [rbx - 0x10], esi
xor r14d, r14d
mov word [r15 + rbx], r14w
mov r15d, 3
mov dword [rsp + 0x30], r15d
cmp dword [rbx - 0x10], 0
je 0x14004c3f5
mov sil, 1
jmp 0x14004c3f8
mov ecx, 0x80070057
call fcn.140001920
nop
mov rbx, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x30]
xor sil, sil
test r15b, 2
je 0x14004c420
and r15d, 0xfffffffd
mov dword [rsp + 0x30], r15d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004c41b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15d, dword [rsp + 0x30]
test sil, sil
je 0x14004c43f
lea rax, [rbp + 0x180]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004c430
jmp 0x14004c79a
mov r8d, dword [0x1401c4d60]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0x17
jne 0x14004c4d0
mov esi, r14d
lea r14, [rbp - 0x60]
nop word [rax + rax]
xor r9d, r9d
lea ebx, [r9 + 1]
lea ecx, [rsi + 1]
mov eax, r8d
cdq
idiv ecx
mov ecx, edx
mov eax, r8d
sub eax, esi
imul ecx, eax
mov eax, r8d
cdq
idiv ebx
add ecx, eax
sub ecx, r9d
mov dword [r14], ecx
mov edx, ecx
lea rcx, [0x14014d9a0]
call fcn.1400cf1dc
mov r9d, ebx
add r14, 4
mov r8d, dword [0x1401c4d60]
cmp ebx, 8
jl 0x14004c483
inc esi
cmp esi, 0xf
jl 0x14004c480
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
xor r14d, r14d
cmp ecx, 1
jne 0x14004c51b
mov ecx, r14d
test r8d, r8d
je 0x14004c515
nop dword [rax]
mov eax, r8d
and eax, 1
add ecx, eax
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
jne 0x14004c500
mov dword [0x1401c4d60], ecx
mov dword [rsp + 0x48], 0x800
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, [0x1401501f0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14004c597
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x14004c56b
mov ebx, 0xd
jmp 0x14004c597
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14004c58c
test al, 1
jne 0x14004c585
shr rax, 1
cmp word [rbp + rax*2 + 0x17e], 0
je 0x14004c594
mov ebx, 0xd
jmp 0x14004c597
mov word [rbp + 0x180], r14w
mov ebx, r14d
mov eax, dword [0x1401c4d60]
lea r8d, [rax + 1]
imul r8d, eax
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 7
jne 0x14004c5cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
test ebx, ebx
jne 0x14004c750
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp + 0x180]
lea rax, [rbp + 0x180]
test rax, 0xffffffffffff0000
jne 0x14004c630
movzx esi, cx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x14004c731
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400025a0
mov rbx, qword [rsp + 0x38]
jmp 0x14004c731
lea rax, [rbp + 0x180]
mov rsi, rdi
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14004c640
test esi, esi
jne 0x14004c6af
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004c731
cmp dword [rdx + 0x10], 0
jge 0x14004c683
cmp dword [rbx - 0xc], 0
jge 0x14004c676
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14004c731
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004c693
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 r15d, dword [rsp + 0x30]
jmp 0x14004c731
mov r12d, dword [rbx - 0x10]
lea r14, [rbp + 0x180]
sub r14, rbx
sar r14, 1
test esi, esi
jns 0x14004c6cf
mov ecx, 0x80070057
call fcn.140001920
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x14004c6ee
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.1400023a0
mov rbx, qword [rsp + 0x38]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14004c712
lea r8, [rbx + r14*2]
call fcn.1400ceaf4
jmp 0x14004c71e
lea r8, [rbp + 0x180]
call fcn.1400cebf0
cmp esi, dword [rbx - 0xc]
jg 0x14004c745
mov dword [rbx - 0x10], esi
xor eax, eax
mov word [r12 + rbx], ax
mov r12, qword [rbp - 0x80]
or r15d, 4
mov dword [rsp + 0x30], r15d
cmp dword [rbx - 0x10], 0
je 0x14004c755
mov sil, 1
jmp 0x14004c758
mov ecx, 0x80070057
call fcn.140001920
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r15b, 4
je 0x14004c77b
and r15d, 0xfffffffb
mov dword [rsp + 0x30], r15d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004c77b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x14004c7ac
lea rax, [rbp + 0x180]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004c790
mov r8d, edi
lea rdx, [rbp + 0x180]
mov rcx, r12
call fcn.1400022b0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004c7c9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r14d, r14d
mov ebx, r14d
mov qword [rsp + 0x68], rbx
jmp 0x14004c7d1
mov rbx, qword [rsp + 0x68]
xor r14d, r14d
mov dword [rsp + 0x70], r14d
test rbx, rbx
je 0x14004c7e9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x70], r14d
mov rax, r12
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.1400ce2d0
lea r11, [rsp + 0xa90]
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