joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017100
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x268], rax
lea rcx, [rsp + 0x30]
call fcn.140013970
lea rcx, [rsp + 0x38]
call fcn.140013970
mov edx, 0xe8
lea rcx, [rsp + 0x30]
call fcn.140002af0
mov edx, 0xe9
lea rcx, [rsp + 0x38]
call fcn.140002af0
lea rcx, [rsp + 0x30]
call fcn.14000afd0
mov rdi, rax
lea rcx, [rsp + 0x38]
call fcn.14000afd0
mov rcx, qword [rsp + 0x280]
add rcx, 8
mov r9d, 4
mov r8, rdi
mov rdx, rax
call fcn.140002ec0
cmp eax, 6
jne 0x14001722d
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], 0
call fcn.1400049b0
test eax, eax
jne 0x1400171e4
lea rax, [0x14002ce48]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
lea r9, str._uninstalldrive
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x280]
add rcx, 8
xor r9d, r9d
mov r8d, 2
mov edx, VarUI4FromDisp
call fcn.14000bb50
mov qword [rsp + 0x260], 0
lea rcx, [rsp + 0x38]
call fcn.140002d80
lea rcx, [rsp + 0x30]
call fcn.140002d80
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x270
pop rdi
ret

Function at 0x140018f00
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x880
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x878], rax
lea rax, str.Update
mov qword [rsp + 0x20], rax
lea r9, [0x14002d0d0]
lea r8, [0x14002d0e0]
lea rdx, [0x14002d0f0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x850]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140018f84
mov eax, 1
jmp 0x140019027
mov dword [rsp + 0x858], 0
lea rdi, [rsp + 0x85c]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0x874], 8
lea rax, [rsp + 0x874]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x858]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.kernel
mov rcx, qword [rsp + 0x850]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x858]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rcx, [rsp + 0x860]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x30]
call fcn.140018e90
mov dword [rsp + 0x870], eax
mov eax, dword [rsp + 0x870]
mov rcx, qword [rsp + 0x878]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x880
pop rdi
ret
Function at 0x140019050
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [0x14002d128]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x5a
jmp 0x140019089
mov eax, dword [rsp + 0x30]
sub eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x41
jle 0x1400190c9
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x28], ax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x1400190c7
lea rcx, [rsp + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax], r11
mov eax, 1
jmp 0x1400190cb
jmp 0x14001907e
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x48
ret

Function at 0x140019320
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
lea r9, [0x14002d158]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1400196c0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 4
lea rcx, [rsp + 0x38]
call fcn.14000afd0
mov rcx, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14002d168]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x38]
call fcn.1400197d0
mov eax, dword [rsp + 0x48]
add rsp, 0x58
ret

Function at 0x1400194e0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x2d0
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
call fcn.140018f00
test eax, eax
jne 0x14001950e
mov eax, 1
jmp 0x14001960c
call fcn.1400193b0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x240], 0x70
lea rdi, [rsp + 0x244]
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rsp + 0x2b8], rax
lea rdx, str.Update.exe
mov rcx, qword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x258], rdx
lea rcx, [rsp + 0x2b0]
call fcn.140002ff0
mov r9d, dword [rsp + 0x20]
lea r8, [0x14002d1a8]
lea rdx, [0x14002d1b0]
lea rcx, [rsp + 0x2b0]
call fcn.140003010
lea rcx, [rsp + 0x2b0]
call fcn.14000afd0
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x270], 0
mov dword [rsp + 0x244], 0x400
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400195ed
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c0], eax
lea rcx, [rsp + 0x2b0]
call fcn.1400040f0
mov eax, dword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x2d0
pop rdi
ret
Function at 0x1400198b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x60
lea r9, [0x14002d210]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1400196c0
mov dword [rsp + 0x48], 4
mov rbx, qword [rsp + 0x70]
add rbx, 0xa8
lea rcx, [rsp + 0x38]
call fcn.14000afd0
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14002d220]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r9, [0x14002d238]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1400196c0
mov dword [rsp + 0x48], 4
mov rbx, qword [rsp + 0x70]
add rbx, 0xac
lea rcx, [rsp + 0x40]
call fcn.14000afd0
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14002d258]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], 4
mov rbx, qword [rsp + 0x70]
add rbx, 0xa4
lea rcx, [rsp + 0x40]
call fcn.14000afd0
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14002d270]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, 0xffffffff
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140019cb0
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.1400197d0
lea rcx, [rsp + 0x38]
call fcn.1400197d0
mov rax, qword [rsp + 0x50]
add rsp, 0x60
pop rbx
ret

Function at 0x140019a10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
mov r8d, 0xffffffff
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.140019cb0
lea r9, [0x14002d298]
mov r8d, 3
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400196c0
mov rbx, qword [rsp + 0x60]
add rbx, 0xa8
lea rcx, [rsp + 0x30]
call fcn.14000afd0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbx
mov r9d, 4
xor r8d, r8d
lea rdx, str.OpenDrive
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r9, str.MountMenuItems
mov r8d, 3
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400196c0
mov rbx, qword [rsp + 0x60]
add rbx, 0xac
lea rcx, [rsp + 0x38]
call fcn.14000afd0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbx
mov r9d, 4
xor r8d, r8d
lea rdx, str.Casscade
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x60]
add rbx, 0xa4
lea rcx, [rsp + 0x38]
call fcn.14000afd0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbx
mov r9d, 4
xor r8d, r8d
lea rdx, str.IntegrateExplorer
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x38]
call fcn.1400197d0
lea rcx, [rsp + 0x30]
call fcn.1400197d0
mov eax, dword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x14001a3f0
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea rax, str.D7B7CDDF_EF6B_4070_9478_2B37F70BE7AA
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
xor r9d, r9d
mov r8d, 4
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001a44f
xor eax, eax
jmp 0x14001a66b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001a46e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001a66b
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14001a4ac
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001a66b
mov r8d, 0x400
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14001db80
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x310]
add rax, 0xa4
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x310]
add rax, 0xd4
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x2e8], 0
jmp 0x14001a50f
mov eax, dword [rsp + 0x2e8]
add eax, 1
mov dword [rsp + 0x2e8], eax
cmp dword [rsp + 0x2e8], 0xc
jge 0x14001a58e
movsxd rdi, dword [rsp + 0x2e8]
movsxd rcx, dword [rsp + 0x2e8]
mov rdx, qword [rsp + 0x2e0]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + rcx*4]
mov eax, dword [rdx + rdi*4]
xor eax, ecx
test eax, eax
je 0x14001a589
movsxd rax, dword [rsp + 0x2e8]
lea rdx, str..iso
mov rdx, qword [rdx + rax*8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movsxd rdx, dword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2e0]
mov eax, dword [rax + rdx*4]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov qword [rsp + 0x30], rax
jmp 0x14001a4fe
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edx, edx
mov word [rsp + 0x60], dx
lea rdi, [rsp + 0x62]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x70
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.14001db80
mov dword [rsp + 0x270], 0x70
mov dword [rsp + 0x274], 0x40
mov qword [rsp + 0x278], 0
lea rax, str.runas
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x288], rax
lea rax, str._SetFileAssoc
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], 0
mov dword [rsp + 0x2a0], 5
lea rcx, [rsp + 0x270]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, 0x1388
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x300
pop rdi
ret
Function at 0x14001bf20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1088
call fcn.14002a300
sub rsp, rax
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rax, qword [rsp + 0x1090]
cmp qword [rax], 0
jne 0x14001bf5e
xor eax, eax
jmp 0x14001c136
mov dword [rsp + 0x1060], 0x800
lea r9, [rsp + 0x1060]
lea r8, [rsp + 0x860]
mov rdx, qword [rsp + 0x1098]
mov rcx, qword [rsp + 0x1090]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
jne 0x14001bfc6
lea rdx, [0x14002d530]
lea rcx, [rsp + 0x860]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14001bfc6
mov eax, 1
jmp 0x14001c136
lea r8, [rsp + 0x848]
mov rdx, qword [rsp + 0x1098]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
je 0x14001c068
lea rcx, [0x14002d568]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [0x14002d5a0]
mov r8d, 1
mov rdx, qword [rsp + 0x1098]
mov rcx, qword [rsp + 0x1090]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
jne 0x14001c051
mov dword [rsp + 0x1064], 1
jmp 0x14001c05c
mov dword [rsp + 0x1064], 0
mov eax, dword [rsp + 0x1064]
jmp 0x14001c136
mov dword [rsp + 0x1060], 0x800
lea r9, [rsp + 0x1060]
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x848]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x848]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x14002d5d8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
mov qword [rsp + 0x840], rax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x840], rax
jne 0x14001c0cb
xor eax, eax
jmp 0x14001c136
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x1098]
mov rcx, qword [rsp + 0x1090]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
jne 0x14001c124
mov dword [rsp + 0x1068], 1
jmp 0x14001c12f
mov dword [rsp + 0x1068], 0
mov eax, dword [rsp + 0x1068]
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x1088
ret
Function at 0x14001c300
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1298
call fcn.14002a300
sub rsp, rax
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x1280], rax
mov r9, qword [rsp + 0x12a8]
lea r8, [0x14002d6b8]
lea rdx, [0x14002d6d8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x848]
mov rdx, qword [rsp + 0x12a8]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
je 0x14001c3a5
lea r8, [rsp + 0x848]
mov rdx, qword [rsp + 0x12a8]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x14001c3a5
xor eax, eax
jmp 0x14001c564
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x848]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x848]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
je 0x14001c417
xor eax, eax
jmp 0x14001c564
mov rdx, qword [rsp + 0x12a8]
mov rcx, qword [rsp + 0x840]
call fcn.14001c160
mov rcx, qword [rsp + 0x840]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x12a8]
call fcn.14001be90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14001c54a
lea r9, str.DefaultIcon
lea r8, [rsp + 0x40]
lea rdx, [0x14002d708]
lea rcx, [rsp + 0x860]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x1060]
lea rdx, [rsp + 0x860]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x850], eax
cmp dword [rsp + 0x850], 0
jne 0x14001c54a
cmp qword [rsp + 0x12b0], 0
je 0x14001c4cc
mov rdx, qword [rsp + 0x12b0]
lea rcx, [rsp + 0x1070]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x14001c4e2
mov r8d, 0x104
lea rdx, [rsp + 0x1070]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0x1070]
lea rdx, str._s__d
lea rcx, [rsp + 0x1070]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x1070]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x1070]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x1060]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov rcx, qword [rsp + 0x1060]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rsp + 0x12b0]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x12a0]
call fcn.14001c5f0
mov rcx, qword [rsp + 0x1280]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x1298
ret
Function at 0x14001c5f0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa78
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0xa68], rax
lea r9, [0x14002d728]
mov r8, qword [rsp + 0xa88]
lea rdx, [0x14002d750]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14001c6f1
cmp qword [rsp + 0xa90], 0
je 0x14001c682
mov rdx, qword [rsp + 0xa90]
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x14001c698
mov r8d, 0x104
lea rdx, [rsp + 0x850]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.__NewDriver___1_
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x850]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
jne 0x14001c705
mov dword [rsp + 0xa60], 1
jmp 0x14001c710
mov dword [rsp + 0xa60], 0
mov eax, dword [rsp + 0xa60]
mov rcx, qword [rsp + 0xa68]
xor rcx, rsp
call fcn.14001d350
add rsp, 0xa78
ret
Function at 0x14001c740
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x868
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [rsp + 0x878]
mov rcx, qword [rsp + 0x870]
call fcn.14001cb40
test eax, eax
jne 0x14001c786
mov eax, 1
jmp 0x14001c898
mov dword [rsp + 0x850], 0x800
xor eax, eax
mov word [rsp + 0x50], ax
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x878]
mov rcx, qword [rsp + 0x870]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14001c7d0
xor eax, eax
jmp 0x14001c898
lea rdx, str.NoAssociate.KuaiZipMount
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14001c802
mov rdx, qword [rsp + 0x878]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
jmp 0x14001c898
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x878]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14001c896
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x50]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
jne 0x14001c882
mov dword [rsp + 0x854], 1
jmp 0x14001c88d
mov dword [rsp + 0x854], 0
mov eax, dword [rsp + 0x854]
jmp 0x14001c898
xor eax, eax
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x868
ret

Function at 0x14001c8c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x848
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x838], rax
mov r9, qword [rsp + 0x858]
lea r8, [0x14002d7c0]
lea rdx, [0x14002d7e0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14001c927
mov dword [rsp + 0x830], 1
jmp 0x14001c932
mov dword [rsp + 0x830], 0
mov eax, dword [rsp + 0x830]
mov rcx, qword [rsp + 0x838]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x848
ret
Function at 0x14001cb40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1298
call fcn.14002a300
sub rsp, rax
mov rax, qword [0x140035cc8]
xor rax, rsp
mov qword [rsp + 0x1288], rax
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x12a8]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
je 0x14001cba3
xor eax, eax
jmp 0x14001cd29
mov dword [rsp + 0x1050], 0x400
lea r9, [rsp + 0x1050]
lea r8, [rsp + 0x850]
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
je 0x14001cbee
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14001cd29
lea r8, str.KuaiZipMount
lea rdx, [0x14002d868]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x850]
call fcn.140016840
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x850]
cmp qword [rsp + 0x30], rax
jne 0x14001cd1a
lea rcx, [rsp + 0x1058]
call fcn.140011f80
lea rdx, str._shellopencommand
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9d, 1
lea r8, [rsp + 0x850]
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x1058]
call fcn.1400121d0
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
jne 0x14001cd0d
mov dword [rsp + 0x1068], 0x400
lea r9, [rsp + 0x1068]
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x1058]
call fcn.14001cd50
mov r8d, 0x104
lea rdx, [rsp + 0x1070]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x40]
call fcn.140016840
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x14001ccf7
mov dword [rsp + 0x1280], 1
jmp 0x14001cd02
mov dword [rsp + 0x1280], 0
mov eax, dword [rsp + 0x1280]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x1058]
call fcn.140011fb0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1288]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x1298
ret