Function at 0x1400042ef
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, 0x98
mov rbx, rdx
mov qword [rsp + 0x50], rcx
lea r14, [rsp + 0x30]
mov rcx, r14
mov rdx, r8
mov r8, r9
call fcn.14000407c
lea rsi, [rsp + 0x4c]
mov dword [rsi], 0x800
lea r15, [rsp + 0x5c]
and dword [r15], 0
mov ecx, 0x800
call fcn.14003f10b
mov rdi, rax
lea r12, [rsp + 0x60]
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 0x14000438e
mov edx, dword [rsp + 0x4c]
mov rcx, r12
call fcn.1400bdbc9
mov rdi, qword [rsp + 0x60]
jmp 0x14000435c
mov r13d, eax
test eax, eax
jne 0x1400043b8
mov esi, dword [rsp + 0x4c]
mov qword [rsp + 0x70], rsi
mov ebp, dword [rsp + 0x5c]
mov rbx, qword [rsp + 0x68]
cmp ebp, 0xb
jbe 0x1400043fe
movabs r13, 0xde00000002
jmp 0x1400043c5
shl r13, 0x20
or r13, 2
mov rbx, qword [rsp + 0x68]
mov rcx, rdi
mov rdx, rbx
call fcn.140010910
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.14002ddb0
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], r13
and qword [rax], 0
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.14002ddb0
cmp bpl, 7
ja 0x140004786
movzx eax, bpl
mov ecx, 0x86
bt ecx, eax
jae 0x140004786
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x90], rbx
mov edx, esi
shr edx, 1
lea r15, [rdi + rdx*2]
lea r14, [rsp + 0x60]
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.1400bdbc9
xor ebx, ebx
movabs r13, 0x100000000
mov r12, rdi
test bx, bx
je 0x140004478
mov ecx, ebp
jmp 0x14000448a
cmp r12, r15
je 0x140004604
movzx ecx, word [r12]
add r12, 2
mov eax, ecx
and eax, 0xf800
cmp ax, 0xd800
jne 0x1400044e5
cmp cx, 0xdbff
ja 0x140004559
cmp r12, r15
je 0x14000455d
movzx eax, word [r12]
add r12, 2
mov edx, eax
add edx, 0x2000
cmp dx, 0xfc00
jb 0x140004570
movzx eax, ax
and ecx, 0x3ff
and eax, 0x3ff
shl rcx, 0x1a
shl rax, 0x10
or rax, rcx
add rax, r13
jmp 0x1400044ec
movzx eax, cx
shl rax, 0x10
mov rsi, rax
shr rsi, 0x10
cmp esi, 0x80
jae 0x14000452c
mov rdx, qword [rsp + 0x70]
cmp rdx, qword [rsp + 0x68]
jne 0x140004514
mov rcx, r14
call fcn.1400237d2
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov byte [rax + rdx], sil
inc rdx
mov qword [rsp + 0x70], rdx
xor ebx, ebx
jmp 0x14000446f
and dword [rsp + 0x30], 0
cmp esi, 0x800
jae 0x140004564
shr eax, 0x16
or al, 0xc0
mov byte [rsp + 0x30], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x31], sil
mov eax, 2
jmp 0x1400045e8
xor ebx, ebx
jmp 0x140004576
xor ebx, ebx
mov r12, r15
jmp 0x140004576
cmp esi, 0x10000
jae 0x1400045ac
xor ebx, ebx
jmp 0x140004580
mov bx, 1
mov ebp, eax
and dword [rsp + 0x30], 0
mov esi, 0xfffd
mov eax, esi
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x30], al
mov eax, esi
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x31], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x32], sil
mov eax, 3
jmp 0x1400045ea
mov rcx, rax
shr rcx, 0x22
or cl, 0xf0
mov byte [rsp + 0x30], cl
mov rcx, rax
shr rcx, 0x1c
and cl, 0x3f
or cl, 0x80
mov byte [rsp + 0x31], cl
shr eax, 0x16
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x32], al
and sil, 0x3f
or sil, 0x80
mov byte [rsp + 0x33], sil
mov eax, 4
xor ebx, ebx
lea r8, [rsp + rax]
add r8, 0x30
mov rcx, r14
lea rdx, [rsp + 0x30]
call fcn.14008dcf2
jmp 0x14000446f
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
inc rax
mov esi, dword [rsp + 0x48]
cmp rax, 1
je 0x140004631
lea r15, [rax - 1]
cmp byte [r14 + rax - 2], 0
mov rax, r15
je 0x14000461a
jmp 0x140004634
xor r15d, r15d
cmp sil, 7
jne 0x140004713
mov eax, 1
lea r12, [rsp + 0x30]
mov qword [r12], rax
xorps xmm0, xmm0
movups xmmword [r12 + 8], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], rax
and dword [rsp + 0x88], 0
xor r13d, r13d
xor ebx, ebx
lea rdx, [r14 + rbx]
mov r8, r15
mov eax, 0
sub r8, rbx
cmovae rax, rdx
cmovae rsi, r8
jb 0x14000472d
cmp r8, 0xf
ja 0x1400046b0
xor r8d, r8d
cmp rsi, r8
je 0x1400046bc
cmp byte [rax + r8], 0
je 0x1400046c3
inc r8
jmp 0x14000469f
xor ecx, ecx
call fcn.1400188f0
mov r8, rdx
jmp 0x1400046c8
mov r8, rsi
xor eax, eax
jmp 0x1400046c8
mov eax, 1
cmp rax, 1
jne 0x14000472d
add r8, rbx
mov rbx, r8
inc rbx
je 0x140004679
cmp rbx, r15
ja 0x140004679
add r8, r14
cmp byte [r8], 0
jne 0x140004679
add r13, r14
mov rcx, r12
mov rdx, r13
call fcn.14008dcf2
mov rcx, r12
lea rdx, [0x140157060]
lea r8, [0x140157061]
call fcn.14008dcf2
mov r13, rbx
jmp 0x140004679
mov rax, qword [rsp + 0x50]
mov qword [rax], r14
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r15
mov rbx, qword [rsp + 0x90]
jmp 0x14000477a
add r13, r14
add r15, r14
lea r12, [rsp + 0x30]
mov rcx, r12
mov rdx, r13
mov r8, r15
call fcn.14008dcf2
mov rax, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [rcx], xmm0
test rbp, rbp
mov rbx, qword [rsp + 0x90]
mov esi, dword [rsp + 0x48]
je 0x14000477a
mov edx, 1
mov rcx, r14
call fcn.1400bdee0
cmp sil, 0xc
je 0x1400043ea
jmp 0x14000479d
movabs rax, 0xde00000002
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
and qword [rcx], 0
mov rcx, rdi
mov rdx, rbx
call fcn.140010910
jmp 0x1400043ea