joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062268
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx eax, byte [r8 + 0x10]
mov r10, rcx
movabs rcx, 0xcbf29ce484222325
mov rdi, rdx
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov r9, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r9, rax
add r9, r9
cmp qword [rcx + r9*8 + 8], r8
jne 0x1400622d0
cmp qword [rcx + r9*8], r8
jne 0x1400622c5
mov rax, qword [r10 + 8]
mov qword [rcx + r9*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x1400622c9
mov rax, qword [r8 + 8]
mov qword [rcx + r9*8 + 8], rax
jmp 0x1400622dd
cmp qword [rcx + r9*8], r8
jne 0x1400622dd
mov rax, qword [r8]
mov qword [rcx + r9*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140062340
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r9
mov rsi, rdx
mov r9, rcx
movzx r11d, byte [r8]
mov eax, r11d
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov r8, qword [r9 + 0x30]
and r8, rax
mov rax, r8
add rax, rax
mov rcx, qword [r9 + 0x18]
mov rbx, qword [r9 + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rbx
je 0x1400623b1
mov rbx, qword [rcx + rax*8 + 8]
mov rbx, qword [rbx]
mov rdx, rbx
cmp rdx, r10
je 0x1400623f7
mov rbx, qword [rbx + 8]
mov rdx, rbx
cmp r11b, byte [rbx + 0x10]
jne 0x1400623b4
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r9 + 0x10]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14006248d
mov r10, qword [rdi]
cmp rdx, r10
je 0x14006242c
mov rax, qword [rdi + 8]
mov qword [rax], r10
mov rax, qword [r10 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rcx, qword [rdx + 8]
mov rax, qword [r10 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 8]
mov qword [r10 + 8], rax
mov qword [rdi + 8], rcx
add r8, r8
mov r10, qword [r9 + 0x18]
mov rax, qword [r10 + r8*8]
cmp rax, qword [r9 + 8]
jne 0x14006244c
mov qword [r10 + r8*8], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x14006247b
cmp rax, rdx
jne 0x140062457
mov qword [r10 + r8*8], rdi
jmp 0x14006247b
mov rax, qword [r10 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r10 + r8*8 + 8], rcx
cmp rcx, rdi
je 0x14006247b
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.1400621b8
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140071254
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
xor edi, edi
mov rbx, rcx
mov dword [rbp + 0x20], edi
mov dword [rbp + 0x28], edi
mov rdx, qword [rax]
lea esi, [rdi + 4]
mov qword [rsp + 0x20], rdi
mov r8d, esi
mov rcx, qword [rdx]
lea rdx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rbp + 0x20]
test eax, eax
je 0x140071357
cmp ecx, esi
jb 0x140071357
cmp dword [rbp + 0x28], 0x29e7a010
jne 0x140071366
mov rax, qword [rbx]
lea r9, [rbp + 0x20]
mov dword [rbp + 0x20], edi
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], edi
mov r8d, esi
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140071366
cmp dword [rbp + 0x20], esi
jb 0x140071366
cmp dword [rbp + 0x30], 2
jne 0x140071366
mov rax, qword [rbx]
lea rdx, [rbx + 8]
mov dword [rbp + 0x20], edi
lea r9, [rbp + 0x20]
mov r8d, esi
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140071366
cmp dword [rbp + 0x20], esi
jb 0x140071366
lea eax, [rdi + 8]
mov esi, 0x2800
mov ecx, esi
mov qword [rbx + 0xc], rax
lea edx, [rdi + 1]
mov dword [rbx + 0x14], eax
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_378]
test rax, rax
je 0x140071350
lea edx, [rdi + 1]
mov qword [rbx + 0x40], rax
mov ecx, esi
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_378]
test rax, rax
je 0x140071350
mov qword [rbx + 0x48], rax
jmp 0x140071362
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1135]
int3
test ecx, ecx
jne 0x140071366
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], edi
mov al, 1
jmp 0x140071368
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x140071378
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
mov eax, dword [rbx + 0xc]
sub eax, dword [rbx + 0x14]
cmp ecx, eax
jb 0x14007141b
sub ecx, dword [rbx + 0xc]
lea r8, [rsp + 0x48]
add ecx, dword [rbx + 0x14]
xor eax, eax
mov dword [rsp + 0x44], eax
mov r9d, 1
mov rax, qword [rbx]
mov dword [rsp + 0x40], ecx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140071417
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
and dword [rsp + 0x40], 0
lea rdx, [rbx + 0x18]
and qword [rsp + 0x20], 0
mov r8d, 4
mov dword [rbx + 0xc], eax
mov dword [rbx + 0x14], eax
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007141b
cmp dword [rsp + 0x40], 4
jb 0x14007141b
add dword [rbx + 0xc], 4
mov al, 1
mov dword [rbx + 0x1c], 1
jmp 0x140071425
or dword [rbx + 0xc], 0xffffffff
mov eax, dword [rbx + 8]
inc eax
mov dword [rbx + 0x10], eax
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140071430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rcx + 8]
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x10], eax
ja 0x14007150d
cmp dword [rcx + 0x1c], 1
jb 0x1400714ba
jne 0x1400714a2
mov rax, qword [rcx]
lea rdx, [rbx + 0x20]
and dword [rbp + 0x10], 0
lea r9, [rbp + 0x10]
and qword [rsp + 0x20], 0
mov r8d, 0x10
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400714d4
cmp dword [rbp + 0x10], 0x10
jb 0x1400714d4
add dword [rbx + 0xc], 0x10
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x1400714a2
cmp eax, 6
je 0x1400714a2
inc eax
mov dword [rbx + 0x1c], eax
movups xmm0, xmmword [rbx + 0x20]
mov rbx, qword [rsp + 0x68]
movdqu xmmword [rdi], xmm0
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x20], eax
xor eax, eax
mov dword [rbp + 0x24], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140071528
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rcx + 8]
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x10], eax
ja 0x14007162c
cmp dword [rcx + 0x1c], 2
jb 0x140071646
jne 0x1400715a8
mov rax, qword [rcx]
lea rsi, [rbx + 0x30]
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x20]
and qword [rsp + 0x20], 0
mov r8d, 4
mov rdx, rsi
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400715f3
cmp dword [rbp + 0x20], 4
jb 0x1400715f3
cmp dword [rsi], 2
je 0x1400715ba
cmp dword [rsi], 5
jae 0x1400715ba
add dword [rbx + 0xc], 4
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x1400715a8
cmp eax, 6
je 0x1400715a8
inc eax
mov dword [rbx + 0x1c], eax
mov eax, dword [rbx + 0x30]
mov rbx, qword [rsp + 0x78]
mov dword [rdi], eax
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x30], eax
xor eax, eax
mov dword [rbp + 0x34], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x30]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x30], eax
xor eax, eax
mov dword [rbp + 0x34], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x30]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140071660
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rcx + 8]
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x10], eax
ja 0x14007173a
cmp dword [rcx + 0x1c], 3
jb 0x1400716e7
jne 0x1400716d2
mov rax, qword [rcx]
lea rdx, [rbx + 0x34]
and dword [rbp + 0x10], 0
lea r9, [rbp + 0x10]
and qword [rsp + 0x20], 0
mov r8d, 4
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140071701
cmp dword [rbp + 0x10], 4
jb 0x140071701
add dword [rbx + 0xc], 4
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x1400716d2
cmp eax, 6
je 0x1400716d2
inc eax
mov dword [rbx + 0x1c], eax
mov eax, dword [rbx + 0x34]
mov rbx, qword [rsp + 0x68]
mov dword [rdi], eax
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x20], eax
xor eax, eax
mov dword [rbp + 0x24], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140071754
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rcx + 8]
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmp dword [rcx + 0x10], eax
ja 0x1400718c0
cmp dword [rcx + 0x1c], 4
jb 0x1400718da
jne 0x140071829
mov rax, qword [rcx]
lea rdi, [rbx + 0x38]
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x20]
and qword [rsp + 0x20], 0
mov r8d, 4
mov rdx, rdi
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140071887
cmp dword [rbp + 0x20], 4
jb 0x140071887
mov r8d, dword [rdi]
test r8b, 1
jne 0x14007184e
lea eax, [r8 - 2]
cmp eax, 0x27fe
ja 0x14007184e
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x20]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x40]
and qword [rsp + 0x20], 0
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400718f4
mov eax, dword [rdi]
cmp dword [rbp + 0x20], eax
jb 0x1400718f4
add eax, 4
add dword [rbx + 0xc], eax
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x140071829
cmp eax, 6
je 0x140071829
inc eax
mov dword [rbx + 0x1c], eax
mov rax, qword [rbx + 0x40]
lea r11, [rsp + 0x50]
mov qword [r14], rax
mov eax, dword [rbx + 0x38]
mov rbx, qword [r11 + 0x28]
shr eax, 1
dec eax
mov dword [rsi], eax
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x38], eax
xor eax, eax
mov dword [rbp + 0x3c], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x38], eax
xor eax, eax
mov dword [rbp + 0x3c], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x38], eax
xor eax, eax
mov dword [rbp + 0x3c], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140071930
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rcx + 8]
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmp dword [rcx + 0x10], eax
ja 0x140071a8b
cmp dword [rcx + 0x1c], 5
jb 0x140071aa5
jne 0x1400719f8
mov rax, qword [rcx]
lea rdi, [rbx + 0x3c]
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x20]
and qword [rsp + 0x20], 0
mov r8d, 4
mov rdx, rdi
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140071a52
cmp dword [rbp + 0x20], 4
jb 0x140071a52
cmp dword [rdi], 0x2800
ja 0x140071abf
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x20]
mov rax, qword [rbx]
mov r8d, dword [rdi]
mov rdx, qword [rbx + 0x48]
and qword [rsp + 0x20], 0
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140071a19
mov eax, dword [rdi]
cmp dword [rbp + 0x20], eax
jb 0x140071a19
add eax, 4
add dword [rbx + 0xc], eax
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x1400719f8
cmp eax, 6
je 0x1400719f8
inc eax
mov dword [rbx + 0x1c], eax
mov rax, qword [rbx + 0x48]
lea r11, [rsp + 0x50]
mov qword [r14], rax
mov eax, dword [rbx + 0x3c]
mov rbx, qword [r11 + 0x28]
mov dword [rsi], eax
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x38], eax
xor eax, eax
mov dword [rbp + 0x3c], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x38], eax
xor eax, eax
mov dword [rbp + 0x3c], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov eax, dword [rbx + 0xc]
mov rcx, rbx
mov dword [rbp + 0x38], eax
xor eax, eax
mov dword [rbp + 0x3c], eax
call fcn.14001bca4
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140080934
lea rcx, [rbp - 0x20]
call fcn.14001cbbc
lea rdx, [0x140197018]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14008f078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1401d1010]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
and dword [rsp + 0x40], 0
mov rdi, rcx
mov rcx, qword [rcx + 0x30]
mov sil, r9b
mov rbx, r8
cmp rcx, 0xffffffffffffffff
je 0x14008f157
mov eax, 0xffffffff
cmp rbx, rax
ja 0x14008f17f
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14008f185
mov eax, dword [rsp + 0x40]
cmp rax, rbx
je 0x14008f0f1
test sil, sil
jne 0x14008f117
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140107ad0
mov rbx, qword [rsp + 0x428]
add rsp, 0x3f0
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.14008ebfc
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x10]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
call fcn.14008feec
lea rdx, [0x140196ae8]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r8, str.trying_to_read_from_a_file_thats_not_open
mov edx, Ordinal_25
lea rcx, [rsp + 0x50]
call fcn.14001d43c
lea rdx, [0x140196ae8]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140007678
int3
mov rcx, rbx
call fcn.14008ebfc
mov dword [rsp + 0x44], eax
lea rbx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.14008fdcc
lea rdx, [0x140196ae8]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x14008f1d4
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x1401d1010]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 0xffffffff
cmp qword [rsp + 0x20], rax
jg 0x14008f25f
mov edx, dword [rsp + 0x20]
mov rcx, rdi
call fcn.140044c58
mov r8, qword [rdi + 8]
mov r9b, 1
sub r8, qword [rdi]
mov rcx, rbx
mov rax, r8
neg rax
sbb rdx, rdx
and rdx, qword [rdi]
call fcn.14008f078
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140107ad0
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3d0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14008fff8
lea rdx, [0x140196ae8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140095090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x1400950c8
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x14009510d
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140095156
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov eax, dword [rdi + 0x10]
cmp dword [r9], eax
jne 0x140095110
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14009527b
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140095190
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1400951b0
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400951df
cmp rax, rdx
jne 0x1400951bb
mov qword [r9 + r8*8], rbx
jmp 0x1400951df
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400951df
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140195be0]
test rax, rax
jns 0x140095200
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140095211
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140095270
cmp rdx, 0x200
jae 0x140095229
shl rdx, 3
jmp 0x14009523b
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14009523b
add rdx, rdx
mov rcx, rsi
call fcn.140032944
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140095270
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140095090
cmp rdi, r15
jne 0x140095250
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140097300
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea rax, [r8 + 0x20]
mov rsi, r8
cmp qword [rax + 0x18], 8
mov r14, rdx
mov rdi, rcx
mov r9d, 0x1505
jb 0x140097335
mov rax, qword [rax]
movzx r8d, word [rax]
lea rdx, [rax + 2]
jmp 0x140097351
mov eax, r8d
movzx r8d, word [rdx]
lea rdx, [rdx + 2]
imul r9, r9, 0x21
add r9, rax
test r8d, r8d
jne 0x14009733f
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x140097363
mov rax, qword [rsi]
movzx ecx, word [rax]
lea rdx, [rax + 2]
jmp 0x14009737c
mov eax, ecx
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
imul r9, r9, 0x21
add r9, rax
test ecx, ecx
jne 0x14009736c
mov r15, qword [rdi + 0x30]
mov rbp, qword [rdi + 0x18]
and r15, r9
mov rdi, qword [rdi + 8]
add r15, r15
mov rbx, qword [rbp + r15*8]
cmp qword [rbp + r15*8], rdi
jne 0x1400973a3
mov rax, rdi
jmp 0x1400973ab
mov rax, qword [rbp + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400973d7
lea rdx, [rbx + 0x10]
mov r8, rsi
call fcn.1400974b8
test al, al
je 0x1400973c5
mov rbx, qword [rbx]
jmp 0x140097397
lea r8, [rbx + 0x10]
mov rdx, rsi
call fcn.1400974b8
test al, al
cmove rdi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov qword [r14], rdi
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140097948
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
lea r9, [r8 + 0x10]
mov rbx, rdx
lea rax, [r9 + 0x20]
mov r11, rcx
cmp qword [rax + 0x18], 8
mov r10d, 0x1505
jb 0x14009796c
mov rax, qword [rax]
movzx ecx, word [rax]
lea rdx, [rax + 2]
jmp 0x140097985
mov eax, ecx
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
imul r10, r10, 0x21
add r10, rax
test ecx, ecx
jne 0x140097975
cmp qword [r9 + 0x18], 8
jb 0x140097993
mov r9, qword [r9]
movzx eax, word [r9]
add r9, 2
jmp 0x1400979ac
imul r10, r10, 0x21
add r10, rax
movzx eax, word [r9]
lea r9, [r9 + 2]
test eax, eax
jne 0x14009799d
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, r10
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x1400979e8
cmp qword [rcx + rdx*8], r8
jne 0x1400979dd
mov rax, qword [r11 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
jmp 0x1400979e1
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400979f5
cmp qword [rcx + rdx*8], r8
jne 0x1400979f5
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rcx, [r11 + 8]
mov rdx, rbx
call fcn.140097818
mov rax, rbx
add rsp, 0x20
pop rbx
ret