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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rdi, r9
mov r14d, r8d
mov rbp, rdx
mov r13, rcx
test r8b, 0xf
jne 0x180001bc2
mov ecx, r14d
call fcn.18021f2b0
mov rbx, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.18021f2b0
mov r15, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.180001c10
mov rcx, qword [rsp + 0xd0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x20], xmm0
xor r12d, r12d
test r14d, r14d
je 0x180001b96
mov esi, r12d
lea rdi, [r12 + rbx]
add rbp, rsi
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rcx, r13
call fcn.1800015d0
movzx eax, byte [rsp + 0x20]
xor byte [rdi], al
movzx eax, byte [rsp + 0x21]
xor byte [r12 + rbx + 1], al
movzx eax, byte [rsp + 0x22]
xor byte [r12 + rbx + 2], al
movzx eax, byte [rsp + 0x23]
xor byte [r12 + rbx + 3], al
movzx eax, byte [rsp + 0x24]
xor byte [r12 + rbx + 4], al
movzx eax, byte [rsp + 0x25]
xor byte [r12 + rbx + 5], al
movzx eax, byte [rsp + 0x26]
xor byte [r12 + rbx + 6], al
movzx eax, byte [rsp + 0x27]
xor byte [r12 + rbx + 7], al
movzx eax, byte [rsp + 0x28]
xor byte [r12 + rbx + 8], al
movzx eax, byte [rsp + 0x29]
xor byte [r12 + rbx + 9], al
movzx eax, byte [rsp + 0x2a]
xor byte [r12 + rbx + 0xa], al
movzx eax, byte [rsp + 0x2b]
xor byte [r12 + rbx + 0xb], al
movzx eax, byte [rsp + 0x2c]
xor byte [r12 + rbx + 0xc], al
movzx eax, byte [rsp + 0x2d]
xor byte [r12 + rbx + 0xd], al
movzx eax, byte [rsp + 0x2e]
xor byte [r12 + rbx + 0xe], al
movzx eax, byte [rsp + 0x2f]
xor byte [r12 + rbx + 0xf], al
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x20], xmm0
add r12d, 0x10
cmp r12d, r14d
mov rbp, qword [rsp + 0xb8]
jb 0x180001ac0
mov rcx, r15
call fcn.18021f2a8
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 0x10
lea rcx, [rsp + 0x38]
call fcn.180001ff0
nop
mov r8, rax
lea rdx, str.Plaintext_length_must_be_divisible_by
lea rcx, [rsp + 0x58]
call section..text
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180001460
lea rdx, [0x180223018]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x180001c10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
sub rsp, 0x10
mov r9d, dword [rcx]
mov r10, r8
xor r8d, r8d
mov rbx, rcx
lea eax, [r9*4]
test eax, eax
je 0x180001c4c
nop
movzx eax, byte [r8 + rdx]
mov byte [r8 + r10], al
inc r8d
mov r9d, dword [rcx]
lea eax, [r9*4]
cmp r8d, eax
jb 0x180001c30
mov eax, dword [rcx + 4]
lea r9d, [r9*4]
inc eax
shl eax, 4
cmp r9d, eax
jae 0x180001e49
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r12
lea r12, str.cw
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15d, [r9 + 2]
nop dword [rax]
mov edi, dword [rbx]
lea eax, [r9 - 4]
movzx r8d, byte [rax + r10]
xor edx, edx
lea eax, [r9 - 3]
movzx r11d, r8b
movzx esi, byte [rax + r10]
lea eax, [r9 - 2]
movzx ebp, byte [rax + r10]
lea eax, [r9 - 1]
movzx r14d, byte [rax + r10]
mov eax, r9d
shr eax, 2
div edi
test edx, edx
jne 0x180001d5b
mov eax, esi
mov ecx, esi
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
xor edx, edx
mov eax, ebp
and eax, 0xf
movzx r11d, byte [rcx + r12]
mov ecx, ebp
and rcx, 0xfffffffffffffff0
add rcx, rax
mov eax, r14d
and eax, 0xf
movzx esi, byte [rcx + r12]
mov ecx, r14d
and rcx, 0xfffffffffffffff0
add rcx, rax
mov eax, r8d
and eax, 0xf
movzx ebp, byte [rcx + r12]
mov ecx, r8d
and rcx, 0xfffffffffffffff0
lea r8d, [rdi*4]
add rcx, rax
mov eax, r9d
div r8d
movzx r14d, byte [rcx + r12]
mov cl, 1
sub eax, 1
je 0x180001d56
mov r8d, eax
nop word [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x180001d40
xor r11b, cl
jmp 0x180001db9
cmp edi, 6
jbe 0x180001db9
cmp edx, 4
jne 0x180001db9
mov rax, r8
mov rcx, r8
and rcx, 0xfffffffffffffff0
and eax, 0xf
add rcx, rax
mov rax, rsi
and eax, 0xf
movzx r11d, byte [rcx + r12]
mov rcx, rsi
and rcx, 0xfffffffffffffff0
add rcx, rax
mov rax, rbp
and eax, 0xf
movzx esi, byte [rcx + r12]
mov rcx, rbp
and rcx, 0xfffffffffffffff0
add rcx, rax
mov rax, r14
and eax, 0xf
movzx ebp, byte [rcx + r12]
mov rcx, r14
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx r14d, byte [rcx + r12]
mov ecx, r9d
lea eax, [rdi*4]
sub ecx, eax
xor r11b, byte [rcx + r10]
mov ecx, r9d
mov byte [r9 + r10], r11b
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
lea eax, [r15 - 1]
inc ecx
xor sil, byte [rcx + r10]
mov ecx, r9d
mov byte [rax + r10], sil
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
add ecx, 2
xor bpl, byte [rcx + r10]
mov ecx, r9d
mov byte [r15 + r10], bpl
add r9d, 4
mov eax, dword [rbx]
shl eax, 2
sub ecx, eax
lea eax, [r15 + 1]
add ecx, 3
add r15d, 4
xor r14b, byte [rcx + r10]
mov byte [rax + r10], r14b
mov eax, dword [rbx + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x180001c90
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
add rsp, 0x10
pop rbx
ret
Function at 0x140bb2108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140bb228f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140bb2139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb211f
add dl, dl
jne 0x140bb2146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb21a6
xor eax, eax
add dl, dl
jne 0x140bb2155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb225d
add dl, dl
jne 0x140bb2166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb2173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb2180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb218d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bb219a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bb212e
mov eax, 1
add dl, dl
jne 0x140bb21b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb21c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb21ab
sub eax, ebx
mov ebx, 1
jne 0x140bb21fc
mov ecx, 1
add dl, dl
jne 0x140bb21de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bb21eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb21d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb212e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bb2218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bb2225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb220d
cmp eax, 0x7d00
jae 0x140bb224b
cmp eax, 0x500
jb 0x140bb2246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb212e
cmp eax, 0x7f
ja 0x140bb224e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb212e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bb2282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140bb212e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000d630
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d697
cmp rax, rbx
jne 0x14000d68a
mov ebx, 1
mov esi, ebx
jmp 0x14000d69c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d66f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d6b4
mov edi, 0x1f
mov ecx, edi
call fcn.140188000
jmp 0x14000d720
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d715
mov dword [0x140016c68], ebx
lea r15, [0x140010ba8]
lea rdi, [0x140010b90]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d707
test eax, eax
jne 0x14000d70b
cmp qword [rdi], r14
je 0x14000d6fc
mov rax, qword [rdi]
mov rcx, qword [0x140010b48]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d6de
test eax, eax
je 0x14000d71b
mov eax, 0xff
jmp 0x14000d876
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d747
lea rdx, [0x140010b88]
lea rcx, [0x140010b50]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000d755
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000d788
lea rcx, [0x140016c80]
call fcn.14000dce0
test eax, eax
je 0x14000d788
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b48]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000d7a1
mov eax, 0xff
jmp 0x14000d876
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000d827
test ax, ax
je 0x14000d7bc
test edx, edx
jne 0x14000d827
sub ax, bx
cmp ax, di
ja 0x14000d7d2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000d7bc
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001a68
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000d810
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000d825
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000d876
cmp ax, 0x22
jne 0x14000d83b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000d7aa
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000dd74
add rsp, 0x28
jmp 0x14000d630
Function at 0x1400017a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008550
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008550
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001810
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140018ce4]
mov rbx, rcx
test esi, esi
jle 0x140001940
mov rax, qword [0x140018ce8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000185b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400018e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001840
mov rcx, rbx
call fcn.140002280
mov rdi, rax
test rax, rax
je 0x140001962
mov rax, qword [0x140018ce8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400023c0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140018ce8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001947
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400018de
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400018f0
add dword [0x140018ce4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140018ce8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400018de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400017a0
nop dword [rax]
xor esi, esi
jmp 0x140001868
mov rax, qword [0x140018ce8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400017a0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400017a0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001ef0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140018d40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140018d20]
test rbx, rbx
je 0x140001f4c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001f43
test eax, eax
jne 0x140001f43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f28
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002280
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140015200]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400022f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022a0
add rax, 0x28
cmp rax, r9
jne 0x1400022e0
xor eax, eax
ret

Function at 0x140002300
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140015200]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000231f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002328
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000231f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400023c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140015200]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400023df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400023e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140008ce0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
push r12
lea r12, [0x1400157c0]
push rdi
mov rdi, rcx
push rsi
push rbx
mov rbx, rdx
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
movzx eax, byte [rcx + 0xc0]
shl eax, 2
cdqe
lea rcx, [rcx + rax*4]
call fcn.140009c90
mov sil, byte [rdi + 0xc0]
lea esi, [rsi*4 - 4]
movups xmm0, xmmword [rbx]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
imul edx, eax, 0xfffffffd
and edx, 0xf
mov dl, byte [rsp + rdx + 0x20]
mov byte [rbx + rax], dl
inc rax
cmp rax, 0x10
jne 0x140008d2b
xor eax, eax
movzx edx, byte [rbx + rax]
mov dl, byte [r12 + rdx]
mov byte [rbx + rax], dl
inc rax
cmp rax, 0x10
jne 0x140008d43
movzx eax, sil
mov rdx, rbx
lea rcx, [rdi + rax*4]
call fcn.140009c90
test sil, sil
je 0x140008d79
mov rcx, rbx
sub esi, 4
call fcn.140009670
jmp 0x140008d21
lea rsp, [rbp - 0x20]
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret

Function at 0x140008e30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov r9, rcx
xor r10d, r10d
lea r11, str.cw
mov rbp, rsp
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
movzx eax, r10b
movzx ebx, r10b
lea rcx, [r9 + rax*4]
call fcn.140009c90
xor eax, eax
movzx ecx, byte [rdx + rax]
mov cl, byte [r11 + rcx]
mov byte [rdx + rax], cl
inc rax
cmp rax, 0x10
jne 0x140008e5e
movups xmm0, xmmword [rdx]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
lea ecx, [rax*4]
add ecx, eax
and ecx, 0xf
mov cl, byte [rsp + rcx + 0x20]
mov byte [rdx + rax], cl
inc rax
cmp rax, 0x10
jne 0x140008e7c
movzx eax, byte [r9 + 0xc0]
lea ecx, [rax*4 - 4]
cmp ebx, ecx
jge 0x140008efb
xor ebx, ebx
mov eax, dword [rdx + rbx*4]
mov ecx, eax
lea r8d, [rax + rax]
mov esi, eax
shr ecx, 7
and r8d, 0xfefefefe
rol esi, 8
and ecx, 0x1010101
imul ecx, ecx, 0x1b
xor ecx, r8d
mov r8d, eax
rol r8d, 0x10
xor eax, ecx
xor r8d, esi
ror eax, 8
xor r8d, ecx
xor eax, r8d
mov dword [rdx + rbx*4], eax
inc rbx
cmp rbx, 4
jne 0x140008ead
add r10d, 4
jmp 0x140008e4b
shl eax, 2
lea rsp, [rbp - 0x10]
cdqe
pop rbx
pop rsi
lea rcx, [r9 + rax*4]
pop rbp
jmp fcn.140009c90
Function at 0x140008f80
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r10, rcx
movsxd rcx, r9d
push r12
lea r12, [0x140015680]
push rbp
mov rax, rcx
lea rbp, str.cw
push rdi
shr rax, 2
mov rdi, r10
push rsi
mov r11d, eax
mov rsi, rdx
push rbx
mov ebx, eax
add eax, 6
sub rsp, 0x10
mov byte [r10 + 0xc0], al
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x10]
movzx eax, byte [r10 + 0xc0]
lea esi, [rax*4 + 4]
movzx r9d, r11b
cmp r9d, esi
jge 0x140009036
lea eax, [r9 - 1]
cdqe
mov ecx, dword [r10 + rax*4]
mov eax, r9d
cdq
idiv ebx
test edx, edx
jne 0x140009020
mov edx, ecx
movzx ecx, cl
bswap edx
shl edx, 8
or ecx, edx
lea rdx, [rsp + 0xc]
mov dword [rsp + 0xc], ecx
movzx ecx, byte [rdx]
inc rdx
mov cl, byte [rbp + rcx]
mov byte [rdx - 1], cl
cmp rdx, rdi
jne 0x140009002
cdqe
mov ecx, dword [rsp + 0xc]
xor ecx, dword [r12 + rax*4]
bswap ecx
movsxd rax, r9d
sub r9d, ebx
inc r11d
movsxd r9, r9d
xor ecx, dword [r10 + r9*4]
mov dword [r10 + rax*4], ecx
jmp 0x140008fd0
test r8b, r8b
je 0x14000904d
xor byte [r10 + 0x40], 0x73
xor byte [r10 + 0x60], 9
xor byte [r10 + 0x80], 0xe4
add rsp, 0x10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140009670
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor ecx, ecx
mov r10d, dword [r8 + rcx*4]
mov r9d, r10d
lea eax, [r10 + r10]
shr r9d, 7
and eax, 0xfefefefe
and r9d, 0x1010101
imul r9d, r9d, 0x1b
xor r9d, eax
mov eax, r9d
lea edx, [r9 + r9]
shr eax, 7
and edx, 0xfefefefe
and eax, 0x1010101
imul eax, eax, 0x1b
xor eax, edx
mov edx, eax
lea r11d, [rax + rax]
shr edx, 7
and r11d, 0xfefefefe
and edx, 0x1010101
imul edx, edx, 0x1b
xor edx, r11d
mov r11d, r9d
xor r11d, r10d
xor eax, edx
xor r11d, edx
xor r9d, eax
xor edx, r10d
xor eax, r10d
ror r11d, 8
rol edx, 8
xor r9d, r11d
rol eax, 0x10
xor r9d, edx
xor r9d, eax
mov dword [r8 + rcx*4], r9d
inc rcx
cmp rcx, 4
jne 0x140009675
ret
Function at 0x140009a00
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
mov rax, rcx
mov r9, rdx
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov esi, dword [rcx + 4]
mov ebx, dword [rcx + 8]
mov r12d, dword [rcx]
mov dword [rsp + 4], esi
mov esi, dword [rcx + 0xc]
mov dword [rsp + 8], ebx
mov ebx, dword [rcx + 0x10]
mov dword [rsp + 0xc], esi
mov esi, dword [rcx + 0x14]
mov dword [rsp + 0x10], ebx
mov ebx, dword [rcx + 0x18]
mov dword [rsp + 0x14], esi
mov esi, dword [rcx + 0x1c]
xor ecx, ecx
mov dword [rsp + 0x18], ebx
mov dword [rsp + 0x1c], esi
mov r8d, dword [r9 + rcx]
lea rdx, [rsp + 0x20]
bswap r8d
mov dword [rsp + rcx + 0x20], r8d
add rcx, 4
cmp rcx, 0x40
jne 0x140009a4f
lea r9, [rsp + 0xe0]
mov r8d, dword [rdx + 0x38]
mov r10d, dword [rdx + 4]
add rdx, 4
mov ecx, r8d
mov r11d, r8d
shr r8d, 0xa
rol r11d, 0xd
rol ecx, 0xf
xor ecx, r11d
mov r11d, r10d
xor ecx, r8d
mov r8d, dword [rdx - 4]
add r8d, dword [rdx + 0x20]
rol r11d, 0xe
add ecx, r8d
mov r8d, r10d
shr r10d, 3
ror r8d, 7
xor r8d, r11d
xor r8d, r10d
add ecx, r8d
mov dword [rdx + 0x3c], ecx
cmp r9, rdx
jne 0x140009a72
mov r14d, dword [rsp + 0x1c]
mov r10d, dword [rsp + 0x18]
mov r9d, r12d
xor esi, esi
mov ebp, dword [rsp + 0x14]
mov ebx, dword [rsp + 4]
lea r15, [0x140015920]
mov r8d, dword [rsp + 0x10]
mov r13d, dword [rsp + 0xc]
mov r11d, dword [rsp + 8]
mov ecx, r8d
mov edx, r8d
mov edi, r9d
ror ecx, 6
ror edx, 0xb
xor edx, ecx
mov ecx, r8d
ror edi, 0xd
rol ecx, 7
xor edx, ecx
mov ecx, dword [rsp + rsi + 0x20]
add ecx, dword [r15 + rsi]
add rsi, 4
add edx, ecx
mov ecx, ebp
xor ecx, r10d
and ecx, r8d
xor ecx, r10d
add edx, ecx
mov ecx, r9d
ror ecx, 2
add edx, r14d
mov r14d, ebx
xor edi, ecx
mov ecx, r9d
and r14d, r11d
rol ecx, 0xa
xor edi, ecx
mov ecx, ebx
or ecx, r11d
and ecx, r9d
or ecx, r14d
mov r14d, r10d
add ecx, edi
lea edi, [rdx + r13]
mov r13d, r11d
add ecx, edx
cmp rsi, 0x100
je 0x140009b79
mov r10d, ebp
mov r11d, ebx
mov ebp, r8d
mov ebx, r9d
mov r8d, edi
mov r9d, ecx
jmp 0x140009af0
mov edx, dword [rsp + 4]
add r12d, ecx
mov dword [rax], r12d
add edx, r9d
mov dword [rax + 4], edx
mov edx, dword [rsp + 8]
add edx, ebx
mov dword [rax + 8], edx
mov edx, dword [rsp + 0xc]
add edx, r11d
mov dword [rax + 0xc], edx
mov edx, dword [rsp + 0x10]
add edx, edi
mov dword [rax + 0x10], edx
mov edx, dword [rsp + 0x14]
add edx, r8d
mov dword [rax + 0x14], edx
mov edx, dword [rsp + 0x18]
add edx, ebp
mov dword [rax + 0x18], edx
mov edx, dword [rsp + 0x1c]
add edx, r10d
mov dword [rax + 0x1c], edx
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140009c90
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r8d, dword [rcx + rax]
xor dword [rdx + rax], r8d
add rax, 4
cmp rax, 0x10
jne 0x140009c92
ret