joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d3a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rbp - 9], rax
mov r13d, r9d
mov r12, r8
mov r15d, edx
mov r14, rcx
mov rbx, qword [rbp + 0x6f]
mov qword [rbp - 0x49], rbx
mov rsi, qword [rbp + 0x7f]
call fcn.18000d680
mov r8, rax
mov dword [rbp - 0x19], 0x545f5601
mov dword [rbp - 0x15], 0x4746484b
mov word [rbp - 0x11], 0x2c
xor edx, edx
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x18]
add rcx, rax
lea eax, [rdx + 0x25]
xor byte [rcx], al
inc edx
cmp edx, 8
jb 0x18000d400
mov byte [rbp - 0x10], 0
mov byte [rbp - 0x19], 0
mov byte [rbp - 0x51], 1
lea rcx, [rbp - 0x18]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000d430
test rax, rax
je 0x18000d465
cmp byte [r8 + 8], 0
je 0x18000d465
mov rcx, qword [r8 + 0x70]
mov rax, qword [rcx]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x18]
call qword [rax + 0x20]
test al, al
je 0x18000d465
cmp byte [rbp - 0x51], 0
je 0x18000d506
mov eax, r15d
and eax, 0xffff0000
cmp eax, 0x90000
je 0x18000d506
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.180073550
mov ecx, eax
cmp eax, 0x103
jne 0x18000d4cb
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.180073490
mov ecx, eax
test eax, eax
js 0x18000d4de
mov ecx, dword [rbp - 0x49]
test ecx, ecx
js 0x18000d4de
mov eax, dword [rbp - 0x41]
mov dword [rsi], eax
mov eax, 1
jmp 0x18000d588
mov eax, ecx
and eax, 0xc0000000
cmp eax, 0xc0000000
je 0x18000d4f1
mov eax, dword [rbp - 0x41]
mov dword [rsi], eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18000d588
call fcn.18000d680
mov rcx, rax
call fcn.18005ec20
test al, al
je 0x18000d55c
call fcn.18000d870
mov rbx, rax
mov rcx, qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp - 0x19], rcx
lea rdi, [rax + 8]
mov qword [rbp - 0x39], rdi
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rbp - 0x31], 1
lea rcx, [rbx + 0x10]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
call fcn.180065dd0
nop
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rbx, qword [rbp - 0x49]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rsi
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, r13d
mov r8, r12
mov edx, r15d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.180088650
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800140e0
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbp, rdx
mov rsi, rcx
call fcn.18000d680
mov rcx, rax
call fcn.18005ec20
test al, al
je 0x180014155
call fcn.18000d870
mov rbx, rax
mov r8, qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x90], r8
lea rdi, [rax + 8]
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rsp + 0x48], 1
lea rcx, [rbx + 0x10]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x50]
call fcn.180065dd0
nop
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r14 + 3]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18001418c
xor al, al
jmp 0x180014234
mov dword [rsp + 0x80], r14d
call fcn.18000d680
mov rcx, rax
call fcn.18005ec20
test al, al
je 0x1800141f1
call fcn.18000d870
mov rbx, rax
mov rcx, qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x90], rcx
lea rdi, [rax + 8]
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rsp + 0x48], 1
lea rcx, [rbx + 0x10]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x50]
call fcn.180065dd0
nop
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
setne al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180055860
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rbp, r9
mov rcx, qword [rcx]
mov rdi, rdx
test rcx, rcx
je 0x180055941
xor ebx, ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180055946
mov eax, dword [rsp + 0x70]
test rdi, rdi
jne 0x1800558d5
test eax, eax
jne 0x1800558d5
mov eax, 0xea
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
cmp eax, dword [rsp + 0x60]
jb 0x180055941
test rdi, rdi
je 0x180055941
mov rcx, qword [rsi]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180055946
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
je 0x180055926
mov eax, 0x65e
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
cmp dword [rsp + 0x70], ebx
mov eax, 0x10d2
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x57
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x180055960
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r14, rcx
mov rax, qword [r8]
mov rdi, qword [rax]
test rdi, rdi
jne 0x180055988
lea rdi, [rax + 0x20]
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov rcx, qword [rcx]
test rcx, rcx
je 0x180055a2e
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x78], r15d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x180055a33
mov eax, dword [rsp + 0x60]
test rdi, rdi
jne 0x1800559db
test eax, eax
jne 0x1800559db
mov ebx, 0xea
jmp 0x180055a33
cmp eax, dword [rsp + 0x70]
jb 0x180055a2e
test rdi, rdi
je 0x180055a2e
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x180055a33
cmp dword [rsp + 0x78], 1
je 0x180055a1d
mov ebx, 0x65e
jmp 0x180055a33
mov ebx, r15d
mov eax, 0x10d2
cmp dword [rsp + 0x60], ebx
cmove ebx, eax
jmp 0x180055a33
mov ebx, 0x57
movsxd rdx, ebx
mov rcx, qword [rsi]
mov rax, qword [rcx + 8]
cmp rax, rdx
jb 0x180055a54
mov qword [rcx + 8], rdx
mov rax, qword [rcx]
test rax, rax
je 0x180055a5f
mov byte [rax + rdx], r15b
jmp 0x180055a5f
sub rdx, rax
xor r8d, r8d
call fcn.18000b440
mov rax, qword [rsi]
mov rdx, qword [rax]
test rdx, rdx
jne 0x180055a6e
lea rdx, [rax + 0x20]
mov dword [rsp + 0x20], 1
mov r9, rbp
mov r8d, ebx
mov rcx, r14
call fcn.180055860
nop
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180055aa0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rsi, rdx
mov r15, rcx
mov rbp, qword [rdx + 8]
mov rbx, qword [rdx]
cmp rbx, rbp
je 0x180055af0
mov rdi, qword [rbx]
test rdi, rdi
je 0x180055ae4
mov rcx, qword [rdi]
test rcx, rcx
je 0x180055ad7
call fcn.180088a1c
mov edx, 0x28
mov rcx, rdi
call fcn.180088a1c
add rbx, 8
cmp rbx, rbp
jne 0x180055ac2
mov rbx, qword [rsi]
mov qword [rsi + 8], rbx
cmp qword [r15], 0
jne 0x180055b04
mov eax, 0x57
jmp 0x180055cfe
mov ecx, 0x28
call fcn.180088a24
xor ebp, ebp
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 0x100
mov byte [rax + 0x20], bpl
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor eax, eax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.180055d20
mov r14d, eax
test eax, eax
je 0x180055b65
mov r14d, 0x139f
jmp 0x180055cd7
mov edi, ebp
cmp dword [rsp + 0x48], ebp
jbe 0x180055cd7
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0xa0], eax
mov ebx, eax
mov ecx, 0x28
call fcn.180088a24
mov qword [rsp + 0xb0], rax
mov edx, ebx
mov rcx, rax
call fcn.18000b1c0
mov rbx, rax
mov qword [rsp + 0xa8], rax
mov r8, qword [rax]
test r8, r8
jne 0x180055bb3
lea r8, [rax + 0x20]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0xa0]
mov edx, edi
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov r14d, eax
test eax, eax
je 0x180055be6
jmp 0x180055c65
mov rax, qword [rbx]
mov rdx, rbp
test rax, rax
je 0x180055bfe
cmp byte [rax], dl
je 0x180055bfe
inc rdx
cmp byte [rax + rdx], 0
jne 0x180055bf5
mov rcx, qword [rbx + 8]
cmp rcx, rdx
jb 0x180055c16
mov qword [rbx + 8], rdx
test rax, rax
je 0x180055c24
mov byte [rax + rdx], 0
jmp 0x180055c24
sub rdx, rcx
xor r8d, r8d
mov rcx, rbx
call fcn.18000b440
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x180055c45
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.18000bb40
add qword [rsi + 8], 8
jmp 0x180055c60
lea r8, [rsp + 0xa8]
mov rdx, rax
mov rcx, rsi
call fcn.18004f1f0
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x180055c7f
mov rcx, qword [rbx]
test rcx, rcx
je 0x180055c72
call fcn.180088a1c
mov edx, 0x28
mov rcx, rbx
call fcn.180088a1c
inc edi
cmp edi, dword [rsp + 0x48]
jb 0x180055b71
cmp r14d, 0x103
je 0x180055cd7
test r14d, r14d
je 0x180055cd7
mov rbp, qword [rsi + 8]
mov rbx, qword [rsi]
cmp rbx, rbp
je 0x180055cd3
mov rdi, qword [rbx]
test rdi, rdi
je 0x180055cc7
mov rcx, qword [rdi]
test rcx, rcx
je 0x180055cba
call fcn.180088a1c
mov edx, 0x28
mov rcx, rdi
call fcn.180088a1c
add rbx, 8
cmp rbx, rbp
jne 0x180055ca5
mov rbx, qword [rsi]
mov qword [rsi + 8], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180055cfb
mov rcx, qword [rbx]
test rcx, rcx
je 0x180055cee
call fcn.180088a1c
mov edx, 0x28
mov rcx, rbx
call fcn.180088a1c
mov eax, r14d
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180055d20
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rdx]
xor r8d, r8d
mov qword [rax + 8], r8
mov rdx, qword [rax]
test rdx, rdx
je 0x180055d57
mov byte [rdx], r8b
lea rsi, [rbx + 8]
mov dword [rsi], r8d
lea r14, [rbx + 0xc]
mov dword [r14], r8d
lea r15, [rbx + 0x10]
mov dword [r15], r8d
lea rbp, [rbx + 0x14]
mov dword [rbp], r8d
lea r12, [rbx + 0x18]
mov dword [r12], r8d
lea r13, [rbx + 0x1c]
mov dword [r13], r8d
mov qword [rbx + 0x20], r8
mov dword [rbx + 0x28], r8d
mov rcx, qword [rcx]
test rcx, rcx
jne 0x180055d9c
lea eax, [rcx + 0x57]
jmp 0x180055ef8
mov dword [rsp + 0x90], r8d
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
xor r9d, r9d
lea r8, [rsp + 0x90]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x180055ef8
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov edx, eax
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
cmp rax, rdx
jb 0x180055e17
mov qword [rcx + 8], rdx
mov rax, qword [rcx]
test rax, rax
je 0x180055e22
mov byte [rax + rdx], 0
jmp 0x180055e22
sub rdx, rax
xor r8d, r8d
call fcn.18000b440
mov rax, qword [rbx]
mov rdx, qword [rax]
test rdx, rdx
jne 0x180055e31
lea rdx, [rax + 0x20]
lea rax, [rbx + 0x24]
mov qword [rsp + 0x58], rax
lea rax, [rbx + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, eax
mov r9, qword [rbx]
mov rcx, qword [r9]
xor r8d, r8d
mov edx, r8d
test rcx, rcx
je 0x180055e99
cmp byte [rcx], dl
je 0x180055e99
nop dword [rax]
inc rdx
cmp byte [rcx + rdx], r8b
jne 0x180055e90
mov rax, qword [r9 + 8]
cmp rax, rdx
jb 0x180055eb1
mov qword [r9 + 8], rdx
test rcx, rcx
je 0x180055ebf
mov byte [rcx + rdx], r8b
jmp 0x180055ebf
sub rdx, rax
mov rcx, r9
call fcn.18000b440
xor r8d, r8d
test edi, edi
je 0x180055ef6
mov rax, qword [rbx]
mov qword [rax + 8], r8
mov rcx, qword [rax]
test rcx, rcx
je 0x180055ed5
mov byte [rcx], 0
mov dword [rsi], r8d
mov dword [r14], r8d
mov dword [r15], r8d
mov dword [rbp], r8d
mov dword [r12], r8d
mov dword [r13], r8d
mov qword [rbx + 0x20], 0
mov dword [rbx + 0x28], r8d
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x18005c4a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18005c4d9
mov qword [rsp + 0x28], 0
lea r8, [0x180066ab0]
xor r9d, r9d
mov dword [rsp + 0x20], 0x10000
mov edx, 0xa00000
xor ecx, ecx
call fcn.1800a0510
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x18005d8b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov rbx, rdx
movzx eax, byte [rdx + 1]
mov rdi, qword [r10 + 0x18]
mov r9, qword [r10 + 8]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
imul r8, rcx
and r8, qword [r10 + 0x30]
mov r11, r8
shl r11, 4
add r11, rdi
mov rcx, qword [r11 + 8]
cmp rcx, r9
je 0x18005d9a5
mov eax, dword [rbx]
mov rdx, qword [r11]
cmp eax, dword [rcx + 0x10]
je 0x18005d93e
nop dword [rax]
cmp rcx, rdx
je 0x18005d9a5
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x18005d930
test rcx, rcx
je 0x18005d9a5
add r8, r8
mov rax, qword [rdi + r8*8]
cmp qword [r11 + 8], rcx
jne 0x18005d969
cmp rax, rcx
jne 0x18005d95f
mov qword [rdi + r8*8], r9
mov qword [r11 + 8], r9
jmp 0x18005d975
mov r9, qword [rcx + 8]
mov qword [r11 + 8], r9
jmp 0x18005d975
cmp rax, rcx
jne 0x18005d975
mov rax, qword [rcx]
mov qword [rdi + r8*8], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.180088a1c
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x18005de60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x18005e022
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.18000d720
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rdx, qword [rsi + 8]
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x18005dfe7
mov qword [rsp + 0x30], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbx
xor r9, rax
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x18005df53
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18005dfd6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x18005df90
mov r10, qword [rax]
cmp r10, rcx
je 0x18005df8a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18005dfd6
mov r8, rax
cmp r10, rax
je 0x18005dfb2
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x18005dffc
cmp r10, rax
jne 0x18005dfa0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x18005df00
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x18005dfd6
lea rcx, str.invalid_hash_bucket_count
call fcn.180086a98
int3
Function at 0x18005e940
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rsp + 0x160], rax
movzx edi, r8b
mov ebx, edx
mov rsi, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.18008b920
movdqa xmm0, xmmword [0x1800d0470]
mov cl, 1
mov byte [rsp + 0x28], cl
xor eax, eax
movdqu xmmword [rsp + 0x29], xmm0
mov dword [rsp + 0x39], 0x6a626274
mov dword [rsp + 0x3d], 0x491e657c
mov word [rsp + 0x41], 0x3d
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x29]
add rdx, rcx
lea ecx, [rax + 0x25]
inc eax
xor byte [rdx], cl
cmp eax, 0x19
jb 0x18005e9b0
mov r9d, ebx
mov byte [rsp + 0x42], 0
mov rbx, 0xffffffffffffffff
mov byte [rsp + 0x28], 0
mov rdx, rbx
lea r8, [rsp + 0x29]
lea rcx, [rsp + 0x50]
call fcn.18005ecf0
lea rax, [rsp + 0x50]
mov byte [rsp + 0x20], dil
inc rbx
cmp byte [rax + rbx], 0
jne 0x18005e9f7
test rbx, rbx
je 0x18005ea2e
cmp byte [rsi + 8], 0
je 0x18005ea2e
mov rcx, qword [rsi + 0x70]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x20]
movzx edx, byte [rsp + 0x20]
test al, al
cmove edx, edi
movzx eax, dl
jmp 0x18005ea32
movzx eax, dil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180088650
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret

Function at 0x18005ea50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x1800d0430]
mov r8, rcx
movdqa xmm1, xmmword [0x1800d0180]
mov cl, 1
xor eax, eax
mov byte [rsp + 0x28], cl
movdqu xmmword [rsp + 0x29], xmm0
mov word [rsp + 0x49], 0x460b
movdqu xmmword [rsp + 0x39], xmm1
mov byte [rsp + 0x4b], al
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x29]
add rdx, rcx
lea ecx, [rax + 0x25]
inc eax
xor byte [rdx], cl
cmp eax, 0x22
jb 0x18005eaa0
mov byte [rsp + 0x4b], 0
lea rcx, [rsp + 0x29]
mov byte [rsp + 0x28], 0
mov rax, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
inc rax
cmp byte [rcx + rax], 0
jne 0x18005ead2
test rax, rax
je 0x18005eb1f
cmp byte [r8 + 8], 0
je 0x18005eb1f
mov rcx, qword [r8 + 0x70]
lea rdx, [rsp + 0x29]
lea r8, [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x20]
movzx ecx, byte [rsp + 0x20]
mov edx, 1
test al, al
cmove ecx, edx
movzx eax, cl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180088650
add rsp, 0x68
ret
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180088650
add rsp, 0x68
ret
Function at 0x18005eb40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x1800d03f0]
mov r8, rcx
mov cl, 1
mov dword [rsp + 0x39], 0x376470
mov byte [rsp + 0x28], cl
xor eax, eax
movdqu xmmword [rsp + 0x29], xmm0
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x29]
add rdx, rcx
lea ecx, [rax + 0x25]
inc eax
xor byte [rdx], cl
cmp eax, 0x13
jb 0x18005eb80
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0x29]
mov byte [rsp + 0x28], 0
mov rax, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
inc rax
cmp byte [rcx + rax], 0
jne 0x18005ebb2
test rax, rax
je 0x18005ebff
cmp byte [r8 + 8], 0
je 0x18005ebff
mov rcx, qword [r8 + 0x70]
lea rdx, [rsp + 0x29]
lea r8, [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x20]
movzx ecx, byte [rsp + 0x20]
mov edx, 1
test al, al
cmove ecx, edx
movzx eax, cl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180088650
add rsp, 0x58
ret
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180088650
add rsp, 0x58
ret

Function at 0x18005ec20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [str.lgswaedgrmgury3]
mov al, 1
mov byte [rsp + 0x28], al
mov r8, rcx
xor eax, eax
movdqu xmmword [rsp + 0x29], xmm0
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x29]
add rdx, rcx
lea ecx, [rax + 0x25]
inc eax
xor byte [rdx], cl
cmp eax, 0xf
jb 0x18005ec50
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x29]
mov byte [rsp + 0x28], 0
mov rax, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
inc rax
cmp byte [rcx + rax], 0
jne 0x18005ec82
test rax, rax
je 0x18005eccf
cmp byte [r8 + 8], 0
je 0x18005eccf
mov rcx, qword [r8 + 0x70]
lea rdx, [rsp + 0x29]
lea r8, [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x20]
movzx ecx, byte [rsp + 0x20]
mov edx, 1
test al, al
cmove ecx, edx
movzx eax, cl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180088650
add rsp, 0x58
ret
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180088650
add rsp, 0x58
ret