joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a3c0
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xffffffff
mov r8d, edx
mov edx, r9d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.DLL_ChangeServiceConfigW]
test eax, eax
jne 0x14001a4b8
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
lea edx, [rdi + 3]
lea r8d, [rdi + 1]
lea rcx, [rsp + 0x60]
call fcn.140005bf0
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], di
lea rdx, str.ChangeServiceConfig_returned_0x
lea rcx, [rsp + 0x70]
call fcn.1400085f0
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + 4]
lea rcx, [rsp + 0x88]
add rcx, rax
mov eax, dword [rcx]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx], eax
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.14001c600
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x88]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rsp + rcx + 0x88], eax
lea rcx, [rsp + 0x70]
call fcn.14000c470
nop
lea rcx, [rsp + 0x60]
call fcn.14000b440
xor eax, eax
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
Function at 0x14001ae00
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.DLL_QueryServiceStatusEx]
test eax, eax
jne 0x14001aee8
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rsp + 0x30]
call fcn.140005bf0
xor eax, eax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], ax
lea rdx, str.Cannot_query_service_state_0x
lea rcx, [rsp + 0x40]
call fcn.1400085f0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14001c600
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rsp + 0x40]
call fcn.14000c470
nop
lea rcx, [rsp + 0x30]
call fcn.14000b440
mov eax, ebx
jmp 0x14001aeea
xor eax, eax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140140100
add rsp, 0x160
pop rbx
ret

Function at 0x14001af10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x10
mov eax, dword [rcx + rdx]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test al, 1
jne 0x14001af5a
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000b340
nop
cmp byte [rdx + r8 + 1], 0
je 0x14001afa0
lea rdx, str.Waiting_for_the_pending_service_stop...
lea rbx, [0x1402b2c40]
mov rcx, rbx
call fcn.1400127a0
mov rax, qword [0x1402b2c40]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140014960
movzx edx, al
mov rcx, rbx
call fcn.140014780
mov rcx, rbx
call fcn.1400118e0
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001ae00
cmp dword [rsp + 0x24], 1
je 0x14001b023
nop dword [rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x38]
shr edx, 3
mov ecx, edx
call qword [sym.imp.KERNEL32.DLL_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001ae00
test eax, eax
jne 0x14001b025
cmp dword [rsp + 0x24], 1
je 0x14001b017
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x14001b004
cmp dword [rsp + 0x24], 1
jne 0x14001afc0
jmp 0x14001b023
lea rcx, str.Service_stop_timed_out._n
call fcn.140019010
mov eax, 0x41d
jmp 0x14001b025
lea rcx, str.Service_stopped_successfully._n
call fcn.140019010
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140140100
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140024380
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x50], rbx
mov edi, ebp
lea r14, [0x1402b2f70]
lea rsi, [0x1402aa8a0]
nop dword [rax + rax]
mov rcx, qword [rdi + r14]
cmp byte [rcx + 0x41], 2
jne 0x14002449a
cmp qword [rcx + 0x20], 8
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], rbp
jb 0x1400243e1
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jne 0x14002441b
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x14002448f
test rcx, rcx
je 0x140024426
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
cmp ebx, 2
jne 0x14002445a
mov rcx, qword [0x1402aa8a0]
cmp rcx, rsi
je 0x14002449a
test dword [rcx + 0x44], 0x8000
je 0x14002449a
cmp byte [rcx + 0x41], bl
jb 0x14002449a
mov rcx, qword [rcx + 0x38]
lea edx, [rbx + 8]
lea r8, [0x14025c658]
call fcn.140024300
jmp 0x14002449a
mov rcx, qword [0x1402aa8a0]
cmp rcx, rsi
je 0x14002449a
test dword [rcx + 0x44], 0x8000
je 0x14002449a
cmp byte [rcx + 0x41], 2
jb 0x14002449a
mov rcx, qword [rcx + 0x38]
lea r8, [0x14025c658]
mov edx, VariantTimeToDosDateTime
mov r9d, ebx
call fcn.140024320
jmp 0x14002449a
test rcx, rcx
je 0x14002449a
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
add rdi, 8
cmp rdi, 0x60
jb 0x1400243c0
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140140100
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400244e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x50], rbp
lea rax, [0x1402b2f70]
mov r13, qword [rdi + rax]
movzx eax, byte [r13 + 0x40]
dec al
test al, 0xfd
jne 0x140024676
mov qword [rsp + 0x60], rbp
lea rdx, [r13 + 8]
cmp qword [rdx + 0x18], 8
jb 0x140024544
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.DLL_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x1400246b9
mov rbx, qword [r13 + 0x28]
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x140024666
cmp byte [r13 + 0x40], 3
jne 0x1400245df
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x68], ebp
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140047660.0]
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
test eax, eax
je 0x140024652
mov r12, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rdx, qword [rax]
mov rdi, rdx
mov r15, rax
mov rcx, rax
mov rax, qword [rdx + 8]
call qword [case.0x140047660.0]
mov r14, rax
mov rcx, r15
mov rax, qword [rdi]
call qword [case.0x140047660.0]
mov rbp, rax
mov rcx, r15
mov rax, qword [rdi + 0x10]
call qword [case.0x140047660.0]
mov edi, eax
mov rdx, qword [r15]
mov rcx, r15
mov rax, qword [rdx + 0x18]
call qword [case.0x140047660.0]
mov rdx, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov r9d, edi
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
mov esi, eax
test eax, eax
jne 0x1400246b9
xor ebp, ebp
add rbx, 8
cmp rbx, qword [rsp + 0x58]
jne 0x140024594
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140024676
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
add rdi, 8
mov qword [rsp + 0x50], rdi
cmp rdi, 0x60
jb 0x140024517
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140140100
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140024380
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400246cf
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
jmp 0x14002468b
Function at 0x140032910
Capabilities:
Reference sql statements

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, 0x20
xor r14d, r14d
xor eax, eax
xorps xmm0, xmm0
mov rbp, r8
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov rdi, rcx
mov qword [rcx + 0x18], rdx
lea rax, vtable.SqliteStatement.0
mov qword [rcx + 0x30], rdx
lea r8d, [r14 + 6]
lea rdx, str.SELECT_FILES.FILE_ID__SEGMENTS_SLOW.CLUSTERS__SEGMENTS_FAST.CLUSTERS_FROM_FILES_LEFT_JOIN_SEGMENTS_AS_SEGMENTS_SLOW_ON_FILES.FILE_ID__SEGMENTS_SLOW.FILE_ID_AND_SEGMENTS_SLOW.SEGMENT_ID__0__LEFT_JOIN_SEGMENTS_AS_SEGMENTS_FAST_ON_FILES.FILE_ID__SEGMENTS_FAST.FILE_ID_AND_SEGMENTS_FAST.SEGMENT_ID__1__WHERE_FILES.FILE_STATE__1_AND_FILES.FILE_ID____file_id_ORDER_BY_FILES.FILE_ID_LIMIT__maxfiles
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x38], rdx
mov esi, r9d
mov dword [rcx + 0x28], r14d
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov byte [rcx + 0x50], r14b
lea rcx, str.SELECT
call fcn.1400e0530
test eax, eax
jne 0x140032988
mov byte [rdi + 0x50], 1
mov r8, rbp
mov dword [rdi + 0x58], r14d
mov edx, 1
lea rcx, [rdi + 0x20]
call fcn.14002ab90
test eax, eax
jne 0x1400329b0
mov r8d, esi
lea edx, [rax + 2]
lea rcx, [rdi + 0x20]
call fcn.140032060
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400339b0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400339c9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x140033a83
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x140033a3b
xor edi, edi
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x140033a83
test dword [rcx + 0x44], 0x100
je 0x140033a83
cmp byte [rcx + 0x41], 4
jb 0x140033a83
cmp qword [rbx + 0x18], 8
jb 0x140033a16
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x1402617c8]
mov edx, 0xa
mov r9, rbx
call fcn.140033560
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x140033a83
test dword [rcx + 0x44], 0x100
je 0x140033a83
cmp byte [rcx + 0x41], 2
jb 0x140033a83
cmp qword [rbx + 0x18], 8
jb 0x140033a67
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x1402617c8]
mov edx, VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.1400335d0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140059850
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp rax, qword [rcx + 0x18]
jae 0x140059870
inc rax
mov qword [rcx + 0x20], rax
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0x38], 0
jne 0x1400598bc
mov rax, qword [rcx + 0x28]
mov edx, 1
add qword [rcx + 0x30], rax
mov r9, qword [rcx]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call fcn.140212450
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x1400598bc
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400655c0
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 0x140065608
mov rcx, rbx
call fcn.140070b70
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 0x140065740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
cmp byte [rcx + 0xa0], 0
mov r14, rcx
mov ebp, edx
jne 0x140065760
xor al, al
add rsp, 0x38
pop r14
pop rbp
ret
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 0x40]
mov qword [rsp + 0x60], rdi
mov rdi, qword [rcx + 0x48]
cmp rbx, rdi
je 0x14006588b
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 rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140065802
mov rax, rbp
mov rsi, r13
neg rax
mov rdx, rbp
shl rax, 3
add qword [rdi + 0x18], rax
mov r8, qword [rdi + 0x18]
test ebp, ebp
je 0x1400657e1
mov rcx, r8
nop
xor rsi, qword [rcx]
lea rcx, [rcx + 8]
imul rsi, r12
sub rdx, 1
jne 0x1400657d0
lea rax, [r8 + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x1400657f7
mov rcx, rdi
call fcn.140070d30
mov r8, qword [rdi + 0x18]
lea rax, [r8 + 8]
mov qword [rdi + 0x18], rax
mov qword [r8], rsi
cmp qword [rbx + 0x30], r15
je 0x140065834
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140065834
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.140065740
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140065811
cmp qword [rbx + 0x40], r15
je 0x140065866
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140065866
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.140065740
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140065843
mov rdi, qword [r14 + 0x48]
add rbx, 0x78
cmp rbx, rdi
jne 0x1400657a6
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 + 0xb4]
jae 0x1400658a7
call fcn.140061060
jmp 0x1400658b4
cmp ebp, dword [rax + 0xb8]
jbe 0x1400658eb
call fcn.140060fb0
mov ecx, 0x1000
test word [rax + 0xe], cx
jne 0x1400658d0
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 + 0xa0], 0
add rsp, 0x38
pop r14
pop rbp
ret
mov rcx, r14
call fcn.140067cd0
mov rdi, qword [rsp + 0x60]
test al, al
setne al
mov byte [r14 + 0xa0], al
add rsp, 0x38
pop r14
pop rbp
ret
Function at 0x140065a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x38
cmp byte [rcx + 0xa0], 0
mov esi, edx
mov r14, rcx
je 0x140065bbf
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
cmp rbx, rcx
je 0x140065b9f
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 0x140065b11
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 0x140065af0
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 0x140065ad0
lea rax, [r8 + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x140065b06
mov rcx, rdi
call fcn.140070d30
mov r8, qword [rdi + 0x18]
lea rax, [r8 + 8]
mov qword [rdi + 0x18], rax
mov qword [r8], rbp
cmp qword [rbx + 0x30], r15
je 0x140065b43
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140065b43
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.140065a40
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140065b20
cmp qword [rbx + 0x40], r15
je 0x140065b75
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140065b75
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.140065a40
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140065b52
mov rcx, qword [r14 + 0x48]
add rbx, 0x78
cmp rbx, rcx
jne 0x140065aa0
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.140068560
mov rbx, qword [rsp + 0x50]
test al, al
jne 0x140065bc9
mov byte [r14 + 0xa0], al
xor al, al
add rsp, 0x38
pop r14
pop rsi
ret
mov rcx, r14
call fcn.140067cd0
test al, al
setne al
mov byte [r14 + 0xa0], al
add rsp, 0x38
pop r14
pop rsi
ret
Function at 0x140066530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x68
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0xa0], 0
mov rsi, rdx
mov r14, rcx
jne 0x14006655d
xor al, al
jmp 0x140066756
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
call fcn.1400681b0
test al, al
je 0x14006673f
mov rax, qword [r14 + 0x48]
mov r8, rsi
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140069660
test al, al
je 0x14006673f
mov rdx, rbx
mov rcx, rdi
call fcn.140069a10
test al, al
je 0x14006673f
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x140066729
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x48], r13
movabs r13, 0x789e9b398d409406
mov qword [rsp + 0x40], r15
xor r15d, r15d
nop word [rax + rax]
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x14006669f
mov qword [rsp + 0x20], rsi
xorps xmm0, xmm0
test rsi, rsi
js 0x140066611
cvtsi2sd xmm0, rsi
jmp 0x140066629
mov rax, rsi
mov rcx, rsi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
movsd qword [rsp + 0x28], xmm0
mov rdi, r13
mov rcx, r15
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r12
add rcx, 4
xor rdi, rax
imul rdi, r12
cmp rcx, 0x10
jb 0x140066640
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rbp + 0x20]
jbe 0x140066694
mov rcx, rbp
call fcn.140070d30
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
mov qword [rbp + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r15
je 0x1400666d4
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x1400666d4
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140066530
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400666b0
cmp qword [rbx + 0x40], r15
je 0x140066707
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140066707
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140066530
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400666e3
add rbx, 0x78
cmp rbx, qword [r14 + 0x48]
jne 0x1400665f0
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call fcn.140067cd0
test al, al
setne al
mov byte [r14 + 0xa0], al
jmp 0x140066749
mov byte [r14 + 0xa0], 0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140140100
add rsp, 0x68
pop r14
pop rsi
ret
Function at 0x140066770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x68
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0xa0], 0
mov rsi, rdx
mov r14, rcx
jne 0x14006679d
xor al, al
jmp 0x140066976
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
call fcn.1400681b0
test al, al
je 0x14006695f
mov rax, qword [r14 + 0x48]
mov r8, rsi
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140069860
test al, al
je 0x14006695f
mov rdx, rbx
mov rcx, rdi
call fcn.140069a10
test al, al
je 0x14006695f
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x140066949
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x48], r13
movabs r13, 0x789e9b398d409406
mov qword [rsp + 0x40], r15
xor r15d, r15d
nop word [rax + rax]
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x1400668bf
xorps xmm0, xmm0
mov qword [rsp + 0x20], rsi
cvtsi2sd xmm0, rsi
mov rdi, r13
mov rcx, r15
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r12
add rcx, 4
xor rdi, rax
imul rdi, r12
cmp rcx, 0x10
jb 0x140066860
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rbp + 0x20]
jbe 0x1400668b4
mov rcx, rbp
call fcn.140070d30
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
mov qword [rbp + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r15
je 0x1400668f4
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x1400668f4
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140066770
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400668d0
cmp qword [rbx + 0x40], r15
je 0x140066927
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140066927
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.140066770
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140066903
add rbx, 0x78
cmp rbx, qword [r14 + 0x48]
jne 0x140066830
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call fcn.140067cd0
test al, al
setne al
mov byte [r14 + 0xa0], al
jmp 0x140066969
mov byte [r14 + 0xa0], 0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140140100
add rsp, 0x68
pop r14
pop rsi
ret