joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000b37c
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.18003be30
sub rsp, rax
mov rax, qword [0x180056150]
xor rax, rsp
mov qword [rsp + 0x1250], rax
mov rbp, rdx
mov rdi, rcx
mov r8, rdx
lea rdx, [0x180041688]
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 0x18000b470
lea rdx, [rdi + 0x210]
lea rcx, [rsp + 0x40]
cmp word [rdx], bx
je 0x18000b40c
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x18000b428
mov edx, 0x104
call fcn.18000dba4
lea rdx, [0x180041698]
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, [0x180041740]
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, [0x180041750]
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.180022fd0
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 0x18000b57c
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 0x18000b645
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 0x18000b645
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
or r8d, 0xffffffff
call fcn.18000d2a0
xor ecx, ecx
call fcn.180024330
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 0x18000b64a
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18000b65c
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 [0x180056150]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.18000dba4
lea rdx, [0x180041470]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, rbx
call fcn.18000b0bc
mov r9d, eax
lea r8, [rsp + 0x40]
lea rdx, str._s__d
lea rcx, [rsp + 0x30]
call fcn.18000da7c
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 0x18000b72e
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.180022fd0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x18000b75c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180056150]
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 0x18000b7b0
xor eax, eax
jmp 0x18000b86c
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea r9, str.DefaultIcon
lea r8, [rsp + 0x40]
lea rdx, [0x1800414e8]
lea rcx, [rsp + 0x28]
call fcn.18000da7c
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 0x18000b824
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b820
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x18000b86c
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 0x18000b86a
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.180022fd0
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000b89c
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 [0x180056150]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, r8d
mov rdi, rdx
mov rbp, rcx
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r8, [rbp + 8]
lea rax, [0x180041498]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rdx, [0x1800414b0]
lea rcx, [rsp + 0x38]
call fcn.18000da7c
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 0x18000b94b
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 0x18000b978
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r12d
jg 0x18000b971
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x18000ba20
cmp esi, r12d
je 0x18000b987
mov rcx, rdi
call fcn.18000b65c
jmp 0x18000b9f2
mov word [rsp + 0x50], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.180022ca0
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbp
call fcn.18000b75c
cmp eax, r12d
je 0x18000b9e5
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 0x18000b9f2
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.18000b65c
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 0x18000ba1b
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.180022fd0
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 0x18000badc
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 [0x180056150]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rdi, rcx
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18000ba5c
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 0x18000bb84
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, esi
jg 0x18000bb7d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x18000bc4c
mov word [rsp + 0x60], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180022ca0
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, [0x1800413e8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x1800413f8]
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 0x18000bc20
lea rdx, [0x180041408]
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 0x18000bc47
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.180022fd0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000bc7c
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 [0x180056150]
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 0x18000bcef
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 0x18000bd16
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.180022fd0
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 0x18000bcef
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.18000badc
cmp ebx, edi
sete dil
mov eax, edi
jmp 0x18000bcf1
Function at 0x18000c6ac
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 0x18000c7ff
mov rdx, r12
lea rcx, [rsp + 0x90]
call fcn.18000daa0
nop
lea r8, [0x180041370]
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.18000d540
mov rcx, qword [rsp + 0x90]
call fcn.1800126dc
cmp al, bl
jne 0x18000c76c
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ebx
jg 0x18000c765
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x18000c87c
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 0x18000c7d7
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ebx
jg 0x18000c7d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x18000c87c
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 0x18000c7ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [0x180041398]
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 0x18000c875
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.18000daa0
nop
lea r8, str.HKEY_CURRENT_USER_
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.18000d540
mov rcx, qword [rsp + 0x50]
call fcn.1800126cc
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
cmp ecx, ebx
jg 0x18000c875
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 0x18000cb9c
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 [0x180056150]
xor rax, rsp
mov qword [rsp + 0xa60], rax
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.18000bd7c
xor r12d, r12d
mov rdx, rbx
mov rcx, rdi
cmp eax, r12d
je 0x18000cbef
mov r8d, ebp
call fcn.18000b89c
lea eax, [r12 + 1]
jmp 0x18000cd25
call fcn.18000b14c
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 0x18000cc29
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.180022ca0
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, [0x1800414c0]
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 0x18000ccde
xor eax, eax
jmp 0x18000cd25
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.18000c95c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.18000b89c
lea rdx, [rsp + 0x260]
mov rcx, rdi
call fcn.18000b37c
mov edi, eax
cmp eax, r12d
je 0x18000cd23
mov rcx, rbx
call fcn.18000c89c
mov eax, edi
mov rcx, qword [rsp + 0xa60]
xor rcx, rsp
call fcn.180022fd0
mov rbx, qword [rsp + 0xab0]
add rsp, 0xa70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000db54
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x180058278]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x180058278]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x18000dba4
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 [0x180056150]
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 0x18000dc66
cmp rdi, rbx
je 0x18000dcb5
cmp esi, ebx
je 0x18000dcb5
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bx
call fcn.180022ca0
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 0x18000dc90
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.180022fd0
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.180024664
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x18000dcb5
mov word [rdi], bx
mov ebx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x18000dc6b

Function at 0x18000e2f4
Capabilities:
Create thread
Resume thread

Disassembly:
sub rsp, 0x38
xor eax, eax
cmp qword [0x180058278], rax
jne 0x18000e34b
cmp dword [0x180058280], eax
jne 0x18000e34b
cmp dword [0x180057f40], eax
je 0x18000e34b
lea rax, [0x180058280]
lea r8, [0x18000dd44]
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 [0x180058278], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rsp, 0x38
ret
Function at 0x18000f2f4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rax, qword [0x180056150]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rcx, [0x1800581d0]
mov edx, 1
call fcn.18001042c
mov edi, eax
test eax, eax
js 0x18000f43c
lea rdx, [rsp + 0xb0]
lea rcx, [0x180043918]
mov r8d, 0x32
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jle 0x18000f43a
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x40]
lea rcx, [0x180042110]
call fcn.18000f154
lea rdx, [rsp + 0x40]
lea rcx, [0x180042160]
call fcn.18000f154
lea rdx, [rsp + 0x40]
lea rcx, str.drive_shellexContextMenuHandlers_
call fcn.18000f154
call qword [sym.imp.KERNEL32.dll_GetVersion]
bt eax, 0x1f
jb 0x18000f43a
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea rdx, [0x180042220]
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 0x18000f425
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 0x18000f42c
test rbx, rbx
je 0x18000f425
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80070005
jmp 0x18000f43c
test rbx, rbx
je 0x18000f43a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180022fd0
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret
Function at 0x18000f758
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
sub rsp, 0x50
and qword [rax - 0x20], 0
and qword [rax - 0x28], 0
and qword [rax - 0x18], 0
and dword [rax - 0x10], 0
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rbp, r9
mov dword [rax - 0x30], 0x2001f
and dword [rax - 0x38], 0
lea rcx, [rax - 0x18]
xor r9d, r9d
call fcn.1800081f4
mov ebx, eax
test eax, eax
jne 0x18000f7dd
test rsi, rsi
jne 0x18000f7ae
lea ebx, [rax + 0xd]
jmp 0x18000f7dd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x40]
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp qword [rsp + 0x40], 0
je 0x18000f7f0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rsi
ret

Function at 0x180011b2c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x490
mov rax, qword [0x180056150]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, rdx
mov rbp, rcx
mov rdx, rcx
lea rcx, [rsp + 0x270]
mov r13, r8
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..dll
lea rcx, [rsp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x24]
xor edi, edi
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], edi
call fcn.180022ca0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180011bbb
xor eax, eax
jmp 0x180011c45
lea rdx, [0x1800428d8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x180011c21
lea rdx, [0x1800428d0]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x180011c21
test byte [rsp + 0x20], 0x10
jne 0x180011c21
lea rcx, [rbp + 0x410]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x410]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rbp + 0x410]
mov rcx, r13
call r12
cmp eax, edi
jne 0x180011c35
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
je 0x180011c3a
jmp 0x180011bbb
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180022fd0
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x490
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret