Function at 0x140022a80
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x480
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140056b28]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
mov rbx, qword [0x140056018]
mov qword [rsp + 0x30], rbx
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
lea rcx, [rbx - 0xc]
xor r13d, r13d
or edi, 0xffffffff
cmp dword [rcx], 1
jg 0x140022ae9
cmp esi, dword [rbx - 4]
jle 0x140022b24
cmp rcx, qword [0x140056010]
je 0x140022b0f
mov eax, edi
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x140022b03
call fcn.140025104
mov rax, qword [0x140056018]
mov qword [rsp + 0x30], rax
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140010c20
test eax, eax
je 0x140022b84
mov rbx, qword [rsp + 0x30]
lea r12, [rsi + rsi]
lea eax, [rsi + 1]
movsxd rdx, eax
add rdx, rdx
mov r9, r12
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
mov rcx, rbx
call fcn.140024ea8
test eax, eax
je 0x140022b7c
cmp eax, 0xc
je 0x140022b71
cmp eax, 0x16
je 0x140022b66
cmp eax, 0x22
je 0x140022b66
cmp eax, 0x50
je 0x140022b7c
mov ecx, 0x80004005
call fcn.14000e4f0
int3
mov ecx, 0x80070057
call fcn.14000e4f0
int3
mov ecx, 0x8007000e
call fcn.14000e4f0
int3
mov dword [rbx - 8], esi
mov word [r12 + rbx], r13w
test rbp, rbp
jne 0x140022b8e
mov eax, r13d
jmp 0x140022b97
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbp
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14001f4b0
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0xf003f
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140022bf5
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140056010]
je 0x140022bee
lock xadd dword [rcx], edi
dec edi
test edi, edi
jg 0x140022bee
call fcn.140025104
xor eax, eax
jmp 0x140022cbf
mov word [rsp + 0x50], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.140024c30
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.Progid
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, str.KuaiZipMount
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rbp
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140022c92
lea rdx, str.Progid
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140056010]
je 0x140022cba
lock xadd dword [rcx], edi
dec edi
test edi, edi
jg 0x140022cba
call fcn.140025104
mov eax, 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140025960
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret