Function at 0x140028780
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x300
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCTFDirectSwitchHotkeys
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400287f2
xor al, al
jmp 0x140028aea
xor r15b, r15b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
lea r8d, [r12 + 0x2a]
lea rdx, str.SOFTWAREMicrosoftCTFDirectSwitchHotkeys
lea rcx, [rsp + 0x78]
call fcn.140006900
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call fcn.1400ba4e0
nop
cmp qword [rbp - 0x70], 8
jb 0x140028858
mov rcx, qword [rsp + 0x78]
call fcn.1400bd20c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
mov r14, qword [rsp + 0x48]
mov rbx, r14
mov rsi, qword [rsp + 0x50]
cmp r14, rsi
je 0x140028a8f
mov word [rbp - 0x20], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x1e]
call fcn.1400c2130
mov dword [rsp + 0x30], 0x208
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
mov r8d, 5
lea rdx, str.CLSID
lea rcx, [rsp + 0x78]
call fcn.140006900
nop
cmp qword [rbx + 0x18], 8
jb 0x1400288dc
mov rdx, qword [rbx]
jmp 0x1400288df
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140028944
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete dil
cmp qword [rbp - 0x70], 8
jb 0x14002895b
mov rcx, qword [rsp + 0x78]
call fcn.1400bd20c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
test dil, dil
je 0x140028a80
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
cmp word [rbp - 0x20], 0
jne 0x14002899b
mov r8, r12
jmp 0x1400289ae
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400289a3
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.140006900
nop
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
mov r8d, 0x26
lea rdx, str.0055AAB0_EACB_46DB_9BB4_1B97FC046D02
lea rcx, [rbp - 0x48]
call fcn.140006900
nop
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x60], rcx
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
cmp rax, rcx
cmovae r8, rdx
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
mov r8, qword [r8]
call fcn.140061440
test eax, eax
sete dil
cmp qword [rbp - 0x30], 8
jb 0x140028a49
mov rcx, qword [rbp - 0x48]
call fcn.1400bd20c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
cmp qword [rbp - 0x50], 8
jb 0x140028a6a
mov rcx, qword [rbp - 0x68]
call fcn.1400bd20c
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
test dil, dil
jne 0x140028a8c
add rbx, 0x20
cmp rbx, rsi
jmp 0x14002887a
mov r15b, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x140028ae6
mov rbx, r14
cmp r14, rsi
je 0x140028ad0
cmp qword [rbx + 0x18], 8
jb 0x140028ab7
mov rcx, qword [rbx]
call fcn.1400bd20c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
add rbx, 0x20
cmp rbx, rsi
jne 0x140028aa8
mov rcx, r14
call fcn.1400bd20c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
movzx eax, r15b
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret