joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035338
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rsi, rcx
mov r14, rdx
mov rcx, qword gs:[0x60]
mov edi, 0x68
mov r8d, edi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400354b6
and qword [rbx + 0x18], 0
lea rax, [0x14005d828]
and qword [rbx + 0x28], 0
and qword [rbx + 0x30], 0
and qword [rbx + 0x38], 0
mov rcx, qword [0x14007c638]
mov qword [rbx], rax
lea rax, [0x14005d660]
mov qword [rbx], rax
lea rax, [0x14005d538]
mov qword [rbx + 0x10], rax
mov dword [rbx + 8], 1
mov byte [rbx + 0x20], 0
test rcx, rcx
je 0x1400353ee
mov rax, qword [rcx]
movabs r10, 0x9b8c3faa10d2f170
mov rax, qword [rax + 0x10]
lea r8d, [rdi - 0x5b]
mov r9d, edi
mov byte [rsp + 0x20], 1
lea rdx, str.CFile
call qword [case.0x1400569a6.0]
and qword [rbx + 0x48], 0
lea rdx, [rbx + 0x48]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
mov rcx, qword [rsi]
call fcn.140035048
mov edi, eax
test eax, eax
js 0x140035484
mov rcx, qword [rsi]
lea rdx, [rbx + 0x18]
call fcn.14003aac8
mov edi, eax
test eax, eax
js 0x140035484
lea rdx, [rbx + 0x50]
lea rcx, [rsi + 0x28]
call fcn.140051548
mov edi, eax
test eax, eax
jns 0x140035472
lea rax, str.onecore_basewcp_sil_file.cpp
mov dword [rsp + 0x40], 0x2e
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
lea rax, str.Windows::Rtl::SystemImplementation::CFile::Initialize
mov r8d, edi
mov qword [rsp + 0x38], rax
lea rax, str.RtlDuplicateLUnicodeString__Source.Name__m_Name.GetMutablePointer___
mov qword [rsp + 0x48], rax
call fcn.140052a48
jmp 0x140035484
lea rcx, [rbx + 0x10]
mov rdx, rsi
call fcn.14003b5a0
mov edi, eax
test eax, eax
jns 0x1400354a8
mov rax, qword [rbx]
movabs r10, 0xaec41ff778502270
mov rax, qword [rax + 0xf0]
mov edx, 1
mov rcx, rbx
call qword [case.0x1400569a6.0]
jmp 0x1400354f7
cmp qword [r14], 0
je 0x1400354af
int3
mov qword [r14], rbx
xor eax, eax
jmp 0x1400354f9
lea rax, str.onecoreinternalBaseinc_rtl_object_library.h
mov dword [rsp + 0x40], 0xf9
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
lea rax, str.Windows::Rtl::CRtlRefCountedObjectBase_class_Windows::Rtl::SystemImplementation::CFile_struct_Windows::Rtl::IRtlFile_struct_Windows::Rtl::IRtlSystemObject_struct_Windows::Rtl::Detail::CRtlRefCountedObjectBaseNoInterface_struct_Windows::Rtl::Detail::CRtlRefCountedObjectBaseNoInterface_::CreateInstance
mov r8d, 0xc0000017
mov qword [rsp + 0x38], rax
lea rax, str.NewInstance.Allocate__
mov qword [rsp + 0x48], rax
call fcn.140052a48
mov edi, 0xc0000017
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140047634
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movups xmm1, xmmword [0x14005edd8]
and qword [rbp + 7], 0
lea r8, [rbp - 0x29]
and dword [rbp - 0x25], 0
xor eax, eax
and qword [rbp - 0x21], rax
xorps xmm0, xmm0
and dword [rbp - 0xd], 0
mov rsi, rcx
and dword [rbp + 0xf], 0
mov edx, 0x20019
movups xmmword [rbp + 0x37], xmm0
mov byte [rcx], al
lea rcx, [rbp + 7]
movups xmm0, xmmword [0x14005edc8]
mov dword [rbp + 0x47], eax
xor dil, dil
lea rax, [rbp + 0x17]
mov dword [rbp - 0x29], 0x30
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp - 0x11], 0x40
xorps xmm0, xmm0
mov qword [rbp - 0x19], rax
movdqu xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 0x17], xmm1
call qword [sym.imp.ntdll.dll_NtOpenKey]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xc0000034
je 0x140047723
test eax, eax
jns 0x1400476eb
mov dword [rbp - 0x39], 0x2e
jmp 0x140047732
mov rcx, qword [rbp + 7]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x37]
mov r8d, 2
mov dword [rsp + 0x20], 0x14
lea rdx, [rbp + 0x27]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xc0000034
jne 0x140047727
xor ebx, ebx
jmp 0x14004775f
test ebx, ebx
jns 0x140047782
mov dword [rbp - 0x39], 0x3c
lea rax, str.onecore_basewcp_rtllib_nativelibdefer_library.cpp
mov r8d, ebx
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x49]
lea rax, str.Windows::WCP::Rtl::ShouldDeferExecution
mov qword [rbp - 0x41], rax
lea rax, str.Status
mov qword [rbp - 0x31], rax
call fcn.140052a48
mov rcx, qword [rbp + 7]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14004777e
and qword [rbp + 7], 0
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
jmp 0x1400477ba
cmp dword [rbp + 0x3b], 4
je 0x14004778e
cmp dword [rbp + 0x3f], 4
jne 0x140047796
cmp dword [rbp + 0x43], 0
setne dil
mov rcx, qword [rbp + 7]
mov byte [rsi], dil
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400477b8
and qword [rbp + 7], 0
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14005cab0
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
Function at 0x14005356c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, qword [rcx + 0x10]
lea rax, [rsp + 0x60]
mov rdi, qword [rcx]
xor r14d, r14d
add rdi, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x200
mov rsi, rdx
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x60]
cmp rbx, rdi
jae 0x14005375f
lea r13d, [r14 + 0x3d]
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_onecore_baselstringpath.cpp
lea rax, [rbp + 0x160]
mov r10, rbx
sub rax, rdx
and rax, 0xfffffffffffffffe
cmp rax, 8
jl 0x1400536ed
movzx r11d, byte [rbx]
mov r8b, r14b
inc rbx
mov r9b, r14b
cmp rbx, rdi
je 0x140053615
mov r8b, byte [rbx]
movzx eax, r14w
jmp 0x140053618
mov eax, r13d
mov rcx, r14
mov word [rdx + 4], ax
setne cl
inc rcx
add rcx, r10
cmp rcx, rdi
je 0x140053630
mov r9b, byte [rcx]
lea rbx, [rcx + 1]
movzx r8d, r8b
cmove rbx, rcx
mov eax, r14d
cmove ax, r13w
mov rcx, r11
mov word [rdx + 6], ax
and ecx, 3
shl rcx, 4
mov rax, r11
shr rax, 2
movzx eax, byte [rax + r15]
mov word [rdx], ax
mov eax, r8d
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r15]
mov word [rdx + 2], ax
cmp word [rdx + 4], r14w
jne 0x14005369a
and r8d, 0xf
movzx eax, r9b
shl r8d, 2
shr rax, 6
mov ecx, r8d
or rcx, rax
movzx eax, byte [rcx + r15]
mov word [rdx + 4], ax
cmp word [rdx + 6], r14w
jne 0x1400536b1
movzx eax, r9b
and eax, 0x3f
movzx eax, byte [rax + r15]
mov word [rdx + 6], ax
add rdx, 8
lea rax, [rbp + 0x160]
cmp rdx, rax
jne 0x1400536e4
mov r9, rsi
mov qword [rsp + 0x20], 0x200
lea rdx, [rsp + 0x20]
call fcn.1400560c0
test eax, eax
js 0x140053761
lea rdx, [rsp + 0x60]
cmp rbx, rdi
jb 0x1400535df
lea rax, [rsp + 0x60]
cmp rdx, rax
je 0x14005375f
lea rax, [rsp + 0x60]
sub rdx, rax
mov qword [rsp + 0x20], rdx
cmp rdx, qword [rsp + 0x28]
jbe 0x14005374e
lea rax, str.onecore_baselstringlblob.cpp
mov dword [rsp + 0x48], 0x4f5
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
lea rax, str.RtlpGenericBase64Encode
mov r8d, 0xc000042b
mov qword [rsp + 0x40], rax
lea rax, str.TempBlob.Length___TempBlob.MaximumLength
mov qword [rsp + 0x50], rax
call fcn.140052a48
mov eax, 0xc000042b
jmp 0x140053761
mov r9, rsi
lea rdx, [rsp + 0x20]
call fcn.1400560c0
test eax, eax
js 0x140053761
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14005cab0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14005bf50
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, 0xb0
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov rdi, rdx
cmp dword [0x14007c848], r14d
mov rsi, rcx
jne 0x14005bfda
xorps xmm0, xmm0
lea rdx, [rbp + 0xf]
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
call fcn.14005c55c
mov rbx, qword [rbp + 0x1f]
cmp qword [rbp + 0xf], r14
je 0x14005bfcd
xor edx, edx
lea r8d, [r14 + 0x10]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_wcstoul]
nop dword [rax + rax]
and eax, 0xfffe
or eax, 1
mov dword [0x14007c848], eax
test rbx, rbx
je 0x14005bfda
mov rcx, rbx
call fcn.140056488
mov eax, dword [0x14007c848]
lea rcx, [rbp + 0x27]
or dword [rsi + 0xc], eax
xorps xmm0, xmm0
mov rdx, rdi
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
nop dword [rax + rax]
test al, al
je 0x14005c0fc
xorps xmm0, xmm0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x27]
mov ebx, r14d
movups xmmword [rbp - 9], xmm0
call fcn.14005c6d0
mov rdi, qword [rbp - 1]
cmp word [rbp - 9], r14w
je 0x14005c043
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x10]
call qword [sym.imp.ntdll.dll_wcstoul]
nop dword [rax + rax]
mov ebx, eax
jmp 0x14005c0ec
lea rax, [0x14005fde0]
mov qword [rbp - 9], r14
xorps xmm0, xmm0
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x39]
mov dword [rbp - 0x39], 0x30
mov edx, 0x101
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 9]
mov dword [rbp - 0x21], 0x40
movdqu xmmword [rbp - 0x19], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
nop dword [rax + rax]
test eax, eax
jne 0x14005c0ce
mov rcx, qword [rbp - 9]
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xf]
mov r8d, 2
mov dword [rsp + 0x20], 0x14
lea rdx, [rbp + 0x27]
mov dword [rbp + 7], r14d
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
test eax, eax
js 0x14005c0ce
cmp dword [rbp + 0x13], 4
jne 0x14005c0ce
cmp dword [rbp + 0x17], 4
cmove ebx, dword [rbp + 0x1b]
mov rcx, qword [rbp - 9]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005c0ec
mov qword [rbp - 9], r14
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
or dword [rsi + 0xc], ebx
test rdi, rdi
je 0x14005c0fc
mov rcx, rdi
call fcn.140056488
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x14005c10a
call fcn.140056488
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14005cab0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14005c1e8
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [0x14007c830], 0
jne 0x14005c2ff
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
lea rcx, [0x14005fdc0]
movups xmmword [rsp + 0x20], xmm0
call fcn.14005c6d0
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
lea r8d, [rdx + 0x20]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14005c2f0
and qword [rbx + 8], 0
lea rax, [0x14005e0d8]
and qword [rbx + 0x10], 0
movzx ecx, word [rsp + 0x20]
neg cx
mov qword [rbx], rax
mov rcx, rbx
mov byte [rbx + 0x18], 0
sbb rdx, rdx
and rdx, qword [rsp + 0x28]
call fcn.14005be18
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, 0x890
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
test rax, rax
je 0x14005c2f0
mov rdx, rbx
mov rcx, rax
call fcn.140058550
mov r8, rax
test rax, rax
je 0x14005c2f0
mov qword [rbx + 8], rax
xor eax, eax
lock cmpxchg qword [0x14007c830], r8
je 0x14005c2eb
mov rcx, qword [r8]
mov rax, qword [rcx + 0x1e0]
movabs r10, 0xe039a6c458de8270
mov edx, 1
mov rcx, r8
call qword [case.0x1400569a6.0]
call fcn.14005c138
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14005c2ff
call fcn.140056488
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005cab0
add rsp, 0x40
pop rbx
ret
Function at 0x1400032c0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 8
movups xmm0, xmmword [rcx]
xorps xmm4, xmm4
lea rax, [r8 + 0x10]
cmp edx, 0x100
je 0x140003490
cmp edx, 0xc0
je 0x1400033f0
cmp edx, 0x80
jne 0x140003560
mov edx, 9
movdqa xmm5, xmmword [0x1401040d0]
mov r10d, 8
movdqa xmm4, xmmword [0x1401040f0]
movdqa xmm2, xmm0
movdqu xmmword [r8], xmm0
jmp 0x140003320
pshufb xmm0, xmm5
aesenclast xmm0, xmm4
pslld xmm4, 1
lea rax, [rax + 0x10]
movdqa xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm0, xmm2
movdqu xmmword [rax - 0x10], xmm0
movdqa xmm2, xmm0
dec r10d
jne 0x140003320
movdqa xmm4, xmmword [str.eeee]
pshufb xmm0, xmm5
aesenclast xmm0, xmm4
pslld xmm4, 1
movdqa xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm0, xmm2
movdqu xmmword [rax], xmm0
movdqa xmm2, xmm0
pshufb xmm0, xmm5
aesenclast xmm0, xmm4
movdqa xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm0, xmm2
movdqu xmmword [rax + 0x10], xmm0
mov dword [rax + 0x60], edx
xor eax, eax
jmp 0x140003567
movq xmm2, qword [rcx + 0x10]
mov edx, 0xb
movdqa xmm5, xmmword [0x1401040e0]
movdqa xmm4, xmmword [0x1401040f0]
mov r10d, 8
movdqu xmmword [r8], xmm0
jmp 0x140003420
movq qword [rax], xmm2
movdqa xmm1, xmm2
pshufb xmm2, xmm5
aesenclast xmm2, xmm4
pslld xmm4, 1
lea rax, [rax + 0x18]
movdqa xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm0, xmm3
pshufd xmm3, xmm0, 0xff
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pxor xmm0, xmm2
pxor xmm2, xmm3
movdqu xmmword [rax - 0x10], xmm0
dec r10d
jne 0x140003420
mov dword [rax + 0x20], edx
xor eax, eax
jmp 0x140003567
movups xmm2, xmmword [rcx + 0x10]
mov edx, 0xd
lea rax, [rax + 0x10]
movdqa xmm5, xmmword [0x1401040d0]
movdqa xmm4, xmmword [0x1401040f0]
mov r10d, 7
movdqu xmmword [r8], xmm0
movdqa xmm1, xmm2
movdqu xmmword [r8 + 0x10], xmm2
jmp 0x1400034d0
pshufb xmm2, xmm5
aesenclast xmm2, xmm4
movdqa xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm0, xmm3
pslld xmm4, 1
pxor xmm0, xmm2
movdqu xmmword [rax], xmm0
dec r10d
je 0x140003552
pshufd xmm2, xmm0, 0xff
pxor xmm3, xmm3
aesenclast xmm2, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm1, xmm3
pxor xmm2, xmm1
movdqu xmmword [rax + 0x10], xmm2
lea rax, [rax + 0x20]
movdqa xmm1, xmm2
jmp 0x1400034d0
mov dword [rax + 0x10], edx
xor eax, eax
jmp 0x140003567
mov rax, 0xfffffffffffffffe
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
pxor xmm5, xmm5
add rsp, 8
ret
Function at 0x14000d7c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14000d8e0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14000d820
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14000d820
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14000d820

Function at 0x14002a8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140136040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002a958
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14002a942
cmp dword [rsp + 0x38], 4
jne 0x14002a942
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140092400
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14002a942
Function at 0x14002a960
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400923a0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140136040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400d07c0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002aa13
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14002aa17
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140029f10
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140092400
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14002a9f4
cmp eax, 2
jne 0x14002aa5f
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d07c0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002aa66
lea rdx, [rsp + 0x40]
jmp 0x14002a9ea
mov edi, 0x3f4
jmp 0x14002a9f4
mov edi, 0xea
jmp 0x14002a9f4

Function at 0x14002af40
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x14002af86
mov r15, rbx
test r15, r15
je 0x14002b061
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x14002afe2
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x14002afd1
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1400d0120
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x14002af62
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14002b07d
lea rcx, [r13*8]
call fcn.140091050
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x14002b043
xor r15d, r15d
mov r8, rcx
add r8, r15
je 0x14002b061
mov r9, qword [r14 + r15]
mov qword [r8], r9
add r15, 8
cmp rdx, r15
jne 0x14002b028
add r15, rcx
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x14002b063
add rbx, 0xfffffffffffffff8
jne 0x14002b056
ud2
test r12, r12
je 0x14002af62
mov rcx, r12
call fcn.140091090
mov r15, qword [rsi + 0x10]
jmp 0x14002af62
call fcn.14001c0b0
int3
Function at 0x14002b090
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140136040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x1401101b0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xac
call fcn.14007a8c0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14007e7d0
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.14007ea30
test al, al
jne 0x14002b16c
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.14007eab0
lea rcx, [rsp + 0x50]
call fcn.14007e850
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140092400
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.1400f1710
jmp 0x14002b119