joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037ac8
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 0x140037b17
test bl, 1
je 0x140037b01
mov r8d, edi
mov edx, ebp
mov rcx, rsi
call fcn.140037b38
mov ebp, eax
mov r8d, edi
mov edx, edi
mov rcx, rsi
call fcn.140037b38
shr ebx, 1
mov edi, eax
cmp ebx, 1
ja 0x140037aed
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.140037b38

Function at 0x140037e78
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400aa998]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x1400b3ba0], bl
jne 0x140037edd
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x140037ecc
jne 0x140037ece
cmp dword [rsp + 0x2c], 0x55f0
jb 0x140037ece
call fcn.140037f00
test al, al
jne 0x140037ece
mov bl, 1
mov byte [0x1400b3ba1], bl
mov byte [0x1400b3ba0], 1
jmp 0x140037ee3
mov bl, byte [0x1400b3ba1]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140078ca0
add rsp, 0x150
pop rbx
ret
Function at 0x14003d4c0
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 0x14003d571
movsxd r11, r9d
xor esi, esi
mov qword [rsp + 0x60], r11
xor r13d, r13d
mov r14d, r9d
cmp ebp, 0x1d00
jle 0x14003d535
movsxd rdx, r10d
lea rcx, [rdi + 0x81a0]
add rdx, r15
mov r8d, 5
call fcn.14004902c
mov r10d, dword [rsp + 0x70]
mov r11, qword [rsp + 0x60]
xor r8b, r8b
mov rdx, rsi
cmp rsi, rbx
jge 0x14003d568
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 0x14003d540
mov dword [rsp + 0x70], r10d
inc rsi
sub r14, 1
jne 0x14003d50b
cmp ebp, 0x1d00
jle 0x14003d58f
lea rdx, [rbx + r15]
mov r8d, 5
lea rcx, [rdi + 0x81a0]
call fcn.14004902c
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.14007a940

Function at 0x14003dc1c
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 0x14003dd16
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 0x14003dccc
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 0x14003dc97
mov edx, 8
add ebx, 0x40
add r9, 0x40
cmp ebx, 0x100
jb 0x14003dc7c
mov edi, dword [rsp + 0x70]
cmp r8d, r10d
jge 0x14003dcf0
mov ecx, r11d
mov r10d, r8d
cmp r8d, 0x10
jb 0x14003dd11
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 0x14003dc69
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 0x140045500
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, [0x1400aa138]
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 0x14004560a
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 0x1400455b9
lea edx, [r11 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.14004902c
mov r9, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x80]
xor r8b, r8b
mov rdx, rdi
cmp rdi, r12
jge 0x140045601
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 0x1400455c9
mov r13d, dword [rsp + 0x88]
mov dword [rsp + 0x80], r11d
mov qword [rsp + 0x60], r9
inc rdi
sub rbp, 1
jne 0x14004558d
cmp r14d, 0x1d00
jle 0x140045629
lea edx, [r12 + r13]
mov r8d, 5
lea rcx, [rbx + 0x1a640]
call fcn.14004902c
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.14007a940

Function at 0x140045b44
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 [0x1400aa998]
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 0x140045c0a
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 0x140045bb3
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 0x140045bd7
add r10, 0x780
sub rbx, 0x780
cmp r10, rbp
jl 0x140045ba7
mov dword [rsp + r9*4], r11d
inc r9
dec r8
sub rdi, 1
jne 0x140045b98
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x140045c2b
cmp eax, dword [rsp + 8]
ja 0x140045c2b
xor eax, eax
jmp 0x140045c35
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140078ca0
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 0x140046424
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 0x140046531
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 0x1400464dc
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 0x1400464ab
add r9, 0x40
sub edi, 0x40
sub r12, 1
jne 0x140046490
mov esi, dword [rsp + 0x70]
xor r11d, r11d
cmp r8d, r10d
jge 0x140046500
mov ecx, ebx
mov r10d, r8d
cmp r8d, 0x10
jl 0x14004652d
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 0x14004646c
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 0x14004a8e4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov sil, dl
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
xor ebp, ebp
mov rax, rbx
mov qword [rbx + 0x10], rbp
cmp qword [rbx + 0x18], 8
jb 0x14004a914
mov rax, qword [rbx]
lea r8, [rsp + 0x40]
mov word [rax], bp
mov edx, 0x1a
xor ecx, ecx
mov dil, bpl
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x14004a983
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.14004cae8
test al, al
je 0x14004a983
cmp qword [rbx + 0x10], rbp
je 0x14004a983
mov rcx, rbx
call fcn.1400493a4
mov r8d, 6
lea rdx, [0x140094090]
mov rcx, rbx
call fcn.140009948
mov rcx, rbx
call fcn.140033488
mov dil, al
test al, al
jne 0x14004a983
test sil, sil
je 0x14004a983
mov rcx, rbx
call fcn.140032c50
mov dil, al
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x14005b02f.0]
mov rbx, qword [rsp + 0x48]
mov al, dil
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004aad0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor esi, esi
test eax, eax
je 0x14004ab89
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140020c50
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 edi, eax
mov rdx, qword [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14004ab32
mov rcx, rbx
call fcn.1400099c4
test edi, edi
setne bl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14004ab87
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ab82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ab99
call fcn.140078b24
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.14007e144
int3
Function at 0x14004b244
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 [0x1400aa998]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dil, dl
mov rbx, rcx
xor esi, esi
mov qword [rcx + 0x10], rsi
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14004b282
mov rax, qword [rcx]
mov word [rax], si
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareWinRARPaths
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004b38a
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400940d0]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004b38a
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.140020c50
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]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14004b32d
mov rcx, rbx
call fcn.1400099c4
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004b38a
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b414
call fcn.140078b24
cmp qword [rbx + 0x10], rsi
je 0x14004b39c
mov rcx, rbx
call fcn.140033488
test al, al
jne 0x14004b3f2
mov dl, dil
mov rcx, rbx
call fcn.14004a8e4
test al, al
jne 0x14004b3f2
lea rcx, [rbp - 0x30]
call fcn.14004acb8
mov rdi, rax
cmp rbx, rax
je 0x14004b3e1
mov rcx, rbx
call fcn.1400098a8
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.1400098a8
mov rcx, rbx
call fcn.14004ca90
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140078ca0
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.14007e144
int3

Function at 0x14004cba0
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14004cbae
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140050f9c
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 0x140050fd0
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x140050fc4
cmp r10b, byte [rdx]
jne 0x14005100c
mov r8, rdi
or ecx, 0xffffffff
call fcn.140022504
lea rdx, [0x1400aa230]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x140050ff5
cmp dword [rcx], edi
je 0x140051002
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x14005100c
jmp 0x140050fec
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 0x14005f310
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 + 0xb7bd0], cl
inc ecx
cmp ecx, 0x100
jl 0x14005f339
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0xb88d1], r9b
mov byte [rsi + rdi*4 + 0xb88d0], r9b
mov byte [rsi + rdi*4 + 0xb84d3], r9b
mov byte [rsi + rdi*4 + 0xb84d0], r9b
mov byte [rsi + rdi*4 + 0xb80d3], r9b
mov byte [rsi + rdi*4 + 0xb80d2], r9b
mov byte [rsi + rdi*4 + 0xb7cd2], r9b
mov byte [rsi + rdi*4 + 0xb7cd1], r9b
call fcn.14005ffb8
mov dl, 3
mov byte [rsi + rdi*4 + 0xb88d3], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0xb84d2], al
mov byte [rsi + rdi*4 + 0xb80d1], al
mov byte [rsi + rdi*4 + 0xb7cd0], al
call fcn.14005ffb8
movzx r9d, byte [rdi + rsi + 0xb7bd0]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0xb88d2], al
mov byte [rsi + rdi*4 + 0xb84d1], al
mov byte [rsi + rdi*4 + 0xb80d0], al
mov byte [rsi + rdi*4 + 0xb7cd3], al
call fcn.14005ffb8
mov dl, 9
mov byte [rsi + rdi*4 + 0xb98d2], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0xb94d1], al
mov byte [rsi + rdi*4 + 0xb90d0], al
mov byte [rsi + rdi*4 + 0xb8cd3], al
mov byte [rsi + r9*4 + 0xba8d2], al
mov byte [rsi + r9*4 + 0xba4d1], al
mov byte [rsi + r9*4 + 0xba0d0], al
mov byte [rsi + r9*4 + 0xb9cd3], al
call fcn.14005ffb8
mov dl, 0xd
mov byte [rsi + rdi*4 + 0xb98d0], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0xb94d3], al
mov byte [rsi + rdi*4 + 0xb90d2], al
mov byte [rsi + rdi*4 + 0xb8cd1], al
mov byte [rsi + r9*4 + 0xba8d0], al
mov byte [rsi + r9*4 + 0xba4d3], al
mov byte [rsi + r9*4 + 0xba0d2], al
mov byte [rsi + r9*4 + 0xb9cd1], al
call fcn.14005ffb8
mov dl, 0xe
mov byte [rsi + rdi*4 + 0xb98d1], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0xb94d0], al
mov byte [rsi + rdi*4 + 0xb90d3], al
mov byte [rsi + rdi*4 + 0xb8cd2], al
mov byte [rsi + r9*4 + 0xba8d1], al
mov byte [rsi + r9*4 + 0xba4d0], al
mov byte [rsi + r9*4 + 0xba0d3], al
mov byte [rsi + r9*4 + 0xb9cd2], al
call fcn.14005ffb8
mov byte [rsi + rdi*4 + 0xb98d3], al
mov byte [rsi + rdi*4 + 0xb94d2], al
mov byte [rsi + rdi*4 + 0xb90d1], al
mov byte [rsi + rdi*4 + 0xb8cd0], al
inc rdi
mov byte [rsi + r9*4 + 0xba8d3], al
mov byte [rsi + r9*4 + 0xba4d2], al
mov byte [rsi + r9*4 + 0xba0d1], al
mov byte [rsi + r9*4 + 0xb9cd0], al
cmp rdi, 0x100
jl 0x14005f350
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005fa60
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 0x14005fae3
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 0x14005fab9
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 0x14005faa4
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14005face
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x14005fa71
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x14005ff40
Capabilities:
Encrypt data using aes via x86 extensions

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

Function at 0x14005ffb8
Capabilities:
Encode data using xor

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

Function at 0x14006000c
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 [0x1400aa998]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov edi, 1
mov r11, rcx
cmp dword [rcx + 4], edi
jle 0x1400600d8
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 + 0xba8d0]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r15 + 0xba0d0]
lea rcx, [r10 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r15 + 0xb9cd0]
lea rcx, [r10 + rax*4]
xor r8b, byte [rcx + r15 + 0xba4d0]
mov byte [r14 + rsi], r8b
lea rsi, [rsi + 4]
sub rbp, 1
jne 0x14006006a
inc r10
cmp r10, 4
jl 0x14006005d
movups xmm0, xmmword [rsp]
inc edi
sub r9, 0x10
movdqu xmmword [rbx], xmm0
add rbx, 0x10
cmp edi, dword [r11 + 4]
jl 0x14006005a
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140078ca0
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 0x140060954
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 0x14006096e
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
Function at 0x140061388
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 r12
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rsp + 0x78]
xor ebx, ebx
mov r14, qword [rsp + 0x70]
mov r12, r9
mov ebp, r8d
mov r15d, edx
mov rdi, rcx
test edx, edx
jne 0x1400613cc
mov r8, rsi
mov rcx, r14
call fcn.14007aff0
mov qword [rsp + 0x28], rsi
mov r9, r12
mov r8d, ebp
mov qword [rsp + 0x20], r14
mov edx, r15d
mov rcx, rdi
call fcn.1400610e8
test al, al
jne 0x14006148f
test ebp, ebp
jne 0x140061448
cmp qword [rdi + 0x38], rsi
je 0x140061423
mov rcx, qword [rdi + 0x30]
call fcn.140078b24
mov rcx, 0xffffffffffffffff
lea eax, [rbp + 4]
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.140078b2c
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov r8, rbx
test rsi, rsi
je 0x140061448
movzx edx, word [r8 + r12]
mov rax, qword [rdi + 8]
mov rcx, qword [rdi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rsi
jb 0x14006142b
imul ebp, dword [rdi + 0x14]
mov rax, qword [rdi + 0x28]
add ebp, r15d
mov edx, dword [rax + rbp*4]
mov rax, qword [rdi + 8]
mov r8d, dword [rax + rdx*4]
test rsi, rsi
je 0x14006148f
dec rsi
shr rsi, 1
inc rsi
mov rax, qword [rdi + 0x30]
mov ecx, dword [rax + rbx]
lea rbx, [rbx + 8]
mov rax, qword [rdi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [r14], cx
lea r14, [r14 + 2]
sub rsi, 1
jne 0x14006146c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x1400614b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0xffff4
call fcn.140078b2c
mov ecx, 0x40000
mov qword [rdi], rax
call fcn.140078b2c
xor r8d, r8d
mov qword [rdi + 8], rax
xor r9d, r9d
mov edx, 1
mov r10d, 0x3fffc
mov r11d, 0xffff
mov rax, qword [rdi + 8]
mov ecx, edx
mov dword [rax + rcx*4], r8d
inc r8d
mov rax, qword [rdi]
mov dword [r9 + rax], edx
lea r9, [r9 + 4]
mov rax, qword [rdi]
mov dword [r10 + rax], edx
lea eax, [rdx + rdx]
mov edx, eax
lea r10, [r10 + 4]
xor edx, 0x1100b
cmp eax, r11d
cmovbe edx, eax
cmp r8d, r11d
jb 0x1400614ef
mov rax, qword [rdi + 8]
mov ebx, 0x1fffe
mov dword [rax], ebx
mov rax, qword [rdi]
lea rcx, [rax + 0x7fff8]
add rax, 0xffff0
cmp rcx, rdi
ja 0x14006154d
cmp rax, rdi
jae 0x14006155f
xor edx, edx
mov r8d, 0x7fff0
mov ebx, 0x3fffa
call fcn.14007aff0
mov rax, qword [rdi]
mov ecx, ebx
inc ebx
and dword [rax + rcx*4], 0
cmp ebx, 0x3fffc
jbe 0x14006155f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret