joyce8/EMBER2024-capa huggingface dataset:
Function at 0x706e40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
test r8, r8
je 0x706e88
xor r10d, r10d
mov r11, 0xffffffffffffffff
mov r9, qword [rdx + r10*8]
xor r9, qword [rcx + r10*8]
mov rbx, r11
add r10, 1
mov rax, r9
sub r9, 1
not rax
and rax, r9
sar rax, 0x3f
xor rax, r11
and rax, rbx
xor r11, rax
cmp r8, r10
jne 0x706e50
mov rax, r11
pop rbx
ret
mov r11, 0xffffffffffffffff
mov rax, r11
pop rbx
ret

Function at 0x706ea0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x706f10
mov rax, qword [rcx]
xor rax, rdx
mov rdx, rax
lea r10, [rax - 1]
not rdx
and rdx, r10
sar rdx, 0x3f
mov r10, rdx
cmp r8, 1
je 0x706f20
lea r9, [rcx + 8]
lea r11, [rcx + r8*8]
mov rax, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [r9]
mov r8, rax
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, rax
and rdx, r8
xor rax, rdx
cmp r11, r9
jne 0x706ed8
mov rdx, r10
and rax, rdx
ret
lea rax, [rdx - 1]
not rdx
and rax, rdx
sar rax, 0x3f
ret
mov rax, 0xffffffffffffffff
jmp 0x706f01

Function at 0x706fc0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
xor ebx, ebx
mov rax, qword [rcx]
mov r9, rdx
xor edx, edx
mov r10, rcx
cmp rax, r9
sbb rdx, rbx
mov rax, rdx
and eax, 1
mov rcx, rax
sub rax, 1
not rcx
and rcx, rax
sar rcx, 0x3f
mov rbx, rcx
not rbx
cmp r8, 1
je 0x70703c
lea r9, [r10 + 8]
lea r11, [r10 + r8*8]
mov rcx, 0xffffffffffffffff
nop word cs:[rax + rax]
mov r8, qword [r9]
mov r10, rcx
add r9, 8
mov rdx, r8
sub r8, 1
not rdx
and rdx, r8
sar rdx, 0x3f
xor rdx, rcx
and rdx, r10
xor rcx, rdx
cmp r11, r9
jne 0x707010
xor rcx, rbx
mov rax, rbx
and rcx, rax
mov rax, rcx
xor rax, rbx
pop rbx
ret

Function at 0x7071a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
mov rsi, rdx
mov rbx, r8
mov rdi, r9
test r8b, 7
je 0x7071c8
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
test r8, r8
je 0x707234
lea r8, [r8*8]
xor edx, edx
call fcn.006f6398
xor r10d, r10d
xor r9d, r9d
mov rcx, rax
nop dword [rax]
mov rdx, rdi
lea rbp, [rsi + r10*8]
xor rdx, r9
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
xor edx, edx
sar rax, 0x3f
nop dword [rax]
mov r11, qword [rcx + rdx*8]
mov r8, qword [rbp + rdx*8]
xor r8, r11
and r8, rax
xor r8, r11
mov qword [rcx + rdx*8], r8
add rdx, 1
cmp rbx, rdx
jne 0x707208
add r9, 1
add r10, rbx
cmp r9, 0x20
jne 0x7071e8
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x709670
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
mov qword [rsp + 0xb0], r8
mov rdi, rcx
test rsi, rsi
je 0x709820
cmp rsi, rdx
jne 0x709820
lea rdx, [rsi + rsi]
xor eax, eax
cmp rdx, r9
jne 0x70980b
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], r12
xor ebx, ebx
xor r10d, r10d
mov qword [rsp + 0x30], r14
mov rax, qword [rax]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x28], r13
mov r13, rbx
mov rbx, rsi
mov rsi, r8
mov qword [rsp + 0x38], r15
mov rdi, rax
mov r15, r10
nop word [rax + rax]
mov r8, qword [rsi]
mov rcx, rsi
mov rdx, rbp
mov r9, rbx
imul r8, rdi
call sym.ring_core_0_17_8_limbs_mul_add_limb
mov rcx, qword [rsi + rbx*8]
xor edx, edx
add rax, r13
add rax, rcx
cmp rcx, rax
mov qword [rsi + rbx*8], rax
setne dl
or rdx, r13
mov r11, rdx
xor edx, edx
cmp rcx, rax
setae dl
add r15, 1
add rsi, 8
and rdx, r11
mov r13, rdx
cmp rbx, r15
ja 0x709700
mov rax, qword [rsp + 0xb0]
mov rsi, rbx
mov r10, qword [rbp]
xor r9d, r9d
mov rdi, qword [rsp + 0xa0]
mov rbx, rdx
xor edx, edx
lea rcx, [rax + rsi*8]
mov r8, qword [rcx]
mov rax, r8
sub rax, r10
cmp r8, r10
sbb rdx, r9
mov qword [rdi], rax
mov rax, rdx
and eax, 1
cmp rsi, 1
je 0x7097d2
mov r8d, 1
nop dword [rax + rax]
mov r12, qword [rcx + r8*8]
mov r10, qword [rbp + r8*8]
xor r13d, r13d
mov r14, rax
xor r15d, r15d
mov rdx, r13
mov rax, r12
sub rax, r14
sbb rdx, r15
xor r11d, r11d
sub rax, r10
sbb rdx, r11
mov qword [rdi + r8*8], rax
add r8, 1
mov rax, rdx
and eax, 1
cmp rsi, r8
jne 0x709798
sub rbx, rax
xor eax, eax
nop word [rax + rax]
mov r8, qword [rdi + rax*8]
mov rdx, qword [rcx + rax*8]
xor rdx, r8
and rdx, rbx
xor rdx, r8
mov qword [rdi + rax*8], rdx
mov qword [rcx + rax*8], 0
add rax, 1
cmp rsi, rax
ja 0x7097e0
mov eax, 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x70980b

Function at 0x709830
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 0x40
xor eax, eax
mov r8d, 1
movabs rbx, 0x8000000000000000
nop dword [rax]
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r9, r11
add rax, rdx
xor r9, r8
and r8, r11
shr r9, 1
add r8, r9
sub r10, 1
jne 0x709850
pop rbx
ret
Function at 0x714450
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x180003000
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 0x18000302e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180003ea0
cmp byte [0x1800527f8], 0
jne 0x180003079
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180003069
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800527f0], rax
mov byte [0x1800527f8], 1
jmp 0x180003080
mov rax, qword [0x1800527f0]
mov byte [0x1800527f8], 1
jmp 0x180003080
mov rax, qword [0x1800527f0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18000309f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]

Function at 0x180003c10
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180050090]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x40], rbp
xor eax, eax
mov qword [rsp + 0x50], rbp
mov r8, rdx
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov dword [rsp + 0x48], ebp
lea rcx, [rsp + 0x40]
call fcn.180003760
mov ebx, eax
test eax, eax
jne 0x180003d27
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180003d01
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180003c10
mov ebx, eax
test eax, eax
jne 0x180003d27
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180003cb0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180003d16
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.180003000
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180003d37
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18000a610
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003ea0
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 0x180003f14
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180003f36
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180003f36
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180003f36
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180004140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180050090]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.18002a880
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800041e0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800041e0
call fcn.1800022f0
mov ebx, eax
jmp 0x180004308
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180004201
call fcn.1800022f0
jmp 0x1800042f7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180004224
call fcn.1800022f0
jmp 0x1800042f7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180004246
mov ebx, 0x8007000e
jmp 0x1800042f9
mov ecx, eax
test eax, eax
je 0x18000427e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180004274
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18000427e
lea rcx, [rsp + 0x70]
call fcn.180002080
jmp 0x180004288
mov ecx, 0x80070216
call fcn.180002c70
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18000429b
cmp qword [rsp + 0x70], 0
jne 0x1800042aa
mov ebx, 0x8007000e
jmp 0x1800042f9
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1800042d4
call fcn.1800022f0
jmp 0x1800042f7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.180003f50
mov ebx, eax
test rdi, rdi
je 0x180004308
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18000431f
lea rcx, [rsp + 0x70]
call fcn.180003330
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18000a610
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x180004a00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180050090]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000a610
add rsp, 0x48
ret

Function at 0x180004a50
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x180004a68
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180004a74
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x180004a70
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1800064c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov ebx, ecx
test rdx, rdx
je 0x1800064fc
mov r8d, 5
lea rdx, str.user
mov rcx, rax
call fcn.18002cca8
movzx edx, byte [0x180052788]
test eax, eax
mov ecx, 1
cmove edx, ecx
mov byte [0x180052788], dl
test ebx, ebx
je 0x180006518
call sym.HNShell64.dll_DllRegisterServer
mov ebx, eax
test eax, eax
jns 0x180006522
call sym.HNShell64.dll_DllUnregisterServer
mov eax, ebx
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp sym.HNShell64.dll_DllUnregisterServer
add rsp, 0x20
pop rbx
ret
Function at 0x180006530
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180050090]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor edx, edx
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x64]
call fcn.18002a880
xor edx, edx
lea rcx, [rbp]
lea r8d, [rdx + 0x64]
call fcn.18002a880
mov r8d, 0x32
lea rdx, [rbp]
lea rcx, [0x18003a838]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
lea r8, str.SoftWareMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers
xor edi, edi
mov qword [rsp + 0x58], rax
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], edi
lea r9d, [rax + 2]
mov qword [rsp + 0x60], rdi
call fcn.180003760
test eax, eax
jne 0x180006668
mov eax, dword [rsp + 0x58]
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x40], rcx
lea rdx, str.________.HNShellExt
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x38], rcx
or eax, 0x2001f
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180006668
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x180006623
mov rbx, qword [rbp - 0x80]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x180006668
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rax
lea r8, str.SoftWareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x70], edi
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], rdi
lea r9d, [rax + 2]
call fcn.180003760
mov rbx, qword [rsp + 0x68]
test eax, eax
jne 0x1800066cc
lea rax, str.Heinote_Shell_externsion
mov dword [rsp + 0x28], 0x32
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
lea rcx, [0x180052730]
call fcn.1800030b0
mov edi, eax
test rbx, rbx
je 0x1800066ea
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], 0
je 0x1800066fd
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18000a610
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x180006720
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180050090]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, str.SoftWareMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers
xor edi, edi
mov qword [rsp + 0x28], rax
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], edi
lea r9d, [rax + 2]
mov qword [rsp + 0x30], rdi
call fcn.180003760
mov rbx, qword [rsp + 0x20]
test eax, eax
jne 0x180006813
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800067a0
lea r8, str.________.HNShellExt
mov rdx, rbx
call fcn.180003ea0
jmp 0x180006813
cmp byte [0x1800527f8], dil
jne 0x1800067eb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800067db
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800527f0], rax
mov byte [0x1800527f8], 1
jmp 0x1800067f2
mov rax, qword [0x1800527f0]
mov byte [0x1800527f8], 1
jmp 0x1800067f2
mov rax, qword [0x1800527f0]
lea rdx, str.________.HNShellExt
mov rcx, rbx
test rax, rax
je 0x18000680d
mov r8d, dword [rsp + 0x28]
xor r9d, r9d
call rax
jmp 0x180006813
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea r8, str.SoftWareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
lea r9d, [rax + 2]
call fcn.180003760
test eax, eax
jne 0x18000689d
xor edx, edx
lea r8d, [rax + 0x64]
lea rcx, [rbp - 0x50]
call fcn.18002a880
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x64]
call fcn.18002a880
mov r8d, 0x32
lea rdx, [rsp + 0x40]
lea rcx, [0x18003a838]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edx, edx
lea rcx, [0x180052730]
call fcn.180003200
cmp qword [rsp + 0x20], 0
mov edi, eax
je 0x1800068c0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1800068ce
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18000a610
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x180006ec0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x180050090]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp dword [rdx], 0x38
mov rbx, rcx
jae 0x180006eed
mov eax, 0x80070057
jmp 0x180006f6d
cmp word [rdx + 0x12], 0
jne 0x180006efb
cmp word [rdx + 0x10], 0
jne 0x180006ee3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.18002a880
mov rcx, qword [0x180052720]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.Heinote.exe
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea r9, [rbx + 0x10]
mov dword [rsp + 0x28], 5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18000a610
add rsp, 0x250
pop rbx
ret

Function at 0x18000d918
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18000d92b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18000df90
lea rdx, [0x18004d9c0]
lea rcx, [rsp + 0x20]
call fcn.18002b0a8
int3

Function at 0x1800184b0
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x180053558]
xor edx, edx
jmp fcn.18000d918

Function at 0x180018eb0
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x180053558]
jmp fcn.18000d918
Function at 0x1800111a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x1800ef1c8]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xc]
mov r9d, 0x4558
mov dword [rsp + 0x20], 0x4531453e
mov dword [rsp + 0x24], 0x453d452a
mov dword [rsp + 0x28], 0x4537453e
mov dword [rsp + 0x2c], 0x45764520
mov dword [rsp + 0x30], 0x4520453d
mov qword [rsp + 0x34], 0x4558453d
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.18005add0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x130
pop rbp
ret

Function at 0x18001dc30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18001dc64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18001dc50
mov rcx, rax
shr rcx, 0x20
xor eax, ecx
ret
Function at 0x18004ab70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x1800efe28]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xa]
mov r9d, 0x3c12
mov dword [rsp + 0x20], 0x3c613c7c
mov dword [rsp + 0x24], 0x3c603c62
mov dword [rsp + 0x28], 0x3c3c3c26
mov dword [rsp + 0x2c], 0x3c7e3c76
mov qword [rsp + 0x30], 0x3c123c7e
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.18005add0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x130
pop rbp
ret

Function at 0x18004be50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov r9d, 0x7755
lea r8, [0x1800eff38]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xb]
mov dword [rsp + 0x20], 0x77267702
mov dword [rsp + 0x24], 0x770a7767
mov dword [rsp + 0x28], 0x77677766
mov dword [rsp + 0x2c], 0x7731777b
mov dword [rsp + 0x30], 0x77397739
mov qword [rsp + 0x34], r9
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.18005add0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x130
pop rbp
ret