joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d0638
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, 2
mov ebx, edx
mov rsi, rcx
lea ebp, [rdi - 1]
cmp edx, ebp
jbe 0x1400d0687
test bl, 1
je 0x1400d0671
mov r8d, edi
mov edx, ebp
mov rcx, rsi
call fcn.1400d06a8
mov ebp, eax
mov r8d, edi
mov edx, edi
mov rcx, rsi
call fcn.1400d06a8
shr ebx, 1
mov edi, eax
cmp ebx, 1
ja 0x1400d065d
mov r8d, edi
mov edx, ebp
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400d06a8

Function at 0x1400d0918
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x14023fdd0], bl
jne 0x1400d097d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x1400d096c
jne 0x1400d096e
cmp dword [rsp + 0x2c], 0x55f0
jb 0x1400d096e
call fcn.1400d09a0
test al, al
jne 0x1400d096e
mov bl, 1
mov byte [0x14023fdd1], bl
mov byte [0x14023fdd0], 1
jmp 0x1400d0983
mov bl, byte [0x14023fdd1]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x150
pop rbx
ret
Function at 0x1400d4370
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x80]
mov r12, rdx
mov eax, r8d
movsxd rbx, r8d
cdq
xor r10d, r10d
idiv r9d
mov dword [rsp + 0x70], r10d
mov rdi, rcx
mov ebp, eax
test r9d, r9d
jle 0x1400d4421
movsxd r11, r9d
xor esi, esi
mov qword [rsp + 0x60], r11
xor r13d, r13d
mov r14d, r9d
cmp ebp, 0x1d00
jle 0x1400d43e5
movsxd rdx, r10d
lea rcx, [rdi + 0x81a0]
add rdx, r15
mov r8d, 5
call fcn.1400dff7c
mov r10d, dword [rsp + 0x70]
mov r11, qword [rsp + 0x60]
xor r8b, r8b
mov rdx, rsi
cmp rsi, rbx
jge 0x1400d4418
mov cl, byte [rdx + r12]
inc r10d
mov rax, qword [rdi + 0x8198]
sub r8b, cl
add rdx, r11
mov byte [rax + r13], r8b
inc r13
mov r8b, cl
cmp rdx, rbx
jl 0x1400d43f0
mov dword [rsp + 0x70], r10d
inc rsi
sub r14, 1
jne 0x1400d43bb
cmp ebp, 0x1d00
jle 0x1400d443f
lea rdx, [rbx + r15]
mov r8d, 5
lea rcx, [rdi + 0x81a0]
call fcn.1400dff7c
mov rdx, qword [rdi + 0x8198]
mov r8, rbx
mov rcx, r12
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1401b1b70

Function at 0x1400d4acc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov edi, dword [rsp + 0x70]
xor ecx, ecx
mov r13d, r9d
mov esi, r8d
mov r10d, 0x400
lea r11d, [rcx + 1]
cmp edi, r11d
jl 0x1400d4bc6
mov r13, qword [rsp + 0x58]
lea eax, [rdi + rdi]
sub esi, eax
lea edx, [rcx + 8]
mov ebp, r11d
xor r8d, r8d
mov dword [rsp], r11d
xor ebx, ebx
mov dword [rsp + 8], ecx
mov r12d, r10d
mov r9, r13
mov eax, esi
mov rdi, r9
sub eax, ebx
cmp eax, edx
cmova eax, edx
mov r14d, eax
add r14, r9
cmp r9, r14
jae 0x1400d4b7c
lea r15, [r9 + rbp]
mov dl, byte [r15]
mov al, byte [r15 + rbp]
sub al, dl
sub dl, byte [rdi]
movsx ecx, al
movsx eax, dl
sub eax, ecx
mov ecx, 0x20
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovl ecx, eax
inc rdi
add r8d, ecx
inc r15
cmp rdi, r14
jb 0x1400d4b47
mov edx, 8
add ebx, 0x40
add r9, 0x40
cmp ebx, 0x100
jb 0x1400d4b2c
mov edi, dword [rsp + 0x70]
cmp r8d, r10d
jge 0x1400d4ba0
mov ecx, r11d
mov r10d, r8d
cmp r8d, 0x10
jb 0x1400d4bc1
mov ecx, dword [rsp]
inc r11d
inc rbp
mov r10d, r8d
cmp r8d, r12d
cmovge ecx, dword [rsp + 8]
cmovge r10d, r12d
cmp r11d, edi
jle 0x1400d4b19
mov r13d, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
imul r10d, r13d
cmp r10d, 0xc000
sbb eax, eax
and eax, ecx
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dc450
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r10d, dword [rsp + 0x80]
lea rax, [0x1402301f8]
and dword [r9], 0
mov r15, rdx
and dword [r9 + 0x44], 0
xor r11d, r11d
mov r13d, dword [rsp + 0x88]
mov rbx, rcx
mov qword [r9 + 0x28], rax
movsxd r12, r8d
mov qword [r9 + 0x50], rdx
mov eax, r12d
cdq
mov dword [r9 + 0x30], 0x1d
idiv r10d
mov dword [r9 + 0x48], r12d
mov byte [r9 + 4], 1
mov r14d, eax
mov dword [r9 + 8], r10d
mov dword [rsp + 0x80], r11d
test r10d, r10d
jle 0x1400dc55a
xor edi, edi
movsxd rax, r10d
xor r9d, r9d
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r9
mov ebp, r10d
cmp r14d, 0x1d00
jle 0x1400dc509
lea edx, [r11 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.1400dff7c
mov r9, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x80]
xor r8b, r8b
mov rdx, rdi
cmp rdi, r12
jge 0x1400dc551
mov r13, qword [rsp + 0x68]
mov cl, byte [rdx + r15]
inc r11d
mov rax, qword [rbx + 0x1a5e8]
sub r8b, cl
add rdx, r13
mov byte [r9 + rax], r8b
inc r9
mov r8b, cl
cmp rdx, r12
jl 0x1400dc519
mov r13d, dword [rsp + 0x88]
mov dword [rsp + 0x80], r11d
mov qword [rsp + 0x60], r9
inc rdi
sub rbp, 1
jne 0x1400dc4dd
cmp r14d, 0x1d00
jle 0x1400dc579
lea edx, [r12 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.1400dff7c
mov rdx, qword [rbx + 0x1a5e8]
mov r8, r12
mov rcx, r15
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1401b1b70

Function at 0x1400dca94
Capabilities:
Encode data using xor

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, 0xa0
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor r9d, r9d
lea eax, [r8 - 0x78]
lea r8, [rsp + 0x10]
mov qword [rsp + 4], r9
sub r8, rdx
mov dword [rsp], r9d
sub r8, 2
movsxd rbp, eax
lea edi, [r9 + 3]
mov r14, rdx
mov r10, r9
cmp r9, rbp
jge 0x1400dcb5a
mov r11d, dword [rsp + r9*4]
mov rbx, r8
lea rdx, [r14 + 2]
mov esi, 0x28
add rdx, r10
mov cl, byte [rdx - 1]
mov al, byte [rdx - 2]
sub al, cl
mov byte [rbx + rdx + 1], cl
mov byte [rbx + rdx], al
mov al, byte [rdx]
lea rdx, [rdx + 3]
sub al, cl
mov byte [rbx + rdx - 1], al
sub rsi, 1
jne 0x1400dcb03
lea ecx, [rsi + 3]
mov al, byte [rsp + rcx + 0x10]
sub al, byte [rsp + rcx + 0xd]
inc rcx
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add r11d, eax
cmp rcx, 0x78
jl 0x1400dcb27
add r10, 0x780
sub rbx, 0x780
cmp r10, rbp
jl 0x1400dcaf7
mov dword [rsp + r9*4], r11d
inc r9
dec r8
sub rdi, 1
jne 0x1400dcae8
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x1400dcb7b
cmp eax, dword [rsp + 8]
ja 0x1400dcb7b
xor eax, eax
jmp 0x1400dcb85
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400dd374
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov esi, dword [rsp + 0x70]
xor r11d, r11d
mov eax, r9d
mov ebp, r8d
mov ecx, r11d
mov r10d, 0x400
lea ebx, [r11 + 1]
cmp esi, ebx
jl 0x1400dd481
lea eax, [rsi + rsi]
mov r15d, ebx
sub ebp, eax
mov r12d, 4
mov dword [rsp + 0xc], r10d
mov r8d, r11d
mov dword [rsp], ebx
mov dword [rsp + 8], ecx
mov edi, ebp
mov dword [rsp + 4], r10d
mov r9, rdx
lea r11d, [r12 + 4]
cmp edi, r11d
mov eax, edi
mov rsi, r9
cmovg eax, r11d
movsxd r14, eax
add r14, r9
cmp r9, r14
jae 0x1400dd42c
lea r13, [r9 + r15]
mov dl, byte [r13]
mov al, byte [r15 + r13]
sub al, dl
sub dl, byte [rsi]
movsx ecx, al
movsx eax, dl
sub eax, ecx
mov ecx, 0x20
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovl ecx, eax
inc rsi
add r8d, ecx
inc r13
cmp rsi, r14
jb 0x1400dd3fb
add r9, 0x40
sub edi, 0x40
sub r12, 1
jne 0x1400dd3e0
mov esi, dword [rsp + 0x70]
xor r11d, r11d
cmp r8d, r10d
jge 0x1400dd450
mov ecx, ebx
mov r10d, r8d
cmp r8d, 0x10
jl 0x1400dd47d
mov ecx, dword [rsp]
inc ebx
mov rdx, qword [rsp + 0x58]
inc r15
cmp r8d, dword [rsp + 4]
mov r10d, r8d
cmovge ecx, dword [rsp + 8]
cmp r8d, dword [rsp + 0xc]
cmovge r10d, dword [rsp + 0xc]
cmp ebx, esi
jle 0x1400dd3bc
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, ecx
mov eax, r11d
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e168c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov sil, dl
mov rbx, rcx
call fcn.140117ce0
xor ebp, ebp
test al, al
je 0x1400e1751
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x1400e16c5
mov rax, qword [rbx]
mov qword [rbx + 0x10], rbp
lea r8, [rsp + 0x50]
mov edx, 0x1a
mov word [rax], bp
xor ecx, ecx
mov dil, bpl
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1400e1737
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1400e3ab4
test al, al
je 0x1400e1737
cmp qword [rbx + 0x10], rbp
je 0x1400e1737
mov rcx, rbx
call fcn.1400e012c
mov r8d, 6
lea rdx, [0x1401e0b40]
mov rcx, rbx
call fcn.140006c24
mov rcx, rbx
call fcn.1400cbff4
mov dil, al
test al, al
jne 0x1400e1737
test sil, sil
je 0x1400e1737
mov rcx, rbx
call fcn.1400cb820
mov dil, al
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f1dc3.0]
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e1888
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400e193c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.14000a448
nop
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140012fc0
test ebx, ebx
setne bl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400e193a
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1947
call fcn.1401af9bc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.1401b6b94
int3
Function at 0x1400e1ff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dil, dl
mov rbx, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400e2028
mov rax, qword [rcx]
xor esi, esi
mov qword [rcx + 0x10], rsi
mov word [rax], si
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareWinRARPaths
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e2133
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e2133
mov edx, dword [rbp - 0x40]
shr rdx, 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
lea rcx, [rbp - 0x30]
call fcn.14000a448
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rbp - 0x30]
mov rcx, rbx
call fcn.140012fc0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400e2133
mov rax, qword [rbp - 0x20]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e2122
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e21bd
call fcn.1401af9bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
cmp qword [rbx + 0x10], rsi
je 0x1400e2145
mov rcx, rbx
call fcn.1400cbff4
test al, al
jne 0x1400e219b
mov dl, dil
mov rcx, rbx
call fcn.1400e168c
test al, al
jne 0x1400e219b
lea rcx, [rbp - 0x30]
call fcn.1400e1a88
mov rdi, rax
cmp rbx, rax
je 0x1400e218a
mov rcx, rbx
call fcn.140006b94
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rcx, [rbp - 0x30]
call fcn.140006b94
mov rcx, rbx
call fcn.1400e3a58
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401b6b94
int3

Function at 0x1400e3b64
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x1400e3b72
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400e7cb8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, r9
mov r10b, bl
cmp r8d, 1
jbe 0x1400e7cec
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x1400e7ce0
cmp r10b, byte [rdx]
jne 0x1400e7d28
mov r8, rdi
or ecx, 0xffffffff
call fcn.1400bbafc
lea rdx, [0x1402302f0]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x1400e7d11
cmp dword [rcx], edi
je 0x1400e7d1e
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x1400e7d28
jmp 0x1400e7d08
lea rcx, [rbx + rbx*2]
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f55cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r14, r8
mov r13, rcx
mov rcx, qword [0x14023fc50]
mov r8d, 5
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14023fc50]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x14023fc50]
mov rdx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rbx, eax
mov rcx, rbx
call fcn.1401bce40
xor ebp, ebp
mov rdi, rax
test rax, rax
jne 0x1400f5654
mov qword [r14], rbp
jmp 0x1400f577c
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1401b1b70
movzx ebx, word [rdi + 2]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], ebp
mov rdx, r12
mov dword [rsp + 0x34], ebp
mov rcx, r13
call fcn.1400f4cc0
mov r15d, dword [rsp + 0x30]
xor edx, edx
mov ebp, dword [rsp + 0x34]
mov r10d, 0xffff
test al, al
je 0x1400f56e5
mov r8, rdi
cmp ebx, r10d
jne 0x1400f56a4
lea r8, [rdi + 8]
movsx ecx, word [r8 + 0xe]
mov r9d, 0x51eb851f
imul ecx, r15d
mov eax, r9d
imul ecx
mov eax, r9d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
movsx ecx, word [r8 + 0x10]
mov word [r8 + 0xe], dx
imul ecx, ebp
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [r8 + 0x10], dx
xor edx, edx
cmp ebx, r10d
mov ecx, 0x12
lea eax, [rcx + 8]
cmove ecx, eax
lea ebx, [rax - 0x18]
add rcx, rdi
or r8, 0xffffffffffffffff
cmp word [rcx], r10w
jne 0x1400f5707
mov eax, ebx
jmp 0x1400f5716
mov rax, r8
inc rax
cmp word [rcx + rax*2], dx
jne 0x1400f570a
inc rax
lea rsi, [rcx + rax*2]
cmp word [rsi], r10w
je 0x1400f572f
mov rbx, r8
inc rbx
cmp word [rsi + rbx*2], dx
jne 0x1400f5723
inc rbx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0x200
lea r8, str.CAPTION
mov rdx, r12
mov rcx, r13
call fcn.1400f4e94
lea rcx, [rsp + 0x40]
test al, al
jne 0x1400f575c
lea rcx, [rsi + rbx*2]
call fcn.1401c1d8c
mov qword [r14], rax
cmp r15d, 0x64
jne 0x1400f5779
cmp ebp, r15d
jne 0x1400f5779
mov rcx, rdi
call fcn.1401bce2c
xor edi, edi
mov rax, rdi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f71d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x243e00], cl
inc ecx
cmp ecx, 0x100
jl 0x1400f71f9
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244b01], r9b
mov byte [rsi + rdi*4 + 0x244b00], r9b
mov byte [rsi + rdi*4 + 0x244703], r9b
mov byte [rsi + rdi*4 + 0x244700], r9b
mov byte [rsi + rdi*4 + 0x244303], r9b
mov byte [rsi + rdi*4 + 0x244302], r9b
mov byte [rsi + rdi*4 + 0x243f02], r9b
mov byte [rsi + rdi*4 + 0x243f01], r9b
call fcn.1400f7e78
mov dl, 3
mov byte [rsi + rdi*4 + 0x244b03], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244702], al
mov byte [rsi + rdi*4 + 0x244301], al
mov byte [rsi + rdi*4 + 0x243f00], al
call fcn.1400f7e78
movzx r9d, byte [rdi + rsi + 0x243e00]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244b02], al
mov byte [rsi + rdi*4 + 0x244701], al
mov byte [rsi + rdi*4 + 0x244300], al
mov byte [rsi + rdi*4 + 0x243f03], al
call fcn.1400f7e78
mov dl, 9
mov byte [rsi + rdi*4 + 0x245b02], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x245701], al
mov byte [rsi + rdi*4 + 0x245300], al
mov byte [rsi + rdi*4 + 0x244f03], al
mov byte [rsi + r9*4 + 0x246b02], al
mov byte [rsi + r9*4 + 0x246701], al
mov byte [rsi + r9*4 + 0x246300], al
mov byte [rsi + r9*4 + 0x245f03], al
call fcn.1400f7e78
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x245b00], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x245703], al
mov byte [rsi + rdi*4 + 0x245302], al
mov byte [rsi + rdi*4 + 0x244f01], al
mov byte [rsi + r9*4 + 0x246b00], al
mov byte [rsi + r9*4 + 0x246703], al
mov byte [rsi + r9*4 + 0x246302], al
mov byte [rsi + r9*4 + 0x245f01], al
call fcn.1400f7e78
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x245b01], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x245700], al
mov byte [rsi + rdi*4 + 0x245303], al
mov byte [rsi + rdi*4 + 0x244f02], al
mov byte [rsi + r9*4 + 0x246b01], al
mov byte [rsi + r9*4 + 0x246700], al
mov byte [rsi + r9*4 + 0x246303], al
mov byte [rsi + r9*4 + 0x245f02], al
call fcn.1400f7e78
mov byte [rsi + rdi*4 + 0x245b03], al
mov byte [rsi + rdi*4 + 0x245702], al
mov byte [rsi + rdi*4 + 0x245301], al
mov byte [rsi + rdi*4 + 0x244f00], al
inc rdi
mov byte [rsi + r9*4 + 0x246b03], al
mov byte [rsi + r9*4 + 0x246702], al
mov byte [rsi + r9*4 + 0x246301], al
mov byte [rsi + r9*4 + 0x245f00], al
cmp rdi, 0x100
jl 0x1400f7210
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f7920
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
lea r11, [rcx + 0x18]
mov r10, rcx
movdqu xmm2, xmmword [rcx + 8]
test r8, r8
je 0x1400f79a3
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
movdqu xmm1, xmmword [r11 + rax*8]
lea eax, [rcx - 1]
movsxd rcx, eax
pxor xmm1, xmm3
test eax, eax
jle 0x1400f7979
mov rax, rcx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec rcx
lea rax, [rax - 0x10]
aesdec xmm1, xmm0
test rcx, rcx
jg 0x1400f7964
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x1400f798e
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x1400f7931
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x1400f7e00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x1400f7e72
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x1400f7e25
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x1400f7e53
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x1400f7e40
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, r9
add r9, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub r11, 1
jne 0x1400f7e10
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x1400f7e78
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x1400f7ec0
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x1400f7e89
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x1400f7ecc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov edi, 1
mov r11, rcx
cmp dword [rcx + 4], edi
jle 0x1400f7f98
lea r9, [rsp]
sub r9, rcx
lea rbx, [rcx + 0x28]
sub r9, 0x2a
lea r15, [0x140000000]
xor r10d, r10d
lea rsi, [rbx + 2]
mov ebp, 4
lea r14, [r9 + r10]
movzx eax, byte [rsi + 1]
lea rdx, [r10 + rax*4]
movzx eax, byte [rsi - 1]
mov r8b, byte [rdx + r15 + 0x246b00]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r15 + 0x246300]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r15 + 0x245f00]
lea rcx, [r10 + rax*4]
xor r8b, byte [rcx + r15 + 0x246700]
mov byte [r14 + rsi], r8b
lea rsi, [rsi + 4]
sub rbp, 1
jne 0x1400f7f2a
inc r10
cmp r10, 4
jl 0x1400f7f1d
movups xmm0, xmmword [rsp]
inc edi
sub r9, 0x10
movdqu xmmword [rbx], xmm0
add rbx, 0x10
cmp edi, dword [r11 + 4]
jl 0x1400f7f1a
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400f8814
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov edx, 1
xor edi, edi
mov rsi, rcx
mov r8d, 0xff
movsxd rax, edx
mov dword [rcx + rax*4 + 0x800], edi
lea eax, [rdx + rdx]
mov dword [rsi], edx
inc edi
mov edx, eax
lea rsi, [rsi + 4]
xor edx, 0x11d
cmp eax, r8d
cmovle edx, eax
cmp edi, r8d
jl 0x1400f882e
lea rdi, [rcx + 0x3fc]
mov rsi, rcx
mov ecx, 0x101
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret