joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014e6c
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor r9d, r9d
mov rax, r8
xor r8d, r8d
mov qword [r11 - 0x18], r9
mov qword [r11 - 0x10], r8
test rcx, rcx
je 0x140014eb1
test rax, rax
je 0x140014eb1
mov qword [r11 - 0x28], r9
mov qword [r11 - 0x30], r9
mov dword [rsp + 0x30], edx
xor edx, edx
mov qword [r11 - 0x40], rcx
lea rcx, [r11 - 0x18]
mov qword [r11 - 0x48], rcx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov eax, dword [rsp + 0x58]
add rsp, 0x68
ret

Function at 0x140014ebc
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x30], 0
xor eax, eax
mov dword [rbp - 0x2c], eax
mov rdi, rdx
mov qword [rbp - 0x28], rax
mov rbx, rcx
test r8d, r8d
je 0x140014f55
sub r8d, 1
je 0x140014f1d
cmp r8d, 1
jne 0x140014f5b
lea r9d, [rax + 0x18]
mov dword [rsp + 0x20], 5
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
js 0x140014f5b
mov rcx, qword [rbp - 0x18]
add rcx, rdi
mov qword [rbp + 0x28], rcx
jmp 0x140014f2e
call fcn.140014f70
test rax, rax
js 0x140014f5b
add rax, rdi
mov qword [rbp + 0x28], rax
mov rcx, rbx
lea rdx, [rbp - 0x30]
mov dword [rsp + 0x20], 0xe
lea r8, [rbp + 0x28]
mov r9d, 8
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
test eax, eax
js 0x140014f5b
xor eax, eax
jmp 0x140014f60
mov qword [rbp + 0x28], rdi
jmp 0x140014f31
mov eax, 5
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret

Function at 0x140014f70
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x48
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x58]
xor eax, eax
mov dword [rsp + 0x20], 0xe
and dword [rsp + 0x58], eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rax
lea r9d, [rax + 8]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
or rcx, 0xffffffffffffffff
test eax, eax
cmovns rcx, qword [rsp + 0x58]
mov rax, rcx
add rsp, 0x48
ret

Function at 0x14001566c
Capabilities:
Map section object

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x50
xor ebx, ebx
mov qword [r11 + 0x18], rcx
mov rcx, qword [0x140099ab0]
mov edi, 0x1000
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
test rcx, rcx
je 0x1400156fb
mov dword [rsp + 0x48], 4
lea rax, [r11 + 0x10]
mov dword [rsp + 0x40], ebx
lea r8, [r11 + 8]
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov qword [r11 - 0x28], rax
or rdx, 0xffffffffffffffff
lea rax, [r11 + 0x18]
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rdi
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jne 0x1400156fb
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400156fb
cmp qword [rsp + 0x68], rdi
jne 0x1400156fb
call fcn.1400155d8
mov rdx, qword [rsp + 0x60]
or rcx, 0xffffffffffffffff
mov bl, al
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov al, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140015708
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
call fcn.140016694
mov rdi, cr8
mov rcx, qword gs:[0x188]
mov edx, 0x1f
xor sil, sil
call qword [sym.imp.ntoskrnl.exe_KeSetPriorityThread]
mov ebp, eax
mov eax, 2
cmp dil, al
jae 0x140015753
mov rdi, cr8
mov cr8, rax
mov sil, 1
rdtsc
shl rdx, 0x20
mov ecx, 0x64
or rax, rdx
mov rbx, rax
call fcn.1400117f8
rdtsc
shl rdx, 0x20
mov r11d, 0x6694
or rax, rdx
sub rax, rbx
lea r9, [rax + rax*4]
add r9, r9
xor r10d, r10d
rdtsc
shl rdx, 0x20
or rax, rdx
mov r8, rax
xor eax, eax
xor ecx, ecx
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, r8
add r10, rax
sub r11, 1
jne 0x140015785
xor edx, edx
imul rax, r10, 0x989680
div r9
mov rbx, rax
movabs rax, 0x446f86562d9faee5
mul rbx
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
test sil, sil
je 0x1400157e2
movzx ecx, dil
mov cr8, rcx
mov rcx, qword gs:[0x188]
mov edx, ebp
call qword [sym.imp.ntoskrnl.exe_KeSetPriorityThread]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
xor ebx, ebx
mov dword [rbp - 0x10], 0xadf5f3f6
mov dword [rbp - 0xc], 0xf1f3a8b3
lea rax, [rbp - 0x10]
mov dword [rbp - 8], 0xb6bcb6eb
mov byte [rbp - 4], 0xc5
lea ecx, [rbx + 0xd]
lea edi, [rbx + 1]
xor byte [rax], 0xc5
add rax, rdi
sub rcx, rdi
jne 0x140016553
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], ebx
lea rcx, [rbp - 0x10]
call fcn.140016a40
test rax, rax
je 0x14001657e
cmp dword [rbp + 0x10], ebx
movzx eax, bl
cmovne eax, edi
mov bl, al
mov rdi, qword [rsp + 0x50]
mov al, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
Function at 0x140016bcc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x370]
sub rsp, 0x470
and qword [rbp + 0x390], 0
mov rsi, rdx
mov rbx, rcx
mov edi, r8d
mov rcx, rsi
mov r8d, r8d
xor edx, edx
call fcn.140034240
lea rdx, [0x140035c80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x40]
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x30
mov edx, 0x80000000
mov dword [rsp + 0x58], 0x40
lea rcx, [rbp + 0x390]
mov qword [rsp + 0x50], rbx
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov ebx, eax
test eax, eax
js 0x140016ccb
mov ebx, 0x400
lea rcx, [rsp + 0x70]
mov r8d, ebx
xor edx, edx
call fcn.140034240
mov rcx, qword [rbp + 0x390]
lea rax, [rbp + 0x3a0]
and dword [rbp + 0x3a0], 0
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov r8d, 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
test eax, eax
js 0x140016ccb
mov r8d, dword [rsp + 0x7c]
lea rax, [rdi - 2]
cmp r8, rax
jbe 0x140016cb7
mov ebx, 0xc0000023
jmp 0x140016ccb
mov eax, dword [rsp + 0x78]
lea rdx, [rsp + 0x70]
add rdx, rax
mov rcx, rsi
call fcn.140034340
mov rcx, qword [rbp + 0x390]
test rcx, rcx
je 0x140016cdd
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400182b4
Capabilities:
Parse pe header

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 r14
sub rsp, 0x20
xor ebx, ebx
mov rsi, r8
mov rbp, rdx
mov r14, rcx
test rcx, rcx
je 0x1400183ba
test rdx, rdx
je 0x1400183ba
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400183ba
lea rcx, [r14 + 0x40]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400183ba
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x1400183ba
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400183ba
lea rcx, [rdi + 0xf8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400183ba
cmp dword [rdi], 0x4550
jne 0x1400183ba
movzx eax, word [rdi + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x14001836d
test rsi, rsi
je 0x140018365
mov eax, dword [rdi + 0x9c]
mov dword [rsi], eax
mov ebx, dword [rdi + 0x98]
jmp 0x14001838a
mov ecx, 0x20b
cmp ax, cx
jne 0x14001838d
test rsi, rsi
je 0x140018384
mov eax, dword [rdi + 0xac]
mov dword [rsi], eax
mov ebx, dword [rdi + 0xa8]
add rbx, r14
mov ecx, dword [rsi]
cmp ecx, 0x64
jae 0x140018397
and dword [rsi], 0
xor eax, eax
cmp ecx, 0x64
cmovae rax, rbx
mov rbx, rax
cmp rax, r14
jb 0x1400183b6
mov ecx, dword [rsi]
add rcx, rax
lea rax, [r14 + rbp]
cmp rcx, rax
jb 0x1400183ba
xor ebx, ebx
and dword [rsi], ebx
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400183d8
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
xor ebx, ebx
test rcx, rcx
je 0x140018436
test rdx, rdx
je 0x140018436
test r8d, r8d
je 0x140018436
mov qword [r11 - 0x28], rbx
xor eax, eax
mov qword [r11 - 0x10], rax
xor r9d, r9d
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rbx
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x18]
mov dword [r11 - 0x38], r8d
xor r8d, r8d
mov qword [r11 - 0x40], rdx
xor edx, edx
mov qword [r11 + 8], rbx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
movzx ebx, bl
mov edx, 1
test eax, eax
cmovns ebx, edx
mov al, bl
add rsp, 0x60
pop rbx
ret
Function at 0x140018440
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
xor r14d, r14d
mov rdi, rdx
mov ebx, r14d
mov rsi, rcx
mov qword [rbp + 0x200], rbx
test rcx, rcx
je 0x14001860b
test rdx, rdx
je 0x140018481
mov qword [rdx], r14
xor edx, edx
mov dword [rbp - 0x68], r14d
lea rcx, [rbp - 0x60]
lea r8d, [rdx + 0x28]
call fcn.140034240
xor eax, eax
mov qword [rsp + 0x70], r14
xor edx, edx
mov qword [rsp + 0x78], rax
mov r8d, 0x208
mov qword [rbp - 0x7c], rax
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x74], rax
mov dword [rbp - 0x6c], eax
mov qword [rsp + 0x62], rax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
mov qword [rbp + 0x210], r14
mov dword [rbp - 0x80], r14d
mov word [rsp + 0x60], r14w
call fcn.140034240
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400184df
add rax, 6
cmp rax, 0x104
jae 0x14001860b
movsd xmm0, qword [0x140036030]
lea rcx, [rbp - 0x30]
movzx eax, word [0x140036038]
sub rcx, 2
movsd qword [rbp - 0x30], xmm0
mov word [rbp - 0x28], ax
lea rcx, [rcx + 2]
cmp word [rcx], r14w
jne 0x140018519
xor edx, edx
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140018525
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x50], r14d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], r14
lea r9, [rsp + 0x70]
mov dword [rsp + 0x40], r14d
lea r8, [rbp - 0x68]
mov qword [rbp - 0x58], rax
lea rcx, [rbp + 0x200]
mov eax, 1
mov dword [rbp - 0x68], 0x30
mov dword [rsp + 0x38], eax
xorps xmm0, xmm0
mov dword [rsp + 0x30], eax
mov edx, 0x80000000
lea rax, [rbp + 0x210]
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x50], 0x240
movdqu xmmword [rbp - 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
js 0x1400185f3
mov rcx, qword [rbp + 0x200]
lea r8, [rbp - 0x80]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
js 0x1400185f3
mov rbx, qword [rbp + 0x200]
test rdi, rdi
je 0x14001860b
mov rax, qword [rbp - 0x80]
mov qword [rdi], rax
jmp 0x14001860b
mov rbx, qword [rbp + 0x200]
test rbx, rbx
je 0x14001860b
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, r14
lea r11, [rsp + 0x2e0]
mov rax, rbx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140019ba4
Capabilities:
Map section object

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rax, qword [0x14009bcf8]
xor ebx, ebx
test rax, rax
je 0x140019c25
cmp rcx, 0x100001
jb 0x140019c25
mov dword [rsp + 0x48], 4
lea r8, [r11 + 0x18]
mov qword [r11 - 0x18], rcx
mov edx, 0x1000
mov dword [rsp + 0x40], ebx
lea rcx, [r11 + 0x20]
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov qword [r11 - 0x38], rcx
lea rcx, [r11 - 0x18]
mov qword [r11 - 0x40], rcx
mov rcx, rax
mov qword [r11 - 0x48], rdx
mov qword [r11 + 0x20], rdx
or rdx, 0xffffffffffffffff
mov qword [r11 + 0x18], rbx
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jne 0x140019c25
cmp qword [rsp + 0x80], rbx
cmovne rbx, qword [rsp + 0x80]
mov rax, rbx
add rsp, 0x60
pop rbx
ret

Function at 0x14001a9b4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10d, dword [rcx]
mov rdi, rdx
mov r11d, dword [rcx + 4]
mov r9, rcx
movsxd rbx, r8d
test r8d, r8d
jle 0x14001aa0e
inc r10b
movzx r10d, r10b
movzx r8d, byte [r10 + r9 + 8]
add r11b, r8b
movzx r11d, r11b
movzx ecx, byte [r11 + r9 + 8]
mov byte [r10 + r9 + 8], cl
mov byte [r11 + r9 + 8], r8b
add r8b, cl
movzx eax, r8b
mov cl, byte [rax + r9 + 8]
xor byte [rdi], cl
inc rdi
sub rbx, 1
jne 0x14001a9d3
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [r9], r10d
mov dword [r9 + 4], r11d
ret
Function at 0x14001ac50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov rdi, rdx
mov rsi, rcx
call fcn.14002453c
xor ebx, ebx
test al, al
jne 0x14001ac91
mov ebx, 0xc00000f2
jmp 0x14001ae46
test rdi, rdi
je 0x14001ae41
cmp qword [rdi + 8], rbx
je 0x14001ae41
movzx r14d, word [rdi + 2]
test r14w, r14w
je 0x14001ae41
xor edx, edx
mov dword [rsp + 0x30], 0x52005c
mov r8d, 0x208
mov dword [rsp + 0x34], 0x670065
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x38], 0x730069
mov dword [rsp + 0x3c], 0x720074
mov dword [rsp + 0x40], 0x5c0079
mov dword [rsp + 0x44], 0x61004d
mov dword [rsp + 0x48], 0x680063
mov dword [rsp + 0x4c], 0x6e0069
mov dword [rsp + 0x50], 0x5c0065
mov dword [rsp + 0x54], 0x790053
mov dword [rsp + 0x58], 0x740073
mov dword [rsp + 0x5c], 0x6d0065
mov dword [rsp + 0x60], 0x43005c
mov dword [rsp + 0x64], 0x720075
mov dword [rsp + 0x68], 0x650072
mov dword [rsp + 0x6c], 0x74006e
mov dword [rsp + 0x70], 0x6f0043
mov dword [rsp + 0x74], 0x74006e
mov dword [rsp + 0x78], 0x6f0072
mov dword [rsp + 0x7c], 0x53006c
mov dword [rbp - 0x80], 0x740065
mov dword [rbp - 0x7c], 0x53005c
mov dword [rbp - 0x78], 0x720065
mov dword [rbp - 0x74], 0x690076
mov dword [rbp - 0x70], 0x650063
mov qword [rbp - 0x6c], 0x5c0073
call fcn.140034240
mov eax, 0x67
mov dword [rsp + 0x20], 0x46005c
movzx eax, word [rsi]
mov r8d, 0x206
mov dword [rsp + 0x24], 0x6e0069
mov qword [rsp + 0x28], 0x670061
cmp r8w, ax
jb 0x14001adc0
movzx r8d, ax
mov rdx, qword [rsi + 8]
lea rcx, [rbp - 0x60]
call fcn.140034340
or rax, 0xffffffffffffffff
lea rdx, [rsp + 0x20]
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], bx
jne 0x14001add9
lea r8, [rbp - 0x60]
mov rdx, rax
inc rdx
cmp word [r8 + rdx*2], bx
jne 0x14001ade9
add ecx, edx
lea rdx, [rsp + 0x30]
inc rax
cmp word [rdx + rax*2], bx
jne 0x14001adfa
add ecx, eax
movzx eax, r14w
shr eax, 1
cmp ecx, eax
jb 0x14001ae16
mov ebx, 0xc0000023
jmp 0x14001ae46
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
jmp 0x14001ae46
mov ebx, 0xc00000f3
lea r11, [rsp + 0x2b0]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001af2c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
xor r14d, r14d
mov rbx, rcx
mov qword [rbp + 0x38], r14
mov edi, 0xc0000001
test rcx, rcx
je 0x14001b0a3
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14001b094
xor eax, eax
mov word [rbp - 0x40], r14w
mov rdx, rbx
mov qword [rbp - 0x3e], rax
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x36], eax
mov word [rbp - 0x32], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor edx, edx
lea r8d, [r14 + 0x28]
lea rcx, [rbp - 0x28]
call fcn.140034240
lea rax, [rbp - 0x40]
mov dword [rbp - 0x30], 0x30
lea r8, [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov edx, 0x30019
mov dword [rbp - 0x18], 0x240
lea rcx, [rbp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov edi, eax
test eax, eax
js 0x14001b094
mov rax, qword [rbp + 0x38]
mov edx, 0x1000
xor ecx, ecx
mov qword [rbp - 0x28], rax
mov r8d, 0x72677074
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14001afee
mov edi, 0xc00000a0
jmp 0x14001b094
mov rdi, rbx
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov edi, r14d
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov edx, edi
mov esi, edi
mov dword [rsp + 0x20], 0x1000
mov r9, rbx
mov dword [rbp + 0x30], r14d
xor r8d, r8d
inc edi
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
js 0x14001b079
lea rdx, [rbx + 0x10]
mov qword [rbp + 0x40], r14
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r8, [rbp - 0x30]
mov edx, 0x30019
lea rcx, [rbp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x14001b079
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rbp + 0x40]
test eax, eax
cmove edi, esi
test rcx, rcx
je 0x14001affd
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov qword [rbp + 0x40], r14
jmp 0x14001affd
mov rcx, qword [rbp + 0x38]
mov edi, r14d
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov edx, 0x72677074
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14001b0a3
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001b328
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
xor r14d, r14d
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
test rcx, rcx
je 0x14001b3b0
test rdx, rdx
je 0x14001b3b0
test r9, r9
je 0x14001b3b0
mov ebx, dword [rsp + 0x70]
test ebx, ebx
je 0x14001b3b0
xor eax, eax
mov word [r11 - 0x18], r14w
mov qword [r11 - 0x16], rax
lea rcx, [r11 - 0x18]
mov dword [rsp + 0x3a], eax
mov word [rsp + 0x3e], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r9d, ebp
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov ebx, eax
test eax, eax
jne 0x14001b3b5
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
jmp 0x14001b3b5
mov ebx, 0xc000000d
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001b710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor edi, edi
mov ebx, edi
call fcn.14001e8b0
cmp eax, 0x3839
jb 0x14001b81d
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x730050
mov dword [rbp - 0x5c], 0x650047
mov dword [rbp - 0x58], 0x4a0074
mov dword [rbp - 0x54], 0x62006f
mov dword [rbp - 0x50], 0x6f004c
mov qword [rbp - 0x4c], 0x6b0063
call fcn.14001f0e8
test rax, rax
je 0x14001b81d
mov edx, 0x1000
mov rcx, rax
call fcn.14001de68
mov rbx, rax
test rax, rax
jne 0x14001b81d
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x6f0049
mov dword [rbp - 0x3c], 0x650052
mov dword [rbp - 0x38], 0x65006c
mov dword [rbp - 0x34], 0x730061
mov dword [rbp - 0x30], 0x520065
mov dword [rbp - 0x2c], 0x6d0065
mov dword [rbp - 0x28], 0x76006f
mov dword [rbp - 0x24], 0x4c0065
mov dword [rbp - 0x20], 0x63006f
mov dword [rbp - 0x1c], 0x41006b
mov dword [rbp - 0x18], 0x64006e
mov dword [rbp - 0x14], 0x610057
mov dword [rbp - 0x10], 0x740069
mov qword [rbp - 0xc], 0x780045
call fcn.14001f0e8
test rax, rax
je 0x14001b81d
mov edx, 0x1000
mov rcx, rax
call fcn.14001de68
mov rbx, rax
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001b844
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
xor edx, edx
lea rcx, [0x140035e00]
xor edi, edi
call fcn.140016988
mov rsi, rax
test rax, rax
je 0x14001b919
lea ebx, [rdi + 0x10]
and qword [rbp + 0x20], 0
lea rdx, [rbp + 0x20]
mov ecx, ebx
mov r14d, ebx
call fcn.1400126e4
test eax, eax
js 0x14001b905
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14001b905
call fcn.140012108
test al, al
jne 0x14001b90a
mov rcx, qword [rbp + 0x20]
call fcn.14001269c
mov r8d, 9
mov dword [rbp - 0x40], 0x73727363
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3c], 0x78652e73
mov rcx, rax
mov word [rbp - 0x38], 0x65
call fcn.1400226a8
test eax, eax
jne 0x14001b8fc
mov rcx, qword [rbp + 0x20]
lea rdx, [rbp - 0x30]
call fcn.140012500
lea rcx, [rsi + 0x1000]
call fcn.140012568
test al, al
lea rcx, [rbp - 0x30]
cmovne rdi, r14
call fcn.140012524
mov rcx, qword [rbp + 0x20]
call fcn.1400125c0
test rdi, rdi
jne 0x14001b919
add ebx, 4
cmp ebx, 0x4000
jb 0x14001b878
lea r11, [rsp + 0x60]
mov rax, rdi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14001c1a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
xor edi, edi
lea ebx, [rdi + 0x10]
and qword [rbp + 0x10], 0
lea rdx, [rbp + 0x10]
mov ecx, ebx
mov esi, ebx
call fcn.1400126e4
test eax, eax
js 0x14001c21a
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14001c21a
call fcn.14001269c
mov r8d, 9
mov dword [rbp - 0x10], 0x7361736c
lea rdx, [rbp - 0x10]
mov dword [rbp - 0xc], 0x78652e73
mov rcx, rax
mov word [rbp - 8], 0x65
call fcn.1400226a8
mov rcx, qword [rbp + 0x10]
test eax, eax
cmove rdi, rsi
call fcn.1400125c0
test rdi, rdi
jne 0x14001c225
add ebx, 4
cmp ebx, 0x4000
jb 0x14001c1bc
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret