joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x1400020e0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001ffb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002085
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001fe0
mov rcx, rbx
call fcn.140002a20
mov rdi, rax
test rax, rax
je 0x140002102
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002b60
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400020e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000207e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140002090
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000207e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001f40
nop dword [rax]
xor esi, esi
jmp 0x140002008
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001f40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001f40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002690
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x1400026ec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400026e3
test eax, eax
jne 0x1400026e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400026c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002a20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002a40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002a48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002a9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002a94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002a40
add rax, 0x28
cmp rax, r9
jne 0x140002a80
xor eax, eax
ret

Function at 0x140002aa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002abf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002ac8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002abf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002b60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002b7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002b88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400011d4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sal dword [rcx], 0xc0
mov r10d, dword [rsp + 0x6c]
invalid
invalid
invalid
invalid

Function at 0x1400011e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rax
or ah, byte [rbx + rbx*4 + 0x54894849]
and al, 0x48

Function at 0x140001328
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
add eax, 1
mov byte [rsp + 0x5f], 9
invalid
invalid
stc
invalid

Function at 0x140001e40
Capabilities:
Encode data using xor

Disassembly:
mov word [rsp + rdx*2 + 0x40], r11w
mov rcx, qword [rsp + 0x28]

Function at 0x1400036a8
Capabilities:
Encode data using add xor sub operations

Disassembly:
or eax, 0x24548b48
and byte [rbx + rcx*4 + 0x44], cl
and al, 0x38
mov r9b, byte [rdx]
mov rdx, qword [rsp + 0x18]
mov r10b, byte [rdx + r8]
sub r10b, r9b
sub dl, cl

Function at 0x1400036d4
Capabilities:
Encode data using add xor sub operations

Disassembly:
and al, 0x66
mov rsi, qword [rsp + 8]
je 0x1400036fe
or byte [rsi - 0x78], al
adc al, 6

Function at 0x1400036d8
Capabilities:
Encode data using add xor sub operations

Disassembly:
je 0x1400036fe
or byte [rsi - 0x78], al
adc al, 6
xor dl, ah

Function at 0x1400036f0
Capabilities:
Encode data using add xor sub operations

Disassembly:
add r8, 1
mov rcx, qword [rsp + 0x30]
xor byte [rsi - 0x39], ah
and al, 0x66
and al, 0x66
xor dl, ah

Function at 0x140003708
Capabilities:
Encode data using add xor sub operations

Disassembly:
je 0x140003736
jmp 0x14000373e
add rsp, 0x70
pop rbx
pop rdi
invalid
invalid

Function at 0x14000374c
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rsp]
xor r8, 0xffffffffffffffff
mov qword [rsp + 0x58], r8
pop rax

Function at 0x140003798
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r11, qword [rsp + 0x38]
and r10b, 0x44
mov byte [rsp + 0x53], r10b

Function at 0x1400037ac
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx

Function at 0x1400037d0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov qword [rsp + 0x30], rdx
mov al, byte [rsp + 0x53]
push rbx
Function at 0x140007d80
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007dbb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007de0
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007df8
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007dae
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3e2]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ec4
test al, 0x10
je 0x140007dc4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007dc4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007e70
jmp 0x140007dc4

Function at 0x14000e530
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015630
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e5d0
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e56c
jmp 0x14000e580
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e580
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e560
jmp 0x14000e5b7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e595
cmp word [rsi + 2], 0x3a
je 0x14000e5b7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e620
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e638
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e65a
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e551
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e5a4
xor eax, eax
jmp 0x14000e5bc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e5b7
mov rcx, rbx
call fcn.140007cc0
nop
nop word cs:[rax + rax]
nop
Function at 0x140030970
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051850
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400d66f0]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.1400561d0
test eax, eax
jne 0x140051a11
cmp dword [0x1400d673c], 0x7fffffff
je 0x140051a1c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400d66b0]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x140051930
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051932
nop dword [rax]
cmp rax, rcx
je 0x140051930
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051920
jmp 0x140051932
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400519d1
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140052f70
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140074c08
test rax, rax
je 0x140051984
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b940]
xor edx, edx
xor ecx, ecx
call fcn.140087e14
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400519ff
cmp dword [rbp - 0x11], 0
je 0x1400519f4
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.140056714
test eax, eax
jne 0x1400519f4
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.1400561d8
mov ecx, 1
call fcn.14005644c
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.14005644c
nop
mov ecx, 5
call fcn.14005644c
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.14005644c
int3
Function at 0x14004f6b0
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rsi
sub rsp, 0x70
mov ebx, ecx
lea rsi, [0x1400d66f0]
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x58], 0
mov rcx, rsi
call fcn.1400561d0
test eax, eax
jne 0x14004f860
cmp dword [0x1400d673c], 0x7fffffff
je 0x14004f86b
mov byte [rsp + 0x58], 1
lea r8, [0x1400d66b0]
mov qword [rsp + 0x60], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0x81]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x82]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x83]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x14004f790
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x14004f792
nop word [rax + rax]
cmp rax, rcx
je 0x14004f790
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x14004f780
jmp 0x14004f792
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x14004f82d
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.140052f70
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 5
mov ecx, 0x10
call fcn.140074c08
test rax, rax
je 0x14004f7d6
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004ba20]
xor edx, edx
xor ecx, ecx
call fcn.140087e14
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004f84d
cmp dword [rsp + 0x38], 0
je 0x14004f842
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140056714
test eax, eax
jne 0x14004f842
mov rcx, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
jmp fcn.1400561d8
mov ecx, 1
call fcn.14005644c
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.14005644c
nop
mov ecx, 5
call fcn.14005644c
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.14005644c
int3
Function at 0x140051850
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051850
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400d66f0]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.1400561d0
test eax, eax
jne 0x140051a11
cmp dword [0x1400d673c], 0x7fffffff
je 0x140051a1c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400d66b0]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x140051930
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051932
nop dword [rax]
cmp rax, rcx
je 0x140051930
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051920
jmp 0x140051932
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400519d1
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140052f70
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140074c08
test rax, rax
je 0x140051984
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b940]
xor edx, edx
xor ecx, ecx
call fcn.140087e14
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400519ff
cmp dword [rbp - 0x11], 0
je 0x1400519f4
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.140056714
test eax, eax
jne 0x1400519f4
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.1400561d8
mov ecx, 1
call fcn.14005644c
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.14005644c
nop
mov ecx, 5
call fcn.14005644c
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.14005644c
int3
Function at 0x1400035d0
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 0x14000362d
lea rbx, [0x140052b90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003614
cmp r10, 2
jb 0x140003614
cmp byte [r9], r8b
jne 0x140003614
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 0x1400035f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000366f
lea rbx, [0x140052b90]
cmp r8b, 0x23
jne 0x140003653
cmp byte [r9], r8b
jne 0x140003653
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 0x140003640
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003830
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 0x14000384e
mov qword [r8], r14
lea rdx, [0x140052698]
call fcn.140003680
mov rbx, rax
test rax, rax
jne 0x140003873
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.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000399d
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 0x14000399d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000399d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000399d
cmp rdi, 0xffffffffffffffff
je 0x14000399d
mov rcx, rdi
call fcn.140007a00
mov rbp, rax
test rax, rax
je 0x14000399d
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 0x14000398a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140060800]
test r8, r8
je 0x14000397f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003974
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400039a6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003998
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400039a8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.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 0x14000ac50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140060800]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a00]
mov rbx, qword [rdi + 0x4000]
bts r9d, 8
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a38], 1
cmp qword [rbx + 0x1b8], 0
jne 0x14000acc7
cmp qword [rdi + 0x4e18], 0
mov eax, 0x260
je 0x14000accc
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.1400146c0
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a20], xmm0
xor edx, edx
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a08], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000ad3e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140003430
jmp 0x14000ad4e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.140003430
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.14000def0
mov rsi, qword [rdi + 0x4000]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x14000ad98
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1400519b1]
not r9d
lea r10, [0x140052b90]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000adc5
cmp byte [rdx], r8b
jne 0x14000adc5
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 0x14000adb2
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x14000adf5
xor edx, edx
xor ecx, ecx
call fcn.140007410
cmp dword [rdi + 0x4b38], ebp
jne 0x14000ae3a
cmp word [rsi + 0x16c], 0
jne 0x14000ae10
cmp byte [rsi + 0x172], 0
je 0x14000ae3a
xor edx, edx
mov rcx, rsi
call fcn.1400107a0
xor edx, edx
mov rcx, rsi
call fcn.1400174a0
mov rdx, rsi
mov ecx, ebx
call fcn.140007410
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004ea00
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret