joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400151a0
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r10, rcx
mov rdx, qword [rdx + 0x10]
mov r8d, 0x1505
mov r9, qword [rdx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x1400151e7
nop dword [rax]
nop word [rax + rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x1400151d0
mov rcx, qword [rcx + 0x38]
and rcx, r8
mov r8, qword [r10 + 0x20]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x140015240
cmp rax, rdx
jne 0x140015225
mov rax, qword [r10 + 0x10]
lea rcx, [r10 + 0x10]
mov qword [r8], rax
mov qword [r8 + 8], rax
call fcn.14001a7a0
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rdx + 8]
lea rcx, [r10 + 0x10]
mov qword [r8 + 8], rax
call fcn.14001a7a0
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
cmp rax, rdx
jne 0x14001524b
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [r10 + 0x10]
call fcn.14001a7a0
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140015260
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov ebx, 0x1505
mov rcx, qword [rdx]
movzx eax, word [rcx]
test ax, ax
je 0x1400152a6
nop dword [rax]
nop word [rax + rax]
imul rbx, rbx, 0x21
movzx eax, ax
lea rcx, [rcx + 2]
add rbx, rax
movzx eax, word [rcx]
test ax, ax
jne 0x140015290
mov r8, rdx
mov r9, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001fa80
xor esi, esi
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140015332
mov rcx, qword [rdi + 0x30]
mov r8, qword [rdi + 0x18]
and rcx, rbx
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x140015317
cmp rax, rdx
jne 0x1400152ff
mov rax, qword [rdi + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.14001a7a0
mov ecx, 1
jmp 0x140015335
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.14001a7a0
mov ecx, 1
jmp 0x140015335
cmp rax, rdx
jne 0x140015322
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [rdi + 8]
call fcn.14001a7a0
mov ecx, 1
jmp 0x140015335
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
test rcx, rcx
mov eax, 0x490
cmovne eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140015350
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov r8, rdx
mov rdi, rcx
mov rdx, qword [rdx]
mov r9d, 0x1505
movzx eax, word [rdx]
test ax, ax
je 0x140015387
imul r9, r9, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r9, rax
movzx eax, word [rdx]
test ax, ax
jne 0x140015371
lea rdx, [rsp + 0x20]
add rcx, 8
call fcn.14001fa80
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400153a2
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rsp + 0x50]
lea rax, [rcx + 0x18]
xor edx, edx
cmp qword [rdi + 0x10], rcx
cmove rax, rdx
add rsp, 0x30
pop rdi
ret
Function at 0x1400153c0
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, rcx
mov r8, rdx
mov r9d, 0x1505
mov rdx, qword [rdx]
movzx eax, word [rdx]
test ax, ax
je 0x1400153f8
imul r9, r9, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r9, rax
movzx eax, word [rdx]
test ax, ax
jne 0x1400153e2
lea rdx, [rsp + 0x20]
add rcx, 8
call fcn.14001fa80
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140015413
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x10], rcx
jne 0x140015426
mov eax, 0x490
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rcx + 0x18]
xor eax, eax
mov qword [rsi], rcx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400156d0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [rdx]
mov r10d, 0x1505
mov rdx, rdi
movzx eax, word [rdi]
test ax, ax
je 0x140015716
nop word [rax + rax]
imul r10, r10, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r10, rax
movzx eax, word [rdx]
test ax, ax
jne 0x140015700
and r10, qword [rcx + 0x38]
lea rsi, [rcx + 0x10]
mov rbp, qword [rcx + 0x20]
mov rax, r10
mov rbx, qword [rsi]
add rax, rax
xor r15d, r15d
mov qword [rsp + 0x40], r14
mov r8, qword [rbp + rax*8 + 8]
cmp r8, rbx
je 0x1400157e2
mov r11, qword [rbp + rax*8]
lea r14, [0x140074380]
nop dword [rax]
mov rax, qword [r8 + 0x10]
mov r9, r14
test rax, rax
cmovne r9, rax
test rdi, rdi
mov rax, r14
cmovne rax, rdi
sub r9, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x140015784
add rax, 2
test ecx, ecx
jne 0x140015770
test edx, edx
je 0x140015793
cmp r8, r11
je 0x1400157e2
mov r8, qword [r8 + 8]
jmp 0x140015750
test r8, r8
je 0x1400157e2
add r10, r10
mov rax, qword [rbp + r10*8]
cmp qword [rbp + r10*8 + 8], r8
jne 0x1400157c3
cmp rax, r8
jne 0x1400157b8
mov qword [rbp + r10*8], rbx
mov qword [rbp + r10*8 + 8], rbx
jmp 0x1400157d0
mov rbx, qword [r8 + 8]
mov qword [rbp + r10*8 + 8], rbx
jmp 0x1400157d0
cmp rax, r8
jne 0x1400157d0
mov rax, qword [r8]
mov qword [rbp + r10*8], rax
mov rdx, r8
mov rcx, rsi
call fcn.14001a7a0
mov ecx, 1
jmp 0x1400157e5
mov rcx, r15
mov r14, qword [rsp + 0x40]
test rcx, rcx
mov rbx, qword [rsp + 0x48]
mov eax, 0x490
mov rbp, qword [rsp + 0x50]
cmovne eax, r15d
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret

Function at 0x140015810
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rdx]
mov rbx, rcx
add rcx, 8
mov r8d, 0x1505
movzx eax, word [r9]
test ax, ax
je 0x140015847
nop
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x140015830
call fcn.140025d80
cmp qword [rbx + 0x10], rax
je 0x14001585c
add rax, 0x18
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140015870
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rdx]
mov rdi, rcx
add rcx, 8
mov rbx, r8
mov r8d, 0x1505
movzx eax, word [r9]
test ax, ax
je 0x1400158b7
nop word [rax + rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x1400158a0
call fcn.140025d80
cmp qword [rdi + 0x10], rax
jne 0x1400158d2
mov eax, 0x490
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rax + 0x18]
xor eax, eax
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140015ac0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 0x10]
mov rsi, rdx
mov r10, rcx
mov r8d, 0x1505
mov r9, qword [rbx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x140015b07
nop dword [rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x140015af0
mov rcx, qword [rcx + 0x38]
mov rdx, qword [r10 + 0x20]
and rcx, r8
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140015b3e
cmp rax, rbx
jne 0x140015b34
mov rax, qword [r10 + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140015b49
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140015b49
cmp rax, rbx
jne 0x140015b49
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rdx, [rbx + 0x10]
dec qword [r10 + 0x18]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.140026480
mov edx, 0x20
mov rcx, rbx
call fcn.140067440
mov rbx, qword [rsp + 0x40]
mov qword [rsi + 0x10], rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140015b90
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [rdx]
mov rsi, rcx
mov r9d, 0x1505
mov rdx, rdi
movzx eax, word [rdi]
test ax, ax
je 0x140015bc8
imul r9, r9, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r9, rax
movzx eax, word [rdx]
test ax, ax
jne 0x140015bb2
and r9, qword [rcx + 0x38]
xor r15d, r15d
mov rbp, qword [rcx + 0x20]
mov rax, r9
mov r11, qword [rcx + 0x10]
add rax, rax
mov qword [rsp + 0x60], r14
mov rbx, qword [rbp + rax*8 + 8]
cmp rbx, r11
je 0x140015cb3
mov r10, qword [rbp + rax*8]
lea r14, [0x140074380]
nop dword [rax]
mov rax, qword [rbx + 0x10]
mov r8, r14
test rax, rax
cmovne r8, rax
test rdi, rdi
mov rax, r14
cmovne rax, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140015c34
add rax, 2
test ecx, ecx
jne 0x140015c20
test edx, edx
je 0x140015c43
cmp rbx, r10
je 0x140015cb3
mov rbx, qword [rbx + 8]
jmp 0x140015c00
test rbx, rbx
je 0x140015cb3
add r9, r9
mov rax, qword [rbp + r9*8]
cmp qword [rbp + r9*8 + 8], rbx
jne 0x140015c73
cmp rax, rbx
jne 0x140015c68
mov qword [rbp + r9*8], r11
mov qword [rbp + r9*8 + 8], r11
jmp 0x140015c80
mov r11, qword [rbx + 8]
mov qword [rbp + r9*8 + 8], r11
jmp 0x140015c80
cmp rax, rbx
jne 0x140015c80
mov rax, qword [rbx]
mov qword [rbp + r9*8], rax
mov rdx, qword [rbx]
dec qword [rsi + 0x18]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rdx, [rbx + 0x10]
call fcn.140026480
mov edx, 0x20
mov rcx, rbx
call fcn.140067440
mov ecx, 1
jmp 0x140015cb6
mov rcx, r15
mov r14, qword [rsp + 0x60]
test rcx, rcx
mov eax, 0x490
cmovne eax, r15d
add rsp, 0x20
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140015ce0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rdx]
mov rdi, rcx
add rcx, 8
mov rbx, r8
mov r8d, 0x1505
movzx eax, word [r9]
test ax, ax
je 0x140015d27
nop word [rax + rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x140015d10
call fcn.140025d80
cmp qword [rdi + 0x10], rax
jne 0x140015d42
mov eax, 0x490
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rdx, [rax + 0x18]
mov rcx, rbx
call fcn.14001e570
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140016610
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140016640
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140016668
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001666a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400166cb
test ecx, ecx
jle 0x1400166a3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400166cb
cmp qword [rdi + 0x80], 0
je 0x1400166cb
lfence
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
ret
Function at 0x1400166f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140016712
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140016724
lfence
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov qword [rsp + 0x20], rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x14001674c
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001674e
xor ecx, ecx
movsxd rax, ecx
mov rdi, rbp
test ecx, ecx
je 0x140016783
cmp rax, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, rbx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140016824
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400167be
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x140016801
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140016824
cmp rbx, rax
ja 0x1400167d0
test rdi, rdi
je 0x140016824
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rdi
sub rbx, rax
sub rbp, rbx
mov rax, rbp
lfence
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
jno 0x1400f69c1
invalid
loop 0x1400f6953
jno 0x1400f69eb
mov esi, 0x2f66b330
invalid
fcom qword [rbp + 0x20]
sar dword [rsi - 0x39], cl
invalid
int1
std
pop rsp
outsb dx, byte [rsi]
invalid
Function at 0x140016c50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14008b180]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140016c7d
xor eax, eax
jmp 0x140016dd5
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140016ca8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140016ca8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140016dd5
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140016dc8
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140016ceb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140016d16
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140016dcd
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140016d85
sub eax, 1
je 0x140016d85
cmp eax, 2
jne 0x140016dc8
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140016dcd
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140016db6
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140016dc8
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140016dcd
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400673e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140019310
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14008b180]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400193ed
cmp byte [rcx + 0x71], 0
je 0x1400193ed
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14002be35.0]
cmp eax, 0xffffffff
je 0x1400193e9
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 0x1400193ab
sub eax, 1
je 0x1400193af
cmp eax, 2
jne 0x1400193e9
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400673e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400193e0
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400193e9
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140019393
xor al, al
jmp 0x140019393
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400673e0
add rsp, 0x60
pop rbx
ret
Function at 0x14001ba10
Capabilities:
Hash data using djb2

