joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a7c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp dword [rcx + 0x210], 0
mov rbx, rcx
jne 0x14002a838
lea rax, str.Directory_listener_has_not_been_configured.
mov r8d, 0xb0
mov rcx, qword [rcx + 0x218]
movdqa xmm0, xmmword [str.DirectoryListen]
lea rdx, [rbp - 0x30]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x69577265
mov dword [rbp - 0x1c], 0x2e32336e
mov dword [rbp - 0x18], 0x707063
mov r9d, 1
mov qword [rsp + 0x20], rax
call fcn.140022460
xor al, al
jmp 0x14002a972
cmp qword [rcx + 0x230], 0
je 0x14002a851
lea rax, str.Directory_listener_is_already_running.
mov r8d, 0xb6
jmp 0x14002a7f4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x230], rax
test rax, rax
jne 0x14002a886
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_start_event_.
mov r8d, 0xbd
jmp 0x14002a7fb
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14002a8ba
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_quit_event_.
mov r8d, 0xc4
jmp 0x14002a7fb
xor eax, eax
lea r8, [0x14002ac30]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x228], rax
test rax, rax
jne 0x14002a8fe
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_create_directory_listener_thread.
mov r8d, 0xcb
jmp 0x14002a7fb
mov rcx, qword [rbx + 0x230]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movdqa xmm0, xmmword [str.DirectoryListen]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0x218]
mov dword [rbp - 0x20], 0x69577265
mov dword [rbp - 0x1c], 0x2e32336e
mov dword [rbp - 0x18], 0x707063
movdqu xmmword [rbp - 0x30], xmm0
test eax, eax
je 0x14002a953
lea rax, str.Failed_to_start_directory_listener_thread.
mov r8d, 0xd1
jmp 0x14002a821
lea rax, str.Directory_listener_thread_started.
mov r9d, 4
mov r8d, 0xd5
mov qword [rsp + 0x20], rax
call fcn.140022460
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14006b950
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x14002ec00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
cmp dword [rcx + 0x18], edi
jne 0x14002ed04
lea rdx, [rcx + 0x80]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.1400378d0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.140062030
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rcx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x58]
lea r8d, [rdi + 1]
mov rdx, qword [rsp + 0xb0]
call fcn.1400ab664
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x14002ecce
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ecc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed27
call fcn.14006b8b4
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], 0xf
mov byte [rsp + 0xa0], 0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002ed00
mov rax, qword [rsp + 0x50]
call qword [0x1400d7670]
nop
mov al, 1
jmp 0x14002ed06
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006b950
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
call fcn.14007ce08
int3

Function at 0x14002ed80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp dword [rcx + 0x18], 0
mov rbx, rdx
mov esi, r8d
mov rdi, rcx
jne 0x14002ee1a
call fcn.14002e0b0
cmp word [rdi + 0x2e], 3
jne 0x14002edf7
lea rcx, [rdi + 0x20]
mov rdx, rbx
call fcn.14002d730
mov rcx, rax
mov rbx, rax
call fcn.14002d260
xorps xmm0, xmm0
mov eax, 0x1d6
movups xmmword [rbx], xmm0
mov qword [rbx], rsi
mov rcx, rdi
shr esi, 0x1a
not si
and si, 0x20
or si, ax
mov word [rbx + 0xe], si
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.14002ec00
lea rdx, str.Json_root_is_not_an_object
lea rcx, [rsp + 0x20]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rsp + 0x20]
call fcn.14006db8c
int3
lea rdx, str.Storage_is_not_in_write_mode
lea rcx, [rsp + 0x20]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rsp + 0x20]
call fcn.14006db8c
int3
Function at 0x140031420
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], 0
je 0x14003159b
xor edi, edi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], di
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140031fa0
mov dword [rbp - 0x59], edi
mov dword [rbp - 0x55], 4
lea r8, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae r8, qword [rbp - 0x39]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rax, [rbp - 0x55]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400315bc
mov ebx, dword [rbp - 0x59]
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140031526
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031521
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031600
call fcn.14006b8b4
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140031572
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003156d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031595
call fcn.14006b8b4
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14006b950
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14007ce08
int3
lea rdx, str.Registry_root_key_handle_is_null
lea rcx, [rbp - 0x51]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rbp - 0x51]
call fcn.14006db8c
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rbp + 7]
call fcn.14001ec20
nop
mov r8, rax
lea rdx, str.Failed_to_read_registry_value__error
lea rcx, [rbp + 0x27]
call fcn.14001d1c0
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.14001d890
lea rdx, [0x140103928]
lea rcx, [rbp - 0x51]
call fcn.14006db8c
nop
call fcn.14007ce08
int3
Function at 0x1400323e0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, rdx
mov rbx, rcx
mov dword [rbp - 0x69], r8d
cmp dword [rcx + 0x18], 0
jne 0x140032543
cmp qword [rcx + 0x28], 0
je 0x140032564
xor edi, edi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], di
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], di
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140031fa0
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae r8, qword [rbp - 0x49]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x140032585
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400324da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400324d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400325c9
call fcn.14006b8b4
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], di
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140032526
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032521
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003253d
call fcn.14006b8b4
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14006b950
add rsp, 0xe0
pop rdi
pop rbx
pop rbp
ret
call fcn.14007ce08
int3
lea rdx, str.Storage_is_not_in_write_mode
lea rcx, [rbp - 0x61]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rbp - 0x61]
call fcn.14006db8c
int3
lea rdx, str.Registry_root_key_handle_is_null
lea rcx, [rbp - 0x61]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rbp - 0x61]
call fcn.14006db8c
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rbp - 9]
call fcn.14001ec20
nop
mov r8, rax
lea rdx, str.Failed_to_set_registry_key_value__error:
lea rcx, [rbp + 0x17]
call fcn.14001d1c0
nop
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.14001d890
lea rdx, [0x140103928]
lea rcx, [rbp - 0x61]
call fcn.14006db8c
nop
call fcn.14007ce08
int3
Function at 0x1400325d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, r8
mov rax, rdx
mov rdi, rcx
cmp dword [rcx + 0x18], 0
jne 0x140032747
cmp qword [rcx + 0x28], 0
je 0x140032768
xor esi, esi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], 7
mov word [rbp - 0x21], si
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], si
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.140031fa0
mov eax, dword [rbx + 0x10]
add eax, eax
cmp qword [rbx + 0x18], 8
jb 0x140032659
mov rbx, qword [rbx]
lea r8, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae r8, qword [rbp - 0x41]
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rdx, qword [rbp - 0x21]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x140032789
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x1400326d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400326d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327cd
call fcn.14006b8b4
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], si
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140032722
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003271d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032741
call fcn.14006b8b4
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006b950
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
call fcn.14007ce08
int3
lea rdx, str.Storage_is_not_in_write_mode
lea rcx, [rbp - 0x59]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rbp - 0x59]
call fcn.14006db8c
int3
lea rdx, str.Registry_root_key_handle_is_null
lea rcx, [rbp - 0x59]
call fcn.1400207e0
lea rdx, [0x140103928]
lea rcx, [rbp - 0x59]
call fcn.14006db8c
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rbp - 1]
call fcn.14001ec20
nop
mov r8, rax
lea rdx, str.Failed_to_set_registry_key_value__error:
lea rcx, [rbp + 0x1f]
call fcn.14001d1c0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14001d890
lea rdx, [0x140103928]
lea rcx, [rbp - 0x59]
call fcn.14006db8c
nop
call fcn.14007ce08
int3
Function at 0x140036990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp qword [rcx + 0x18], 8
jb 0x1400369b0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400369e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x1400369fa
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006b950
add rsp, 0x88
ret
shr eax, 0xa
and al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006b950
add rsp, 0x88
ret
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14001ec20
nop
mov r8, rax
lea rdx, str.GetFileAttributes___failed:
lea rcx, [rsp + 0x58]
call fcn.14001d1c0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14001d890
lea rdx, [0x140103928]
lea rcx, [rsp + 0x20]
call fcn.14006db8c
int3
Function at 0x140057010
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
cmp byte [rcx + 0x98], 0
mov r14, rcx
movzx ebp, dl
jne 0x140057031
xor al, al
add rsp, 0x38
pop r14
pop rbp
ret
mov qword [rsp + 0x50], rbx
call fcn.140056b80
test al, al
je 0x140057076
mov rax, qword [r14 + 0x50]
mov rcx, qword [rax - 0x70]
lea rbx, [rax - 0x78]
test byte [rcx + 0x50], 2
jne 0x14005708d
call fcn.14005d720
mov ecx, 0x1000
test word [rax + 0xe], cx
jne 0x140057072
mov rax, qword [rax + 8]
movabs rcx, 0xffffffffffff
and rax, rcx
mov qword [rbx + 0x18], rax
mov rbx, qword [rsp + 0x50]
xor al, al
mov byte [r14 + 0x98], 0
add rsp, 0x38
pop r14
pop rbp
ret
mov rdx, rbx
call fcn.1400581d0
test al, al
je 0x140057076
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x1400571bc
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r12
movabs r12, 0x84222325cbf29ce4
mov qword [rsp + 0x28], r13
movabs r13, 0x100000001b3
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov qword [rsp + 0x58], rsi
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140057115
mov rcx, qword [rdi + 0x18]
lea rsi, [rbp + 1]
xor rsi, r12
imul rsi, r13
lea rax, [rcx + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x14005710a
mov edx, 1
mov rcx, rdi
call fcn.140042a90
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
mov qword [rdi + 0x18], rax
mov qword [rcx], rsi
cmp qword [rbx + 0x30], r15
je 0x140057155
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140057155
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
movzx edx, bpl
cmove rcx, r15
call fcn.140057010
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140057130
cmp qword [rbx + 0x40], r15
je 0x140057195
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140057195
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
movzx edx, bpl
cmove rcx, r15
call fcn.140057010
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140057170
add rbx, 0x78
cmp rbx, qword [r14 + 0x50]
jne 0x1400570d7
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rcx, r14
call fcn.14005a150
mov rbx, qword [rsp + 0x50]
test al, al
setne al
mov byte [r14 + 0x98], al
add rsp, 0x38
pop r14
pop rbp
ret

Function at 0x1400571e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
movzx edi, dl
mov rcx, qword [rcx + 0x18]
inc rdi
movabs rax, 0x84222325cbf29ce4
xor rdi, rax
movabs rax, 0x100000001b3
imul rdi, rax
lea rax, [rcx + 8]
cmp rax, qword [rbx + 0x20]
jbe 0x14005722d
mov edx, 1
mov rcx, rbx
call fcn.140042940
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 8]
mov qword [rbx + 0x18], rax
mov al, 1
mov rbx, qword [rsp + 0x30]
mov qword [rcx], rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400597e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
cmp byte [rcx + 0x98], 0
mov r14, rcx
mov ebp, edx
jne 0x140059800
xor al, al
add rsp, 0x38
pop r14
pop rbp
ret
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 0x48]
mov qword [rsp + 0x60], rdi
mov rdi, qword [rcx + 0x50]
cmp rbx, rdi
je 0x14005993a
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x30], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x28], r13
movabs r13, 0x400000006cc
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x1400598a7
mov rax, rbp
mov rdi, r13
neg rax
mov rcx, rbp
shl rax, 3
add qword [rsi + 0x18], rax
mov rdx, qword [rsi + 0x18]
test ebp, ebp
je 0x140059881
mov rax, rdx
nop
xor rdi, qword [rax]
lea rax, [rax + 8]
imul rdi, r12
sub rcx, 1
jne 0x140059870
lea rax, [rdx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x14005989c
mov edx, 1
mov rcx, rsi
call fcn.140042a90
mov rdx, qword [rsi + 0x18]
lea rax, [rdx + 8]
mov qword [rsi + 0x18], rax
mov qword [rdx], rdi
cmp qword [rbx + 0x30], r15
je 0x1400598e3
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x1400598e3
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r15
call fcn.1400597e0
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400598c0
cmp qword [rbx + 0x40], r15
je 0x140059915
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140059915
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r15
call fcn.1400597e0
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400598f2
mov rdi, qword [r14 + 0x50]
add rbx, 0x78
cmp rbx, rdi
jne 0x140059846
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rax, qword [rdi - 0x70]
mov rbx, qword [rsp + 0x50]
mov byte [rdi - 8], 0
cmp ebp, dword [rax + 0xac]
jae 0x140059956
call fcn.14005c820
jmp 0x140059963
cmp ebp, dword [rax + 0xb0]
jbe 0x14005999a
call fcn.14005c4c0
mov ecx, 0x1000
test word [rax + 0xe], cx
jne 0x14005997f
mov rax, qword [rax + 8]
movabs rcx, 0xffffffffffff
and rax, rcx
mov qword [rdi - 0x60], rax
xor al, al
mov rdi, qword [rsp + 0x60]
mov byte [r14 + 0x98], 0
add rsp, 0x38
pop r14
pop rbp
ret
mov rcx, r14
call fcn.14005a150
mov rdi, qword [rsp + 0x60]
test al, al
setne al
mov byte [r14 + 0x98], al
add rsp, 0x38
pop r14
pop rbp
ret
Function at 0x140059c90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x38
cmp byte [rcx + 0x98], 0
mov esi, edx
mov r14, rcx
je 0x140059e1f
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 0x48]
mov rcx, qword [rcx + 0x50]
cmp rbx, rcx
je 0x140059dff
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x28], r13
movabs r13, 0x30000000519
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140059d66
lea ecx, [rsi + rsi]
mov rbp, r13
neg rcx
mov r9d, r15d
shl rcx, 3
add qword [rdi + 0x18], rcx
mov r8, qword [rdi + 0x18]
test esi, esi
je 0x140059d40
nop word [rax + rax]
lea ecx, [r9 + r9]
inc r9d
mov eax, ecx
lea edx, [rcx + 1]
mov rcx, qword [r8 + rdx*8]
xor rcx, qword [r8 + rax*8]
imul rcx, r12
xor rbp, rcx
cmp r9d, esi
jb 0x140059d20
lea rax, [r8 + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x140059d5b
mov edx, 1
mov rcx, rdi
call fcn.140042a90
mov r8, qword [rdi + 0x18]
lea rax, [r8 + 8]
mov qword [rdi + 0x18], rax
mov qword [r8], rbp
cmp qword [rbx + 0x30], r15
je 0x140059da3
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140059da3
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, esi
cmove rcx, r15
call fcn.140059c90
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140059d80
cmp qword [rbx + 0x40], r15
je 0x140059dd5
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140059dd5
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, esi
cmove rcx, r15
call fcn.140059c90
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140059db2
mov rcx, qword [r14 + 0x50]
add rbx, 0x78
cmp rbx, rcx
jne 0x140059cf0
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
lea rdx, [rcx - 0x78]
mov r8d, esi
mov rcx, qword [rcx - 0x70]
call fcn.140059f90
mov rbx, qword [rsp + 0x50]
test al, al
jne 0x140059e29
mov byte [r14 + 0x98], al
xor al, al
add rsp, 0x38
pop r14
pop rsi
ret
mov rcx, r14
call fcn.14005a150
test al, al
setne al
mov byte [r14 + 0x98], al
add rsp, 0x38
pop r14
pop rsi
ret
Function at 0x14005da00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x20], 1
mov rbp, qword [rcx + 8]
mov rbx, qword [rcx]
mov rdx, rbp
sub rdx, rbx
sar rdx, 5
test rdx, rdx
je 0x14005da84
movabs rax, 0x7ffffffffffffff
cmp rdx, rax
ja 0x14005dbec
lfence
mov rcx, rdi
call fcn.140066d80
mov rbp, qword [r14 + 8]
mov rbx, qword [r14]
cmp rbx, rbp
je 0x14005dbc4
movabs r13, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005dab2
mov rdx, qword [rbx]
mov r9, r13
mov rcx, r15
test r8, r8
je 0x14005dad3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, r8
jb 0x14005dac0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x18]
call fcn.14004eb90
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14005daf1
mov rcx, qword [r14 + 0x20]
mov r8, qword [rdi + 0x10]
mov rax, qword [rdi + 8]
cmp rcx, qword [r14 + 0x20]
je 0x14005db2e
cmp rax, r8
je 0x14005db1a
lea rdx, [rcx + 0x30]
mov rcx, rax
call fcn.140024720
add qword [rdi + 8], 0x20
jmp 0x14005dbb7
lea r8, [rcx + 0x30]
mov rdx, rax
mov rcx, rdi
call fcn.14004e820
jmp 0x14005dbb7
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp rax, r8
je 0x14005db6d
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
mov eax, 0xf
mov byte [rsp + 0x40], 0
add qword [rdi + 8], 0x20
jmp 0x14005db82
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rdi
call fcn.14004e9b0
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14005dbb7
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dbb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dbf2
call fcn.14006b8b4
add rbx, 0x20
cmp rbx, rbp
jne 0x14005daa1
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006b950
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140067400
int3
call fcn.14007ce08
int3