Function at 0x1400fa140
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rdx, r8
lea rcx, [rsp + 0x60]
call fcn.1400f9c70
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1400f9dd0
nop
mov ebx, dword [rdi + 0xb4]
xor r12d, r12d
mov qword [rsp + 0x70], r12
or ebx, 0x20019
lea rcx, [rsp + 0x68]
call fcn.14002b720
mov rdx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or edi, 0xffffffff
test eax, eax
jne 0x1400fa790
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1400fa790
lea rcx, [rsp + 0x60]
call fcn.14002b720
mov rdx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400fa22a
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400fa790
mov ecx, dword [rsp + 0x48]
lea eax, [rcx - 1]
mov edx, dword [rbp + 0xc0]
cmp eax, 1
jbe 0x1400fa246
cmp ecx, 7
jne 0x1400fa24f
add edx, 4
jmp 0x1400fa249
add edx, 2
mov dword [rbp + 0xc0], edx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.140036650
nop
mov rax, qword [rsp + 0x30]
mov r13d, 1
cmp dword [rax], r13d
ja 0x1400fa274
cmp qword [rax + 0x10], 0x18
je 0x1400fa296
mov r8d, r12d
cmp dword [rax + 8], 0x80000000
cmovae r8d, r13d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x30]
call fcn.140037e30
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 0x10]
add rbx, rax
lea rcx, [rsp + 0x60]
call fcn.14002b720
mov rdx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400fa2de
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x1400fa760
mov r8d, dword [rsp + 0x48]
cmp r8d, 0xb
ja case.0x1400fa2ff.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0xfa814]
add rcx, rdx
jmp rcx
lea rax, [0x1401885d8]
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0xc0], 0
je 0x1400fa371
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x78]
call fcn.1400091a0
mov rdx, qword [rsp + 0x50]
mov qword [rbp + 0x48], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa363
cmp eax, 0xffffffff
je 0x1400fa371
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa371
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test r14, r14
je 0x1400fa3aa
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.1400e8030
mov rcx, qword [r14]
mov qword [rbp - 0x40], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x38], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x58]
call fcn.1400652c0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fa3cd
cmp ecx, 0xffffffff
je 0x1400fa755
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fa755
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call fcn.140035d80
jmp 0x1400fa755
lea rsi, [0x140188608]
mov qword [rsp + 0x40], rsi
cmp dword [rbp + 0xc0], 0
je 0x1400fa4ce
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1400091a0
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
lea esi, [rax + 1]
test eax, eax
je 0x1400fa49d
nop word [rax + rax]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14000d5d0
nop
mov eax, dword [rbx]
test eax, eax
je 0x1400fa45b
cmp eax, 0xffffffff
je 0x1400fa46c
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1400fa46c
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.140035d80
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rax, esi
lea rdx, [rdx + rax*2]
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1400091a0
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
inc esi
add esi, eax
test eax, eax
jne 0x1400fa430
mov eax, dword [rbx]
test eax, eax
je 0x1400fa4b8
cmp eax, 0xffffffff
je 0x1400fa4c9
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1400fa4c9
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.140035d80
mov rsi, qword [rsp + 0x40]
test r14, r14
je 0x1400fa50b
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x68]
call fcn.1400e7ce0
mov rcx, qword [r14]
mov qword [rbp - 0x30], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x28], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x68]
call fcn.1400652c0
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsi]
test eax, eax
je 0x1400fa526
cmp eax, 0xffffffff
je 0x1400fa57f
mov eax, edi
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x1400fa57f
mov rsi, qword [rsp + 0x40]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd r14, dword [rsi + 8]
add r14, 2
lea r14, [rsi + r14*8]
cmp r14, rbx
je 0x1400fa576
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa560
cmp eax, 0xffffffff
je 0x1400fa571
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa571
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140035d80
cmp rbx, r14
jne 0x1400fa543
mov rcx, rsi
call fcn.140103190
nop
jmp 0x1400fa755
lea rax, [0x1401885d8]
mov qword [rsp + 0x58], rax
cmp dword [rbp + 0xc0], 0
je 0x1400fa5fc
mov rcx, qword [rsp + 0x30]
mov r9, qword [rcx + 0x10]
add r9, rcx
mov eax, dword [rcx + 4]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.1400091a0
mov rdx, qword [rsp + 0x58]
mov qword [rbp + 0x50], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa5ee
cmp eax, 0xffffffff
je 0x1400fa5fc
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa5fc
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test r14, r14
je 0x1400fa635
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x78]
call fcn.1400e8030
mov rcx, qword [r14]
mov qword [rbp - 0x20], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x18], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x78]
call fcn.1400652c0
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400fa658
cmp ecx, 0xffffffff
je 0x1400fa755
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400fa755
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.140035d80
jmp 0x1400fa755
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x1400fa755
mov edx, dword [rax + rcx]
lea rcx, [rbp - 0x60]
call fcn.140065080
mov rax, qword [r14]
mov qword [rbp - 0x10], rax
mov eax, dword [r14 + 8]
mov dword [rbp - 8], eax
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rbp - 0x60]
jmp 0x1400fa74c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x1400fa755
mov rdx, qword [rax + rcx]
lea rcx, [rbp - 0x50]
call fcn.140065170
mov rax, qword [r14]
mov qword [rbp], rax
mov eax, dword [r14 + 8]
mov dword [rbp + 8], eax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x50]
jmp 0x1400fa74c
mov qword [rbp + 0x20], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
lea rax, [0x1402c4b50]
mov qword [rbp + 0x38], rax
lea rdx, [0x14029b4a8]
lea rcx, [rbp + 0x20]
call fcn.14001ead0
test r14, r14
je 0x1400fa755
mov dword [rbp - 0x68], 0x80000000
mov qword [rbp - 0x70], r12
mov rax, qword [r14]
mov qword [rbp + 0x10], rax
mov eax, dword [r14 + 8]
mov dword [rbp + 0x18], eax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm1
lea rcx, [rbp - 0x70]
movups xmmword [r14], xmm0
call fcn.1400652c0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa780
cmp eax, 0xffffffff
je 0x1400fa792
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa792
mov rcx, qword [rsp + 0x30]
mov r8d, 8
mov rdx, r13
call fcn.140035d80
jmp 0x1400fa792
xor bl, bl
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa7b2
cmp eax, 0xffffffff
je 0x1400fa7c1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400fa7c1
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400fa7df
cmp eax, 0xffffffff
je 0x1400fa7ed
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400fa7ed
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
movzx eax, bl
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret