Function at 0x1400d96c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov qword [rbp + 0x98], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1419761c8]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1400d97b3
lea rcx, [rbp - 0x18]
call fcn.1400daa20
lea r15, [rsi + 0x18]
mov rdx, qword [r15]
mov qword [rbp + 0xa0], rdx
mov rcx, qword [rax]
mov qword [r15], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400d9752
cmp eax, edi
je 0x1400d9760
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9760
mov rcx, qword [rbp - 0x18]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140039ba0
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.1400da7d0
lea r12, [rsi + 0x10]
mov rdx, qword [r12]
mov qword [rbp + 0xa8], rdx
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400d97a3
cmp eax, 0xffffffff
je 0x1400d9810
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9810
mov rcx, qword [rbp - 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140039ba0
jmp 0x1400d9810
lea rcx, [rbp - 0x50]
call fcn.1400a5b30
lea r15, [rsi + 0x18]
mov rdx, qword [r15]
mov qword [rbp + 0xb0], rdx
mov rcx, qword [rax]
mov qword [r15], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400d97f3
cmp eax, edi
je 0x1400d9801
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9801
mov rcx, qword [rbp - 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140039ba0
lea r12, [rsi + 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.140023140
mov rax, qword [r15]
cmp dword [rax + 4], 0
je 0x1400d9d1c
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.1400a2b30
mov rbx, rax
mov r8d, edi
lea rdx, [0x140246bb8]
lea rcx, [rbp - 0x48]
call fcn.140004290
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rbp - 8], rax
lea rax, [rsp + 0x30]
mov qword [rbp], rax
lea rax, [rbp - 8]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.14003b6a0
nop
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400d9893
cmp eax, 0xffffffff
je 0x1400d98a2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d98a2
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400d98c0
cmp eax, 0xffffffff
je 0x1400d98ce
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d98ce
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
lea rcx, [rsp + 0x50]
call fcn.140036ca0
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d9cee
lea r8, [0x140246f70]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400da5a0
mov rdx, qword [rsi + 0x20]
mov qword [rbp + 0xb8], rdx
mov rcx, qword [rax]
mov qword [rsi + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400d994b
cmp eax, 0xffffffff
je 0x1400d9959
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9959
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
lea r8, [0x140246f40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400da5a0
mov rdx, qword [rsi + 0x28]
mov qword [rbp + 0xc0], rdx
mov rcx, qword [rax]
mov qword [rsi + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400d99a1
cmp eax, 0xffffffff
je 0x1400d99af
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d99af
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
lea r8, [0x140246f38]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.1400da5a0
mov rdx, qword [rsi + 0x30]
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rax]
mov qword [rsi + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400d99f7
cmp eax, 0xffffffff
je 0x1400d9a05
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9a05
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov dword [rbp + 0x18], 0xc
lea rax, [0x140246f80]
mov qword [rbp + 0x20], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x30], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x28]
call fcn.1400cd5d0
nop
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x70]
call fcn.140036ca0
mov rdx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r9d, r9d
xor r8d, r8d
test eax, eax
jne 0x1400d9c00
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x140246f90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140246fa8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [rsp + 0x60]
cmp ebx, dword [rsp + 0x40]
jg 0x1400d9bf0
nop word [rax + rax]
mov r8d, 0xa
mov edx, ebx
lea rcx, [rbp - 0x20]
call fcn.140032f70
nop
mov rcx, rax
call fcn.140036ca0
xor r14b, r14b
mov dword [rsp + 0x64], 0x2c
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d9b82
mov dword [rsp + 0x78], r13d
mov ecx, dword [rbp + 0xd4]
add ecx, dword [rbp + 0xd0]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0xd8]
sub eax, ecx
add eax, dword [rbp + 0xd0]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0xdc]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0xec]
movups xmmword [rbp - 0x6c], xmm0
mov r14b, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x48], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0x58], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x60], eax
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400d9bc1
cmp eax, 0xffffffff
je 0x1400d9bcf
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9bcf
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov dword [rbp + 0x38], ebx
test r14b, r14b
je 0x1400d9be4
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x38]
call fcn.1400d84a0
inc ebx
cmp ebx, dword [rsp + 0x40]
jle 0x1400d9af0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400d9cb3
xor bl, bl
mov dword [rsp + 0x68], 0x2c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
lea rdx, [0x140246f48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d9c74
mov dword [rsp + 0x78], r13d
mov ecx, dword [rbp + 0x104]
add ecx, dword [rbp + 0x100]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0x108]
sub eax, ecx
add eax, dword [rbp + 0x100]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0x10c]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0x11c]
movups xmmword [rbp - 0x6c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x78], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0x88], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x90], eax
mov dword [rbp + 0x68], 0x7b2
test bl, bl
je 0x1400d9cb3
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x68]
call fcn.1400d84a0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400d9cdf
cmp eax, 0xffffffff
je 0x1400d9cee
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9cee
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400d9d0e
cmp eax, 0xffffffff
je 0x1400d9d1c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400d9d1c
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rax, qword [rsi + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400d9d78
mov rcx, r12
call fcn.140023730
mov rcx, r15
call fcn.140023730
mov rcx, qword [rsi + 0x20]
lea rax, [0x140187f70]
cmp rcx, rax
je 0x1400d9d78
mov qword [rbp - 0x10], rcx
mov qword [rsi + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x1400d9d6a
cmp eax, 0xffffffff
je 0x1400d9d78
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400d9d78
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1401202c0
mov rbx, qword [rsp + 0x290]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret