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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r15
lea rbp, [rax - 0xfc8]
mov eax, 0x10b0
call fcn.140008510
sub rsp, rax
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
xor r13d, r13d
lea r8, [0x14000c248]
mov r12d, ecx
mov qword [rsp + 0x50], r13
mov edi, 0x20019
mov dword [rsp + 0x58], r13d
mov r9d, edi
mov qword [rsp + 0x60], r13
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x38], r13
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
mov r15d, r13d
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], r13d
mov qword [rbp - 0x70], r13
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
call fcn.140003354
mov ebx, eax
test eax, eax
jne 0x14000134c
mov rdx, qword [rsp + 0x50]
lea r8, [0x14000c260]
mov r9d, edi
lea rcx, [rsp + 0x38]
call fcn.140003354
mov ebx, eax
test eax, eax
jne 0x14000133a
mov rdx, qword [rsp + 0x38]
lea r8, [0x14000c278]
mov r9d, edi
lea rcx, [rbp - 0x80]
call fcn.140003354
mov rdi, qword [rbp - 0x80]
mov ebx, eax
test eax, eax
jne 0x14000132c
mov ebx, 0x800
lea rcx, [rbp - 0x60]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
jmp 0x1400012a2
lea rdx, str.11.281.2
inc r15d
lea rcx, [rbp - 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x1400012ba
mov ebx, 0x800
lea rcx, [rbp - 0x60]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov edx, r15d
mov r9d, ebx
lea r8, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
test eax, eax
je 0x140001275
jmp 0x14000132c
mov r9d, 0x2001f
lea r8, [rbp - 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140003354
mov ebx, eax
test eax, eax
jne 0x14000131c
mov r15, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
mov rcx, r15
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], r12d
lea rdx, str.UseNewJavaPlugin
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test r15, r15
je 0x14000132c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r13
jmp 0x140001321
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000132c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x14000133a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], r13
je 0x14000134c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], r13
je 0x14000135e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140008580
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
Function at 0x140001394
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x28
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerExtensions08B0E5C0_4FCB_11CF_AAA5_00401C608501
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x140002f84
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140002faa
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140003a08
jmp 0x140003011
cmp byte [0x140016388], 0
jne 0x140002fee
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002fde
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140016380], rax
jmp 0x140002fe5
mov rax, qword [0x140016380]
mov byte [0x140016388], 1
jmp 0x140002ff5
mov rax, qword [0x140016380]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000300b
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x140003011
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003a08
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140003a6b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003a7f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003a7f
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x140003a84
cmp dword [rcx + 8], 0
je 0x140003a7f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140003a84
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140003cb4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140003d41
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140003d41
call fcn.140002d68
mov ebx, eax
jmp 0x140003e4c
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140003d62
call fcn.140002d68
jmp 0x140003e3b
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140003d58
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140003d9d
mov ebx, 0x8007000e
jmp 0x140003e3d
mov ecx, eax
test eax, eax
je 0x140003dcf
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140003e84
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140003dcf
lea rcx, [rsp + 0x70]
call fcn.140002bc0
jmp 0x140003dd9
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140003deb
cmp qword [rsp + 0x70], rdi
je 0x140003d93
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140003d58
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003b4c
mov ebx, eax
test rsi, rsi
je 0x140003e4c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140003e63
lea rcx, [rsp + 0x70]
call fcn.14000301c
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140008580
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140002d98
int3
Function at 0x140004f98
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x140016408], ebx
je 0x140004fc5
mov eax, dword [0x14001640c]
jmp 0x140005026
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov eax, 1
jne 0x140005018
cmp dword [rsp + 0x24], 6
jne 0x140005018
cmp dword [rsp + 0x28], ebx
jne 0x140005018
cmp byte [rsp + 0x13a], al
jne 0x140005018
cmp word [rsp + 0x134], bx
jne 0x140005018
mov ebx, eax
mov dword [0x140016408], eax
mov eax, ebx
mov dword [0x14001640c], ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140008580
add rsp, 0x150
pop rbx
ret

Function at 0x140005464
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14000552c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400020a4
mov rax, qword [rax]
test rax, rax
je 0x1400054d9
mov r8, qword [rax]
jmp 0x1400054dc
mov r8, rbx
mov rdx, r14
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rsp + 0x30]
call fcn.140004c80
nop
jmp 0x140005501
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140008580
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.140007bcc
xor edx, edx
mov ecx, edi
call fcn.1400093e0
int3
Function at 0x14000554c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r14, edx
mov rsi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x140005614
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400020a4
mov rax, qword [rax]
test rax, rax
je 0x1400055c1
mov r8, qword [rax]
jmp 0x1400055c4
mov r8, rbx
mov rdx, r14
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rsp + 0x30]
call fcn.140004c80
nop
jmp 0x1400055e9
test edi, edi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140008580
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.140007bcc
xor edx, edx
mov ecx, edi
call fcn.1400093e0
int3

Function at 0x140005804
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rcx
xor edi, edi
mov esi, edi
mov word [rcx], di
call fcn.1400056f0
test eax, eax
je 0x140005847
call fcn.140006eec
mov rsi, rax
test rax, rax
jne 0x140005847
call fcn.140007168
mov rsi, rax
mov dword [rsp + 0x20], 0x104
mov r9, r14
mov r8, rsi
xor edx, edx
lea rcx, [0x14000c830]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
js 0x1400058e8
test rsi, rsi
je 0x140005879
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140005884
test ebx, ebx
jns 0x1400058d5
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
js 0x140005900
jmp 0x1400058b0
test ebx, ebx
jns 0x1400058d5
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
js 0x140005918
jmp 0x1400058d5
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.140007bcc
xor edx, edx
mov ecx, ebx
call fcn.1400093e0
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140007bcc
xor edx, edx
mov ecx, ebx
call fcn.1400093e0
nop
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140007bcc
xor edx, edx
mov ecx, ebx
call fcn.1400093e0
int3
Function at 0x140005f0c
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x140005f97
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x14000db30]
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x140005f99
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140008580
add rsp, 0x450
pop rbx
ret

Function at 0x140006840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1050
call fcn.140008510
sub rsp, rax
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
mov edx, 0x400
lea rcx, [rsp + 0x40]
call fcn.1400078bc
lea rax, [rsp + 0x38]
neg edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
sbb rcx, rcx
lea rdx, [rsp + 0x40]
add rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
je 0x1400068d6
cmp eax, 2
sete bl
jmp 0x140006939
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x840]
mov dword [rsp + 0x30], 0x800
lea rdx, [0x14000cf5c]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x140006910
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000693b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x840]
sub rdx, rsi
movzx eax, word [rsi]
movzx ecx, word [rsi + rdx]
sub eax, ecx
jne 0x140006934
add rsi, 2
test ecx, ecx
jne 0x140006921
test eax, eax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008580
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400075d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea r8, [0x14000e0e8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
xor ebx, ebx
test eax, eax
jne 0x1400076cb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x1400163e0], rbx
je 0x14000763d
lea eax, [rbx + 1]
jmp 0x1400076cd
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1400076cb
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400020a4
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x28]
call fcn.1400020a4
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1400022c4
nop
lea rcx, [rsp + 0x28]
call fcn.140004c80
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400076a1
mov rdx, qword [rax]
jmp 0x1400076a4
mov rdx, rbx
lea r8, [0x14000d3b4]
lea rcx, [0x1400163e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
sete bl
lea rcx, [rsp + 0x20]
call fcn.140004c80
mov eax, ebx
jmp 0x1400076cd
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140008580
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret
Function at 0x1400079c8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140008510
sub rsp, rax
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rbx, rdx
mov rdi, rcx
mov esi, 0x800
lea rcx, [rbp + 0x780]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call fcn.140007870
mov qword [rsp + 0x30], rbx
lea rdx, [rbp + 0x780]
xor r15d, r15d
or r12, 0xffffffffffffffff
mov qword [rsp + 0x28], r15
mov r9, r12
mov rcx, qword [rax]
mov r8d, 0x400
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
test eax, eax
cmovs eax, r12d
test eax, eax
jns 0x140007a62
mov word [rbp + 0xf7e], r15w
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x40]
call sub.VCRUNTIME140.dll_memset
mov ebx, 0x20
lea rcx, [rsp + 0x40]
mov edx, ebx
call fcn.140007910
lea r8, [0x14001023c]
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rsi
lea rcx, [rbp - 0x80]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, r12
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140007aa8
cmp rax, 6
jbe 0x140007ad5
add rax, 0xfffffffffffffffa
lea rdx, str.__08x_
lea rcx, [rdi + rax*2]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
mov eax, 1
je 0x140007ad8
mov eax, r15d
lea rcx, [rsp + 0x40]
mov r14, r12
inc r14
cmp word [rcx + r14*2], r15w
jne 0x140007ae0
test eax, eax
lea rcx, [0x14001025c]
lea rdi, str.Error:
cmove rdi, rcx
lea rsi, [r14 + r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, [rbp + 0x780]
mov edx, 0x3ff
mov qword [rsp + 0x38], r9
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rdi
lea r9, str.P:_04d_T:_04d__s_s
mov dword [rsp + 0x28], ebx
sub rdx, r14
add rcx, rsi
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.140007c00
mov rcx, qword [rbp + 0x776]
test eax, eax
movabs rdx, 0x2e002e002e
mov r8, rsi
cmovs rcx, rdx
lea rdx, [rsp + 0x40]
mov qword [rbp + 0x776], rcx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp - 0x80]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], r15w
jne 0x140007b7e
mov eax, dword [0x1400102d4]
mov dword [rcx], eax
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140008580
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140001d10
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x948
mov rax, qword [0x1400672a8]
xor rax, rsp
mov qword [rsp + 0x930], rax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
lea rcx, str.InprocServer32_
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov r8, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x80
call fcn.1400308c8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r8, [rsp + 0x30]
lea rdx, str.CLSID_s
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x130]
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.14000e260
add rsp, 0x948
ret

Function at 0x140001ea0
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x838
mov rax, qword [0x1400672a8]
xor rax, rsp
mov qword [rsp + 0x820], rax
lea r9, str.FormatFactoryShell
lea r8, [0x14005bef4]
lea rdx, str._s_shellexContextMenuHandlers_s
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea r9, str.FormatFactoryShell
lea r8, [0x14005bef8]
lea rdx, str._s_shellexContextMenuHandlers_s
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.14000e260
add rsp, 0x838
ret
Function at 0x140002c80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebx, ecx
mov edi, edx
lea rcx, [rsp + 0x50]
call fcn.140002c30
mov eax, dword [0x140069744]
lea r14, section..data
mov r11d, dword [0x140069748]
xor edx, edx
mov r9, qword [rsp + 0x50]
cmp eax, 0x218
movabs r15, 0xf2b9d6480f2b9d65
lea ecx, [rax + 1]
cmovae ecx, edx
lea esi, [r11 + 1]
mov dword [0x140069744], ecx
lea ebp, [rdx + 8]
mov r10d, dword [rcx + r14]
add r10d, r9d
nop word [rax + rax]
lea ecx, [rsi - 1]
mov rax, r15
mul rcx
mov r8d, r11d
shr rdx, 9
imul rax, rdx, 0x21c
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
sub r8d, r10d
mov ecx, esi
mul rcx
add r8d, r9d
mov r9d, r11d
shr rdx, 9
xor r8d, r11d
imul rax, rdx, 0x21c
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
lea ecx, [rsi + 1]
mul rcx
sub r9d, r10d
add r9d, r8d
shr rdx, 9
imul rax, rdx, 0x21c
xor r9d, r11d
mov r8d, r11d
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
lea ecx, [rsi + 2]
mul rcx
sub r8d, r10d
add esi, 4
add r8d, r9d
shr rdx, 9
imul rax, rdx, 0x21c
xor r8d, r11d
sub rcx, rax
mov eax, r11d
xor r10d, dword [r14 + rcx*4]
sub eax, r10d
add eax, r8d
xor eax, r11d
mov r9d, eax
sub rbp, 1
jne 0x140002cf0
mov dword [0x140069748], eax
cmp edi, ebx
jae 0x140002da9
mov eax, ebx
jmp 0x140002dbd
je 0x140002da5
sub edi, ebx
add edi, 1
je 0x140002db9
xor edx, edx
div edi
mov r9d, edx
lea eax, [r9 + rbx]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400050e0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x1400672a8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
movzx ebx, byte [rsp + 0x308]
mov rdi, rdx
xor edx, edx
mov dword [rsp + 0x20], 0x70
mov rbp, r8
mov rsi, rcx
lea rcx, [rsp + 0x24]
movzx r14d, r9b
lea r8d, [rdx + 0x6c]
call fcn.14002eba0
test bl, bl
mov dword [rsp + 0x24], 0x40
lea rcx, str.runas
mov qword [rsp + 0x38], rsi
lea rax, str.open
mov qword [rsp + 0x40], rdi
cmovne rax, rcx
mov qword [rsp + 0x30], rax
xor eax, eax
cmp byte [rsp + 0x300], al
mov qword [rsp + 0x28], rax
sete al
mov dword [rsp + 0x50], eax
test rbp, rbp
jne 0x14000518f
test rsi, rsi
je 0x14000518f
lea rdx, [rsp + 0x90]
mov rcx, rsi
lea rbp, [rsp + 0x90]
call fcn.140006260
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test r14b, r14b
je 0x1400051be
test bl, bl
je 0x1400051be
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14000e260
add rsp, 0x2b0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret