joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010698e
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
mov r15, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x380]
mov rsi, qword [rsp + 0x370]
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x78], rdx
call fcn.140055ef8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140094724
test al, al
je 0x140106a4e
mov rax, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x368]
mov edx, dword [rsp + 0x360]
mov r8d, dword [rsp + 0x358]
mov r9, qword [rsp + 0x350]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov rdx, rbp
mov r8, r15
call rdi
mov esi, 1
test eax, eax
jne 0x140106b97
call fcn.140055ef8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140094714
xor esi, esi
test al, al
je 0x140106b97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov edx, 0x18
mov rcx, r14
mov r8d, 1
call fcn.1400c33a2
test al, al
je 0x140106b8d
call fcn.1400c32d8
test rax, rax
je 0x140106b8d
mov rsi, rax
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0xe0]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401236f0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x140106adf
mov qword [rsp + 0x70], rdi
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.1400c4376
lea rsi, [0x14016bb40]
lea rax, [rsp + 0x88]
mov ecx, 0xb
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0xaaaaaaaa00000018
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov qword [rdx + 8], r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x370]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x80]
mov rcx, rbx
mov edx, 0xd
call fcn.140106bb9
test eax, eax
je 0x140106b6c
mov al, 1
jmp 0x140106b89
mov ecx, dword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [rsp + 0x90], 0
sete sil
xor eax, eax
test al, al
je 0x140106b97
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140109174
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.140001fa0
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1401091de
mov eax, edi
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14012dfec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14012e11c
Function at 0x140005550
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, [0x1400a7310]
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call fcn.14000c580
mov rax, qword [rsp + 0x20]
mov rbp, qword [0x1400cd4d0]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x140005730
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov r9, rsi
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov rbx, rax
cmp rax, 0xfa0
je 0x1400056c0
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x140005607
mov rcx, rsi
call fcn.1400051d0
mov rcx, rbp
call fcn.14009c080
cmp byte [rax], 0
jne 0x140005778
test rbx, rbx
js 0x140005798
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140009970
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140009670
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rbx, rbx
jle 0x140005698
mov r8, rbx
add r8, 1
jo 0x14000576d
test r8, r8
js 0x1400057b6
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea rax, [rdx + rax + 8]
lea rdx, [rcx + 8]
mov rcx, rax
call sub.msvcrt.dll_memcpy
add rbx, qword [rsp + 0x30]
jo 0x14000576d
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x48]
nop word [rax + rax]
test rcx, rcx
je 0x1400056a7
test byte [rcx + 7], 0x40
je 0x140005788
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rbp
call fcn.14009c080
cmp byte [rax], 0
jne 0x140005778
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.140009670
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x140005730
mov r8, rbx
add r8, 1
jo 0x140005745
test r8, r8
js 0x140005750
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea rcx, [rcx + rax + 8]
call sub.msvcrt.dll_memcpy
add rbx, qword [rsp + 0x30]
jo 0x140005745
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x1400055c8
nop dword [rax]
xor ecx, ecx
lea rdx, [rbx - 1]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x48]
jmp 0x140005698
call fcn.1400087c0
jmp 0x14000571f
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.140008dd0
jmp 0x14000571f
call fcn.1400087c0
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
jmp 0x140005698
call fcn.140008500
jmp 0x1400056a7
movabs r8, 0x7fffffffffffffff
mov rcx, rbx
xor edx, edx
call fcn.140008dd0
mov rcx, qword [rsp + 0x48]
jmp 0x140005698
movabs rcx, 0x8000000000000000
xor edx, edx
movabs r8, 0x7fffffffffffffff
call fcn.140008dd0
mov rcx, qword [rsp + 0x48]
jmp 0x140005698
Function at 0x1400057e0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
test r8, r8
js 0x1400058d0
lea r14, [rsp + 0x20]
mov rdx, r8
mov rcx, r14
call fcn.14000c580
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rdx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
test rdx, rdx
jle 0x140005920
mov rax, qword [rsp + 0x38]
mov r9, rsi
mov r8, rbx
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov rbp, rax
cmp rbx, rax
je 0x140005861
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x1400058f0
mov rcx, qword [0x1400cd4d0]
call fcn.14009c080
cmp byte [rax], 0
mov r12, rax
jne 0x1400058b1
mov rcx, rsi
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov ecx, eax
mov r13d, eax
call sub.msvcrt.dll_ungetc
cmp byte [r12], 0
jne 0x1400058b1
test r13d, r13d
jns 0x140005930
cmp rbx, rbp
jle 0x1400058b1
test rbp, rbp
js 0x140005900
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.140009970
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.140008dd0
jmp 0x1400058b1
mov rcx, rsi
call fcn.1400051d0
jmp 0x140005861
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.140008dd0
jmp 0x1400058b1
sub rdx, 1
xor ecx, ecx
call fcn.14000b4e0
jmp 0x1400058b1
mov rdx, rsi
mov rcx, r14
call fcn.140005550
cmp byte [r12], 0
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jne 0x140005990
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140009670
test rbx, rbx
jle 0x140005990
mov r8, rbx
add r8, 1
jo 0x1400059b0
test r8, r8
js 0x1400059c0
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea rcx, [rdx + rax + 8]
lea rdx, [rsi + 8]
call sub.msvcrt.dll_memcpy
add rbx, qword [rsp + 0x30]
jo 0x1400059b0
mov qword [rsp + 0x30], rbx
test rsi, rsi
je 0x1400058b1
test byte [rsi + 7], 0x40
jne 0x1400058b1
mov rcx, rsi
call fcn.140008500
jmp 0x1400058b1
call fcn.1400087c0
jmp 0x140005990
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.140008dd0
jmp 0x140005990
Function at 0x140005cc0
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
lea rax, [0x1400a7243]
mov rdi, qword [rcx]
mov r12, qword [rcx + 8]
test rdi, rdi
lea rcx, [r12 + 8]
cmove rcx, rax
mov rbp, rdx
lea rdx, [0x1400a726d]
mov r13, r8
call fcn.140004f70
mov rcx, qword [0x1400cd4d0]
mov rsi, rax
call fcn.14009c080
cmp byte [rax], 0
mov rbx, rax
jne 0x140005d54
test rsi, rsi
je 0x140005d78
test r13, r13
jle 0x140005e60
mov rcx, rbp
mov r9, rsi
mov r8, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x140005d68
movzx edi, byte [rbx]
mov byte [rbx], 0
mov rcx, rsi
call sub.msvcrt.dll_fclose
cmp byte [rbx], 0
jne 0x140005d54
mov byte [rbx], dil
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rsi
call fcn.1400051d0
movzx edi, byte [rbx]
jmp 0x140005d41
mov edx, 8
mov ecx, 0x40
lea rbp, [0x1400a7244]
call fcn.14000b330
lea rdx, [rdi + 0xd]
lea rcx, [rsp + 0x30]
mov rbx, rax
mov rax, qword [0x1400cd3c0]
mov qword [rbx + 0x10], rbp
mov qword [rbx], rax
call fcn.1400098e0
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
movabs rdx, 0x6f20746f6e6e6163
lea rax, [rsi + r14 + 8]
mov r13, rsi
mov qword [rax], rdx
add r13, 0xd
movabs rdx, 0x203a6e65706f20
mov qword [rax + 6], rdx
jo 0x140005eb0
test rdi, rdi
jle 0x140005e93
mov r8, rdi
add r8, 1
jo 0x140005ea0
test r8, r8
js 0x140005e78
lea rcx, [r13 + r14 + 8]
lea rdx, [r12 + 8]
call sub.msvcrt.dll_memcpy
add rdi, r13
jo 0x140005ea0
mov qword [rbx + 0x18], rdi
mov rdx, rbp
mov rcx, rbx
lea r9, str.syncio.nim
mov qword [rbx + 0x20], r14
lea r8, str.writeFile
mov qword [rbx + 8], 0
mov qword [rsp + 0x20], 0x371
call fcn.14000b090
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [r13 - 1]
xor ecx, ecx
call fcn.14000b4e0
movzx edi, byte [rbx]
jmp 0x140005d41
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.140008dd0
mov rdi, r13
jmp 0x140005e17
call fcn.1400087c0
jmp 0x140005e93
call fcn.1400087c0
mov r13, rsi
jmp 0x140005de4

Function at 0x140006260
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x14000627f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400a5bb0
Function at 0x14000cd90
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r13, [0x1400d7040]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x14000ce1f
mov rdi, qword [fcn.1400a55b0]
xor r14d, r14d
lea r12, [rsp + 0x20]
lea rbp, [0x1400a63e0]
jmp 0x14000cde5
add r14, 1
add rbx, 0x10
cmp r14, rsi
je 0x14000ce26
mov ecx, 1
call rdi
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
movups xmmword [rsp + 0x20], xmm0
call fcn.14000cc40
mov rcx, rbp
call fcn.14009c080
cmp byte [rax], 0
je 0x14000cdd8
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [fcn.1400a55b0]
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x1400a7499]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
call fcn.1400a5bb0
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012850
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x1400128b0
lea r8, [rax + rdx + 8]
lea rcx, [rdx + 8]
xor eax, eax
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x140012870
lea rax, [rax + rax*8]
mov rdx, rax
shr rdx, 0xb
xor rdx, rax
mov rax, rdx
shl rax, 0xf
add rax, rdx
ret
xor eax, eax
ret
Function at 0x1400151c0
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, rdx
sar rdx, 0x3f
mov r13, rcx
shr rdx, 0x3e
mov r14, rbp
lea rax, [rbp + rdx]
and eax, 3
sub rax, rdx
sub r14, rax
cmp rbp, 3
jle 0x140015383
mov rsi, qword [0x1400cd4d0]
mov ebx, dword [rcx]
mov rcx, rsi
call fcn.14009c080
cmp byte [rax], 0
jne 0x14001534d
xor r12d, r12d
mov ecx, 4
jmp 0x140015232
cmp rbp, rcx
jle 0x140015360
mov ebx, dword [r13 + rcx]
add rcx, 4
imul eax, ebx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp r14, rcx
jg 0x140015220
mov rax, rbp
and eax, 3
je 0x140015399
lea r9, [rax - 1]
xor edx, edx
mov r8, r9
add r8, rcx
js 0x1400153b1
cmp r8, rcx
jb 0x1400153b1
test rdx, rdx
jne 0x14001537c
cmp rbp, r8
jle 0x14001536e
test r8, r8
js 0x14001536e
movzx edx, byte [r13 + r8]
test r9, r9
je 0x140015301
sub rax, 2
xor r10d, r10d
mov r9, rax
add r9, rcx
js 0x1400153bb
cmp r9, rcx
jb 0x1400153bb
mov r8, r9
test r10, r10
jne 0x14001537c
cmp rbp, r9
jle 0x14001536e
test r9, r9
js 0x14001536e
movzx r8d, byte [r13 + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x140015301
test rcx, rcx
js 0x14001536b
cmp rbp, rcx
jle 0x14001536b
movzx eax, byte [r13 + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov rsi, qword [0x1400cd4d0]
rol ebx, 0xf
mov rcx, rsi
call fcn.14009c080
cmp byte [rax], 0
jne 0x14001534d
imul ebx, ebx, 0x1b873593
xor r12d, ebp
xor r12d, ebx
mov edx, r12d
shr edx, 0x10
xor edx, r12d
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edi, eax
shr edi, 0x10
xor edi, eax
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [rbp - 1]
call fcn.14000b4e0
jmp 0x14001534d
mov r8, rcx
lea rdx, [rbp - 1]
mov rcx, r8
call fcn.14000b4e0
jmp 0x14001534d
call fcn.1400087c0
jmp 0x14001534d
test rax, rax
jle 0x1400153a0
lea r9, [rax - 1]
xor ecx, ecx
xor r12d, r12d
mov r8, r9
jmp 0x140015284
xor ebx, ebx
jmp 0x140015311
mov rsi, qword [0x1400cd4d0]
xor r12d, r12d
xor ebx, ebx
jmp 0x140015311
mov edx, 1
jmp 0x14001527b
mov r10d, 1
jmp 0x1400152bd
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x1400153f8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x1400151c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.14000e270
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400153d0
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, rdx
sar rdx, 0x3f
mov r13, rcx
shr rdx, 0x3e
mov r14, rbp
lea rax, [rbp + rdx]
and eax, 3
sub rax, rdx
sub r14, rax
cmp rbp, 3
jle 0x140015383
mov rsi, qword [0x1400cd4d0]
mov ebx, dword [rcx]
mov rcx, rsi
call fcn.14009c080
cmp byte [rax], 0
jne 0x14001534d
xor r12d, r12d
mov ecx, 4
jmp 0x140015232
cmp rbp, rcx
jle 0x140015360
mov ebx, dword [r13 + rcx]
add rcx, 4
imul eax, ebx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp r14, rcx
jg 0x140015220
mov rax, rbp
and eax, 3
je 0x140015399
lea r9, [rax - 1]
xor edx, edx
mov r8, r9
add r8, rcx
js 0x1400153b1
cmp r8, rcx
jb 0x1400153b1
test rdx, rdx
jne 0x14001537c
cmp rbp, r8
jle 0x14001536e
test r8, r8
js 0x14001536e
movzx edx, byte [r13 + r8]
test r9, r9
je 0x140015301
sub rax, 2
xor r10d, r10d
mov r9, rax
add r9, rcx
js 0x1400153bb
cmp r9, rcx
jb 0x1400153bb
mov r8, r9
test r10, r10
jne 0x14001537c
cmp rbp, r9
jle 0x14001536e
test r9, r9
js 0x14001536e
movzx r8d, byte [r13 + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x140015301
test rcx, rcx
js 0x14001536b
cmp rbp, rcx
jle 0x14001536b
movzx eax, byte [r13 + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov rsi, qword [0x1400cd4d0]
rol ebx, 0xf
mov rcx, rsi
call fcn.14009c080
cmp byte [rax], 0
jne 0x14001534d
imul ebx, ebx, 0x1b873593
xor r12d, ebp
xor r12d, ebx
mov edx, r12d
shr edx, 0x10
xor edx, r12d
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov edi, eax
shr edi, 0x10
xor edi, eax
mov rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [rbp - 1]
call fcn.14000b4e0
jmp 0x14001534d
mov r8, rcx
lea rdx, [rbp - 1]
mov rcx, r8
call fcn.14000b4e0
jmp 0x14001534d
call fcn.1400087c0
jmp 0x14001534d
test rax, rax
jle 0x1400153a0
lea r9, [rax - 1]
xor ecx, ecx
xor r12d, r12d
mov r8, r9
jmp 0x140015284
xor ebx, ebx
jmp 0x140015311
mov rsi, qword [0x1400cd4d0]
xor r12d, r12d
xor ebx, ebx
jmp 0x140015311
mov edx, 1
jmp 0x14001527b
mov r10d, 1
jmp 0x1400152bd
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x1400153f8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x1400151c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.14000e270
xor eax, eax
add rsp, 0x28
ret
Function at 0x140051ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r14
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
lea rbp, [rdx + 7]
mov rsi, rcx
mov r14, rdx
cmovns rbp, rdx
mov ebx, r8d
sar rbp, 3
cmp rdx, 7
jle 0x140052010
mov rcx, qword [0x1400cd4d0]
call fcn.14009c080
cmp byte [rax], 0
jne 0x140052003
xor r8d, r8d
lea rcx, [0x1400b04e0]
nop dword [rax + rax]
mov eax, dword [rsi + r8*8]
xor eax, ebx
mov ebx, dword [rsi + r8*8 + 4]
add r8, 1
mov edx, ebx
movzx r9d, bl
movzx edi, bh
shr ebx, 0x10
shr edx, 0x18
movzx ebx, bl
mov edx, dword [rcx + rdx*4]
xor edx, dword [rcx + r9*4 + 0xc00]
movzx r9d, al
xor edx, dword [rcx + r9*4 + 0x1c00]
mov r9d, eax
shr r9d, 0x18
xor edx, dword [rcx + r9*4 + 0x1000]
mov r9d, edi
movzx edi, ah
shr eax, 0x10
movzx eax, al
xor edx, dword [rcx + r9*4 + 0x800]
mov r9d, edi
xor edx, dword [rcx + rbx*4 + 0x400]
mov ebx, dword [rcx + rax*4 + 0x1400]
xor edx, dword [rcx + r9*4 + 0x1800]
xor ebx, edx
cmp rbp, r8
jg 0x140051f40
lea rdx, [rbp*8]
cmp r14, 7
mov eax, 8
cmovle rdx, rax
cmp r14, rdx
jle 0x140052003
add rdx, rsi
lea rcx, [0x1400b04e0]
add rsi, r14
nop word [rax + rax]
movzx r8d, byte [rdx]
add rdx, 1
xor r8d, ebx
shr ebx, 8
movzx r8d, r8b
xor ebx, dword [rcx + r8*4]
cmp rdx, rsi
jne 0x140051fe8
mov eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r14
ret
xor edx, edx
jmp 0x140051fd0
Function at 0x14006eb80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movdqu xmm6, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm5, xmmword [rcx + 0x30]
movd xmm0, r8d
lea rax, [rdx - 0x40]
pxor xmm0, xmm6
cmp rax, 0x3f
jle 0x14006edc0
lea r8, [rdx - 0x80]
movdqu xmm4, xmmword [0x1400c4980]
lea rax, [rcx + 0x40]
mov rdx, r8
and rdx, 0xffffffffffffffc0
lea rdx, [rcx + rdx + 0x80]
nop dword [rax]
movdqu xmm7, xmm3
movdqu xmm6, xmm2
movdqu xmm1, xmm5
add rax, 0x40
movdqu xmm8, xmm0
pclmulqdq xmm7, xmm4, 0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm8, xmm4, 0
pclmulqdq xmm5, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm3, xmm4, 0x11
pclmulqdq xmm2, xmm4, 0x11
pxor xmm0, xmm8
pxor xmm3, xmm7
pxor xmm2, xmm6
movdqu xmm8, xmmword [rax - 0x40]
pxor xmm1, xmm5
movdqu xmm7, xmmword [rax - 0x30]
movdqu xmm6, xmmword [rax - 0x20]
movdqu xmm5, xmmword [rax - 0x10]
pxor xmm0, xmm8
pxor xmm3, xmm7
pxor xmm2, xmm6
pxor xmm5, xmm1
cmp rax, rdx
jne 0x14006ebe0
mov rax, r8
shr rax, 6
lea rdx, [rax + 2]
shl rax, 6
mov r9, rax
mov rax, r8
shl rdx, 6
sub rax, r9
movdqu xmm1, xmmword [0x1400c4970]
movdqu xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pclmulqdq xmm0, xmm1, 0x11
pxor xmm0, xmm4
pxor xmm3, xmm0
movdqu xmm0, xmm3
pclmulqdq xmm3, xmm1, 0x11
pclmulqdq xmm0, xmm1, 0
pxor xmm3, xmm0
pxor xmm2, xmm3
movdqu xmm3, xmm2
pclmulqdq xmm2, xmm1, 0x11
pclmulqdq xmm3, xmm1, 0
movdqu xmm0, xmm2
pxor xmm0, xmm3
pxor xmm0, xmm5
cmp rax, 0xf
jle 0x14006ed41
movdqu xmm2, xmm0
movdqu xmm7, xmmword [rcx + rdx]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm7
cmp rax, 0x1f
jle 0x14006ed41
movdqu xmm2, xmm0
movdqu xmm7, xmmword [rcx + rdx + 0x10]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm7
cmp rax, 0x2f
jle 0x14006ed41
movdqu xmm2, xmm0
movdqu xmm3, xmmword [rcx + rdx + 0x20]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm3
movdqu xmm2, xmm0
psrldq xmm0, 8
movups xmm6, xmmword [rsp]
movdqu xmm3, xmmword [0x1400c49b0]
pclmulqdq xmm2, xmm1, 0x10
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
pxor xmm2, xmm0
movdqu xmm1, xmm2
movdqu xmm0, xmm2
movdqu xmm2, xmmword [0x1400c4990]
psrldq xmm0, 4
pand xmm1, xmm2
pclmulqdq xmm1, xmmword [0x1400c49a0], 0
pxor xmm1, xmm0
movdqu xmm0, xmm1
pand xmm0, xmm2
pclmulqdq xmm0, xmm3, 0x10
pand xmm0, xmm2
pclmulqdq xmm0, xmm3, 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
add rsp, 0x38
ret
mov edx, 0x40
jmp 0x14006ec82
Function at 0x14006edd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
mov eax, r8d
lea r8, [rdx + 7]
mov r9, rcx
cmovns r8, rdx
mov r10, rdx
xor r11d, r11d
lea rcx, [0x1400c49c0]
sar r8, 3
cmp rdx, 7
jle 0x14006eeb8
nop
mov ebx, dword [r9 + r11*8 + 4]
xor eax, dword [r9 + r11*8]
add r11, 1
mov esi, ebx
movzx edx, bl
shr esi, 0x18
mov edx, dword [rcx + rdx*4 + 0xc00]
xor edx, dword [rcx + rsi*4]
movzx esi, al
xor edx, dword [rcx + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor edx, dword [rcx + rsi*4 + 0x1000]
movzx esi, bh
shr ebx, 0x10
movzx ebx, bl
mov esi, esi
xor edx, dword [rcx + rsi*4 + 0x800]
xor edx, dword [rcx + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
mov ebx, ebx
xor edx, dword [rcx + rbx*4 + 0x1800]
xor edx, dword [rcx + rax*4 + 0x1400]
mov eax, edx
cmp r8, r11
jg 0x14006ee00
shl r8, 3
mov edx, 8
cmp r10, 7
cmovle r8, rdx
cmp r10, r8
jle 0x14006eeb0
add r8, r9
lea rcx, [0x1400c49c0]
add r9, r10
nop dword [rax]
movzx edx, byte [r8]
add r8, 1
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [rcx + rdx*4]
cmp r9, r8
jne 0x14006ee98
pop rbx
pop rsi
ret
xor r8d, r8d
jmp 0x14006ee7f