Function at 0x140002551
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
lea r14, [rsp + 0x38]
mov rcx, r14
mov rdx, r8
mov r8, r9
call fcn.1400022d8
lea rsi, [rsp + 0x54]
mov dword [rsi], 0x800
lea r15, [rsp + 0x64]
and dword [r15], 0
mov ecx, 0x800
call fcn.14003239b
mov rdi, rax
lea r12, [rsp + 0x68]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov r14, qword [r14]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x1400025f0
mov edx, dword [rsp + 0x54]
mov rcx, r12
call fcn.14009d285
mov rdi, qword [rsp + 0x68]
jmp 0x1400025be
mov r13d, eax
test eax, eax
jne 0x14000261a
mov esi, dword [rsp + 0x54]
mov qword [rsp + 0x78], rsi
mov ebp, dword [rsp + 0x64]
mov rbx, qword [rsp + 0x70]
cmp ebp, 0xb
jbe 0x140002660
movabs r13, 0xde00000002
jmp 0x140002627
shl r13, 0x20
or r13, 2
mov rbx, qword [rsp + 0x70]
mov rcx, rdi
mov rdx, rbx
call fcn.140030a09
mov rdx, qword [rsp + 0x40]
mov rcx, r14
call fcn.140001ec7
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r13
and qword [rax], 0
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x40]
mov rcx, r14
call fcn.140001ec7
cmp bpl, 7
ja 0x1400029e3
movzx eax, bpl
mov ecx, 0x86
bt ecx, eax
jae 0x1400029e3
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x98], rbx
mov edx, esi
shr edx, 1
lea r15, [rdi + rdx*2]
lea r14, [rsp + 0x68]
mov qword [r14], 1
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
shr esi, 2
and edx, 1
add rdx, rsi
mov rcx, r14
call fcn.14009d285
xor ebx, ebx
movabs r13, 0x100000000
mov r12, rdi
test bx, bx
je 0x1400026da
mov ecx, ebp
jmp 0x1400026ec
cmp r12, r15
je 0x140002866
movzx ecx, word [r12]
add r12, 2
mov eax, ecx
and eax, 0xf800
cmp ax, 0xd800
jne 0x140002747
cmp cx, 0xdbff
ja 0x1400027bb
cmp r12, r15
je 0x1400027bf
movzx eax, word [r12]
add r12, 2
mov edx, eax
add edx, 0x2000
cmp dx, 0xfc00
jb 0x1400027d2
movzx eax, ax
and ecx, 0x3ff
and eax, 0x3ff
shl rcx, 0x1a
shl rax, 0x10
or rax, rcx
add rax, r13
jmp 0x14000274e
movzx eax, cx
shl rax, 0x10
mov rsi, rax
shr rsi, 0x10
cmp esi, 0x80
jae 0x14000278e
mov rdx, qword [rsp + 0x78]
cmp rdx, qword [rsp + 0x70]
jne 0x140002776
mov rcx, r14
call fcn.14009d035
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x68]
mov byte [rax + rdx], sil
inc rdx
mov qword [rsp + 0x78], rdx
xor ebx, ebx
jmp 0x1400026d1
and dword [rsp + 0x38], 0
cmp esi, 0x800
jae 0x1400027c6
shr eax, 0x16
or al, 0xc0
mov byte [rsp + 0x38], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x39], sil
mov eax, 2
jmp 0x14000284a
xor ebx, ebx
jmp 0x1400027d8
xor ebx, ebx
mov r12, r15
jmp 0x1400027d8
cmp esi, 0x10000
jae 0x14000280e
xor ebx, ebx
jmp 0x1400027e2
mov bx, 1
mov ebp, eax
and dword [rsp + 0x38], 0
mov esi, 0xfffd
mov eax, esi
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x38], al
mov eax, esi
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x39], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x3a], sil
mov eax, 3
jmp 0x14000284c
mov rcx, rax
shr rcx, 0x22
or cl, 0xf0
mov byte [rsp + 0x38], cl
mov rcx, rax
shr rcx, 0x1c
and cl, 0x3f
or cl, 0x80
mov byte [rsp + 0x39], cl
shr eax, 0x16
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x3a], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x3b], sil
mov eax, 4
xor ebx, ebx
lea r8, [rsp + rax]
add r8, 0x38
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.14009d54c
jmp 0x1400026d1
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
inc rax
mov ebp, dword [rsp + 0x60]
cmp rax, 1
je 0x140002893
lea r12, [rax - 1]
cmp byte [r15 + rax - 2], 0
mov rax, r12
je 0x14000287c
jmp 0x140002896
xor r12d, r12d
cmp bpl, 7
jne 0x14000297f
mov qword [rsp + 0xa0], rcx
mov eax, 1
lea r13, [rsp + 0x38]
mov qword [r13], rax
xorps xmm0, xmm0
movups xmmword [r13 + 8], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rax
and dword [rsp + 0x90], 0
xor r14d, r14d
xor ebx, ebx
lea rdx, [r15 + rbx]
mov r8, r12
mov eax, 0
sub r8, rbx
cmovae rax, rdx
cmovae rsi, r8
jb 0x140002991
cmp r8, 0xf
ja 0x14000291c
xor r8d, r8d
cmp rsi, r8
je 0x140002928
cmp byte [rax + r8], 0
je 0x14000292f
inc r8
jmp 0x14000290b
xor ecx, ecx
call fcn.140010a10
mov r8, rdx
jmp 0x140002934
mov r8, rsi
xor eax, eax
jmp 0x140002934
mov eax, 1
cmp rax, 1
jne 0x140002991
add r8, rbx
mov rbx, r8
inc rbx
je 0x1400028e5
cmp rbx, r12
ja 0x1400028e5
add r8, r15
cmp byte [r8], 0
jne 0x1400028e5
add r14, r15
mov rcx, r13
mov rdx, r14
call fcn.14009d54c
mov rcx, r13
lea rdx, [0x140103de8]
lea r8, [0x140103de9]
call fcn.14009d54c
mov r14, rbx
jmp 0x1400028e5
mov rax, qword [rsp + 0x58]
mov qword [rax], r15
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r12
jmp 0x1400029cf
add r14, r15
add r12, r15
lea r13, [rsp + 0x38]
mov rcx, r13
mov rdx, r14
mov r8, r12
call fcn.14009d54c
mov rax, qword [r13 + 0x10]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r13]
movups xmmword [rcx], xmm0
mov rcx, r15
mov rdx, qword [rsp + 0xa0]
call fcn.140030a09
mov rbx, qword [rsp + 0x98]
cmp bpl, 0xc
je 0x14000264c
jmp 0x1400029fa
movabs rax, 0xde00000002
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 8], rax
and qword [rcx], 0
mov rcx, rdi
mov rdx, rbx
call fcn.140030a09
jmp 0x14000264c