Function at 0x140042610
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140309918]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
mov byte [rbp - 0x80], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c8e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov r8d, 2
lea rdx, [0x1402ba110]
lea rcx, [rbp - 0x78]
call fcn.140002aa8
mov rbx, qword [rbp - 0x78]
mov r9, rbx
xor r8d, r8d
mov edx, 0x116ef
mov rcx, qword [r14]
call fcn.14001dce0
nop
lea rdx, [rbx - 0x18]
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400426b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edi, edi
mov qword [rbp], rdi
mov dword [rbp + 8], edi
mov qword [rbp + 0x10], rdi
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c78
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMozillaMozilla_Firefox
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140042770
mov rcx, qword [rsp + 0x70]
mov qword [rbp], rcx
mov dword [rbp + 8], edi
mov dword [rsp + 0x30], 0x64
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.CurrentVersion
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140042770
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x140042770
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400427be
test al, 1
jne 0x140042770
shr rax, 1
cmp word [rbp + rax*2 + 0x1e], di
je 0x1400427c2
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140042788
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x140042797
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1402113c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov word [rbp + 0x20], di
lea rcx, [rbp + 0x20]
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400427d0
mov r8d, eax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140002aa8
mov rbx, qword [rsp + 0x38]
cmp dword [rbx - 0x10], 0
jle 0x140042829
mov edx, 0x20
mov rcx, rbx
call fcn.140215a94
test rax, rax
je 0x140042829
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140042829
mov r8d, 0x64
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140035f10
mov rbx, qword [rsp + 0x38]
lea rdi, [rbx - 0x18]
mov rcx, rdi
call fcn.140002c68
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140002bd8
mov edx, 0x2c
lea rcx, [rsp + 0x58]
call fcn.14003eda0
mov rbx, qword [rsp + 0x58]
mov r9, rbx
xor r8d, r8d
mov edx, 0x1161b
mov rcx, qword [r14]
call fcn.14001dce0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400428ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400428cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x70], 1
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, 0x116ef
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042921
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140010210
test rax, rax
je 0x140042c83
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.Firefox
cmp rdx, 0x10000
jae 0x140042960
movzx edx, dx
lea rcx, [rsp + 0x48]
call fcn.140010ac0
jmp 0x14004297b
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140042963
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140002aa8
nop
mov rbx, qword [rsp + 0x48]
mov r9, rbx
mov r8d, dword [0x140318ca0]
mov edx, 0x116b9
mov rcx, qword [r14]
call fcn.14001dce0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400429b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call fcn.140002c68
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov edi, dword [0x140318ca0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140002bd8
mov edx, 0x2c
lea rcx, [rsp + 0x68]
call fcn.14003eda0
mov rbx, qword [rsp + 0x68]
mov r9, rbx
mov r8d, edi
mov edx, 0x116b8
mov rcx, qword [r14]
call fcn.14001dce0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042a38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042a56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x60], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea r9, [rbp - 0x60]
mov r8d, dword [0x140318ca0]
mov edx, 0x1177b
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042aaf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x50], 1
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea r9, [rbp - 0x50]
mov r8d, dword [0x140318ca0]
mov edx, 0x1177e
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042b08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x40], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x40]
mov r8d, dword [0x140318ca0]
mov edx, 0x1177c
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042b61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x30], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea r9, [rbp - 0x30]
mov r8d, dword [0x140318ca0]
mov edx, 0x11780
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042bba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x20], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea r9, [rbp - 0x20]
mov r8d, dword [0x140318ca0]
mov edx, 0x1177f
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042c13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x10], 0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140042c83
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 8], rax
lea r9, [rbp - 0x10]
mov r8d, dword [0x140318ca0]
mov edx, 0x1177d
mov rcx, r14
call fcn.14006dcc0
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042c68
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc dword [0x140318ca0]
mov rbx, qword [rsp + 0x38]
jmp 0x140042770
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
int3