Disassembly:
push rdi
push r15
sub rsp, 0x48
movabs rax, 0xfffffffffffffff
mov r15, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14001ba46
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x70], rbx
mov rbx, qword [r15 + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x30], r12
inc ecx
shl rdi, cl
lea rcx, [r15 + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001a650
lea rax, [rdi - 1]
mov qword [r15 + 0x38], rdi
mov qword [r15 + 0x30], rax
mov rax, qword [r15 + 8]
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x14001bc07
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], r13
lea r13, [0x140074380]
mov qword [rsp + 0x20], r14
nop
mov rbp, qword [rax + 0x10]
mov r9d, 0x1505
mov rdx, qword [rdx]
mov r8, rbp
movzx ecx, word [rbp]
test cx, cx
je 0x14001bae7
nop dword [rax]
imul r9, r9, 0x21
movzx ecx, cx
lea r8, [r8 + 2]
add r9, rcx
movzx ecx, word [r8]
test cx, cx
jne 0x14001bad0
mov r14, qword [r15 + 0x30]
and r14, r9
shl r14, 4
add r14, qword [r15 + 0x18]
mov rsi, qword [r14]
cmp rsi, rbx
jne 0x14001bb0a
mov qword [r14], rax
mov qword [r14 + 8], rax
jmp 0x14001bbe7
mov rcx, qword [r14 + 8]
mov r11, r13
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
mov r8, rbp
sub r11, rbp
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x14001bb39
add r8, 2
test r9d, r9d
jne 0x14001bb22
test r10d, r10d
jne 0x14001bb6d
mov r10, qword [rcx]
cmp r10, rax
je 0x14001bb67
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14 + 8], rax
jmp 0x14001bbe7
mov rdi, rcx
cmp rsi, rcx
je 0x14001bbc3
nop word [rax + rax]
mov rcx, qword [rcx + 8]
mov r11, r13
mov rdi, rcx
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
test rbp, rbp
mov r8, r13
cmovne r8, rbp
sub r11, r8
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x14001bbb9
add r8, 2
test r9d, r9d
jne 0x14001bba2
test r10d, r10d
je 0x14001bc19
cmp rsi, rcx
jne 0x14001bb80
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14], rax
mov rax, rdx
cmp rdx, rbx
jne 0x14001bab0
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x30]
add rsp, 0x48
pop r15
pop rdi
ret
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x14001bbe7
Function at 0x1400257e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, rdx
mov rdx, qword [rdx + 0x10]
mov r11, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002580a
mov r11, qword [rbx]
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
mov r8, rax
mov r10d, r9d
movabs rsi, 0x100000001b3
test rdx, rdx
je 0x140025844
nop dword [rax]
movzx ecx, byte [r10 + r11]
inc r10
xor r8, rcx
imul r8, rsi
cmp r10, rdx
jb 0x140025830
mov r11, qword [rbx + 0x30]
lea r10, [rbx + 0x20]
movabs rbp, 0xc6a4a7935bd1e995
movabs rcx, 0x35a98f4d286a90b9
imul r8, rbp
mov r14d, 0xe6546b64
mov rdi, r8
shr rdi, 0x2f
xor rdi, r8
imul rdi, rcx
add rdi, r14
cmp qword [r10 + 0x18], 0x10
jb 0x140025885
mov r10, qword [r10]
mov rdx, rax
mov r8, r9
test r11, r11
je 0x1400258a4
movzx ecx, byte [r8 + r10]
inc r8
xor rdx, rcx
imul rdx, rsi
cmp r8, r11
jb 0x140025890
mov r8, qword [rbx + 0x50]
imul rdx, rbp
mov r10, rdx
shr r10, 0x2f
xor r10, rdx
lea rdx, [rbx + 0x40]
imul r10, rbp
xor r10, rdi
imul r10, rbp
add r10, r14
cmp qword [rdx + 0x18], 0x10
jb 0x1400258d2
mov rdx, qword [rdx]
test r8, r8
je 0x1400258f4
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, rsi
cmp r9, r8
jb 0x1400258e0
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
imul rax, rbp
mov rcx, rax
shr rcx, 0x2f
xor rax, rcx
imul rax, rbp
xor rax, r10
imul rax, rbp
mov rbp, qword [rsp + 0x18]
add rax, r14
pop r14
ret