Function at 0x1404945d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov qword [rbp + 0x130], 0xfffffffffffffffe
mov qword [rsp + 0x3a0], rbx
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov qword [rbp - 0x18], rdx
mov r14, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1404946c3
lea rcx, [rbp - 0x70]
call fcn.140495ba0
lea rbx, [r14 + 0x18]
mov rdx, qword [rbx]
mov qword [rbp + 0x138], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x70]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x140494666
cmp eax, esi
je 0x140494674
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140494674
mov rcx, qword [rbp - 0x70]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.140495940
mov rdx, qword [r14 + 0x10]
mov qword [rbp + 0x140], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x10], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1404946b3
cmp eax, 0xffffffff
je 0x14049471d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14049471d
mov rcx, qword [rbp - 0x68]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
jmp 0x14049471d
lea rcx, [rbp - 0x60]
call fcn.140472800
lea rbx, [r14 + 0x18]
mov rdx, qword [rbx]
mov qword [rbp + 0x148], rdx
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x60]
mov eax, dword [rcx]
or esi, 0xffffffff
test eax, eax
je 0x140494703
cmp eax, esi
je 0x140494711
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140494711
mov rcx, qword [rbp - 0x60]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140379300
lea rcx, [r14 + 0x10]
mov rdx, rdi
call fcn.14037a4a0
xor r13b, r13b
mov rax, qword [rbx]
lea r15, [0x1400495e0]
cmp dword [rax + 4], 0
je 0x140494de2
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140329aa0
mov rbx, rax
mov r8d, esi
lea rdx, [0x140132cb0]
lea rcx, [rbp - 0x58]
call fcn.1402d3550
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rbp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x50]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x60]
call fcn.140371ae0
nop
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1404947a2
cmp eax, 0xffffffff
je 0x1404947b1
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404947b1
mov rcx, qword [rbp - 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1404947cf
cmp eax, 0xffffffff
je 0x1404947dd
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404947dd
mov rcx, qword [rbp - 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
xor edi, edi
mov rax, qword [rsp + 0x48]
cmp rax, r15
jne 0x1404947ed
mov edx, edi
jmp 0x1404947f4
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rcx, dword [rax + 4]
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x1b0], xmm0
mov dword [rsp + 0x20], edi
mov r9d, 0x20019
lea r8, [rbp + 0x1b0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.140440950
nop
cmp qword [rsp + 0x38], 0
je 0x140494da5
mov qword [rbp + 0x80], 7
lea rax, [0x140133100]
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x160], xmm0
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x38]
call fcn.140440a80
mov rdx, qword [r14 + 0x20]
mov qword [rbp + 0x1c0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1404948ab
cmp eax, 0xffffffff
je 0x1404948b9
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404948b9
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov qword [rbp + 0x40], 3
lea rax, [0x1401330d0]
mov qword [rbp + 0x48], rax
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x170], xmm0
lea r8, [rbp + 0x170]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140440a80
mov rdx, qword [r14 + 0x28]
mov qword [rbp + 0x158], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140494920
cmp eax, 0xffffffff
je 0x14049492e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14049492e
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov qword [rbp + 0x90], 3
lea rax, [0x1401330c8]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x180], xmm0
lea r8, [rbp + 0x180]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.140440a80
mov rdx, qword [r14 + 0x30]
mov qword [rbp + 0x150], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14049499e
cmp eax, 0xffffffff
je 0x1404949ac
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404949ac
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov dword [rbp + 0xa0], select
lea rax, [0x140133110]
mov qword [rbp + 0xa8], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 8], rax
lea rax, [rbp + 0xa0]
mov qword [rbp], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.1403b7d40
nop
mov rax, qword [rsp + 0x58]
cmp rax, r15
jne 0x1404949f6
mov rdx, rdi
jmp 0x1404949fd
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rcx, dword [rax + 4]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x190], xmm0
mov dword [rsp + 0x20], edi
mov r9d, 0x20019
lea r8, [rbp + 0x190]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140440950
nop
cmp qword [rsp + 0x40], 0
je 0x140494c9f
mov qword [rbp + 0x20], 0xa
lea rax, [0x140133120]
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x1a0], xmm0
lea r8, [rbp + 0x1a0]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.1404409c0
mov qword [rbp + 0x30], 9
lea rax, [0x140133138]
mov qword [rbp + 0x38], rax
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x1d0], xmm0
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x40]
call fcn.1404409c0
mov rbx, qword [rbp - 0x20]
cmp ebx, dword [rbp - 0x28]
jg 0x140494d6b
mov r12d, 0xee943c90
nop
mov rdi, qword [rsp + 0x40]
mov r8d, 0xa
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1403692c0
nop
mov rcx, rax
call fcn.14036dfa0
xor r15b, r15b
mov dword [rsp + 0x50], 0x2c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140494b57
mov dword [rsp + 0x60], eax
mov ecx, dword [rbp + 0x1e4]
add ecx, dword [rbp + 0x1e0]
mov dword [rsp + 0x64], ecx
mov eax, dword [rbp + 0x1e8]
sub eax, ecx
add eax, dword [rbp + 0x1e0]
mov dword [rsp + 0x68], eax
movups xmm0, xmmword [rbp + 0x1ec]
movups xmmword [rsp + 0x6c], xmm0
movups xmm0, xmmword [rbp + 0x1fc]
movups xmmword [rsp + 0x7c], xmm0
mov r15b, 1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0xc0], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp + 0xd0], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0xd8], eax
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140494ba3
cmp eax, 0xffffffff
je 0x140494bb1
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140494bb1
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test r15b, r15b
je 0x140494c88
mov rcx, qword [r14 + 0x38]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
je 0x140494bf8
cmp dword [rcx], 1
jbe 0x140494bd7
mov edx, dword [rcx + 4]
lea rcx, [r14 + 0x38]
call fcn.140493e60
mov rax, qword [r14 + 0x38]
movsxd rcx, dword [rax + 0xc]
lea rdx, [rbp + 0xb0]
mov rcx, qword [rax + rcx*8 + 8]
call fcn.140494ed0
test al, al
jne 0x140494c88
test r13b, r13b
jne 0x140494c60
xor ecx, ecx
cmp word [rsp + 0x6e], cx
sete cl
xor eax, eax
cmp word [rsp + 0x7e], ax
sete al
cmp ecx, eax
je 0x140494c60
mov r13b, 1
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp + 0xe0], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe8], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp + 0xf8], rax
mov r9d, ebx
lea rdx, [0x140133150]
lea rcx, [rbp + 0xe0]
call fcn.14035ef00
mov rdx, qword [r14 + 0x38]
mov r8d, ebx
mov eax, dword [rdx + 8]
cmp dword [rdx + 0xc], eax
cmove r8d, r12d
mov dword [rbp + 0xb0], r8d
lea rdx, [rbp + 0xb0]
lea rcx, [r14 + 0x38]
call fcn.140493380
inc ebx
cmp ebx, dword [rbp - 0x28]
jle 0x140494ac0
lea r15, [0x1400495e0]
jmp 0x140494d6b
xor bl, bl
mov dword [rsp + 0x54], 0x2c
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401330d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140494d1b
mov dword [rsp + 0x60], edi
mov ecx, dword [rbp + 0x214]
add ecx, dword [rbp + 0x210]
mov dword [rsp + 0x64], ecx
mov eax, dword [rbp + 0x218]
sub eax, ecx
add eax, dword [rbp + 0x210]
mov dword [rsp + 0x68], eax
movups xmm0, xmmword [rbp + 0x21c]
movups xmmword [rsp + 0x6c], xmm0
movups xmm0, xmmword [rbp + 0x22c]
movups xmmword [rsp + 0x7c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x110], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp + 0x120], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0x128], eax
mov r12d, 0xee943c90
mov dword [rbp + 0x100], r12d
test bl, bl
je 0x140494d6b
lea rcx, [r14 + 0x38]
lea rdx, [rbp + 0x100]
call fcn.140493380
nop
lea rcx, [rsp + 0x40]
call fcn.140440990
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x140494d96
cmp eax, 0xffffffff
je 0x140494da5
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140494da5
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
lea rcx, [rsp + 0x38]
call fcn.140440990
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140494dd0
cmp eax, 0xffffffff
je 0x140494dde
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140494dde
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
lea rbx, [r14 + 0x18]
mov rax, qword [r14 + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x140494e38
lea rcx, [r14 + 0x10]
call fcn.14037abc0
mov rcx, rbx
call fcn.14037abc0
mov rcx, qword [r14 + 0x20]
cmp rcx, r15
je 0x140494e38
mov qword [rbp - 0x10], rcx
mov qword [r14 + 0x20], r15
mov eax, dword [rcx]
test eax, eax
je 0x140494e2a
cmp eax, 0xffffffff
je 0x140494e38
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x140494e38
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret