joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ca68
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerWMPQFEBackup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000cb43
xor ebx, ebx
and qword [rsp + 0x38], rbx
and qword [rsp + 0x30], rbx
and qword [rsp + 0x28], rbx
and qword [rsp + 0x20], rbx
xor edx, edx
jmp 0x14000cb0b
xor edx, edx
lea rcx, [rsp + 0x50]
inc ebx
lea r8d, [rdx + 1]
call fcn.140002b0c
and qword [rsp + 0x38], 0
mov edx, ebx
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x14000cadf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerWMPQFEBackup
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140001660
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret

Function at 0x14000cb84
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x14000cc3f
mov qword [r11 - 0x18], rbx
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 2
test edx, edx
mov dword [rsp + 0x20], ebx
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerWMPQFEBackup
mov qword [r11 + 8], rbx
mov rcx, 0xffffffff80000002
jne 0x14000cbe1
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerWMFDistQFEBackup
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000cc3f
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cc3f
lea rax, [0x140040718]
mov dword [rsp + 0x28], 2
mov esi, 1
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
test eax, eax
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000eea0
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x58
and qword [r11 - 0x18], 0
lea rax, [r11 + 8]
and qword [r11 + 8], 0
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], 0
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov rcx, 0xffffffff80000001
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000ef1c
mov rcx, qword [rsp + 0x60]
lea rdx, str.UDBLocalPath
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x58
ret
Function at 0x140010650
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400107e8
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
and dword [rbp + 0x20], ebx
lea r9, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallResult
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x28], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001078c
cmp dword [rbp + 0x20], 0xd2af9
je 0x1400106f2
cmp dword [rbp + 0x20], 0xc00d2afb
jne 0x14001078c
lea rcx, [rbp + 0x30]
mov ebx, 1
call fcn.140005f24
test eax, eax
jne 0x14001077b
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.SystemUptime
lea rax, [rbp - 0x10]
mov dword [rbp + 0x18], 8
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001077b
mov rax, qword [rbp - 0x10]
cmp qword [rbp + 0x30], rax
jbe 0x140010779
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], 8
lea r9d, [rbx + 2]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemUptime
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
jmp 0x14001077b
xor ebx, ebx
call fcn.14001d870
test eax, eax
jne 0x140010788
xor ebx, ebx
jmp 0x14001078c
test ebx, ebx
jne 0x1400107d8
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
and dword [rbp + 0x18], 0
lea rdx, str.InstallResult
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x18]
lea rdx, str.SystemUptime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x140011434
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x578]
sub rsp, 0x670
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rbp + 0x560], rax
movups xmm0, xmmword [str.wmplayer.ocx]
lea rcx, [rsp + 0x5a]
movzx eax, word [0x140040768]
movsd xmm1, qword [0x140040760]
xor edx, edx
mov r8d, 0x1ee
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
mov word [rsp + 0x58], ax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [0x140040788]
lea rcx, [rbp + 0x166]
movups xmm0, xmmword [str.wmplayer.ocx.7]
xor edx, edx
mov dword [rbp + 0x160], eax
movsd xmm1, qword [0x140040780]
mov r8d, 0x1ea
movzx eax, word [0x14004078c]
movups xmmword [rbp + 0x148], xmm0
mov word [rbp + 0x164], ax
movsd qword [rbp + 0x158], xmm1
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor ebx, ebx
and qword [rsp + 0x30], 0
lea rsi, [rsp + 0x40]
movsxd rax, ebx
mov r9d, 0x2001f
imul rcx, rax, 0x208
lea rax, [rsp + 0x30]
xor r8d, r8d
add rsi, rcx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, 0xffffffff80000000
mov edi, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140011597
and dword [rsp + 0x38], eax
lea r9d, [rdi + 3]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Test
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140011586
mov rcx, qword [rsp + 0x30]
lea rdx, str.Test
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
xor edi, edi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test edi, edi
je 0x1400115e0
mov r9, rsi
lea r8, str.CLASSES_ROOT_s
mov edx, 0x104
lea rcx, [rbp + 0x350]
call fcn.1400104f4
test eax, eax
js 0x1400115e0
lea rdx, [0x1400407c0]
lea rcx, [rbp + 0x350]
call fcn.14001d408
lea rdx, [0x1400407c8]
lea rcx, [rbp + 0x350]
call fcn.14001d408
inc ebx
cmp ebx, 2
jb 0x1400114e9
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140011704
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x58
xor ebx, ebx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rbx
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferences
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
mov qword [rbp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400117b9
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x18]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AcceptedPrivacyStatement
mov dword [rbp + 0x28], 4
mov dword [rbp + 0x18], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400117a9
cmp dword [rbp + 0x18], 4
jne 0x1400117a9
cmp dword [rbp + 0x20], 1
sete bl
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
ret
Function at 0x140014bac
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebx, ebx
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbx
lea rdx, str.SystemCurrentControlSetControlProductOptions
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea edi, [rbx + 1]
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140014c7b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ProductType
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140014c6a
cmp dword [rsp + 0x30], edi
jne 0x140014c6a
lea rdx, str.WinNT
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
cmovne ebx, edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001660
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret

Function at 0x140014d94
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rcx, qword [0x140051e60]
lea r8, [rsp + 0x30]
mov r9d, pe_nt_image_headers64
mov ebx, 0x80004005
lea edx, [r9 - 0x40]
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
je 0x140014e2c
lea r8d, [rdi + 8]
lea rdx, str.https:__
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140014e2c
mov dword [rsp + 0x28], 0xa
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
cmp rax, 0x20
cmova ebx, edi
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001660
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x140015264
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x20], 0
lea rax, [rbp + 0x20]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftWindowsMediaPlayer
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140015347
and dword [rbp + 0x10], eax
lea rdx, str.PreventCDDVDMetadataRetrieval
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp + 0x10]
mov dword [rbp + 0x18], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400152f0
cmp dword [rbp + 0x10], 1
jne 0x1400152f0
and dword [0x1400537e0], 0xfffffffe
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.PreventMusicFileMetadataRetrieval
lea rax, [rbp + 0x10]
mov dword [rbp + 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140015337
cmp dword [rbp + 0x10], 1
jne 0x140015337
and dword [0x1400537e0], 0xfffffffd
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x30
pop rbp
ret

Function at 0x140015ed4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rdi, qword [rcx + 0x18]
mov rbx, rcx
test rdi, rdi
jne 0x140015ef1
xor eax, eax
jmp 0x140015f47
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbx + 0x20]
lea rcx, [rsp + 0x20]
and dword [rsp + 0x24], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret

Function at 0x1400175f4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [rsp + 0x38], 0
mov rdi, rcx
and dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140017655
lea rdx, str._DownloadService
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
jne 0x14001768f
lea rdx, str._RunOnce
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
jne 0x14001768f
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, str.WMPNetworkSvc
call fcn.14002ee18
test eax, eax
je 0x14001768f
cmp dword [rsp + 0x38], 4
jne 0x14001768f
test rdi, rdi
je 0x140017681
mov dword [rdi], 1
lea rdx, str.WMPNetworkSvc
xor ecx, ecx
call fcn.14002f414
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400182bc
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
and qword [rsp + 0x48], 0
mov rcx, qword [0x140053810]
test rcx, rcx
je 0x140018306
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x140018306
mov r9d, dword [rsp + 0x40]
xor r8d, r8d
mov rcx, qword [0x140053810]
mov edx, 0x5c7
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
lea rax, [rsp + 0x48]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140018376
mov rcx, qword [rsp + 0x48]
lea r9d, [rax + 4]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Progress_CurrentInstall
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x38
ret

Function at 0x14001859c
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
and qword [rsp + 0x48], 0
mov rcx, qword [0x140053810]
test rcx, rcx
je 0x1400185e6
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x1400185e6
mov r9d, dword [rsp + 0x40]
xor r8d, r8d
mov rcx, qword [0x140053810]
mov edx, 0x5c6
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
lea rax, [rsp + 0x48]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140018668
mov eax, dword [rsp + 0x40]
lea rdx, str.Progress_MaxInstall
test eax, eax
mov ecx, 1
cmove eax, ecx
xor r8d, r8d
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
lea r9d, [rcx + 3]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x38
ret
Function at 0x140018e9c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [0x1400515f8], 0xffffffffffffffff
mov rdi, rdx
mov ebx, ecx
jne 0x140018ebc
mov edx, ecx
call fcn.14001882c
mov r8, rdi
mov edx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140018ff0

Function at 0x140018ff0
Capabilities:
Write file on windows

Disassembly:
test r8, r8
je 0x140019047
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [0x1400515f8]
mov rax, r8
or r8, 0xffffffffffffffff
xor r9d, r9d
cmp rcx, r8
je 0x140019043
cmp edx, dword [0x140053818]
jg 0x140019043
mov dword [rsp + 0x40], r9d
inc r8
cmp byte [rax + r8], r9b
jne 0x140019021
mov qword [rsp + 0x20], r9
mov rdx, rax
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
add rsp, 0x38
ret

Function at 0x140019050
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rsp + 0x170], rax
or rbx, 0xffffffffffffffff
mov rsi, rdx
cmp qword [0x1400515f8], rbx
mov edi, ecx
jne 0x14001908d
mov edx, ecx
call fcn.14001882c
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
nop dword [rax + rax]
movzx ecx, word [rsp + 0x52]
lea r8, str._02lu:_02lu_:_02lu____s
movzx eax, word [rsp + 0x54]
mov edx, 0x104
movzx r9d, word [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x60]
call fcn.1400186c4
xor edx, edx
test eax, eax
js 0x14001911c
mov rcx, qword [0x1400515f8]
cmp rcx, rbx
je 0x140019126
cmp edi, dword [0x140053818]
jg 0x140019126
mov dword [rsp + 0x40], edx
lea rax, [rsp + 0x60]
inc rbx
cmp byte [rax + rbx], dl
jne 0x1400190f4
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
jmp 0x140019126
mov r8, rsi
mov edx, edi
call fcn.140018ff0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400193a0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140019414
lea rcx, str.wmp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140019414
mov edx, 0xbba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140019405
movabs r10, 0x8241b6605edba270
mov rcx, rdi
call qword [0x1400401a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400194bc
Capabilities:
Copy file
Get common file path
Get file attributes

Disassembly:
test rcx, rcx
je 0x1400196f4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400196bd
mov r8, rbx
lea rcx, [rbp + 0x150]
mov edx, edi
call fcn.1400104bc
lea r8, str.DllCache
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140010470
mov edx, 0x5c
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400196bd
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.140010470
lea rcx, [rsp + 0x40]
call fcn.140019eb0
test eax, eax
je 0x1400196bd
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
bt eax, 0xe
jae 0x1400195fd
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
and qword [rsp + 0x38], 0
call fcn.14001bd1c
test eax, eax
je 0x1400195f3
movabs r10, 0xc744176334503970
mov rax, qword [rsp + 0x30]
lea rcx, [rbp + 0x150]
xor edx, edx
call qword [0x1400401a8]
test eax, eax
jne 0x1400195f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, [rsp + 0x40]
mov ecx, 2
mov r9d, eax
lea rdx, str.ERROR:_Decryption_failed_for_file__S.__Last_result:_0x_x._r_n
call fcn.140018ed8
lea rcx, [rsp + 0x30]
call fcn.1400191d4
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
bt eax, 0xe
jae 0x14001969a
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
and qword [rsp + 0x38], 0
call fcn.14001bd1c
test eax, eax
je 0x140019690
movabs r10, 0xc744176334503970
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [0x1400401a8]
test eax, eax
jne 0x140019690
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, [rsp + 0x40]
mov ecx, 2
mov r9d, eax
lea rdx, str.ERROR:_Decryption_failed_for_file__S.__Last_result:_0x_x._r_n
call fcn.140018ed8
lea rcx, [rsp + 0x30]
call fcn.1400191d4
test edi, edi
jne 0x1400196bd
and dword [rsp + 0x28], edi
lea r9d, [rdi + 1]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.14001c760
mov r8, rbx
lea rdx, str._Copied_file__S_to_DllCache._r_n
mov ecx, 4
call fcn.140018ed8
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400196fc
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
or rcx, 0xffffffffffffffff
mov rdi, rcx
xor r12d, r12d
inc rdi
cmp word [r14 + rdi*2], r12w
jne 0x140019726
add rdi, 0x14
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.14000130c
mov rbx, rax
test rax, rax
je 0x140019855
mov r8, r14
mov rdx, rdi
mov rcx, rax
call fcn.1400104bc
lea rdx, [0x140043758]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
je 0x14001984d
add rbp, 4
mov r15d, r12d
cmp r15d, 0xa
jge 0x14001983c
lea rdx, [0x140043760]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x14001983c
mov rcx, rbx
mov word [rax], r12w
lea rbp, [rax + 2]
call fcn.140019df8
test eax, eax
jne 0x140019812
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
call fcn.140015998
mov esi, eax
test eax, eax
jle 0x1400197ed
movzx esi, ax
or esi, 0x80070000
mov rcx, rbx
call fcn.140019df8
mov r8, rbx
test eax, eax
je 0x140019828
xor r9d, r9d
lea edx, [r9 + 5]
lea ecx, [rdx + 3]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop dword [rax + rax]
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.1400104bc
inc r15d
jmp 0x14001978b
mov r9d, esi
lea rdx, str.ERROR:_Could_not_create_directory__S.__Error:_0x_x._r_n
mov ecx, 2
call fcn.140018ed8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
mov rcx, rbx
call fcn.1400012c0
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.140019df8