joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180095cf0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
push r12
sub rsp, 0x178
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x180095d1d
mov rcx, qword [rcx]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180095ec6
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x180095f44
mov rbp, r12
lea r15, [0x180118318]
nop dword [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x180095d77
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
jbe 0x180095d8d
mov r14, qword [rdi]
test rbx, rbx
je 0x180095dfd
cmp rbp, rsi
jae 0x180095dfd
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + r15]
mov rcx, r15
cmp r15, rdx
je 0x180095dd0
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x180095dc0
lea rcx, [rsi + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x180095dfd
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x50], r12b
jne 0x180095df4
inc rbx
cmp rbx, rcx
jb 0x180095de0
jmp 0x180095dfd
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x180095e01
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x10], rbx
mov r8, rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], r12
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], r12
jbe 0x180095e2c
mov rdx, qword [rdi]
lea rcx, [rsp + 0x28]
call fcn.180008430
cmp qword [rsp + 0x38], r12
je 0x180095e78
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180095e78
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
jne 0x180095f0b
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0xf
jbe 0x180095eb9
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180095eb4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180095f48
call fcn.1800ec9a4
mov rsi, qword [rdi + 0x10]
cmp rbp, rsi
jb 0x180095d70
mov al, 1
mov r15, qword [rsp + 0x160]
mov r14, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800ec4b0
add rsp, 0x178
pop r12
pop rdi
ret
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180095f44
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180095f3f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180095f48
call fcn.1800ec9a4
xor al, al
jmp 0x180095ec8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18009a5b0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [0x180157848]
xor esi, esi
mov rdi, r8
mov rbx, rdx
test rcx, rcx
je 0x18009a5e0
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x180157848], rsi
mov rcx, qword [0x180157840]
test rcx, rcx
je 0x18009a5f9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180157840], rsi
mov r8, qword [rbx]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [0x180157840], rax
test rax, rax
jne 0x18009a65a
mov rcx, qword [0x180157848]
test rcx, rcx
je 0x18009a633
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [0x180157840]
mov qword [0x180157848], rsi
test rax, rax
je 0x18009a697
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov qword [0x180157840], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x180157848], rax
test rax, rax
jne 0x18009a6a9
mov rcx, qword [0x180157840]
test rcx, rcx
je 0x18009a697
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180157840], rsi
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18009a6c0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov rcx, qword [0x180157848]
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x18009a6f2
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x180157848], 0
mov rcx, qword [0x180157840]
test rcx, rcx
je 0x18009a70f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180157840], 0
mov rdi, qword [rdi]
xor edx, edx
mov r8, rdi
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [0x180157840], rax
test rax, rax
jne 0x18009a761
mov r9d, dword [rsp + 0x54]
lea r8d, [rax + 4]
mov qword [rsp + 0x28], rdi
lea rcx, [rax - 1]
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x180157840], rax
test rax, rax
jne 0x18009a761
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, qword [rsp + 0x40]
test rax, rax
mov qword [0x180157848], rax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x18009ab70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x418
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x400], rax
lea rax, [rsp]
mov r8d, 8
lea rdx, [0x180132830]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r8, 1
jne 0x18009aba0
mov r8, qword [rcx]
xor eax, eax
mov r9, qword [rcx + 8]
add r9, r8
cmp r8, r9
je 0x18009ac2a
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
inc r8
xor eax, dword [rsp + rcx*4]
cmp r8, r9
jne 0x18009ac10
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1800ec4b0
add rsp, 0x418
ret
Function at 0x18009aff0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
lea rcx, [rbp + 7]
mov rsi, r8
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x2f]
mov ecx, 0x80000000
cmp rsi, rcx
jb 0x18009b076
lea rbx, [rsi - 0x80000000]
test rdi, rdi
jne 0x18009b046
xor ebx, ebx
jmp 0x18009b05e
mov rax, rbx
xor edx, edx
div rdi
mov rax, rbx
sub rbx, rdx
add rbx, rdi
test rdx, rdx
cmove rbx, rax
movabs rax, 0xffffffff7fffffff
cmp rsi, rax
jb 0x18009b078
mov rsi, 0xffffffffffffffff
jmp 0x18009b099
xor ebx, ebx
add rsi, rcx
test rdi, rdi
jne 0x18009b084
xor esi, esi
jmp 0x18009b099
mov rax, rsi
xor edx, edx
div rdi
mov rax, rsi
sub rsi, rdx
test rdx, rdx
cmove rsi, rax
lea r15, str....._sourceSKSETrampoline.cpp
lea r12, str.void___cdecl_SKSE::Trampoline::do_create_unsigned___int64_unsigned___int64_
lea r13, str.VirtualAlloc_failed_with_code:_0x:08X
nop
mov r8d, 0x30
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18009b1a0
mov r8, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x11]
add rbx, r8
cmp dword [rbp - 9], 0x10000
jne 0x18009b195
test rdi, rdi
jne 0x18009b0ed
xor ecx, ecx
jmp 0x18009b105
xor edx, edx
mov rax, r8
div rdi
mov rcx, rdi
sub rcx, rdx
add rcx, r8
test rdx, rdx
cmove rcx, r8
cmp rcx, rbx
jae 0x18009b195
mov rax, rbx
sub rax, rcx
cmp rax, r14
jb 0x18009b195
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18009b207
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x67], eax
mov qword [rbp - 0x79], r15
mov dword [rbp - 0x71], 0x66
mov qword [rbp - 0x69], r12
call fcn.1800281e0
movups xmm0, xmmword [rbp - 0x79]
lea rcx, [rbp + 0x67]
mov r8d, 3
movsd xmm1, qword [rbp - 0x69]
lea r9, [rbp - 0x59]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x49]
mov rcx, qword [rax + 0x1d8]
movaps xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], 0x27
movsd qword [rbp - 0x39], xmm1
call fcn.18009b660
cmp rbx, rsi
jb 0x18009b0b0
jmp 0x18009b205
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x67], eax
mov qword [rbp - 0x79], r15
mov dword [rbp - 0x71], 0x56
mov qword [rbp - 0x69], r12
call fcn.1800281e0
movups xmm0, xmmword [rbp - 0x79]
lea rcx, str.VirtualQuery_failed_with_code:_0x:08X
mov r8d, 4
movsd xmm1, qword [rbp - 0x69]
lea r9, [rbp - 0x59]
mov qword [rbp - 0x59], rcx
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x67]
mov qword [rbp - 0x51], 0x27
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 0x1d8]
movaps xmmword [rbp - 0x49], xmm0
movsd qword [rbp - 0x39], xmm1
call fcn.18009b660
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18009e340
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18009e39d
lea rbx, [0x18011cfb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18009e384
cmp r10, 2
jb 0x18009e384
cmp byte [r9], r8b
jne 0x18009e384
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18009e360
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18009e3df
lea rbx, [0x18011cfb0]
cmp r8b, 0x23
jne 0x18009e3c3
cmp byte [r9], r8b
jne 0x18009e3c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18009e3b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18009e520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18009e53a
mov qword [r8], 0
lea rdx, [0x18012ae14]
call fcn.18009e3f0
mov rbx, rax
test rax, rax
jne 0x18009e55a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18009e631
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18009e631
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18009e631
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18009e631
cmp rdi, 0xffffffffffffffff
je 0x18009e631
mov rax, qword [0x180156ea0]
test rax, rax
je 0x18009e5ce
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18009e631
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18009e61e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180156ea0]
test rax, rax
je 0x18009e613
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18009e63a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18009e62c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18009e63c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18009e810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x18009ea27
mov qword [r11 + 0x18], rbp
lea rbp, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x18009e86e
cmp r8, rsi
jae 0x18009ea04
movzx edx, byte [r8]
test dl, dl
je 0x18009ea04
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x122fc8]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x18009e8a2
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x18009e8bb
movzx r13d, byte [rax]
jmp 0x18009e8be
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x18009e8cd
movzx r12d, byte [rax]
jmp 0x18009e8d0
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x18009e8df
movzx r15d, byte [rax]
jmp 0x18009e8e2
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x131728]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x1316f8]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x1316e0]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x131710]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18009e9e6
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x180000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x18009e860
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x18009ea3d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18009ea50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x180000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x18009ea90
cmp rax, rdi
jae 0x18009ec08
movzx r8d, byte [rax]
test r8b, r8b
je 0x18009ec08
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x122fc8]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x18009eac6
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x18009eade
movzx r15d, byte [rcx]
jmp 0x18009eae1
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x18009eaf0
movzx r14d, byte [rcx]
jmp 0x18009eaf3
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x18009eb01
movzx ebp, byte [rcx]
jmp 0x18009eb04
xor bpl, bpl
lea r10, [r9*4]
movzx ecx, sil
mov r9d, dword [r10 + r13 + 0x131728]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r11d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r11d
shr r11d, 2
and ecx, 0x3f
or r11d, edx
shl r9d, 6
shr r11d, 2
or r9d, ecx
mov ecx, dword [r10 + r13 + 0x1316f8]
or r11d, r8d
shr r9d, cl
shr r11d, 2
mov edx, r9d
cmp r9d, dword [r10 + r13 + 0x1316e0]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r11d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r11d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r10 + r13 + 0x131710]
or r11d, edx
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18009ebfa
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x18009ea82
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret
Function at 0x1800a3480
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x18011cfb0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [r11 + 0x11]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x12]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x13]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x14]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x15]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x16]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x17]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x1800a3556
mov r8, rdx
mov ecx, ebx
mov edx, 0xc
call fcn.1800beef0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800a3560
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x18011cfb0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x1800a35eb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800beef0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1800a3600
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x18011cfb0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret