Function at 0x140078f00
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xb0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r12, r9
mov qword [rbp + 7], r8
mov r13, rdx
xor esi, esi
mov dword [rbp - 0x21], esi
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x39], rbx
or r14, 0xffffffffffffffff
test r12, r12
je 0x140078f9f
test r12, 0xffffffffffff0000
jne 0x140078f8c
movzx edi, r12w
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x140078fb4
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140001f70
jmp 0x140078fb0
xor eax, eax
mov rcx, r14
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140078fa1
mov ecx, esi
mov r8d, ecx
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.140001e80
mov rbx, qword [rbp - 0x39]
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x31], rdi
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r13], rax
mov dword [rbp - 0x21], 1
cmp dword [rbx - 0x10], 0
jle 0x1400796ec
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_wcschr]
mov r15, rax
test rax, rax
je 0x1400796ec
sub r15, rbx
sar r15, 1
cmp r15d, 0xffffffff
je 0x1400796ec
mov r8d, r15d
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x39]
call fcn.140001d30
nop
mov r8, qword [rax]
mov qword [rbp - 0x29], r8
lea rcx, [r8 - 0x18]
lea r12, [rdi - 0x18]
cmp rcx, r12
je 0x1400791c3
cmp dword [r12 + 0x10], 0
jl 0x1400790a2
mov rax, qword [r12]
cmp qword [rcx], rax
jne 0x1400790a2
call fcn.140001b90
mov rdi, rax
mov ecx, r14d
lock xadd dword [r12 + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140079099
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 8]
lea rax, [rdi + 0x18]
jmp 0x1400791bf
movsxd r13, dword [r8 - 0x10]
test r13d, r13d
jne 0x14007910f
mov r13, qword [r12]
cmp dword [r12 + 8], 0
je 0x1400791c3
cmp dword [r12 + 0x10], 0
jge 0x1400790df
cmp dword [rdi - 0xc], 0
jge 0x1400790d4
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rdi - 0x10], esi
mov word [rdi], si
jmp 0x1400791c3
mov eax, r14d
lock xadd dword [r12 + 0x10], eax
dec eax
test eax, eax
jg 0x1400790fc
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 8]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
add rax, 0x18
jmp 0x1400791bf
test r8, r8
jne 0x14007911f
mov ecx, 0x80070057
call fcn.140001000
int3
mov eax, dword [rdi - 0x10]
mov dword [rbp - 0x49], eax
mov rdx, r8
sub rdx, rdi
sar rdx, 1
mov qword [rbp - 0x51], rdx
test r13d, r13d
jns 0x140079142
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [r12 + 0x10]
mov eax, dword [r12 + 0xc]
sub eax, r13d
or eax, ecx
jge 0x140079170
mov edx, r13d
lea rcx, [rbp - 0x31]
call fcn.140001c20
mov rdi, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x29]
mov eax, dword [rbp - 0x49]
lea r12, [r13 + r13]
mov rcx, rdi
mov r9, r12
cmp rdx, rax
ja 0x140079196
lea r8, [rdi + rdx*2]
movsxd rdx, dword [rdi - 0xc]
add rdx, rdx
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x1400791a3
movsxd rdx, dword [rdi - 0xc]
add rdx, rdx
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp r13d, dword [rdi - 0xc]
jg 0x1400791b4
mov dword [rdi - 0x10], r13d
mov word [r12 + rdi], si
jmp 0x1400791c3
mov ecx, 0x80070057
call fcn.140001000
int3
mov qword [rbp - 0x31], rax
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400791e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r8d, dword [rbx - 0x10]
sub r8d, r15d
dec r8d
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x39]
call fcn.140001c80
nop
mov r15, qword [rax]
lea rcx, [r15 - 0x18]
mov rdi, qword [rbp - 0x41]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x14007934e
cmp dword [rbx + 0x10], 0
jl 0x14007924b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007924b
call fcn.140001b90
mov rdi, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140079242
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
lea rax, [rdi + 0x18]
jmp 0x14007934a
movsxd r12, dword [r15 - 0x10]
test r12d, r12d
jne 0x1400792b0
mov r12, qword [rbx]
cmp dword [rbx + 8], 0
je 0x14007934e
cmp dword [rbx + 0x10], 0
jge 0x140079283
cmp dword [rdi - 0xc], 0
jge 0x140079278
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rdi - 0x10], esi
mov word [rdi], si
jmp 0x14007934e
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x14007929d
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
add rax, 0x18
jmp 0x14007934a
test r15, r15
jne 0x1400792c0
mov ecx, 0x80070057
call fcn.140001000
int3
mov eax, dword [rdi - 0x10]
mov dword [rbp - 0x45], eax
mov r13, r15
sub r13, rdi
sar r13, 1
test r12d, r12d
jns 0x1400792df
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, r12d
or eax, ecx
jge 0x140079301
mov edx, r12d
lea rcx, [rbp - 0x41]
call fcn.140001c20
mov rdi, qword [rbp - 0x41]
mov eax, dword [rbp - 0x45]
lea rbx, [r12 + r12]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r13, rax
ja 0x140079326
lea r8, [rdi + r13*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14007932f
mov r8, r15
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp r12d, dword [rdi - 0xc]
jg 0x14007933f
mov dword [rdi - 0x10], r12d
mov word [rbx + rdi], si
jmp 0x14007934e
mov ecx, 0x80070057
call fcn.140001000
int3
mov qword [rbp - 0x41], rax
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007936d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp - 0x19], rsi
lea rdx, str.HKEY_CLASSES_ROOT
mov rdi, qword [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x140079392
mov rax, 0xffffffff80000000
jmp 0x1400793e8
lea rdx, str.HKEY_CURRENT_USER
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x1400793e4
lea rdx, str.HKEY_LOCAL_MACHINE
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x1400793c3
mov rax, 0xffffffff80000002
jmp 0x1400793e8
lea rdx, str.HKEY_USERS
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x1400796e8
mov rax, 0xffffffff80000003
jmp 0x1400793e8
mov rax, qword [rbp + 7]
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x41]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400796d9
mov dword [rbp - 0x49], esi
mov ecx, 0x400
call fcn.1400ca8e8
mov r15, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rbp - 0x29], 0x400
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x49]
xor r8d, r8d
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400796d1
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x51], rdi
mov eax, dword [rbp - 0x49]
dec eax
je 0x1400795b2
sub eax, 2
je 0x14007953f
dec eax
jne 0x14007969e
movzx edx, byte [r15 + 1]
shl dx, 8
movzx eax, byte [r15]
or dx, ax
movzx ecx, byte [r15 + 3]
shl cx, 8
movzx eax, byte [r15 + 2]
or cx, ax
movzx r8d, cx
shl r8d, 0x10
movzx eax, dx
or r8d, eax
lea rdx, str.dword:_.8x
lea rcx, [rbp - 0x51]
call fcn.140004440
mov rdi, qword [rbp - 0x51]
lea rcx, [rdi - 0x18]
mov r12, qword [rbp + 0x67]
mov rbx, qword [r12]
sub rbx, 0x18
cmp rcx, rbx
je 0x14007969e
cmp dword [rbx + 0x10], 0
jl 0x14007952b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007952b
call fcn.140001b90
mov rdi, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14007951e
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [r12], rax
jmp 0x14007969a
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
mov rcx, r12
call fcn.140001e80
jmp 0x14007969e
mov r12, qword [rbp + 0x67]
cmp dword [rbp - 0x29], 0
jbe 0x140079589
mov rdi, r15
nop dword [rax]
movzx r8d, byte [rdi]
lea rcx, [rbp - 0x51]
test esi, esi
lea rdx, str._.2x
je 0x14007956a
lea rdx, str.__.2x
call fcn.140004440
mov rdx, qword [rbp - 0x51]
mov r8d, dword [rdx - 0x10]
mov rcx, r12
call fcn.140003c10
inc esi
inc rdi
cmp esi, dword [rbp - 0x29]
jb 0x140079550
mov r8, r12
lea rdx, str.hex:
lea rcx, [rbp - 9]
call fcn.140004230
nop
mov rdx, rax
mov rcx, r12
call fcn.140002250
nop
mov rdx, qword [rbp - 9]
jmp 0x14007967f
mov r12, rsi
movzx eax, byte [r12 + r15]
test al, al
jne 0x1400795c5
cmp byte [r12 + r15 + 1], al
je 0x140079625
movzx eax, al
mov word [rbp - 0x45], ax
mov r13d, dword [rdi - 0x10]
lea ebx, [r13 + 1]
test ebx, ebx
js 0x1400796c6
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400795fc
mov edx, ebx
lea rcx, [rbp - 0x51]
call fcn.140001c20
mov rdi, qword [rbp - 0x51]
movzx ecx, word [rbp - 0x45]
mov word [rdi + r13*2], cx
cmp ebx, dword [rdi - 0xc]
jg 0x1400796bb
mov dword [rdi - 0x10], ebx
movsxd rax, ebx
mov word [rdi + rax*2], si
add r12, 2
cmp r12, 0x3ff
jl 0x1400795b5
lea r8, [rbp - 0x51]
lea rdx, [0x1400ddcb0]
lea rcx, [rbp + 0xf]
call fcn.140004230
nop
lea r8, [0x1400ddcb0]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140002ce0
nop
mov rdx, rax
mov rcx, qword [rbp + 0x67]
call fcn.140002250
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007967b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007969a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp - 0x51]
lea rdx, [rdi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400796d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400796d1
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, r15
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400796e8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rbp + 0x67]
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007970c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007972c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
dec r14d
test r14d, r14d
jg 0x14007974b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, r13
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret