Function at 0x14000d080
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x34], 1
cmp qword [rsp + 0x68], 0
jne 0x14000d0e9
xor eax, eax
test eax, eax
jne 0x14000d0e2
lea rcx, [0x14002e230]
call fcn.140005070
test eax, eax
je 0x14000d0e0
lea rax, [0x14002e194]
mov qword [rsp + 0x20], rax
mov r9d, 0x722
lea r8, [0x14002e250]
lea rdx, [0x14002e260]
lea rcx, [0x14002e280]
call fcn.140004c80
xor eax, eax
xor eax, eax
jmp 0x14000d59f
cmp dword [0x140038018], 0
jne 0x14000d0fc
mov dword [rsp + 0x40], 0
jmp 0x14000d136
lea rcx, [0x14002e2a0]
call fcn.140005070
test eax, eax
je 0x14000d126
lea rcx, str.entry
call fcn.140004d20
test eax, eax
je 0x14000d126
mov dword [rsp + 0x44], 1
jmp 0x14000d12e
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseSensitivity
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d1c1
xor eax, eax
test eax, eax
jne 0x14000d1b7
lea rcx, [0x14002e2e0]
call fcn.140005070
test eax, eax
je 0x14000d1b5
lea rax, [0x14002e2fc]
mov qword [rsp + 0x20], rax
mov r9d, 0x731
lea r8, [0x14002e308]
lea rdx, [0x14002e318]
lea rcx, [0x14002e338]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
jmp 0x14000d1cd
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseSpeed
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d256
xor eax, eax
test eax, eax
jne 0x14000d24e
lea rcx, [0x14002e368]
call fcn.140005070
test eax, eax
je 0x14000d24c
lea rax, [0x14002e384]
mov qword [rsp + 0x20], rax
mov r9d, 0x741
lea r8, [0x14002e390]
lea rdx, [0x14002e3a0]
lea rcx, [0x14002e3c0]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 4
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 0x18], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseThreshold1
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d2eb
xor eax, eax
test eax, eax
jne 0x14000d2e3
lea rcx, [0x14002e3f0]
call fcn.140005070
test eax, eax
je 0x14000d2e1
lea rax, [0x14002e40c]
mov qword [rsp + 0x20], rax
mov r9d, 0x749
lea r8, [0x14002e418]
lea rdx, [0x14002e428]
lea rcx, [0x14002e448]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 4
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 0x10], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseThreshold2
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d380
xor eax, eax
test eax, eax
jne 0x14000d378
lea rcx, [0x14002e478]
call fcn.140005070
test eax, eax
je 0x14000d376
lea rax, [0x14002e494]
mov qword [rsp + 0x20], rax
mov r9d, 0x751
lea r8, [0x14002e4a0]
lea rdx, [0x14002e4b0]
lea rcx, [0x14002e4d0]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 0x14], eax
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseVerticalScroll
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d415
xor eax, eax
test eax, eax
jne 0x14000d40d
lea rcx, [0x14002e508]
call fcn.140005070
test eax, eax
je 0x14000d40b
lea rax, [0x14002e524]
mov qword [rsp + 0x20], rax
mov r9d, 0x75f
lea r8, [0x14002e530]
lea rdx, [0x14002e540]
lea rcx, [0x14002e560]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 4], eax
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseHorizontalScroll
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d4aa
xor eax, eax
test eax, eax
jne 0x14000d4a2
lea rcx, [0x14002e598]
call fcn.140005070
test eax, eax
je 0x14000d4a0
lea rax, [0x14002e5b4]
mov qword [rsp + 0x20], rax
mov r9d, 0x76d
lea r8, [0x14002e5c0]
lea rdx, [0x14002e5d0]
lea rcx, [0x14002e5f0]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 8], eax
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.MouseButtonSwapping
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d53f
xor eax, eax
test eax, eax
jne 0x14000d537
lea rcx, [0x14002e628]
call fcn.140005070
test eax, eax
je 0x14000d535
lea rax, [0x14002e644]
mov qword [rsp + 0x20], rax
mov r9d, 0x77b
lea r8, [0x14002e650]
lea rdx, [0x14002e660]
lea rcx, [0x14002e680]
call fcn.140004c80
xor eax, eax
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
cmp dword [0x140038018], 0
jne 0x14000d55d
mov dword [rsp + 0x48], 0
jmp 0x14000d59b
lea rcx, str.WndRetrieveCursorSettings
call fcn.140005070
test eax, eax
je 0x14000d58b
mov edx, dword [rsp + 0x34]
lea rcx, str.exit___bStatus:_d.
call fcn.140004d20
test eax, eax
je 0x14000d58b
mov dword [rsp + 0x4c], 1
jmp 0x14000d593
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
add rsp, 0x58
ret