joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e3e8
Capabilities:
Read file on windows

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, 0x40
xor r15d, r15d
mov rbp, rdx
and dword [rax - 0x24], r15d
mov r12d, r9d
mov r14, r8
lea edx, [r15 + 2]
call fcn.140007420
mov edi, eax
cmp eax, 0xffffffff
jne 0x14002e438
lea ecx, [rax + 0x6f]
call fcn.14002f1d8
lea edx, [rdi + 2]
xor ecx, ecx
call fcn.14002d9d0
int3
mov ecx, edi
call qword [sym.imp.msvcrt.dll__get_osfhandle]
nop dword [rax + rax]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, rax
mov r8d, r12d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
je 0x14002e51f
mov eax, dword [rbp + 0x38]
mov ebx, dword [rsp + 0x30]
mov esi, ebx
test eax, 0xc000
jne 0x14002e49b
cmp ebx, 2
jbe 0x14002e494
mov ecx, 0xfeff
cmp word [r14], cx
jne 0x14002e494
bts eax, 0xe
jmp 0x14002e498
bts eax, 0xf
mov dword [rbp + 0x38], eax
test esi, esi
je 0x14002e4c7
xor ecx, ecx
lea r9, [rsp + 0x34]
and eax, 0x8002
lea r8, [rsp + 0x30]
cmp eax, 0x8002
mov rdx, r14
sete cl
call fcn.14002bc40
mov ebx, dword [rsp + 0x30]
mov r15d, eax
cmp ebx, r12d
je 0x14002e438
test r15d, r15d
jne 0x14002e4fd
mov ecx, edi
sub ebx, esi
call qword [sym.imp.msvcrt.dll__get_osfhandle]
nop dword [rax + rax]
lea r9d, [r15 + 1]
xor r8d, r8d
mov rcx, rax
mov edx, ebx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, edi
mov dword [0x140045ba8], eax
call fcn.14000d208
mov ecx, dword [0x140045ba8]
xor edx, edx
call fcn.140003278
mov edx, 1
xor ecx, ecx
call fcn.14002d9d0
int3
Function at 0x14002e810
Capabilities:
Delete file
Write file on windows

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, 0x40
mov r14, r9
mov ebp, r8d
mov rbx, rdx
mov esi, ecx
xor edi, edi
call qword [sym.imp.msvcrt.dll__get_osfhandle]
nop dword [rax + rax]
and qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov rcx, rax
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x14002e877
cmp ebp, dword [rsp + 0x30]
jne 0x14002e877
cmp dword [0x140041924], edi
je 0x14002e8fa
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x70]
mov dword [0x140045ba8], eax
call fcn.14000d208
mov ecx, esi
call fcn.14000d208
mov ecx, esi
call fcn.1400101b8
test eax, eax
je 0x14002e8ab
mov edi, 0x1d
jmp 0x14002e8ba
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
mov ecx, dword [0x140045ba8]
mov eax, 0x70
and dword [0x140045b98], 0
test ecx, ecx
cmove ecx, eax
cmp dword [0x140041924], 0
mov dword [0x140045ba8], ecx
je 0x14002e8e4
xor edi, edi
jmp 0x14002e8ed
test edi, edi
jne 0x14002e8ed
call fcn.14002f1d8
mov edx, 1
mov ecx, edi
call fcn.14002d9d0
int3
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14002ec14
Capabilities:
Set current directory

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 rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x14003d0f8]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov esi, 0x104
mov byte [rbp + 0x130], 1
mov ebx, ecx
mov qword [rbp + 0x138], rsi
xor r14d, r14d
lea rcx, [rsp + 0x20]
mov r8d, esi
mov qword [rbp + 0x128], r14
xor edx, edx
mov edi, r14d
call sub.msvcrt.dll_memset
mov al, byte [rbp + 0x130]
lea rcx, [rsp + 0x20]
neg al
sbb rdx, rdx
and edx, 0x7ee3
add rdx, rsi
call fcn.14000ca40
test eax, eax
js 0x14002edf7
lea eax, [r14 + 0x3d]
mov dword [rbp + 0x144], 0x3a
add bx, 0x40
mov word [rbp + 0x140], ax
lea rcx, [rbp + 0x140]
mov word [rbp + 0x142], bx
call fcn.14001081c
mov rbx, rax
test rax, rax
je 0x14002ecfb
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
nop dword [rax + rax]
test al, al
jne 0x14002edd4
lea ecx, [r14 + 1]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [rbp + 0x128]
lea rdx, [rsp + 0x20]
test rcx, rcx
cmovne rdx, rcx
movzx ecx, word [rbp + 0x142]
mov word [rdx], cx
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp + 0x128]
movzx eax, word [rbp + 0x144]
test rcx, rcx
cmovne rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rdx + 2], ax
lea rdx, [rsp + 0x20]
mov rax, qword [rbp + 0x128]
test rax, rax
cmovne rcx, rax
mov eax, 0x5c
mov word [rcx + 4], ax
lea rcx, [rsp + 0x20]
mov rax, qword [rbp + 0x128]
test rax, rax
cmovne rcx, rax
mov word [rcx + 6], r14w
lea rcx, [rbp + 0x140]
mov rax, qword [rbp + 0x128]
test rax, rax
cmovne rdx, rax
call fcn.14001498c
mov rax, qword [rbp + 0x128]
lea rcx, [rsp + 0x20]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14002edc1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
xor edx, edx
call fcn.140003278
test rbx, rbx
je 0x14002edd4
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
mov rax, qword [0x140058458]
lea rcx, [0x140058250]
mov edx, dword [0x140058468]
test rax, rax
cmovne rcx, rax
xor r8d, r8d
call fcn.14001417c
mov rcx, qword [rbp + 0x128]
mov qword [rbp + 0x128], r14
test rcx, rcx
je 0x14002ee16
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140018f80
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002ee4c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov edx, 1
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
test eax, eax
jne 0x14002ee77
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [0x140045ba8], eax
xor eax, eax
add rsp, 0x28
ret

Function at 0x14002f358
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rax, qword [0x14003d0f8]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor esi, esi
mov rdi, rcx
mov r8d, 0x104
mov qword [rsp + 0x20], rsi
xor edx, edx
mov qword [rbp + 0x138], rsi
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x148], r8
lea ebx, [rsi + 1]
mov byte [rbp + 0x140], bl
call sub.msvcrt.dll_memset
mov al, byte [rbp + 0x140]
lea rcx, [rsp + 0x30]
neg al
sbb rdx, rdx
and edx, 0xfdc6
add rdx, 0x208
call fcn.14000ca40
test eax, eax
js 0x14002f453
mov rax, qword [rbp + 0x138]
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 0x148]
lea r9, [rsp + 0x20]
test rax, rax
mov rcx, rdi
cmovne r8, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
nop dword [rax + rax]
test eax, eax
je 0x14002f453
cmp eax, 0xffce
jbe 0x14002f453
mov rax, qword [rbp + 0x138]
lea rcx, [rsp + 0x30]
test rax, rax
cmovne rcx, rax
mov word [rcx + 6], si
lea rcx, [rsp + 0x30]
mov rax, qword [rbp + 0x138]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 4
je 0x14002f455
mov ebx, esi
mov rcx, qword [rbp + 0x138]
mov qword [rbp + 0x138], rsi
test rcx, rcx
je 0x14002f474
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140018f80
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140031914
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x14003d0f8]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rbp + 0x128], 0
mov esi, 0x104
mov rdi, rcx
mov qword [rbp + 0x138], rsi
mov ebx, 1
lea rcx, [rsp + 0x20]
mov r8d, esi
mov byte [rbp + 0x130], bl
xor edx, edx
call sub.msvcrt.dll_memset
mov al, byte [rbp + 0x130]
lea rcx, [rsp + 0x20]
neg al
sbb rdx, rdx
and edx, 0x7ee3
add rdx, rsi
call fcn.14000ca40
test eax, eax
js 0x1400319ed
mov rax, qword [rbp + 0x128]
lea rdx, [rsp + 0x20]
mov r8d, dword [rbp + 0x138]
test rax, rax
mov rcx, rdi
cmovne rdx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
je 0x1400319eb
mov rax, qword [rbp + 0x128]
lea rcx, [rsp + 0x20]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
test eax, eax
je 0x1400319eb
cmp eax, 4
jne 0x1400319ed
xor ebx, ebx
mov rcx, qword [rbp + 0x128]
and qword [rbp + 0x128], 0
test rcx, rcx
je 0x140031a0d
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140018f80
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140002fd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000301a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000301a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000301a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000301a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000301a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000301c
xor al, al
add rsp, 0x28
ret
Function at 0x14001011c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1400a3014], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14001017c
movdqa xmm0, xmmword [0x140071050]
movdqa xmm1, xmmword [0x140071040]
movdqa xmmword [0x140088300], xmm0
movdqa xmm0, xmmword [0x140071020]
movdqa xmmword [0x140088310], xmm1
movdqa xmm1, xmmword [0x140071030]
movdqa xmmword [0x140088320], xmm0
movdqa xmmword [0x140088330], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.14005c1a0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140071000]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140010198
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140014b2c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov bpl, dl
mov word [rcx + 0x952a], r14w
mov rsi, rcx
mov byte [rcx + 0x9521], r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140013e80
mov rdi, rax
test rax, rax
je 0x140014bb1
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14005edd8
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140013e80
mov rdi, rax
test rax, rax
je 0x140014bb1
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
test bpl, bpl
je 0x140014baa
call fcn.140014cd8
jmp 0x140014b76
call fcn.1400147f0
jmp 0x140014b76
test bpl, bpl
jne 0x140014bbe
mov rcx, rsi
call fcn.140014bd4
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14001803c
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [0x1400878f0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.140049f98
mov esi, 1
mov ecx, esi
call fcn.140062a80
xor r14d, r14d
cmp rbx, rax
jne 0x140018095
cmp byte [0x14008996d], r14b
jne 0x1400180b7
mov ebp, 2
mov ecx, ebp
call fcn.140062a80
cmp rbx, rax
jne 0x14001817f
cmp byte [0x14008996e], r14b
je 0x14001817f
mov ecx, esi
call fcn.140062a80
sub rbx, rax
neg rbx
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call fcn.140006574
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], r14
lea rdi, [0x14008d180]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rdi
call fcn.140061614
mov ecx, dword [0x140089968]
cmp ecx, 3
jne 0x140018121
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14001810f
add r8d, r8d
mov rdx, rdi
jmp 0x14001816a
lea rbx, [0x140090180]
cmp ecx, 4
mov rdx, rbx
mov r8, rsi
mov rcx, rdi
jne 0x14001813d
call fcn.14004d414
jmp 0x140018142
call fcn.14004d390
test dword [0x140089968], 0xfffffffd
jne 0x14001815a
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x14001815e
mov rdx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400181e8
call fcn.140006574
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
lea rdi, [0x14008d180]
mov qword [rsp + 0x20], r14
mov r8d, 0x1800
mov rdx, rdi
mov rcx, qword [rax]
call fcn.140061614
mov ecx, ebp
call fcn.140062a80
mov ecx, r14d
cmp rbx, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x1400181c8
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140059d10
add rsp, 0x850
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140018538
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x140091980]
mov r11, r8
mov rbx, rdx
mov r10d, ecx
test r8, r8
je 0x14001857c
test bl, 7
je 0x14001857c
movzx ecx, byte [rbx]
inc rbx
movzx eax, r10b
xor rcx, rax
shr r10d, 8
xor r10d, dword [rsi + rcx*4]
sub r11, 1
jne 0x14001855c
cmp r11, 8
jb 0x140018622
mov rdi, r11
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r11, rax
xor r10d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r10b
mov r10d, r8d
xor r10d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140018594
test r11, r11
je 0x140018642
movzx ecx, byte [rbx]
inc rbx
movzx eax, r10b
xor rcx, rax
shr r10d, 8
xor r10d, dword [rsi + rcx*4]
sub r11, 1
jne 0x140018627
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140018658
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rdi, [0x140093980]
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x140018699
test r11b, 7
je 0x140018699
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
shr r9, 8
xor r9, qword [rdi + rcx*8]
sub r10, 1
jne 0x140018677
mov rax, r10
shr rax, 3
lea rbx, [r11 + rax*8]
jmp 0x140018736
xor r9, qword [r11]
mov r8, r9
mov rax, r9
shr rax, 0x30
movzx edx, al
mov rax, r9
shr rax, 0x28
movzx ecx, al
mov rax, r8
shr rax, 0x20
mov r9, qword [rdi + rdx*8 + 0x800]
xor r9, qword [rdi + rcx*8 + 0x1000]
movzx ecx, al
mov rax, r8
shr rax, 0x18
xor r9, qword [rdi + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r8
shr rax, 0x10
xor r9, qword [rdi + rcx*8 + 0x2000]
movzx ecx, al
mov rax, r8
shr rax, 8
xor r9, qword [rdi + rcx*8 + 0x2800]
movzx ecx, al
mov rax, r8
shr rax, 0x38
xor r9, qword [rdi + rcx*8 + 0x3000]
xor r9, qword [rdi + rax*8]
movzx eax, r8b
xor r9, qword [rdi + rax*8 + 0x3800]
add r11, 8
cmp r11, rbx
jb 0x1400186a9
and r10d, 7
jbe 0x140018761
movzx ecx, byte [r11]
inc r11
movzx eax, r9b
xor rcx, rax
shr r9, 8
xor r9, qword [rdi + rcx*8]
sub r10, 1
jne 0x140018745
mov rbx, qword [rsp + 8]
mov rax, r9
mov rdi, qword [rsp + 0x10]
ret

Function at 0x140018790
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x1400187d7
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x1400187a5
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x14001879c
ret
Function at 0x1400187d8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8, rcx
xor r9d, r9d
mov r11d, 0x100
mov r10, r9
mov ebx, 8
mov rdx, r10
mov cl, r10b
shr rdx, 1
movabs r10, 0xc96c5795d7870f42
mov rax, rdx
xor rax, r10
mov r10, rdx
test cl, 1
cmovne r10, rax
sub rbx, 1
jne 0x1400187f1
mov qword [r8], r10
inc r9
add r8, 8
sub r11, 1
jne 0x1400187e9
mov rbx, qword [rsp + 8]
ret

Function at 0x140018998
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400878f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x140018a30
and qword [r11 - 0x58], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x60], 0
lea r8, [r11 - 0x48]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x68], 0
mov rcx, rsi
and qword [r11 - 0x70], 0
mov dword [rsp + 0x50], eax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x78], rax
call fcn.140019ce0
xor r9d, r9d
lea r10, [rsp + 0x58]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x140018a0e
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x140018a79
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140019ce0
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140059d10
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret

Function at 0x140018a9c
Capabilities:
Encode data using xor

Disassembly:
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x140018b3d
movzx edx, word [r9 + 0x10be]
mov ecx, 0x1234
add cx, word [r9 + 0x10b8]
mov word [r9 + 0x10b8], cx
movzx r8d, cx
mov eax, r8d
shr rax, 1
movzx ecx, al
movzx eax, word [r9 + rcx*4 + 0xba4]
xor word [r9 + 0x10ba], ax
movzx eax, word [r9 + rcx*4 + 0xba6]
mov ecx, 1
sub word [r9 + 0x10bc], ax
ror dx, cl
xor dx, word [r9 + 0x10ba]
ror dx, cl
mov word [r9 + 0x10be], dx
xor dx, word [r9 + 0x10bc]
xor dx, r8w
mov word [r9 + 0x10b8], dx
shr dx, 8
xor byte [r11], dl
inc r11
sub r10, 1
jne 0x140018aae
ret
Function at 0x140018b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400878f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, dword [rcx + 0x10a4]
mov r15d, 0x1f
mov ebx, dword [rdx + 4]
mov r11d, edi
mov esi, dword [rdx + 8]
mov r10, rdx
movups xmm0, xmmword [rdx]
xor r11d, dword [rdx]
mov r9, rcx
xor ebx, dword [rcx + 0x10a8]
mov r12d, r15d
xor esi, dword [rcx + 0x10ac]
mov ebp, dword [rdx + 0xc]
xor ebp, dword [rcx + 0x10b0]
movdqu xmmword [rsp + 0x20], xmm0
mov rax, r12
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
dec r12
mov r8d, dword [r9 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr rax, 0x10
movzx eax, al
movzx r14d, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
shl r14d, 8
movzx ecx, byte [rax + r9 + 0xfa4]
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
ror edx, 0xf
xor edx, ebp
movzx eax, byte [rcx + r9 + 0xfa4]
add edx, r8d
or r14d, eax
mov eax, edx
shr rax, 0x10
xor r14d, r11d
movzx eax, al
mov r11d, esi
mov esi, r14d
movzx r8d, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0xfa4]
mov eax, edx
shl ecx, 8
or r8d, ecx
shr rax, 8
shl r8d, 8
movzx eax, al
movzx ecx, byte [rax + r9 + 0xfa4]
or r8d, ecx
movzx ecx, dl
shl r8d, 8
movzx eax, byte [rcx + r9 + 0xfa4]
or r8d, eax
xor r8d, ebx
mov ebx, ebp
sub r15d, 1
mov ebp, r8d
jns 0x140018bd4
xor edi, r14d
lea rdx, [rsp + 0x20]
mov dword [r10], edi
mov rcx, r9
xor r8d, dword [r9 + 0x10a8]
mov dword [r10 + 4], r8d
xor r11d, dword [r9 + 0x10ac]
mov dword [r10 + 8], r11d
xor ebx, dword [r9 + 0x10b0]
mov dword [r10 + 0xc], ebx
call fcn.140019c58
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140059d10
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret