Function at 0x140043710
Capabilities:
Query or enumerate registry key

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
movzx esi, r9b
movzx r14d, r8b
mov rdi, rcx
mov dword [rsp + 0x48], 0
call fcn.140002000
mov r10, qword [rax]
mov rcx, rax
call qword [r10 + 0x30]
mov qword [rbp - 0x69], rax
lea rbx, [rax - 0x18]
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x10]
cmp eax, 1
jle 0x1400437dc
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9d, 0x820
mov r8d, dword [rbx + 8]
mov rdx, qword [rbp - 0x69]
call qword [rax + 0x28]
mov qword [rbp - 0x69], rax
mov r15d, 0xffffffff
mov ecx, r15d
xchg dword [rax - 8], ecx
mov eax, dword [rbx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043866
mov eax, dword [rbx + 0x10]
cmp eax, r15d
je 0x1400437cb
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140043866
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
jmp 0x140043866
cmp dword [rbx + 0xc], 0x820
jg 0x14004385a
mov eax, 0x820
mov r9d, 1
add r9d, r9d
shr eax, 1
jne 0x1400437f0
mov eax, dword [rbx + 0x10]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rbx + 8]
mov rdx, qword [rbp - 0x69]
call qword [r10 + 0x28]
mov qword [rbp - 0x69], rax
mov r15d, 0xffffffff
mov ecx, r15d
xchg dword [rax - 8], ecx
mov eax, dword [rbx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043866
mov eax, dword [rbx + 0x10]
cmp eax, r15d
je 0x14004384c
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140043866
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
jmp 0x140043866
mov r15d, 0xffffffff
mov eax, r15d
xchg dword [rbx + 0x10], eax
mov rax, qword [0x1400faa70]
test rax, rax
je 0x140043878
mov rcx, qword [rax + 8]
jmp 0x14004387a
xor ecx, ecx
mov r8d, 0x820
mov rbx, qword [rbp - 0x69]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r13, [rbx - 0x18]
test rbx, rbx
jne 0x14004389a
xor ecx, ecx
jmp 0x1400438b4
mov rcx, rbx
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1400438a0
sub rcx, rbx
sar rcx, 1
dec ecx
mov dword [r13 + 8], ecx
mov eax, dword [r13 + 0x10]
cmp eax, 0xffffffff
jne 0x1400438ca
mov eax, 1
xchg dword [r13 + 0x10], eax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp - 0x79], rax
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.1400435b0
nop
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.14001cd10
nop
lea r8, str.Portable.dat
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 1]
call fcn.140017010
nop
xor edx, edx
mov rcx, qword [rax]
call fcn.14002d9b0
movzx ebx, al
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov ecx, dword [rdx + 0x10]
cmp ecx, 0x7ffffc17
je 0x14004394b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043941
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004394b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
test bl, bl
je 0x140043978
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x79]
call fcn.1400103b0
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140044041
mov byte [rcx + 0xa48], 1
jmp 0x140044041
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, r15d
mov r8d, r15d
lea rdx, str.SoftwareJ._RiverMedia_CoreInstallations
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x31], rax
lea rsi, str.x64_
mov rcx, rsi
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1400439b4
sub rcx, rsi
sar rcx, 1
dec ecx
mov rax, qword [rbp - 0x29]
mov edx, dword [rax - 0x10]
sub edx, ecx
js 0x140043a08
movsxd rcx, edx
lea rdi, [rax + rcx*2]
call fcn.140002000
mov rcx, rax
mov r8, rsi
mov rdx, rdi
call fcn.140001f10
test eax, eax
jne 0x140043a08
xor r9d, r9d
lea rdx, str.SoftwareWOW6432NodeJ._RiverMedia_CoreInstallations
lea rcx, [rbp - 0x31]
call fcn.140014540
mov rbx, qword [rbp - 0x31]
xor esi, esi
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x39], esi
mov qword [rbp - 0x11], rsi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140043a55
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140043a4a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 0x11]
mov qword [rbp - 0x41], rax
mov dword [rbp - 0x39], esi
lea r9, [0x1400c5494]
lea r8, [0x1400c5494]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.140029c70
nop
mov r12d, esi
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp - 0x71], rax
nop word [rax + rax]
xor bl, bl
lea rcx, [rbp - 0x71]
call fcn.1400106f0
cmp qword [rbp - 0x41], 0
je 0x140043b08
mov r9b, 1
xor r8d, r8d
mov edx, 0x100
lea rcx, [rbp - 0x71]
call fcn.140010590
mov r9d, 0xff
mov r8, rax
mov edx, r12d
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
sete bl
mov rax, qword [rbp - 0x71]
test rax, rax
jne 0x140043ade
mov edx, esi
jmp 0x140043af5
mov rdx, rax
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x140043ae1
sub rdx, rax
sar rdx, 1
dec edx
mov dword [rax - 0x10], edx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x140043b08
mov ecx, 1
xchg dword [rax - 8], ecx
inc r12d
test bl, bl
je 0x140043f8b
mov qword [rbp - 0x51], rsi
mov dword [rbp - 0x49], esi
lea r8, [0x1400c5498]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 7]
call fcn.140017010
mov rsi, rax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp - 0x21], rax
or dword [rsp + 0x48], 2
mov rbx, qword [rbp - 0x71]
mov rcx, qword [rsi]
mov r14d, dword [rcx - 0x10]
add r14d, dword [rbx - 0x10]
mov r9b, 1
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp - 0x21]
call fcn.140010590
mov rdi, rax
mov rdx, qword [rsi]
movsxd r8, dword [rdx - 0x10]
add r8, r8
mov rcx, rax
call fcn.14008ff40
movsxd r8, dword [rbx - 0x10]
add r8, r8
mov rcx, qword [rsi]
movsxd rdx, dword [rcx - 0x10]
lea rcx, [rdi + rdx*2]
mov rdx, rbx
call fcn.14008ff40
mov rax, qword [rbp - 0x21]
cmp r14d, 0xffffffff
jne 0x140043bc8
test rax, rax
jne 0x140043bad
xor esi, esi
mov ecx, esi
jmp 0x140043bd4
mov rcx, rax
movzx edx, word [rcx]
add rcx, 2
test dx, dx
jne 0x140043bb0
sub rcx, rax
sar rcx, 1
dec ecx
xor esi, esi
jmp 0x140043bd4
movsxd rcx, r14d
xor esi, esi
mov word [rax + rcx*2], si
mov ecx, r14d
mov dword [rax - 0x10], ecx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x140043be7
mov ecx, 1
xchg dword [rax - 8], ecx
mov qword [rbp - 9], rsi
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rbp - 0x21]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140043c2f
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140043c24
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 9]
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], esi
and dword [rsp + 0x48], 0xfffffffd
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043c61
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043c57
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043c61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043c92
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043c88
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043c92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [0x1400c5494]
lea r8, [0x1400c5520]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x51]
call fcn.140029c70
nop
mov rdi, qword [rsp + 0x40]
cmp dword [rdi - 0x10], 0
jle 0x140043eaf
mov rax, qword [rbp + 0x6f]
mov r9, qword [rax]
cmp dword [r9 - 0x10], 0
jle 0x140043d83
mov rax, qword [rbp - 0x71]
test rax, rax
jne 0x140043d2e
test r9, r9
je 0x140043ce8
cmp word [r9], ax
jne 0x140043eaf
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x79]
call fcn.1400103b0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043d29
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043d1f
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043d29
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140043f7b
test r9, r9
jne 0x140043d39
cmp word [rax], r9w
jmp 0x140043d73
movzx ecx, word [rax]
cmp cx, word [r9]
jne 0x140043eaf
mov rdx, rsi
cmp cx, 0
je 0x140043d6a
mov r8, rsi
cmp cx, word [r8 + r9]
jne 0x140043d6a
inc rdx
lea r8, [rdx + rdx]
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140043d52
movzx ecx, word [r9 + rdx*2]
cmp word [rax + rdx*2], cx
sete al
test al, al
jne 0x140043ce8
jmp 0x140043eaf
mov rax, qword [rbp - 0x61]
cmp dword [rax - 0x10], 0
jle 0x140043dd7
cmp word [rdi], 0
je 0x140043ef7
mov rbx, rdi
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140043da0
sub rbx, rdi
sar rbx, 1
call fcn.140002000
mov rcx, rax
lea r9d, [rbx - 1]
mov r8, rdi
mov rdx, qword [rbp - 0x61]
call fcn.1400183a0
test eax, eax
je 0x140043ef7
mov rdi, qword [rsp + 0x40]
mov rax, qword [rbp - 0x29]
cmp dword [rax - 0x10], 0
jle 0x140043e37
test rdi, rdi
je 0x140043f3a
cmp word [rdi], 0
je 0x140043f3a
mov rbx, rdi
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140043e00
sub rbx, rdi
sar rbx, 1
call fcn.140002000
mov rcx, rax
lea r9d, [rbx - 1]
mov r8, rdi
mov rdx, qword [rbp - 0x29]
call fcn.1400183a0
test eax, eax
je 0x140043f3a
mov rdi, qword [rsp + 0x40]
mov rax, qword [rbp - 0x71]
test rax, rax
jne 0x140043e51
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x140043e9c
cmp word [rax], 0
je 0x140043e9c
jmp 0x140043eaf
mov rcx, qword [rbp - 0x19]
test rcx, rcx
jne 0x140043e5f
cmp word [rax], cx
jmp 0x140043e95
movzx edx, word [rax]
cmp dx, word [rcx]
jne 0x140043eaf
mov r8, rsi
cmp dx, 0
je 0x140043e8b
mov r9, rsi
cmp dx, word [r9 + rcx]
jne 0x140043e8b
inc r8
lea r9, [r8 + r8]
movzx edx, word [r9 + rax]
test dx, dx
jne 0x140043e73
movzx edx, word [rcx + r8*2]
cmp word [rax + r8*2], dx
sete al
test al, al
je 0x140043eaf
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x79]
call fcn.1400103b0
mov rdi, qword [rsp + 0x40]
lea rdx, [rdi - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043edc
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043ed2
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043edc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140043eef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x51], rsi
mov dword [rbp - 0x49], esi
jmp 0x140043a90
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x79]
call fcn.1400103b0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043f38
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043f2e
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043f38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140043f7b
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x79]
call fcn.1400103b0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043f7b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043f71
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043f7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140043f8b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043fbc
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043fb2
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043fbc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043fed
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043fe3
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043fed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140044000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x39], esi
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140044034
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004402a
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044034
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdi, qword [rbp + 0x67]
movzx esi, byte [rbp + 0x7f]
movzx r14d, byte [rbp + 0x77]
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140044072
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140044068
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044072
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400440a3
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140044099
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400440a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
call fcn.140002000
mov rcx, rax
mov rbx, qword [rbp - 0x79]
cmp dword [rbx - 0x10], 0
jg 0x1400440c1
mov rdx, qword [rax]
call qword [rdx + 0x30]
mov qword [rbp - 0x59], rax
jmp 0x140044104
mov eax, dword [rbx - 8]
mov rbx, qword [rbp - 0x79]
cmp eax, 0xffffffff
je 0x1400440d3
cmp rcx, qword [rbx - 0x18]
je 0x1400440f8
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, r15d
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
call qword [rax + 0x28]
mov qword [rbp - 0x59], rax
jmp 0x140044104
lock inc dword [rbx - 8]
mov rbx, qword [rbp - 0x79]
mov qword [rbp - 0x59], rbx
movzx r9d, sil
movzx r8d, r14b
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140044190
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140044146
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004413c
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044146
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, dword [r13 + 0x10]
cmp eax, 0x7ffffc17
je 0x140044174
mov eax, dword [r13 + 0x10]
cmp eax, 0xffffffff
je 0x140044166
lock xadd dword [r13 + 0x10], r15d
sub r15d, 1
jg 0x140044174
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 8]
nop
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret