joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f110
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor r15d, r15d
movabs r14, 0x1feedbab1
mov r12, rcx
mov rdi, rdx
mov rbx, r8
mov rsi, r9
call sym.pop_pthread_mem
test rax, rax
mov rbp, rax
je 0x40f2d3
test r12, r12
je 0x40f15a
mov rax, qword [rax + 0x1d8]
mov qword [r12], rax
mov qword [rbp + 8], rsi
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbp + 0x10], rbx
mov ebx, 1
mov dword [rbp + 0xbc], 0
mov dword [rbp + 0x44], 1
mov qword [rbp + 0x28], 0xffffffffffffffff
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call rsi
test rax, rax
mov qword [rbp + 0x30], rax
jne 0x40f370
cmp ebx, 1
je 0x40f1c1
mov ecx, 0x14
call r13
cmp ebx, 5
je 0x40f1d0
add ebx, 1
jmp 0x40f18e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40f1bc
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], 0xffffffffffffffff
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
mov dword [rbp], 0xbab1f00d
mov dword [rbp + 0xc0], 0
test rax, rax
mov dword [rbp + 0xb8], 0
je 0x40f2b8
test rdi, rdi
je 0x40f3b0
mov eax, dword [rdi]
mov rbx, qword [rdi + 0x10]
test al, 8
mov dword [rbp + 0x44], eax
jne 0x40f343
mov eax, dword [rdi + 0x18]
mov edx, ebx
mov dword [rbp + 0xc0], eax
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rbp
lea r8, [sym.pthread_create_wrapper]
call qword [sym.imp.msvcrt.dll__beginthreadex]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x40f290
test rax, rax
je 0x40f290
mov edx, dword [rbp + 0xc0]
cmp edx, 0xfffffff2
jl 0x40f2f0
cmp edx, 0xffffffff
jl 0x40f360
cmp edx, 0xe
jg 0x40f3a0
cmp edx, 2
mov eax, 2
cmovge edx, eax
jmp 0x40f2f5
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x40f29f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x38]
call sym.pthread_mutex_destroy
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x30], 0
test r12, r12
je 0x40f2c5
mov qword [r12], 0
cmp qword [rbp + 0x1d0], 0
je 0x40f3b7
mov eax, 0xb
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0xfffffff1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbp + 0x44], 4
je 0x40f334
mov rcx, rbx
mov qword [rbp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x40f2d8
mov qword [rbp + 0x28], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40f328
call sym.__pthread_self_lite
mov eax, dword [rax + 0xc0]
mov edx, ebx
mov dword [rbp + 0xc0], eax
jmp 0x40f22d
mov edx, 0xfffffffe
jmp 0x40f2f5
mov qword [rbp + 0x38], 0xffffffffffffffff
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
mov dword [rbp], 0xbab1f00d
mov dword [rbp + 0xc0], 0
mov dword [rbp + 0xb8], 0
jmp 0x40f208
mov edx, 0xf
jmp 0x40f2f5
xor edx, edx
jmp 0x40f22d
mov rcx, rbp
call sym.push_pthread_mem.part.0
nop
jmp 0x40f2d3
Function at 0x40f930
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.dummy_concurrency_level_shmem
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x40fe60
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mutex_global_shmem]
lea rcx, str.mutex_global_shmem
mov edx, 0x10
jmp sym.__shmem_winpthreads_grab

Function at 0x40fe80
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mutex_global_static_shmem]
lea rcx, str.mutex_global_static_shmem
mov edx, 0x10
jmp sym.__shmem_winpthreads_grab

Function at 0x40ff80
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mxattr_recursive_shmem]
lea rcx, str.mxattr_recursive_shmem
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x40ffa0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_mxattr_errorcheck_shmem]
lea rcx, str.mxattr_errorcheck_shmem
mov edx, 4
jmp sym.__shmem_winpthreads_grab
Function at 0x4108c0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov r15, rcx
movsxd r12, edx
mov r13, r8
call sym.strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040b6e0
sub rsp, rax
movsxd rdi, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, rdi
mov rdx, r15
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
lea r15d, [r14 + 0x50]
mov byte [rsp + 0x2e], 0x2d
movsxd rbx, ebx
call sym.memcpy
lea rax, [rsi + rdi + 0x10]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4109a9
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x410a42
mov rcx, r12
add r14d, 0x10
call sym.malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x4109e4
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x4109d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x410a3f
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call sym.get_ptr_from_atom_1
cmp rax, rbx
mov rsi, rax
je 0x410a59
mov rcx, rbx
call sym.free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov rsi, rax
jmp 0x410a19
xor edx, edx
mov r8, r12
mov rcx, rbx
call sym.memset
test r13, r13
je 0x410a19
mov rcx, rbx
call r13
jmp 0x410a19

Function at 0x410aa0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_spin_locked_shmem]
lea rcx, str.spin_locked_shmem
mov edx, 0x10
jmp sym.__shmem_winpthreads_grab

Function at 0x4115d0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
lea rcx, str.rwl_global_shmem
mov edx, 0x10
jmp sym.__shmem_winpthreads_grab

Function at 0x4116a0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
lea rcx, str.cond_locked_shmem_rwlock
mov edx, 0x10
jmp sym.__shmem_winpthreads_grab

Function at 0x412390
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_cond]
lea rcx, str.cond_locked_shmem_cond
mov edx, 0x10
jmp sym.__shmem_winpthreads_grab
Function at 0x4134f0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
lea rcx, str.init
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x413510
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.eh_globals
xor r8d, r8d
mov edx, 0x10
jmp dbg.__shmem_grab

Function at 0x413b20
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x413b40
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x4140f0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x00428530], 0
jne 0x4141b8
mov byte [0x00428530], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x41424b
mov rax, qword [rax + 8]
xor esi, esi
lea r9, [rsp + 0x2c]
cmp byte [rax], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete sil
xor r8d, r8d
xor edx, edx
add rsi, rax
mov rcx, rsi
call sym.__cxa_demangle
mov rbx, qword [sym.imp.msvcrt.dll___iob_func]
mov rdi, rax
call rbx
lea rcx, str.terminate_called_after_throwing_an_instance_of_
lea r9, [rax + 0x60]
mov r8d, 0x30
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x4141a8
call rbx
lea rdx, [rax + 0x60]
mov rcx, rsi
call sym.fputs
call rbx
lea rcx, [0x004291c1]
lea r9, [rax + 0x60]
mov r8d, 2
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x4141de
call sym.__cxa_rethrow
call rbx
lea rdx, [rax + 0x60]
mov rcx, rdi
call sym.fputs
jmp 0x41417f
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_recursively_n
lea r9, [rax + 0x60]
mov r8d, 0x1d
mov edx, 1
call sym.fwrite
call sym.abort
mov rcx, rdi
call sym.free
jmp 0x4141a3
call sym.abort
nop dword [rax + rax]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_without_an_active_exception_n
lea r9, [rax + 0x60]
mov r8d, 0x2d
mov edx, 1
call sym.fwrite
jmp 0x414246

Function at 0x415220
Capabilities:
Overwrite master boot record (mbr)
Write file on windows

Disassembly:
sub rsp, 0x28
call dbg.__main
mov r9d, dword [section..data]
mov r8, qword [0x00430a90]
xor edx, edx
mov rcx, qword [0x00430a98]
add rsp, 0x28
jmp sym.WinMain
Function at 0x140008ae0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x22
lea rdx, [0x1400dd860]
lea rcx, [rsp + 0x40]
call fcn.1400045e0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140008b36
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140003e90
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
jne 0x140008c5b
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400dd884]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
jne 0x140008c5b
mov byte [rsp + 0x39], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400dd890]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
jne 0x140008c5b
mov byte [rsp + 0x3a], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400dd8a0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
jne 0x140008c5b
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140008c21
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400dd8a8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
jne 0x140008c5b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
sete bl
jmp 0x140008c5d
xor bl, bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140008c9d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c98
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bf8f4
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bf890
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x14000e450
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000e523
cmp byte [rcx + 0x71], 0
je 0x14000e523
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000e51f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000e4e4
sub eax, 1
je 0x14000e4e8
cmp eax, 2
jne 0x14000e51f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bf890
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000e516
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x14000e51f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000e4cc
xor al, al
jmp 0x14000e4cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bf890
add rsp, 0x60
pop rbx
ret
Function at 0x140023e50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140023f1c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140023f1c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140023f35
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140023f0c
cmp byte [rax], 0x5c
jne 0x140023f06
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140023f06
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140023ef2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140023f03
test r8b, 0x10
jne 0x140023f06
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140023f06
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
test edi, edi
jne 0x140023e70
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140020010
int3
Function at 0x14002c620
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 0x14002c67d
lea rbx, [0x1400d2d90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14002c664
cmp r10, 2
jb 0x14002c664
cmp byte [r9], r8b
jne 0x14002c664
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 0x14002c640
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002c6bf
lea rbx, [0x1400d2d90]
cmp r8b, 0x23
jne 0x14002c6a3
cmp byte [r9], r8b
jne 0x14002c6a3
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 0x14002c690
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14002c7c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14002c7de
mov qword [r8], r14
lea rdx, [0x1400dffe0]
call fcn.14002c6d0
mov rbx, rax
test rax, rax
jne 0x14002c803
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.ucrtbase.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14002c92d
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x14002c92d
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002c92d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x14002c92d
cmp rdi, 0xffffffffffffffff
je 0x14002c92d
mov rcx, rdi
call fcn.140030570
mov rbp, rax
test rax, rax
je 0x14002c92d
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14002c91a
call qword [sym.imp.ucrtbase.dll_fclose]
mov r8, qword [0x1400f55c8]
test r8, r8
je 0x14002c90f
movsx rdx, word [r8 + 0x6048]
lea rcx, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14002c904
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x14002c936
call qword [sym.imp.ucrtbase.dll_fclose]
test rsi, rsi
je 0x14002c928
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14002c938
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140030070
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1400d2d90]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x140030106
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140044060
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400336f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1400f55c8]
mov r10, rcx
mov eax, dword [rsp + 0x80]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x4008]
mov ecx, dword [rdi + 0x49b8]
bts ecx, 8
mov r15d, dword [rbx + 0x14]
and r15d, 4
mov dword [rdi + 0x49b8], ecx
or r15d, eax
and eax, 0x40000000
bts eax, 0x1d
or r15d, 0x1000103
shr eax, 0x1d
mov dword [rdi + 0x49f0], eax
cmp qword [rbx + 0x1b8], 0
jne 0x140033777
cmp qword [rdi + 0x4da8], 0
lea rax, [rbx + 0x260]
je 0x14003377e
lea rax, [rbx + 0x230]
movss xmm3, dword [rax]
xorps xmm5, xmm5
movss xmm4, dword [rax + 4]
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x110]
subss xmm4, dword [rbx + 0x114]
movss xmm2, dword [0x1400e0c48]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
comiss xmm5, xmm1
cvtdq2ps xmm0, xmm0
jb 0x1400337cc
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x1400337cc
movaps xmm1, xmm2
comiss xmm5, xmm0
jb 0x1400337dd
addss xmm0, xmm4
comiss xmm0, xmm2
jae 0x1400337dd
movaps xmm0, xmm2
or ecx, 2
movss dword [rdi + 0x49d8], xmm1
movss dword [rdi + 0x49dc], xmm0
mov dword [rdi + 0x49b8], ecx
mov dword [rdi + 0x49c0], 1
test r10, r10
je 0x14003382e
movsxd rdx, dword [rbx + 0x100]
mov rcx, qword [rbx + 0x108]
mov eax, dword [rbx + 0x10]
cmp dword [rcx + rdx*4 - 4], eax
jne 0x14003382e
mov r9, qword [rbx + 8]
lea r8, [0x1400df534]
mov qword [rsp + 0x20], r10
jmp 0x140033862
mov r9, qword [rbx + 8]
test r10, r10
je 0x140033856
mov dword [rsp + 0x28], r14d
lea r8, [0x1400df540]
xor edx, edx
mov qword [rsp + 0x20], r10
lea rcx, [rsp + 0x60]
call fcn.14002c4b0
jmp 0x14003386e
mov dword [rsp + 0x20], r14d
lea r8, [0x1400df550]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14002c4b0
mov rcx, qword [rsp + 0x60]
mov r8d, r15d
movss xmm6, dword [rdi + 0x3920]
xor edx, edx
call fcn.1400367a0
mov rsi, qword [rdi + 0x4008]
movzx ebp, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], r14d
jne 0x1400338b5
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, r14d
lea rdx, [0x1400df559]
not r9d
lea r10, [0x1400d2d90]
mov ebx, r9d
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x1400338e3
cmp byte [rdx], r8b
jne 0x1400338e3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1400338d0
not ebx
cmp dword [rdi + 0x406c], ebx
jne 0x140033913
xor edx, edx
xor ecx, ecx
call fcn.140030110
cmp dword [rdi + 0x4ae8], r14d
jne 0x140033960
bt r15d, 0x17
jb 0x140033960
cmp word [rsi + 0x16c], 0
jne 0x140033936
cmp byte [rsi + 0x172], 0
je 0x140033960
xor edx, edx
mov rcx, rsi
call fcn.140038ce0
xor edx, edx
mov rcx, rsi
call fcn.14003efa0
mov rdx, rsi
mov ecx, ebx
call fcn.140030110
mov eax, dword [rdi + 0x4b0c]
mov dword [rdi + 0x4090], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14003d020
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400f55c8]
mov edi, ecx
cmp byte [rbx + 0x4cf1], 0
jne 0x14003d081
cmp byte [rbx + 0x4cf2], 0
jne 0x14003d081
movsx r9d, word [rbx + 0x5e38]
lea r8, [0x1400dfc20]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14002c430
test dil, 2
je 0x14003d1af
jmp 0x14003d10a
movss xmm1, dword [rbx + 0x39c4]
lea r8, [0x1400dfc20]
movsx r9d, word [rbx + 0x5e38]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400e0c68]
mulss xmm1, dword [0x1400e0c60]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49d0], rax
mov dword [rbx + 0x49bc], 1
movss dword [rbx + 0x49c8], xmm0
movss dword [rbx + 0x49cc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400e0bc8]
or dword [rbx + 0x49b8], 0x41
movss dword [rbx + 0x4a18], xmm0
call fcn.14002c430
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14003d160
lea r11, [0x1400d2d90]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14003d143
cmp byte [r8], r9b
jne 0x14003d143
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003d130
not ecx
call fcn.140033c70
test rax, rax
je 0x14003d1af
cmp byte [rax + 0xbe], 0
je 0x14003d1af
mov byte [rax + 0xc3], 1
lea r8, [0x1400dfc20]
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e38]
movsx r9d, word [rbx + 0x5e38]
call fcn.14002c430
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1400367a0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bf890
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret