joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d0038
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 0x1400d0087
test bl, 1
je 0x1400d0071
mov r8d, edi
mov edx, ebp
mov rcx, rsi
call fcn.1400d00a8
mov ebp, eax
mov r8d, edi
mov edx, edi
mov rcx, rsi
call fcn.1400d00a8
shr ebx, 1
mov edi, eax
cmp ebx, 1
ja 0x1400d005d
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.1400d00a8

Function at 0x1400d0318
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x14023fdc0], bl
jne 0x1400d037d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x1400d036c
jne 0x1400d036e
cmp dword [rsp + 0x2c], 0x55f0
jb 0x1400d036e
call fcn.1400d03a0
test al, al
jne 0x1400d036e
mov bl, 1
mov byte [0x14023fdc1], bl
mov byte [0x14023fdc0], 1
jmp 0x1400d0383
mov bl, byte [0x14023fdc1]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x150
pop rbx
ret
Function at 0x1400d3d70
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 0x1400d3e21
movsxd r11, r9d
xor esi, esi
mov qword [rsp + 0x60], r11
xor r13d, r13d
mov r14d, r9d
cmp ebp, 0x1d00
jle 0x1400d3de5
movsxd rdx, r10d
lea rcx, [rdi + 0x81a0]
add rdx, r15
mov r8d, 5
call fcn.1400df97c
mov r10d, dword [rsp + 0x70]
mov r11, qword [rsp + 0x60]
xor r8b, r8b
mov rdx, rsi
cmp rsi, rbx
jge 0x1400d3e18
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 0x1400d3df0
mov dword [rsp + 0x70], r10d
inc rsi
sub r14, 1
jne 0x1400d3dbb
cmp ebp, 0x1d00
jle 0x1400d3e3f
lea rdx, [rbx + r15]
mov r8d, 5
lea rcx, [rdi + 0x81a0]
call fcn.1400df97c
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.1401b1520

Function at 0x1400d44cc
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 0x1400d45c6
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 0x1400d457c
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 0x1400d4547
mov edx, 8
add ebx, 0x40
add r9, 0x40
cmp ebx, 0x100
jb 0x1400d452c
mov edi, dword [rsp + 0x70]
cmp r8d, r10d
jge 0x1400d45a0
mov ecx, r11d
mov r10d, r8d
cmp r8d, 0x10
jb 0x1400d45c1
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 0x1400d4519
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 0x1400dbe50
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, [0x1402301e8]
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 0x1400dbf5a
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 0x1400dbf09
lea edx, [r11 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.1400df97c
mov r9, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x80]
xor r8b, r8b
mov rdx, rdi
cmp rdi, r12
jge 0x1400dbf51
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 0x1400dbf19
mov r13d, dword [rsp + 0x88]
mov dword [rsp + 0x80], r11d
mov qword [rsp + 0x60], r9
inc rdi
sub rbp, 1
jne 0x1400dbedd
cmp r14d, 0x1d00
jle 0x1400dbf79
lea edx, [r12 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.1400df97c
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.1401b1520

Function at 0x1400dc494
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 [0x140231eb8]
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 0x1400dc55a
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 0x1400dc503
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 0x1400dc527
add r10, 0x780
sub rbx, 0x780
cmp r10, rbp
jl 0x1400dc4f7
mov dword [rsp + r9*4], r11d
inc r9
dec r8
sub rdi, 1
jne 0x1400dc4e8
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x1400dc57b
cmp eax, dword [rsp + 8]
ja 0x1400dc57b
xor eax, eax
jmp 0x1400dc585
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401af480
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 0x1400dcd74
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 0x1400dce81
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 0x1400dce2c
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 0x1400dcdfb
add r9, 0x40
sub edi, 0x40
sub r12, 1
jne 0x1400dcde0
mov esi, dword [rsp + 0x70]
xor r11d, r11d
cmp r8d, r10d
jge 0x1400dce50
mov ecx, ebx
mov r10d, r8d
cmp r8d, 0x10
jl 0x1400dce7d
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 0x1400dcdbc
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 0x1400e108c
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.140117680
xor ebp, ebp
test al, al
je 0x1400e1151
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x1400e10c5
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 0x1400e1137
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1400e34b4
test al, al
je 0x1400e1137
cmp qword [rbx + 0x10], rbp
je 0x1400e1137
mov rcx, rbx
call fcn.1400dfb2c
mov r8d, 6
lea rdx, [0x1401e0b50]
mov rcx, rbx
call fcn.140006c24
mov rcx, rbx
call fcn.1400cb9f4
mov dil, al
test al, al
jne 0x1400e1137
test sil, sil
je 0x1400e1137
mov rcx, rbx
call fcn.1400cb220
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.0x1400f17b3.0]
mov al, dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e1288
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 0x1400e133c
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 0x1400e133a
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1347
call fcn.1401af36c
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.1401b6544
int3
Function at 0x1400e19f0
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 [0x140231eb8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dil, dl
mov rbx, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400e1a28
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 0x1400e1b33
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 0x1400e1b33
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 0x1400e1b33
mov rax, qword [rbp - 0x20]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1b22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1bbd
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
cmp qword [rbx + 0x10], rsi
je 0x1400e1b45
mov rcx, rbx
call fcn.1400cb9f4
test al, al
jne 0x1400e1b9b
mov dl, dil
mov rcx, rbx
call fcn.1400e108c
test al, al
jne 0x1400e1b9b
lea rcx, [rbp - 0x30]
call fcn.1400e1488
mov rdi, rax
cmp rbx, rax
je 0x1400e1b8a
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.1400e3458
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401af480
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.1401b6544
int3

Function at 0x1400e3564
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x1400e3572
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400e76a8
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 0x1400e76dc
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x1400e76d0
cmp r10b, byte [rdx]
jne 0x1400e7718
mov r8, rdi
or ecx, 0xffffffff
call fcn.1400bb4fc
lea rdx, [0x1402302e0]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x1400e7701
cmp dword [rcx], edi
je 0x1400e770e
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x1400e7718
jmp 0x1400e76f8
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 0x1400f4fbc
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 [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r14, r8
mov r13, rcx
mov rcx, qword [0x14023fc40]
mov r8d, 5
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14023fc40]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x14023fc40]
mov rdx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rbx, eax
mov rcx, rbx
call fcn.1401bc7f0
xor ebp, ebp
mov rdi, rax
test rax, rax
jne 0x1400f5044
mov qword [r14], rbp
jmp 0x1400f516c
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1401b1520
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.1400f46b0
mov r15d, dword [rsp + 0x30]
xor edx, edx
mov ebp, dword [rsp + 0x34]
mov r10d, 0xffff
test al, al
je 0x1400f50d5
mov r8, rdi
cmp ebx, r10d
jne 0x1400f5094
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 0x1400f50f7
mov eax, ebx
jmp 0x1400f5106
mov rax, r8
inc rax
cmp word [rcx + rax*2], dx
jne 0x1400f50fa
inc rax
lea rsi, [rcx + rax*2]
cmp word [rsi], r10w
je 0x1400f511f
mov rbx, r8
inc rbx
cmp word [rsi + rbx*2], dx
jne 0x1400f5113
inc rbx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0x200
lea r8, str.CAPTION
mov rdx, r12
mov rcx, r13
call fcn.1400f4884
lea rcx, [rsp + 0x40]
test al, al
jne 0x1400f514c
lea rcx, [rsi + rbx*2]
call fcn.1401c173c
mov qword [r14], rax
cmp r15d, 0x64
jne 0x1400f5169
cmp ebp, r15d
jne 0x1400f5169
mov rcx, rdi
call fcn.1401bc7dc
xor edi, edi
mov rax, rdi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401af480
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 0x1400f6bbc
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 + 0x243df0], cl
inc ecx
cmp ecx, 0x100
jl 0x1400f6be5
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244af1], r9b
mov byte [rsi + rdi*4 + 0x244af0], r9b
mov byte [rsi + rdi*4 + 0x2446f3], r9b
mov byte [rsi + rdi*4 + 0x2446f0], r9b
mov byte [rsi + rdi*4 + 0x2442f3], r9b
mov byte [rsi + rdi*4 + 0x2442f2], r9b
mov byte [rsi + rdi*4 + 0x243ef2], r9b
mov byte [rsi + rdi*4 + 0x243ef1], r9b
call fcn.1400f7864
mov dl, 3
mov byte [rsi + rdi*4 + 0x244af3], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x2446f2], al
mov byte [rsi + rdi*4 + 0x2442f1], al
mov byte [rsi + rdi*4 + 0x243ef0], al
call fcn.1400f7864
movzx r9d, byte [rdi + rsi + 0x243df0]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244af2], al
mov byte [rsi + rdi*4 + 0x2446f1], al
mov byte [rsi + rdi*4 + 0x2442f0], al
mov byte [rsi + rdi*4 + 0x243ef3], al
call fcn.1400f7864
mov dl, 9
mov byte [rsi + rdi*4 + 0x245af2], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x2456f1], al
mov byte [rsi + rdi*4 + 0x2452f0], al
mov byte [rsi + rdi*4 + 0x244ef3], al
mov byte [rsi + r9*4 + 0x246af2], al
mov byte [rsi + r9*4 + 0x2466f1], al
mov byte [rsi + r9*4 + 0x2462f0], al
mov byte [rsi + r9*4 + 0x245ef3], al
call fcn.1400f7864
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x245af0], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x2456f3], al
mov byte [rsi + rdi*4 + 0x2452f2], al
mov byte [rsi + rdi*4 + 0x244ef1], al
mov byte [rsi + r9*4 + 0x246af0], al
mov byte [rsi + r9*4 + 0x2466f3], al
mov byte [rsi + r9*4 + 0x2462f2], al
mov byte [rsi + r9*4 + 0x245ef1], al
call fcn.1400f7864
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x245af1], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x2456f0], al
mov byte [rsi + rdi*4 + 0x2452f3], al
mov byte [rsi + rdi*4 + 0x244ef2], al
mov byte [rsi + r9*4 + 0x246af1], al
mov byte [rsi + r9*4 + 0x2466f0], al
mov byte [rsi + r9*4 + 0x2462f3], al
mov byte [rsi + r9*4 + 0x245ef2], al
call fcn.1400f7864
mov byte [rsi + rdi*4 + 0x245af3], al
mov byte [rsi + rdi*4 + 0x2456f2], al
mov byte [rsi + rdi*4 + 0x2452f1], al
mov byte [rsi + rdi*4 + 0x244ef0], al
inc rdi
mov byte [rsi + r9*4 + 0x246af3], al
mov byte [rsi + r9*4 + 0x2466f2], al
mov byte [rsi + r9*4 + 0x2462f1], al
mov byte [rsi + r9*4 + 0x245ef0], al
cmp rdi, 0x100
jl 0x1400f6bfc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f730c
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 0x1400f738f
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 0x1400f7365
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 0x1400f7350
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x1400f737a
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x1400f731d
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x1400f77ec
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x1400f785e
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x1400f7811
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x1400f783f
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x1400f782c
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 0x1400f77fc
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x1400f7864
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x1400f78ac
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 0x1400f7875
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x1400f78b8
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 [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov edi, 1
mov r11, rcx
cmp dword [rcx + 4], edi
jle 0x1400f7984
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 + 0x246af0]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r15 + 0x2462f0]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r15 + 0x245ef0]
lea rcx, [r10 + rax*4]
xor r8b, byte [rcx + r15 + 0x2466f0]
mov byte [r14 + rsi], r8b
lea rsi, [rsi + 4]
sub rbp, 1
jne 0x1400f7916
inc r10
cmp r10, 4
jl 0x1400f7909
movups xmm0, xmmword [rsp]
inc edi
sub r9, 0x10
movdqu xmmword [rbx], xmm0
add rbx, 0x10
cmp edi, dword [r11 + 4]
jl 0x1400f7906
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1401af480
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 0x1400f8200
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 0x1400f821a
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