joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026f70
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
xor edi, edi
lea r9, [rsp + 0x20]
sub r9, rcx
mov rbp, r8
mov r14, rdx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [r9 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140026fa0
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140026fc0
movzx eax, word [0x1400be54c]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x140026fe0
lea rbx, [rsp + 0x20]
add rbx, rax
lea rdx, [rsp + 0x130]
mov eax, 0x2a
lea rcx, [rsp + 0x20]
mov word [rbx], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400270d3
lea rax, [rsp + 0x15c]
sub rbx, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x15c]
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rbx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140027040
test byte [rsp + 0x130], 0x10
je 0x140027096
movzx ecx, byte [rsp + 0x15c]
movzx eax, byte [rsp + 0x15d]
cmp cl, 0x2e
jne 0x140027084
cmp al, cl
jne 0x14002707b
cmp byte [rsp + 0x15e], dil
je 0x1400270aa
cmp cl, 0x2e
jne 0x140027084
test al, al
je 0x1400270aa
mov r8, rbp
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140026f70
jmp 0x1400270a6
mov r8, rbp
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140026e50
test eax, eax
jne 0x1400270c5
lea rdx, [rsp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140027030
jmp 0x1400270ca
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x270]
mov eax, edi
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 0x140027b20
Capabilities:
Check for time delay via gettickcount
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
mov rcx, qword [0x1400ef760]
call fcn.1400028c4
cmp dword [0x1400d3018], 0
mov rsi, qword [rax]
je 0x140027c60
cmp dword [0x1400ef720], 0
jne 0x140027c60
mov qword [rsp + 0x30], rbx
lea rcx, [0x1400ef728]
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1400d7520], 0
je 0x140027b96
lea rcx, [0x1400d90a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x1400d9060]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x1400d9020]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x1400ef758]
xor r9d, r9d
xor r8d, r8d
mov qword [0x1400ef770], rsi
xor edx, edx
mov dword [0x1400ef720], 1
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [0x1400ef750]
lea edi, [rax + 0xc8]
test rbx, rbx
je 0x140027c13
cmp rbx, rsi
je 0x140027c0b
cmp dword [rbx + 0x38], 0
jne 0x140027c0b
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x140027bfb
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x38], 0
je 0x140027be0
cmp dword [rbx + 0x38], 0
jne 0x140027c0b
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140027bd3
cmp dword [0x1400d7520], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
je 0x140027c4d
lea rcx, [0x1400d9020]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x1400d9060]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x1400d90a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x1400ef728]
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
pop rsi
ret

Function at 0x140027c70
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
mov rcx, qword [0x1400ef760]
call fcn.1400028c4
cmp dword [0x1400d3018], 0
mov rdi, qword [rax]
je 0x140027ce7
cmp qword [0x1400ef770], rdi
jne 0x140027ce7
cmp dword [0x1400ef720], 0
je 0x140027ce7
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400ef750]
mov qword [rsp + 0x38], rsi
xor esi, esi
test rbx, rbx
je 0x140027cd7
cmp rbx, rdi
je 0x140027ccc
cmp dword [rbx + 0x38], esi
jne 0x140027ccc
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbx + 0x38], esi
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140027cb8
mov rbx, qword [rsp + 0x30]
mov dword [0x1400ef720], esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002ade0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x1f4
mov ecx, 0xfffffff5
mov word [rsp + 0x22], ax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.14006b780
mov ecx, eax
lea rdx, [0x1400bde68]
call fcn.14006ac48
xor r9d, r9d
mov qword [0x1400ef798], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.14006b448
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.14006b780
mov ecx, eax
lea rdx, [0x1400bdd00]
call fcn.14006ac48
xor r9d, r9d
mov qword [0x1400ef7a0], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.14006b448
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.14006b780
mov ecx, eax
lea rdx, [0x1400bdd00]
call fcn.14006ac48
xor r9d, r9d
mov qword [0x1400ef7a8], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.14006b448
mov rax, qword [0x1400ef7a0]
mov qword [0x1400ef9a8], rax
call fcn.14002c590
add rsp, 0x48
ret
Function at 0x1400451c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov ebx, 0xffffffff
mov rdi, rdx
cmp r8, rbx
cmovbe rbx, r8
test ecx, ecx
jns 0x1400451fa
call fcn.1400340e8
mov dword [rax], 9
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400452a2
call fcn.14006b708
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140045293
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
jne 0x140045253
call fcn.1400340e8
mov dword [rax], reloc.WS2_32.dll_inet_addr
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x6d
je 0x1400452a2
cmp eax, 5
jne 0x14004527a
call fcn.1400340e8
mov dword [rax], 9
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400455f0
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400452b0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rdx
test ecx, ecx
jns 0x1400452d5
call fcn.1400340e8
mov dword [rax], 9
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x48], rbx
mov ebx, 0xffffffff
cmp r8, rbx
cmovbe ebx, r8d
call fcn.14006b708
mov rcx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x140045348
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140045334
call fcn.1400340e8
mov dword [rax], 9
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400455f0
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140049e04
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400d4cd0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400c7830]
mov rbp, rcx
call fcn.1400700a0
xor edi, edi
test rax, rax
je 0x140049eea
mov ebx, edi
call fcn.1400340e8
mov r14d, dword [rax]
call fcn.1400340e8
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140083ff8
mov rsi, rax
test rax, rax
je 0x140049e7b
call fcn.1400340e8
mov dword [rax], r14d
jmp 0x140049ea5
call fcn.1400340e8
cmp dword [rax], 0x22
jne 0x140049ee2
call fcn.1400340e8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140083ff8
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140049ee2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140049ea9
cmp rax, 3
je 0x140049ec4
mov rcx, rsi
call fcn.140049d60
test al, al
je 0x140049ed5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140049ed5
mov dil, 1
mov rcx, rbx
call fcn.140033f10
mov al, dil
jmp 0x140049eec
mov rcx, rbx
call fcn.140033f10
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400359b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14004beb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor ebx, ebx
mov r10d, 0x100
or edx, r10d
mov r11d, r8d
mov rdi, rcx
nop dword [rax + rax]
add r11d, r11d
mov r8d, edx
shr r8d, 8
mov ecx, edx
shr ecx, 7
mov eax, r10d
and ecx, 1
and eax, r11d
neg ecx
add eax, r10d
shr rcx, 4
add r8d, eax
and ecx, 0x7f
add edx, edx
movzx r8d, word [rdi + r8*2]
shr r8, 4
xor r8, rcx
mov ecx, edx
xor ecx, r11d
not ecx
and r10d, ecx
add ebx, dword [r9 + r8*4]
cmp edx, 0x10000
jb 0x14004bed0
mov rdi, qword [rsp + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 8]
ret

Function at 0x14004c160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rbx, r9
mov rdi, r8
mov ebp, edx
mov rsi, rcx
xor r11d, r11d
mov r10d, r11d
lea rdi, [rdi + 8]
shr r10d, 1
mov r9d, r11d
shr r9d, 2
mov ecx, r10d
and ecx, 1
add r11d, 2
neg ecx
shr rcx, 4
and ecx, 0x7f
lea eax, [r9 + 2]
movzx edx, word [rsi + rax*2]
movzx eax, word [rsi + 2]
shr rax, 4
shr rdx, 4
xor rdx, rcx
mov ecx, r9d
neg ecx
shr rcx, 4
and ecx, 0x7f
mov r8d, dword [rbx + rdx*4]
xor rcx, rax
lea eax, [r10 + 4]
movzx edx, word [rsi + rax*2]
mov eax, edx
xor rdx, 0x7f0
add r8d, dword [rbx + rcx*4]
add r8d, ebp
shr rax, 4
shr rdx, 4
mov ecx, dword [rbx + rax*4]
add ecx, r8d
mov dword [rdi - 8], ecx
mov ecx, dword [rbx + rdx*4]
add ecx, r8d
mov dword [rdi - 4], ecx
cmp r11d, 8
jb 0x14004c182
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14004f700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xcc], 0
mov rbp, rcx
jne 0x14004f72d
call fcn.14004e2c0
mov rcx, rbp
call fcn.14004dfe0
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x22d8]
mov eax, dword [rbp + 0x48]
lea r9, [rbp + 0x588]
dec eax
mov dword [rbp + 0xec], 0x40
mov ebx, 1
mov dword [rbp + 0xaedc], eax
mov edx, ebx
mov dword [rbp + 0x6ad8], eax
shl edx, cl
lea rcx, [rbp + 0x6ad8]
call fcn.14004c230
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x26d8]
shl ebx, cl
lea r9, [rbp + 0x588]
mov edx, ebx
lea rcx, [rbp + 0xaedc]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14004c230
Function at 0x14005fba0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x14005fbfb
nop
mov rcx, qword [0x1400f3578]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14005fbf5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x14005fc15
add ebx, esi
cmp ebx, edi
jl 0x14005fbc0
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x14005fc00

Function at 0x14006be64
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d4cd0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14006beae
call fcn.140034108
mov dword [rax], recv
call fcn.1400340e8
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400300e4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400359b0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14006beb9
lea eax, [rbx + 1]
jmp 0x14006be9b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14006be99
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14006be9b

Function at 0x1400715c8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140030fb0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140071669
cmp ebx, dword [rsp + 0x30]
je 0x140071662
test esi, esi
je 0x140071662
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14007163d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14007164a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140071627
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14007164e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14007166b
mov eax, 1
jmp 0x14007166b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400734d0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400734e6
mov al, 1
jmp 0x140073546
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400734f7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140073544
mov ecx, dword [rcx + 0x18]
nop
call fcn.14006b708
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140073544
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140073544
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140073544
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140073546
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140080990
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
lea r9, [0x1400bcf60]
mov ebp, edx
mov r11, rcx
mov dword [rcx + rbp*4 + 0x4808], esi
lea r12, [r11 + 0x404]
movzx edx, word [rcx]
movzx ecx, word [rcx + 2]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
movzx r14d, byte [rax + r9]
mov eax, ecx
movzx r8d, byte [rdx + r9]
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
movzx r13d, byte [rcx + r9]
add r15d, r8d
imul rax, rbp, 0x440
add r13d, r8d
xor r9d, r9d
add r12, rax
test esi, esi
je 0x140080b79
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x140080a9f
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x1400bcf60]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140080a50
mov eax, dword [rsp + 0x38]
inc r9d
add eax, r10d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x140080a28
jmp 0x140080b6f
cmp r9d, esi
jae 0x140080b6f
lea rdi, [r12 + r9*4]
lea r14, [0x1400bcf60]
cmp r9d, 0x10
jae 0x140080b1c
xor r10d, r10d
lea rbx, [rbp*8]
mov r8d, r9d
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140080ad0
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x140080ab3
jmp 0x140080b6f
lea rbx, [r12 + r9*4]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx r8d, word [r11 + rax*2 + 0x204]
and ecx, 0x7f
shr r8, 4
xor r8, rcx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x140080b30
lea eax, [r10 + r13]
inc r9d
mov dword [rbx], eax
add rbx, 4
cmp r9d, esi
jb 0x140080b20
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x140081660
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x30
mov edx, edx
mov r10, rcx
mov dword [rcx], 0x4000400
mov r9d, 0x400
mov qword [rsp + 0x58], rdx
test rdx, rdx
je 0x1400816dd
lea rax, [rcx + 8]
mov ecx, edx
nop word [rax + rax]
mov dword [rax - 4], 0x4000400
mov dword [rax], 0x4000400
mov dword [rax + 4], 0x4000400
mov dword [rax + 8], 0x4000400
mov dword [rax + 0xfc], 0x4000400
mov dword [rax + 0x100], 0x4000400
mov dword [rax + 0x104], 0x4000400
mov dword [rax + 0x108], 0x4000400
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140081690
movzx eax, r9w
lea rdi, [r10 + 0x204]
mov ecx, 0x100
rep stosw word [rdi], ax
test r8b, r8b
jne 0x140081856
xor eax, eax
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x140081856
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rbp
lea rbp, [0x1400bcf60]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r12
mov qword [rsp + 0x10], r13
mov qword [rsp + 8], r14
mov qword [rsp], r15
mov esi, dword [r10 + 0x4804]
lea rdi, [0x1400bcf60]
mov r14d, eax
xor r8d, r8d
imul r12, r14, 0x440
mov dword [r10 + r14*4 + 0x4808], esi
movzx ecx, word [r10]
add r12, 0x404
mov eax, ecx
add r12, r10
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
movzx ebp, byte [rax + rbp]
movzx edx, byte [rcx + rdi]
movzx ecx, word [r10 + 2]
mov eax, ecx
mov dword [rsp + 0x50], ebp
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
movzx r15d, byte [rax + rdi]
movzx r13d, byte [rcx + rdi]
add r15d, edx
add r13d, edx
test esi, esi
je 0x140081815
mov rbx, r12
nop dword [rax]
cmp r8d, 8
jae 0x14008185c
xor r9d, r9d
lea edi, [r8 + 8]
lea r11, [r14*8]
lea rbp, [0x1400bcf60]
mov ecx, edi
shr edi, 1
and ecx, 1
mov eax, edi
add rax, r11
movzx edx, word [r10 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + rbp]
add r9d, eax
cmp edi, 1
jne 0x1400817d0
mov eax, dword [rsp + 0x50]
inc r8d
add eax, r9d
mov dword [rbx], eax
add rbx, 4
cmp r8d, esi
jb 0x1400817b0
lea rbp, [0x1400bcf60]
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp rax, qword [rsp + 0x58]
jb 0x140081732
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, esi
jae 0x140081815
lea rbx, [r12 + r8*4]
lea rbp, [0x1400bcf60]
nop dword [rax]
cmp r8d, 0x10
jae 0x1400818ce
xor r9d, r9d
lea r11, [r14*8]
mov edi, r8d
mov ecx, edi
shr edi, 1
and ecx, 1
mov eax, edi
add rax, r11
movzx edx, word [r10 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + rbp]
add r9d, eax
cmp edi, 1
jne 0x140081884
lea eax, [r9 + r15]
inc r8d
mov dword [rbx], eax
add rbx, 4
cmp r8d, esi
jb 0x140081870
jmp 0x14008181c
lea r11, [r12 + r8*4]
xor r9d, r9d
lea eax, [r8 + 0xf0]
nop dword [rax]
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx edi, word [r10 + rax*2 + 0x204]
and ecx, 0x7f
shr rdi, 4
xor rdi, rcx
movzx ecx, byte [rdi + rbp]
add r9d, ecx
cmp eax, 1
jne 0x1400818e0
lea eax, [r9 + r13]
inc r8d
mov dword [r11], eax
add r11, 4
cmp r8d, esi
jb 0x1400818d2
jmp 0x14008181c
Function at 0x140086d70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov qword [rcx + 0x480], 0xffffffffffffffff
mov qword [rcx + 0x40], rdx
lea r8, [rcx + 0x78]
mov word [rcx + 0x22], dx
mov qword [rcx + 0x28], rdx
mov dword [rcx + 0x3c], 0x20
mov byte [rcx + 0x21], 1
mov dword [rcx + 0x5c], 4
nop
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x140086da0
ret