joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013f90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10d, dword [rsp + 0x30]
xor r11d, r11d
test r10d, r10d
je 0x140014099
mov qword [rsp + 0x10], rbx
cmp r10d, 0x40
jb 0x140014062
lea eax, [r10 - 1]
mov ecx, eax
lea rbx, [rax + r9]
add rax, r8
cmp r9, rax
ja 0x140013fcf
cmp rbx, r8
jae 0x140014062
lea rax, [rcx + rdx]
cmp r9, rax
ja 0x140013fe1
cmp rbx, rdx
jae 0x140014062
mov ebx, r10d
mov qword [rsp], rdi
and ebx, 0xffffffc0
mov edi, 0x20
movdqu xmm0, xmmword [r11 + r8]
lea eax, [rdi - 0x10]
movdqu xmm1, xmmword [r11 + rdx]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + r8]
movdqu xmmword [r11 + r9], xmm1
add r11d, 0x40
movdqu xmm1, xmmword [rax + rdx]
pxor xmm1, xmm0
movdqu xmmword [rax + r9], xmm1
mov eax, edi
movdqu xmm0, xmmword [rax + r8]
movdqu xmm1, xmmword [rax + rdx]
pxor xmm1, xmm0
movdqu xmmword [rax + r9], xmm1
lea eax, [rdi + 0x10]
add edi, 0x40
movdqu xmm1, xmmword [rax + rdx]
movdqu xmm0, xmmword [rax + r8]
pxor xmm1, xmm0
movdqu xmmword [rax + r9], xmm1
cmp r11d, ebx
jb 0x140013ff0
mov rdi, qword [rsp]
cmp r11d, r10d
jae 0x140014094
sub rdx, r8
mov eax, r11d
add rax, r8
sub r9, r8
sub r10d, r11d
mov r8d, r10d
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
xor cl, byte [rax]
mov byte [r9 + rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140014080
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret
Function at 0x14001a8a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.1400287b0
sub rsp, rax
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea ecx, [rdi + 0x10]
call fcn.140027b24
mov qword [rsi], rax
mov qword [rsi + 8], rax
add rax, 0x10
mov qword [rsi + 0x10], rax
mov rax, qword [rsi]
lea rcx, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rsi + 8], rcx
mov ebx, 1
mov dword [rsp + 0x20], ebx
call fcn.1400271e8
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rsp + rbx*4 + 0x34], eax
inc rbx
cmp rbx, 0x270
jb 0x14001a930
mov dword [rsp + 0x30], 0x270
nop word [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001c700
movzx edx, al
mov rcx, qword [rsi]
mov byte [rdi + rcx], dl
inc rdi
cmp rdi, 0x10
jl 0x14001a960
mov rax, rsi
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140027ad0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001a9b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x130
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, edx
mov rbx, r8
add ebp, 0xfffffff0
mov r14, rcx
test rcx, rcx
je 0x14001a9e7
movups xmm0, xmmword [rcx]
jmp 0x14001a9fa
call fcn.14003314c
mov dword [rax], 0x16
call fcn.14002e448
xorps xmm0, xmm0
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
add r14, 0x10
call fcn.140001bf0
movaps xmmword [rsp + 0x110], xmm0
mov rbx, r14
mov esi, ebp
test ebp, ebp
je 0x14001aa89
mov qword [rsp + 0x158], rdi
lea rdi, [rsp + 0x110]
sub rdi, r14
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140002600
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x14001aa60
sub rdi, 0x10
movaps xmmword [rsp + 0x110], xmm0
sub rsi, 1
jne 0x14001aa40
mov rdi, qword [rsp + 0x158]
lea eax, [rbp - 1]
xor ecx, ecx
movzx eax, byte [rax + r14]
sub ebp, eax
cmp eax, 0x10
cmova ebp, ecx
mov eax, ebp
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140027ad0
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r14
pop rsi
pop rbp
ret
Function at 0x14001aad0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x170
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [r11 + 8], rbx
xorps xmm0, xmm0
mov qword [r11 - 0x18], rdi
mov rbx, rcx
mov qword [r11 - 0x20], r14
lea rcx, [rsp + 0x20]
xor eax, eax
mov qword [r11 - 0x28], r15
mov r14, r8
mov qword [rsp + 0x30], rax
mov rdi, rdx
movups xmmword [rsp + 0x20], xmm0
call fcn.14001a8a0
mov rax, qword [r14]
mov rsi, qword [rsp + 0x20]
mov r15, qword [rbx]
test rax, rax
je 0x14001ac30
mov qword [rsp + 0x168], rbp
mov ebp, dword [rdi + 0x10]
test rsi, rsi
je 0x14001ab4b
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
jmp 0x14001ab61
xorps xmm0, xmm0
movups xmmword [rax], xmm0
call fcn.14003314c
mov dword [rax], 0x16
call fcn.14002e448
cmp qword [rdi + 0x18], 0x10
jb 0x14001ab6b
mov rdi, qword [rdi]
mov rcx, qword [r14]
mov r9, rbp
add rcx, 0x10
mov r8, rdi
mov rdx, rbp
call fcn.14001c890
mov rcx, qword [r14]
mov eax, ebp
and eax, 0xf
add rcx, 0x10
mov edi, 0x10
mov r8d, 0x10
sub edi, eax
add rcx, rbp
movzx eax, bpl
mov edx, edi
and eax, 0xf
sub r8, rax
call fcn.14002a3f0
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140001bf0
mov rbx, qword [r14]
lea eax, [rdi + rbp]
movups xmm0, xmmword [rsi]
mov rbp, qword [rsp + 0x168]
lea r8, [rsp + 0x130]
add rbx, 0x10
mov edi, eax
movaps xmmword [rsp + 0x130], xmm0
test eax, eax
je 0x14001ac2b
dec rdi
shr rdi, 4
inc rdi
nop
mov rax, rbx
sub r8, rbx
mov edx, 0x10
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14001ac00
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140002300
mov r8, rbx
add rbx, 0x10
sub rdi, 1
jne 0x14001abf0
mov rsi, qword [rsp + 0x20]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x180]
test rsi, rsi
je 0x14001ac86
mov rdx, qword [rsp + 0x30]
mov rax, rsi
sub rdx, rsi
cmp rdx, 0x1000
jb 0x14001ac7e
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ac9f
mov rcx, rsi
call fcn.140027b1c
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140027ad0
add rsp, 0x170
pop rsi
ret
call fcn.14002e468
int3
Function at 0x14001ae70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x80]
xor sil, sil
cmp qword [r8 + 0x18], 0x10
mov rdi, r9
mov rax, r8
jb 0x14001aea9
mov rax, qword [r8]
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001af92
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov dword [rsp + 0x38], eax
jb 0x14001aee5
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001af87
mov edx, dword [rsp + 0x38]
xor r8d, r8d
dec edx
mov dword [rsp + 0x3c], 1
mov rcx, rbx
call fcn.140002820
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x14001af33
mov rax, qword [rbx]
cmp qword [rdi + 0x18], 0x10
jb 0x14001af3d
mov rdi, qword [rdi]
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001af87
cmp dword [rsp + 0x38], eax
jne 0x14001af84
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x14001af79
mov rax, qword [rbx]
mov qword [rbx + 0x10], 0
mov byte [rax], sil
mov sil, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140027ad0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001c700
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14001c761
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14001c720
mov ecx, dword [r10]
jmp 0x14001c84a
cmp ecx, 0x4e0
jb 0x14001c84a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14001c780
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14001c7d0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14001d750
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 5
test rax, rax
jne 0x14001d797
mov eax, 7
jmp 0x14001d857
xor r15d, r15d
mov edi, r15d
test rax, rax
je 0x14001d852
mov r14d, r15d
mov ebp, 0xf
nop
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], rbp
mov byte [rsp + 0x48], 0
add rdx, r14
lea rcx, [rsp + 0x28]
call fcn.1400012e0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14001d7e1
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov rdx, qword [rbx + 0x18]
test eax, eax
je 0x14001d87e
cmp rdx, 0x10
jb 0x14001d829
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001d824
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d8c2
mov rcx, r8
call fcn.140027b1c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], rbp
mov byte [rbx], 0
inc rdi
add r14, 0x20
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rdx
sar rax, 5
cmp rdi, rax
jb 0x14001d7b0
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140027ad0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp rdx, 0x10
jb 0x14001d8b0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001d8ab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d8c2
mov rcx, r8
call fcn.140027b1c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], rbp
mov byte [rbx], 0
mov eax, 6
jmp 0x14001d857
call fcn.14002e468
int3
Function at 0x14001ef40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
xor r14d, r14d
mov esi, r14d
cmp qword [rdx + 0x18], 0x10
jb 0x14001ef7b
mov rdx, qword [rdx]
mov qword [rbp + 7], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], sil
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x14001efa0
lea rcx, [rbp + 7]
call fcn.1400019d0
nop
cmp qword [rdi + 0x18], 0x10
jb 0x14001efbd
mov rdi, qword [rdi]
mov qword [rbp - 0x19], r14
mov qword [rbp - 9], r14
mov qword [rbp - 1], 0xf
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14001efd0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.1400019d0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001f070
mov dword [rbp + 0x2f], r14d
mov dword [rbp + 0x33], 4
mov dword [rbp + 0x37], 4
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
lea rax, [rbp + 0x33]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x37]
lea rdx, [0x140061cb8]
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
cmove esi, dword [rbp + 0x2f]
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14001f0a7
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f0a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f11a
call fcn.140027b1c
mov qword [rbp - 9], r14
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14001f0ee
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f0e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f114
call fcn.140027b1c
mov eax, esi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140027ad0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14002e468
nop
call fcn.14002e468
nop
Function at 0x14001f120
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, r8d
mov rdi, rcx
cmp qword [rdx + 0x18], 0x10
jb 0x14001f151
mov rdx, qword [rdx]
xor r14d, r14d
mov qword [rbp - 9], r14
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], r14b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], r14b
jne 0x14001f172
lea rcx, [rbp - 9]
call fcn.1400019d0
nop
cmp qword [rdi + 0x18], 0x10
jb 0x14001f18f
mov rdi, qword [rdi]
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], 0xf
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14001f1a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.1400019d0
mov dword [rbp + 0x1f], esi
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 0x20206
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001f22c
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae r8, qword [rbp - 9]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea rdx, [0x140061cb8]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14001f263
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f25e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f2ca
call fcn.140027b1c
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14001f2aa
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f2a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f2c4
call fcn.140027b1c
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140027ad0
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002e468
nop
call fcn.14002e468
nop
Function at 0x1400214d0
Capabilities:
Get session information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor ebx, ebx
lea r9, [rsp + 0x48]
mov edi, eax
mov dword [rsp + 0x5c], ebx
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rbx
mov edx, edi
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 0x18]
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x140021535
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140021535
cmp dword [rcx], ebx
jne 0x14002152f
mov eax, edi
jmp 0x1400215a7
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
xor edx, edx
mov dword [rsp + 0x58], ebx
lea rax, [rsp + 0x58]
xor ecx, ecx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test r8d, r8d
je 0x140021599
nop word [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*2]
movups xmm0, xmmword [rdx + rcx*8]
movsd xmm1, qword [rdx + rcx*8 + 0x10]
movsd qword [rsp + 0x40], xmm1
cmp dword [rsp + 0x40], 0
movups xmmword [rsp + 0x30], xmm0
je 0x1400215c2
inc ebx
cmp ebx, r8d
jb 0x140021570
mov rcx, rdx
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140027ad0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov rcx, rdx
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [rsp + 0x30]
jmp 0x1400215a7

Function at 0x140021720
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x140021750]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x1400217d0
Capabilities:
Delete registry key
Delete service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x1400218ab
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400140a0
cmp qword [rsp + 0x48], 0x10
lea rdx, [rsp + 0x30]
mov r8d, 0x10000
mov rcx, rbx
cmovae rdx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdx, qword [rsp + 0x48]
mov rdi, rax
cmp rdx, 0x10
jb 0x140021874
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002186f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021975
call fcn.140027b1c
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
test rdi, rdi
je 0x1400218a2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call fcn.14001f2d0
cmp qword [rax + 0x18], 0x10
jb 0x1400218ca
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
mov r9d, 0xf023f
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002190e
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140061cb8]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140021947
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021942
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002196f
call fcn.140027b1c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140021980
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140027ad0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
call fcn.14002e468
int3
call fcn.14002e468
int3
Function at 0x140021980
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbp
lea rbp, [rsp - 0x1620]
mov eax, 0x1720
call fcn.1400287b0
sub rsp, rax
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x1610], rax
xor edx, edx
lea rcx, [rbp + 0x610]
mov r8d, 0x1000
call fcn.14002a3f0
mov r8d, 0x800
lea rdx, [rbp + 0x610]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x410
call fcn.14002a3f0
mov edx, 0x49
lea rcx, [rsp + 0x50]
call fcn.1400144e0
cmp qword [rax + 0x18], 8
jb 0x1400219fe
mov rax, qword [rax]
lea r9, [rbp + 0x610]
mov r8, rax
mov edx, 0x208
lea rcx, [rbp + 0x200]
call fcn.140021610
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140021a5b
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021a56
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021b7f
call fcn.140027b1c
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x200
call fcn.14002a3f0
mov edx, 0x4a
lea rcx, [rsp + 0x50]
call fcn.1400144e0
cmp qword [rax + 0x18], 8
jb 0x140021a85
mov rax, qword [rax]
mov r8d, 0x100
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140021ada
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ad5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021b79
call fcn.140027b1c
xor ecx, ecx
lea rdx, [rbp + 0x200]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x10], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x20], ecx
mov word [rbp - 0x30], cx
lea rcx, [rbp]
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x34], 1
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1610]
xor rcx, rsp
call fcn.140027ad0
add rsp, 0x1720
pop rbp
ret
call fcn.14002e468
int3
call fcn.14002e468
int3