joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dd00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000df2e
mov word [rbp + 0x50], 0x654a
mov word [rbp + 0x58], 0x654a
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ddb4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000dda0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000dde5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000ddd0
cmp rdi, rbx
jne 0x14000df02
mov r13, rsi
mov word [rbp - 0x50], 0x654a
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000de26
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000de12
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000df28
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x65002b
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000de98
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x650030
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000de98
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x65002b
mov dword [rbp - 0x42], 0x65000b
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x65002b
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000def5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x650030
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000def5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x65002b
mov dword [rbp - 0x32], 0x65000b
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000df02
inc r14
jmp 0x14000de00
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000df2e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000dd70
mov rax, qword [rbp - 8]
jmp 0x14000df30
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000df50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x74
mov dword [rbp - 0x20], 0x200001
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x20003c
mov dword [rbp - 0x18], 0x45003c
mov dword [rbp - 0x14], 0x350031
mov dword [rbp - 0x10], 0x370032
call fcn.140004fd0
mov rcx, rax
call 0x14000e840
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x61
mov dword [rbp - 0x20], 0x200001
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x20003c
mov dword [rbp - 0x18], 0x45003c
mov dword [rbp - 0x14], 0x460040
call fcn.1400022a0
mov rcx, rax
call 0x14000e840
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x110024
mov dword [rbp - 0x1c], 0x2000a
mov dword [rbp - 0x18], 0x90015
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
jmp 0x14000e840
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000e8a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000db00
test al, al
jne 0x14000e8b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000e870
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e840
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x74
mov dword [rbp - 0x20], 0x200001
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x20003c
mov dword [rbp - 0x18], 0x45003c
mov dword [rbp - 0x14], 0x350031
mov dword [rbp - 0x10], 0x370032
call fcn.140004fd0
mov rcx, rax
call 0x14000e840
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x61
mov dword [rbp - 0x20], 0x200001
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x20003c
mov dword [rbp - 0x18], 0x45003c
mov dword [rbp - 0x14], 0x460040
call fcn.1400022a0
mov rcx, rax
call 0x14000e840
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x110024
mov dword [rbp - 0x1c], 0x2000a
mov dword [rbp - 0x18], 0x90015
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
jmp 0x14000e840
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000e8a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000db00
test al, al
jne 0x14000e8b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000e870
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x420580
Capabilities:
Check mutex on windows

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

Function at 0x4205a0
Capabilities:
Check mutex on windows

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

Function at 0x421db0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x421ddc
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x422a40
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x30
cmp byte [0x004b7e30], 0
jne 0x422b4a
mov byte [0x004b7e30], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x422b20
mov r12, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [r12], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add r12, rax
mov rcx, r12
call sym.__cxa_demangle
mov ecx, 2
mov rbx, qword [dbg.__acrt_iob_func]
mov r13, rax
call rbx
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x422b11
call rbx
mov rcx, r12
mov rdx, rax
call sym.fputs
mov ecx, 2
call rbx
mov r8d, 2
mov edx, 1
lea rcx, [0x004b9f71]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x422b0c
mov rcx, r13
call sym.free
call sym.__cxa_rethrow
call rbx
mov rcx, r13
mov rdx, rax
call sym.fputs
jmp 0x422adb
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x422bdf
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sym.fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x422b45
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x422b45

Function at 0x47c1b0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x47c1d7
call rbp
cmp dword [rax], 4
jne 0x47c1f4
mov rcx, rdi
call method.std::__basic_file_char_.fd__
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sym.read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x47c1d0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x180003250
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x18005e010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r14, rcx
mov rbp, r9
xor ecx, ecx
mov rsi, r8
mov edx, 0x100
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, 1
lea r9, [rsp + 0x20]
mov rcx, rax
mov r15, rax
lea r8d, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, 1
mov byte [r15], 0x58
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rsp + 0x20]
mov edx, ebp
mov r8d, 0x40
lea rcx, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebp
lea rcx, [r15 + 1]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, ebp
lea rcx, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 3
lea rbx, [r15 + rbp]
lea r9, [rsp + 0x20]
lea rcx, [rbx + 1]
lea r8d, [rdx + 0x3d]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [0x180053b30]
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
lea rcx, [rbx + 1]
mov word [rbx + 1], ax
mov edx, 3
movzx eax, byte [0x180053b32]
mov byte [rbx + 3], al
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 2
lea rax, [r14 + 0xd]
lea rbx, [r15 + rbp]
mov qword [r15 + rbp + 4], rax
lea r9, [rsp + 0x20]
lea rcx, [rbx + 0xc]
lea r8d, [rdx + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov eax, 0xe0ff
lea rcx, [rbx + 0xc]
mov edx, 2
mov word [rbx + 0xc], ax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 3
lea r9, [rsp + 0x20]
mov rcx, r14
lea r8d, [rdx + 0x3d]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [0x180053b30]
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov edx, 3
mov word [r14], ax
mov rcx, r14
movzx eax, byte [0x180053b32]
mov byte [r14 + 2], al
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 8
lea r9, [rsp + 0x20]
lea r8d, [rdx + 0x38]
lea rcx, [r14 + 3]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, 8
mov qword [r14 + 3], r15
lea rcx, [r14 + 3]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 3
lea r9, [rsp + 0x20]
lea rcx, [r14 + 0xb]
lea r8d, [rdx + 0x3d]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx r8d, word [0x180053b34]
lea r9, [rsp + 0x20]
mov word [r14 + 0xb], r8w
lea rcx, [r14 + 0xb]
movzx r8d, byte [0x180053b36]
mov edx, 3
mov byte [r14 + 0xd], r8b
mov r8d, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, r15
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004ca20
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003480
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x18005e010]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 1], 1
mov rbx, rcx
je 0x180003544
cmp byte [rcx], 0
mov qword [rsp + 0x48], rsi
lea rsi, [rcx + 0x28]
mov qword [rsp + 0x50], rdi
mov rdi, qword [rcx + 0x10]
jne 0x1800034fa
mov r8, qword [rcx + 0x20]
mov rdx, rdi
mov byte [rcx], 1
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
mov ebx, dword [rbx + 0x20]
mov r8d, 0x40
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov edx, 0x90
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
jmp 0x180003524
mov ebx, dword [rcx + 0x20]
lea r9, [rsp + 0x20]
mov byte [rcx], 0
mov edx, ebx
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004ca20
add rsp, 0x30
pop rbx
ret

Function at 0x180003560
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x18005e010]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 1], 1
mov rsi, rcx
je 0x180003672
cmp byte [rcx], 0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
mov rdi, qword [rcx + 0x10]
jne 0x18000360c
mov r8, qword [rcx + 0x20]
mov rdx, rdi
mov byte [rcx], 1
add rcx, 0x28
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsi + 0x10]
lea r9, [rsp + 0x20]
mov ebx, dword [rsi + 0x20]
mov rcx, rdi
mov edx, ebx
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov edx, 0x90
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, qword [rsi + 0xb0]
mov r8, qword [rsi + 0xa8]
mov rcx, qword [rsi + 0x10]
call fcn.180003250
mov qword [rsi + 0x18], rax
jmp 0x180003663
mov ebx, dword [rcx + 0x20]
lea r9, [rsp + 0x20]
mov byte [rcx], 0
mov edx, ebx
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
lea rdx, [rsi + 0x28]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x180003663
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004ca20
add rsp, 0x30
pop rsi
ret
Function at 0x180004fc0
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 0x18000501d
lea rbx, [0x18004fa20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180005004
cmp r10, 2
jb 0x180005004
cmp byte [r9], r8b
jne 0x180005004
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 0x180004fe0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000505f
lea rbx, [0x18004fa20]
cmp r8b, 0x23
jne 0x180005043
cmp byte [r9], r8b
jne 0x180005043
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 0x180005030
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180005190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800051aa
mov qword [r8], 0
lea rdx, [0x180053c5c]
call fcn.180005070
mov rbx, rax
test rax, rax
jne 0x1800051ca
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 0x1800052a1
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 0x1800052a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800052a1
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 0x1800052a1
cmp rdi, 0xffffffffffffffff
je 0x1800052a1
mov rax, qword [0x18005edd0]
test rax, rax
je 0x18000523e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800052a1
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 0x18000528e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18005edd0]
test rax, rax
je 0x180005283
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800052aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000529c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800052ac
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 0x180007580
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x18004fa20]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x18005edd0]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x18000760d
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x18000761c
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x180007633
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1800197e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180007640
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0xe8]
lea r8, [0x18004fa20]
movss xmm3, dword [rcx + 0xec]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xd0]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xc8]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
movss dword [rsp + 4], xmm1
subss xmm0, xmm2
movss xmm1, dword [rdx + 0xc]
mov edx, dword [rax + rcx*4 - 4]
subss xmm1, xmm3
movzx eax, byte [rsp]
not edx
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 1]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 2]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 3]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 4]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 5]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 6]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 7]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 8]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 9]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xa]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xb]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xc]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xd]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xe]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0xf]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x18005edd0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c6c], edx
jne 0x1800077df
mov dword [rax + 0x1c70], edx
cmp dword [rax + 0x1ca8], edx
jne 0x1800077ee
mov byte [rax + 0x1cac], 1
mov eax, edx
add rsp, 0x18
ret