joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180006374
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1050
call fcn.18003f390
sub rsp, rax
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x1040], rax
xor edi, edi
mov rsi, rdx
mov rbp, rcx
cmp qword [rcx], rdi
jne 0x1800063af
xor eax, eax
jmp 0x1800064e6
mov rcx, qword [rcx]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x840]
mov ebx, 0x800
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
cmp eax, edi
jne 0x1800063f5
mov rdx, qword [str.NoAssociate.KZ]
lea rcx, [rsp + 0x840]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x1800063f5
mov eax, 1
jmp 0x1800064e6
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
je 0x180006463
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [str.NoAssociate.KZ]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9, qword [str.NoAssociate.KZ]
mov rcx, qword [rbp]
lea eax, [rax + rax + 2]
mov r8d, 1
mov rdx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
cmp ebx, edi
jmp 0x1800064e0
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
call fcn.180025e88
lea rcx, [rsp + 0x40]
cmp rax, rcx
jne 0x1800064b3
mov rdx, qword [str.NoAssociate.KZ]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp]
lea r9, [rsp + 0x40]
lea eax, [rax + rax + 2]
mov r8d, 1
mov rdx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
cmp eax, edi
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800065a4
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1260
call fcn.18003f390
sub rsp, rax
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x1250], rax
mov rbp, rdx
mov rdi, rcx
mov r8, rdx
lea rdx, [0x180044698]
lea rcx, [rsp + 0xa50]
lea r9, str._shellopencommand
call qword [sym.imp.USER32.dll_wsprintfW]
mov r12, 0xffffffff80000000
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa50]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor ebx, ebx
mov esi, eax
cmp eax, ebx
jne 0x180006698
lea rdx, [rdi + 0x210]
lea rcx, [rsp + 0x40]
cmp word [rdx], bx
je 0x180006634
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x180006650
mov edx, 0x104
call fcn.180008dcc
lea rdx, [0x1800446a8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.___1_
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
xor edx, edx
lea eax, [rax + rax + 2]
lea r9, [rsp + 0x40]
lea r8d, [rdx + 1]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x30]
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, str._shellPropertySheetHandlers
lea rdx, str._s_s_s
lea rcx, [rsp + 0xa50]
mov r8, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str._shellexopenddeexec
lea rdx, [0x180044750]
lea rcx, [rsp + 0x250]
mov r8, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x250]
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea r9, [0x180044760]
lea rdx, str._s_s
lea rcx, [rsp + 0x250]
mov r8, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x250]
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp esi, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x1250]
xor rcx, rsp
call fcn.180026540
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1800067a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x60]
lea rdx, str.SoftwareKuaiZipKuaiZipInterface
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
cmp eax, edi
jne 0x18000686d
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
lea rdx, str.FixAssoc
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x58], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
jne 0x18000686d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
or r8d, 0xffffffff
call fcn.1800084c8
xor ecx, ecx
call fcn.1800278a0
mov r11, rax
movabs rax, 0x1845c8a0ce512957
sub r11, qword [rsp + 0x30]
imul r11
sar rdx, 0xd
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 7
setge dil
mov eax, edi
jmp 0x180006872
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180006884
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.180008dcc
lea rdx, [0x180044480]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [0x180059508]
mov rax, qword [0x180059508]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, rbx
call fcn.1800062e4
mov r9d, eax
lea r8, [rsp + 0x40]
lea rdx, str._s__d
lea rcx, [rsp + 0x30]
call fcn.180008ca4
mov rbx, qword [rsp + 0x30]
mov eax, dword [rbx - 0x10]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x20], eax
mov r9, rbx
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
xor edi, edi
test eax, eax
sete dil
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180006956
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x180006984
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r8
mov dword [rsp + 0x24], r9d
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x1800069d8
xor eax, eax
jmp 0x180006a94
lea rcx, [0x180059508]
mov rax, qword [0x180059508]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea r9, str.DefaultIcon
lea r8, [rsp + 0x40]
lea rdx, [0x1800444f8]
lea rcx, [rsp + 0x28]
call fcn.180008ca4
lea r8, [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x180006a4c
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180006a48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x180006a94
lea r9, [rsp + 0x24]
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test edi, edi
sete sil
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180006a92
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180026540
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x180006ac4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, r8d
mov rdi, rdx
mov rbp, rcx
lea rcx, [0x180059508]
mov rax, qword [0x180059508]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r8, [rbp + 8]
lea rax, [0x1800444a8]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rdx, [0x1800444c0]
lea rcx, [rsp + 0x38]
call fcn.180008ca4
lea r8, [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor r12d, r12d
cmp eax, r12d
je 0x180006b73
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rdx, qword [rsp + 0x30]
cmp rdx, r12
jne 0x180006ba0
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r12d
jg 0x180006b99
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x180006c48
cmp esi, r12d
je 0x180006baf
mov rcx, rdi
call fcn.180006884
jmp 0x180006c1a
mov word [rsp + 0x50], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.180026210
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbp
call fcn.180006984
cmp eax, r12d
je 0x180006c0d
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x50]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
jmp 0x180006c1a
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.180006884
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
cmp ecx, r12d
jg 0x180006c43
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180026540
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180006d04
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rdi, rcx
lea rcx, [0x180059508]
mov rax, qword [0x180059508]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180006c84
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0xf003f
xor r8d, r8d
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
cmp eax, esi
je 0x180006dac
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, esi
jg 0x180006da5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x180006e74
mov word [rsp + 0x60], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180026210
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x1800443f8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x180044408]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rdi
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
jne 0x180006e48
lea rdx, [0x180044418]
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 rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, esi
jg 0x180006e6f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180026540
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180006ea4
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rcx, qword [rcx]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
xor edi, edi
mov rsi, rdx
mov dword [rsp + 0x38], 0x800
mov word [rsp + 0x40], di
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
cmp eax, edi
jne 0x180006f17
mov rdx, qword [str.NoAssociate.KZ]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rdx, rsi
mov rcx, 0xffffffff80000000
cmp eax, edi
jne 0x180006f3e
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.180026540
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x180006f17
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
xor edx, edx
lea eax, [rax + rax + 2]
lea r9, [rsp + 0x40]
lea r8d, [rdx + 1]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.180006d04
cmp ebx, edi
sete dil
mov eax, edi
jmp 0x180006f19
Function at 0x1800078d4
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
sub rsp, 0x60
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov r12, rcx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x38], rax
lea rax, [r11 + 0x20]
mov qword [r11 - 0x40], rax
xor ebx, ebx
mov qword [r11 - 0x48], rbx
mov esi, 0x20006
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebp, ebx
cmp eax, ebx
je 0x180007a27
mov rdx, r12
lea rcx, [rsp + 0x90]
call fcn.180008cc8
nop
lea r8, [0x180044380]
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.180008768
mov rcx, qword [rsp + 0x90]
call fcn.18000d8fc
cmp al, bl
jne 0x180007994
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ebx
jg 0x18000798d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x180007aa4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1800079ff
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ebx
jg 0x1800079f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x180007aa4
mov ebp, 1
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ebx
jg 0x180007a27
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [0x1800443a8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
je 0x180007a9d
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.180008cc8
nop
lea r8, str.HKEY_CURRENT_USER_
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180008768
mov rcx, qword [rsp + 0x50]
call fcn.18000d8ec
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
cmp ecx, ebx
jg 0x180007a9d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
cmp esi, ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r12
pop rsi
pop rbp
ret
Function at 0x180007dc4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xa70
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0xa60], rax
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.180006fa4
xor r12d, r12d
mov rdx, rbx
mov rcx, rdi
cmp eax, r12d
je 0x180007e17
mov r8d, ebp
call fcn.180006ac4
lea eax, [r12 + 1]
jmp 0x180007f4d
call fcn.180006374
mov r13, 0xffffffff80000000
lea r8, [rsp + 0x30]
mov rcx, r13
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, 1
cmp eax, r12d
je 0x180007e51
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebp, esi
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], r12w
call fcn.180026210
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor eax, eax
cmp ax, word [rsp + 0x50]
lea r8, [rdi + 8]
lea rdx, [0x1800444d0]
lea rcx, [rsp + 0x260]
mov r9, rbx
cmove ebp, esi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x260]
lea eax, [rax + rax + 2]
mov r8d, esi
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x260]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, r12d
je 0x180007f06
xor eax, eax
jmp 0x180007f4d
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.180007b84
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.180006ac4
lea rdx, [rsp + 0x260]
mov rcx, rdi
call fcn.1800065a4
mov edi, eax
cmp eax, r12d
je 0x180007f4b
mov rcx, rbx
call fcn.180007ac4
mov eax, edi
mov rcx, qword [rsp + 0xa60]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0xab0]
add rsp, 0xa70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180008d7c
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x18005b278]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x18005b278]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x180008dcc
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsxd rsi, edx
lea rax, [rsp + 0x30]
mov rdi, rcx
lea rdx, str.SoftwareKuaiZipSFX_
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
cmp eax, ebx
jne 0x180008e8e
cmp rdi, rbx
je 0x180008edd
cmp esi, ebx
je 0x180008edd
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bx
call fcn.180026210
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.path
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x180008eb8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180026540
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call fcn.180027bd4
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x180008edd
mov word [rdi], bx
mov ebx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x180008e93

Function at 0x18000951c
Capabilities:
Create thread
Resume thread

Disassembly:
sub rsp, 0x38
xor eax, eax
cmp qword [0x18005b278], rax
jne 0x180009573
cmp dword [0x18005b280], eax
jne 0x180009573
cmp dword [0x18005af40], eax
je 0x180009573
lea rax, [0x18005b280]
lea r8, [0x180008f6c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x18005b278], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rsp, 0x38
ret
Function at 0x18000a514
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rcx, [0x18005b1d0]
mov edx, 1
call fcn.18000b64c
mov edi, eax
test eax, eax
js 0x18000a65c
lea rdx, [rsp + 0xb0]
lea rcx, [0x180046938]
mov r8d, 0x32
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jle 0x18000a65a
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x40]
lea rcx, [0x180045130]
call fcn.18000a374
lea rdx, [rsp + 0x40]
lea rcx, [0x180045180]
call fcn.18000a374
lea rdx, [rsp + 0x40]
lea rcx, str.drive_shellexContextMenuHandlers_
call fcn.18000a374
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jb 0x18000a65a
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, [0x180045240]
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000a645
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.KuaiZip_Shell_Extension
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18000a64c
test rbx, rbx
je 0x18000a645
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80070005
jmp 0x18000a65c
test rbx, rbx
je 0x18000a65a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret