Function at 0x140028f80
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, r9
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x30], edx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor esi, esi
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
lea r8d, [rsi + 0x2a]
lea rdx, str.SOFTWAREMicrosoftCTFDirectSwitchHotkeys
lea rcx, [rsp + 0x78]
call fcn.140006900
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400ba4e0
nop
cmp qword [rbp - 0x70], 8
jb 0x140029024
mov rcx, qword [rsp + 0x78]
call fcn.1400bd20c
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCTFDirectSwitchHotkeys
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
test eax, eax
jne 0x140029302
mov rbx, r13
cmp r13, r15
je 0x1400292f6
or r11d, 0xffffffff
mov r13d, dword [rsp + 0x30]
mov r10, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140029082
mov rdx, qword [rbx]
jmp 0x140029085
mov rdx, rbx
mov r9, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 8
jb 0x140029098
mov rcx, qword [r12]
jmp 0x14002909b
mov rcx, r12
mov r8, r10
cmp r9, r10
cmovb r8, r9
test r8, r8
jmp 0x1400290d4
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1400290c5
add rcx, 2
add rdx, 2
dec r8
jmp 0x1400290d4
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, r11d
jmp 0x1400290d9
jne 0x1400290b0
mov r8d, esi
movsxd rax, r8d
test r8d, r8d
jne 0x1400290f3
cmp r9, r10
jae 0x1400290eb
mov eax, r11d
jmp 0x1400290f3
mov eax, esi
cmp r9, r10
setne al
test eax, eax
je 0x1400292e4
mov r14d, esi
mov word [rbp - 0x60], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.1400c2130
mov dword [rsp + 0x30], 0x208
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
mov r8d, 0xa
lea rdx, str.VirtualKey
lea rcx, [rsp + 0x78]
call fcn.140006900
cmp qword [rbx + 0x18], 8
jb 0x14002914f
mov rdx, qword [rbx]
jmp 0x140029152
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 0x1400291b7
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 - 0x60]
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 0x1400291ce
mov rcx, qword [rsp + 0x78]
call fcn.1400bd20c
test dil, dil
je 0x1400291e5
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp - 0x60]
call fcn.1400be988
mov r14d, eax
mov dword [rsp + 0x30], 0x208
mov qword [rbp - 0x70], 7
xor eax, eax
mov qword [rbp - 0x78], rax
mov word [rsp + 0x78], ax
lea r8d, [rax + 9]
lea rdx, str.Modifiers
lea rcx, [rsp + 0x78]
call fcn.140006900
cmp qword [rbx + 0x18], 8
jb 0x140029221
mov rdx, qword [rbx]
jmp 0x140029224
mov rdx, rbx
lea rax, [rsp + 0x48]
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 0x140029289
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 - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete dil
cmp qword [rbp - 0x70], 8
jb 0x1400292a0
mov rcx, qword [rsp + 0x78]
call fcn.1400bd20c
test dil, dil
je 0x1400292b6
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp - 0x60]
call fcn.1400be988
mov esi, eax
mov rax, qword [rsp + 0x50]
cmp esi, dword [rax]
jne 0x1400292de
cmp r14d, r13d
jne 0x1400292de
cmp qword [rbx + 0x18], 8
jb 0x1400292d0
mov rdx, qword [rbx]
jmp 0x1400292d3
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor esi, esi
or r11d, 0xffffffff
add rbx, 0x20
cmp rbx, r15
jne 0x140029072
mov r13, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r13, r13
je 0x14002933f
mov rbx, r13
cmp r13, r15
je 0x140029337
nop
cmp qword [rbx + 0x18], 8
jb 0x14002931f
mov rcx, qword [rbx]
call fcn.1400bd20c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
add rbx, 0x20
cmp rbx, r15
jne 0x140029310
mov rcx, r13
call fcn.1400bd20c
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret