joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004810
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports
Terminate process

Disassembly:
je 0x1800049c9
mov rcx, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor edx, edx
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, dword [r12 + 0x64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
mov rcx, rbp
mov edx, dword [r12 + 0x64]
call fcn.180004a83
mov rax, rsp
mov rcx, r13
mov rdx, rbp
mov r8d, esi
mov dword [rsp + 0x44], 0
lea r9, [rsp + 0x44]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800049c9
mov eax, dword [r12 + 0x1c]
mov esi, dword [rsp + 0x44]
add rsi, rbp
lea r10, [rbp + rax]
mov r9d, dword [r10]
lea rdx, [r10 + 8]
mov r8d, dword [r10 + 4]
mov eax, edi
test r9d, r9d
jbe 0x1800048b0
inc eax
add dword [rdx], r8d
add rdx, 4
cmp eax, r9d
jb 0x1800048a2
mov eax, dword [r12 + 0xc]
mov rcx, rbx
lea rdx, [r10 + rax + 1]
lea rbp, [r10 + rax]
call fcn.1800049d3
mov r13, rax
test r13, r13
je 0x1800049c9
movsx rax, byte [rbp]
mov rcx, rbx
lea rdx, [rbp + rax + 1]
lea r14, [rdx - 1]
call fcn.1800049d3
mov rbp, rax
test rbp, rbp
je 0x1800049c9
movsx rax, byte [r14]
lea rcx, [r14 + rax + 1]
lea rbx, [r14 + rax]
call r13
test rax, rax
je 0x1800049c9
movsx r13, byte [rbx]
add rbx, r13
mov r14d, dword [r12 + 0x58]
lea r9, [rsp + 0x40]
add r14, rbx
mov r8d, dword [r12 + 8]
mov r13d, dword [rbx + 4]
mov r15d, dword [rbx + 8]
mov rdx, r15
movsxd rbx, dword [rax + 0x3c]
mov ebx, dword [rbx + rax + 0x2c]
add rbx, rax
mov rcx, rbx
mov dword [r9], 0
call rbp
mov rcx, rbx
mov rdx, r14
mov r8d, r15d
call fcn.180004bab
mov rcx, rbx
mov rdx, r15
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
call rbp
mov rax, qword [r12 + 0x88]
xor r9d, r9d
cmp byte [rax], 0
je 0x18000499a
lea rdx, [r12 + 0x88]
mov rax, qword [rdx]
movsx ebp, byte [rax + r9]
mov word [rsi + r9*2], bp
inc r9
mov r8, qword [rdx]
cmp byte [r8 + r9], 0
jne 0x180004978
add r13, rbx
lea rcx, [rsp + 0x48]
mov word [rsi + r9*2], di
add r14, r15
mov qword [rcx + 8], rsi
mov qword [rcx], r14
mov byte [rcx + 0x10], 1
call r13
add rsp, 0x68
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1800048c0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
je 0x1800049c9
mov rcx, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor edx, edx
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, dword [r12 + 0x64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
mov rcx, rbp
mov edx, dword [r12 + 0x64]
call fcn.180004a83
mov rax, rsp
mov rcx, r13
mov rdx, rbp
mov r8d, esi
mov dword [rsp + 0x44], 0
lea r9, [rsp + 0x44]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800049c9
mov eax, dword [r12 + 0x1c]
mov esi, dword [rsp + 0x44]
add rsi, rbp
lea r10, [rbp + rax]
mov r9d, dword [r10]
lea rdx, [r10 + 8]
mov r8d, dword [r10 + 4]
mov eax, edi
test r9d, r9d
jbe 0x1800048b0
inc eax
add dword [rdx], r8d
add rdx, 4
cmp eax, r9d
jb 0x1800048a2
mov eax, dword [r12 + 0xc]
mov rcx, rbx
lea rdx, [r10 + rax + 1]
lea rbp, [r10 + rax]
call fcn.1800049d3
mov r13, rax
test r13, r13
je 0x1800049c9
movsx rax, byte [rbp]
mov rcx, rbx
lea rdx, [rbp + rax + 1]
lea r14, [rdx - 1]
call fcn.1800049d3
mov rbp, rax
test rbp, rbp
je 0x1800049c9
movsx rax, byte [r14]
lea rcx, [r14 + rax + 1]
lea rbx, [r14 + rax]
call r13
test rax, rax
je 0x1800049c9
movsx r13, byte [rbx]
add rbx, r13
mov r14d, dword [r12 + 0x58]
lea r9, [rsp + 0x40]
add r14, rbx
mov r8d, dword [r12 + 8]
mov r13d, dword [rbx + 4]
mov r15d, dword [rbx + 8]
mov rdx, r15
movsxd rbx, dword [rax + 0x3c]
mov ebx, dword [rbx + rax + 0x2c]
add rbx, rax
mov rcx, rbx
mov dword [r9], 0
call rbp
mov rcx, rbx
mov rdx, r14
mov r8d, r15d
call fcn.180004bab
mov rcx, rbx
mov rdx, r15
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
call rbp
mov rax, qword [r12 + 0x88]
xor r9d, r9d
cmp byte [rax], 0
je 0x18000499a
lea rdx, [r12 + 0x88]
mov rax, qword [rdx]
movsx ebp, byte [rax + r9]
mov word [rsi + r9*2], bp
inc r9
mov r8, qword [rdx]
cmp byte [r8 + r9], 0
jne 0x180004978
add r13, rbx
lea rcx, [rsp + 0x48]
mov word [rsi + r9*2], di
add r14, r15
mov qword [rcx + 8], rsi
mov qword [rcx], r14
mov byte [rcx + 0x10], 1
call r13
add rsp, 0x68
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1800049d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r14, rcx
mov r15, rdx
test r14, r14
je 0x180004a27
xor edi, edi
invalid
Function at 0x1400017b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x29], ILFree
mov byte [rsp + 0x2a], 0x84
mov byte [rsp + 0x2b], 0x33
mov byte [rsp + 0x2c], ILRemoveLastID
mov byte [rsp + 0x2d], 0xa8
mov byte [rsp + 0x2e], 0xfd
mov byte [rsp + 0x2f], 0x6a
mov byte [rsp + 0x30], 0x4a
mov byte [rsp + 0x31], 0xad
mov dword [rsp + 0x24], 0xc64ab996
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0xa
jae 0x14000185a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
movzx ecx, byte [rsp + 0x24]
mov rdx, qword [rsp + 0x60]
movzx eax, byte [rdx + rax]
ror al, cl
movzx eax, al
sub eax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
rol eax, 0xb
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001805
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001879
xor eax, eax
jmp 0x1400019ce
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001899
xor eax, eax
jmp 0x1400019ce
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x1400018c6
xor eax, eax
jmp 0x1400019ce
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400018fa
xor eax, eax
jmp 0x1400019ce
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x1400019c3
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x1400019c3
mov rax, qword [rsp + 0x80]
cmp qword [rax + 8], 0
je 0x1400019c3
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x1400019c3
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x10], 0
jne 0x1400019c9
xor eax, eax
jmp 0x1400019ce
mov eax, 1
add rsp, 0x78
ret
Function at 0x1402410e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14024112a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14024112a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14024112a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14024112a
cmp dword [rcx + 0x84], 0xe
jbe 0x14024112a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14024112c
xor al, al
add rsp, 0x28
ret

Function at 0x14024458c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1402445fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402445fb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402445fb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402445fb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402445fb
cmp dword [rcx + 0x84], 0xe
jbe 0x1402445fb
cmp dword [rcx + 0xf8], 0
je 0x1402445fb
mov ecx, ebx
call fcn.1402446ac
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140244488
nop
cmp dword [rbp + 0x20], 0
je 0x140244649
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140244654
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14024458c

Function at 0x140244790
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14024458c
Function at 0x140247844
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140247874
xor eax, eax
jmp 0x140247937
mov rbp, rbx
cmp word [rax], si
je 0x140247899
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140247880
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14024787c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140247764
movsxd r14, eax
test eax, eax
jne 0x1402478d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14024786d
mov rcx, r14
call fcn.1402482d8
mov rdi, rax
test rax, rax
jne 0x1402478f0
xor ecx, ecx
call fcn.140245d9c
jmp 0x1402478cc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140247764
test eax, eax
jne 0x140247921
mov rcx, rdi
call fcn.140245d9c
jmp 0x14024792b
xor ecx, ecx
call fcn.140245d9c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14024d0a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14024d0c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14024d0c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400016d0
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14001196c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400119b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400119b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400119b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400119b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400119b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400119b8
xor al, al
add rsp, 0x28
ret

Function at 0x1400160a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400160c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400160c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x180002e50
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 0x180002ead
lea rbx, [0x180048810]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002e94
cmp r10, 2
jb 0x180002e94
cmp byte [r9], r8b
jne 0x180002e94
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 0x180002e70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002eef
lea rbx, [0x180048810]
cmp r8b, 0x23
jne 0x180002ed3
cmp byte [r9], r8b
jne 0x180002ed3
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 0x180002ec0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180003030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000304a
mov qword [r8], 0
lea rdx, [0x180048370]
call fcn.180002f00
mov rbx, rax
test rax, rax
jne 0x18000306a
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 0x180003143
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003143
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003143
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 0x180003143
cmp rdi, 0xffffffffffffffff
je 0x180003143
mov rax, qword [0x1800559b8]
test rax, rax
je 0x1800030e0
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 0x180003143
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 0x180003130
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800559b8]
test rax, rax
je 0x180003125
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000314c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000313e
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000314e
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 0x180006c00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x180048810]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x180006c94
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001a4b0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180006cb0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x180048810]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x18000a3c0
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 [0x1800559b8]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x18000a407
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x18000a40c
mov eax, 0x220
movss xmm5, dword [rax + rbx]
xorps xmm4, xmm4
movss xmm2, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm5, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x18000a452
mov eax, 1
je 0x18000a455
mov eax, r15d
ucomiss xmm0, xmm4
jp 0x18000a462
jne 0x18000a462
mov r15d, 2
movss xmm3, dword [0x18004e3a0]
or r15d, eax
comiss xmm4, xmm1
jb 0x18000a47d
addss xmm5, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm4, xmm0
jb 0x18000a48d
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm3
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18000a4d6
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.180002d30
jmp 0x18000a4ec
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.180002d30
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.18000cff0
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x18000a53d
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x180047861]
not r9d
lea r10, [0x180048810]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18000a56a
cmp byte [rdx], r8b
jne 0x18000a56a
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 0x18000a557
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x18000a596
call fcn.180007000
cmp dword [rdi + 0x48e0], r14d
jne 0x18000a5dc
cmp word [rsi + 0x15c], 0
jne 0x18000a5b2
cmp byte [rsi + 0x162], 0
je 0x18000a5dc
xor edx, edx
mov rcx, rsi
call fcn.18000f340
xor edx, edx
mov rcx, rsi
call fcn.180015630
mov rdx, rsi
mov ecx, ebx
call fcn.180006ea0
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], 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