Function at 0x1400224e0
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 [0x140055b28]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
mov rbx, qword [0x140055018]
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 0x140022549
cmp esi, dword [rbx - 4]
jle 0x140022584
cmp rcx, qword [0x140055010]
je 0x14002256f
mov eax, edi
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x140022563
call fcn.140024b64
mov rax, qword [0x140055018]
mov qword [rsp + 0x30], rax
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140010680
test eax, eax
je 0x1400225e4
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.140024908
test eax, eax
je 0x1400225dc
cmp eax, 0xc
je 0x1400225d1
cmp eax, 0x16
je 0x1400225c6
cmp eax, 0x22
je 0x1400225c6
cmp eax, 0x50
je 0x1400225dc
mov ecx, 0x80004005
call fcn.14000e230
int3
mov ecx, 0x80070057
call fcn.14000e230
int3
mov ecx, 0x8007000e
call fcn.14000e230
int3
mov dword [rbx - 8], esi
mov word [r12 + rbx], r13w
test rbp, rbp
jne 0x1400225ee
mov eax, r13d
jmp 0x1400225f7
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbp
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.14001ee00
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 0x140022655
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140055010]
je 0x14002264e
lock xadd dword [rcx], edi
dec edi
test edi, edi
jg 0x14002264e
call fcn.140024b64
xor eax, eax
jmp 0x14002271f
mov word [rsp + 0x50], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.140024690
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 0x1400226f2
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 [0x140055010]
je 0x14002271a
lock xadd dword [rcx], edi
dec edi
test edi, edi
jg 0x14002271a
call fcn.140024b64
mov eax, 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400253c0
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