Function at 0x140044aa0
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 [0x14030b930]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
mov byte [rbp - 0x80], 0
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x14004511e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov r8d, 2
lea rdx, [0x1402bbfc0]
lea rcx, [rbp - 0x78]
call fcn.140002a88
mov rbx, qword [rbp - 0x78]
mov r9, rbx
xor r8d, r8d
mov edx, 0x116ef
mov rcx, qword [r14]
call fcn.14001db50
nop
lea rdx, [rbx - 0x18]
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044b42
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.140010400
mov rcx, rax
test rax, rax
je 0x140045108
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 0x140044c00
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 0x140044c00
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x140044c00
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140044c4e
test al, 1
jne 0x140044c00
shr rax, 1
cmp word [rbp + rax*2 + 0x1e], di
je 0x140044c52
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140044c18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x140044c27
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140212a70
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 0x140044c60
mov r8d, eax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140002a88
mov rbx, qword [rsp + 0x38]
cmp dword [rbx - 0x10], 0
jle 0x140044cb9
mov edx, 0x20
mov rcx, rbx
call fcn.140217120
test rax, rax
je 0x140044cb9
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140044cb9
mov r8d, 0x64
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140038e10
mov rbx, qword [rsp + 0x38]
lea rdi, [rbx - 0x18]
mov rcx, rdi
call fcn.140002c44
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
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.140002bb4
mov edx, 0x2c
lea rcx, [rsp + 0x58]
call fcn.14006a700
mov rbx, qword [rsp + 0x58]
mov r9, rbx
xor r8d, r8d
mov edx, 0x1161b
mov rcx, qword [r14]
call fcn.14001db50
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044d3e
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 0x140044d5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x70], 1
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
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.1400713c0
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044db1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140010400
test rax, rax
je 0x140045113
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 0x140044df0
movzx edx, dx
lea rcx, [rsp + 0x48]
call fcn.140010c90
jmp 0x140044e0b
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140044df3
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140002a88
nop
mov rbx, qword [rsp + 0x48]
mov r9, rbx
mov r8d, dword [0x14031ac60]
mov edx, 0x116b9
mov rcx, qword [r14]
call fcn.14001db50
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044e41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call fcn.140002c44
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov edi, dword [0x14031ac60]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140002bb4
mov edx, 0x2c
lea rcx, [rsp + 0x68]
call fcn.14006a700
mov rbx, qword [rsp + 0x68]
mov r9, rbx
mov r8d, edi
mov edx, 0x116b8
mov rcx, qword [r14]
call fcn.14001db50
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044ec8
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 0x140044ee6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x60], 0
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea r9, [rbp - 0x60]
mov r8d, dword [0x14031ac60]
mov edx, 0x1177b
mov rcx, r14
call fcn.1400713c0
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044f3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x50], 1
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea r9, [rbp - 0x50]
mov r8d, dword [0x14031ac60]
mov edx, 0x1177e
mov rcx, r14
call fcn.1400713c0
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044f98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x40], 0
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x40]
mov r8d, dword [0x14031ac60]
mov edx, 0x1177c
mov rcx, r14
call fcn.1400713c0
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044ff1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x30], 0
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea r9, [rbp - 0x30]
mov r8d, dword [0x14031ac60]
mov edx, 0x11780
mov rcx, r14
call fcn.1400713c0
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004504a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x20], 0
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea r9, [rbp - 0x20]
mov r8d, dword [0x14031ac60]
mov edx, 0x1177f
mov rcx, r14
call fcn.1400713c0
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400450a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbp - 0x10], 0
call fcn.140010400
mov rcx, rax
test rax, rax
je 0x140045113
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 8], rax
lea r9, [rbp - 0x10]
mov r8d, dword [0x14031ac60]
mov edx, 0x1177d
mov rcx, r14
call fcn.1400713c0
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400450f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc dword [0x14031ac60]
mov rbx, qword [rsp + 0x38]
jmp 0x140044c00
mov ecx, 0x80004005
call fcn.140002d08
nop
mov ecx, 0x80004005
call fcn.140002d08
nop
mov ecx, 0x80004005
call fcn.140002d08
int3