joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005670
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400045ae
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140005670
cmp byte [0x14002b1e0], 0
jne 0x1400045f9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400045e9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14002b1d8], rax
mov byte [0x14002b1e0], 1
jmp 0x140004600
mov rax, qword [0x14002b1d8]
mov byte [0x14002b1e0], 1
jmp 0x140004600
mov rax, qword [0x14002b1d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000461f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400056e4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005706
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005706
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x140005706
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140005910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14002a050]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.14000b030
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400059b0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400059b0
call fcn.140003eb0
mov ebx, eax
jmp 0x140005ad8
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400059d1
call fcn.140003eb0
jmp 0x140005ac7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400059f4
call fcn.140003eb0
jmp 0x140005ac7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140005a16
mov ebx, 0x8007000e
jmp 0x140005ac9
mov ecx, eax
test eax, eax
je 0x140005a4e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140005a44
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140005a4e
lea rcx, [rsp + 0x70]
call fcn.140003da0
jmp 0x140005a58
mov ecx, 0x80070216
call fcn.1400040a0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140005a6b
cmp qword [rsp + 0x70], 0
jne 0x140005a7a
mov ebx, 0x8007000e
jmp 0x140005ac9
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140005aa4
call fcn.140003eb0
jmp 0x140005ac7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140005720
mov ebx, eax
test rdi, rdi
je 0x140005ad8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140005aef
lea rcx, [rsp + 0x70]
call fcn.140004670
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140008e60
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400061d0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14002a050]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008e60
add rsp, 0x48
ret

Function at 0x140006220
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140006238
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140006244
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140006240
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140008470
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14002a050]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x1400084b4
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008e60
add rsp, 0x40
pop rbx
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140007cf0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400084f5
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008e60
add rsp, 0x40
pop rbx
ret
Function at 0x140008600
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp byte [0x14002b240], 0
mov esi, edx
mov rbx, rcx
je 0x140008626
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor ecx, ecx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
mov edi, eax
test eax, eax
jns 0x14000866c
cmp eax, 0x80010106
jne 0x1400086cc
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140008670
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov byte [rbx + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
call fcn.140007d40
cmp al, 1
jne 0x1400086bc
mov edx, esi
mov rcx, rbx
call fcn.140008190
mov edi, eax
test eax, eax
jne 0x1400086ae
mov rcx, rbx
call fcn.140008400
mov rcx, rbx
call fcn.140008110
mov edi, eax
jmp 0x1400086c0
js 0x1400086c0
mov rcx, rbx
call fcn.140008110
mov edi, eax
jmp 0x1400086c0
mov edi, dword [rsp + 0x40]
cmp byte [rbx + 0x62], 0
je 0x1400086cc
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
mov edx, r9d
lea rcx, [0x14002b2b0]
jmp 0x140008600

Function at 0x140008810
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp byte [0x14002b240], 0
mov esi, edx
mov rbx, rcx
je 0x140008626
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor ecx, ecx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
mov edi, eax
test eax, eax
jns 0x14000866c
cmp eax, 0x80010106
jne 0x1400086cc
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140008670
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov byte [rbx + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
call fcn.140007d40
cmp al, 1
jne 0x1400086bc
mov edx, esi
mov rcx, rbx
call fcn.140008190
mov edi, eax
test eax, eax
jne 0x1400086ae
mov rcx, rbx
call fcn.140008400
mov rcx, rbx
call fcn.140008110
mov edi, eax
jmp 0x1400086c0
js 0x1400086c0
mov rcx, rbx
call fcn.140008110
mov edi, eax
jmp 0x1400086c0
mov edi, dword [rsp + 0x40]
cmp byte [rbx + 0x62], 0
je 0x1400086cc
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
mov edx, r9d
lea rcx, [0x14002b2b0]
jmp 0x140008600
Function at 0x14000f478
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000f24c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f24c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f24c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f24c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f24c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f24c
cmp dword [rcx + 0xf8], esi
je 0x14000f24c
mov ecx, r14d
call fcn.14000f394
mov ecx, 2
call fcn.1400128b4
nop
cmp byte [0x14002bb68], 0
jne 0x14000f316
mov r15d, 1
mov eax, r15d
xchg dword [0x14002bb58], eax
test ebx, ebx
jne 0x14000f2bf
mov rdi, qword [0x14002a050]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14002bb60]
cmp rcx, rax
je 0x14000f2b6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000d190]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14002bda0]
jmp 0x14000f2cb
cmp ebx, r15d
jne 0x14000f2d1
lea rcx, [0x14002bdb8]
call fcn.14000fde4
nop
test ebx, ebx
jne 0x14000f2e8
lea rdx, [0x14001b4c8]
lea rcx, [0x14001b4a8]
call fcn.140010100
lea rdx, [0x14001b4d8]
lea rcx, [0x14001b4d0]
call fcn.140010100
movzx eax, byte [0x14002bb68]
test esi, esi
cmove eax, r15d
mov byte [0x14002bb68], al
jmp 0x14000f316
mov ecx, 2
call fcn.140012908
test esi, esi
jne 0x14000f32d
mov ecx, r14d
call fcn.14000f348
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000f1dc
Function at 0x140034920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x140034952
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x1400349fa
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x140034996
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x1400349e5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400349b2
mov dword [rsp + 0x1c], 1
jmp 0x1400349ba
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x1400349e3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x14003498c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x140034948
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x14002934c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c944
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c944
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f258
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a278
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d620
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a278
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b00c
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c944
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018730
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c944
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14081f464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, 0x2e1c6421
jmp 0x14081fbd9
add r10, 0xc
xor eax, eax
push 0x59b33980
test rsi, rsi
lea rsp, [rsp + 0x10]
je 0x1408200de
jmp 0x14081f26b
Function at 0x140002d30
Capabilities:
Hash data using fnv

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, 0x20
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx]
mov rcx, qword [rbx + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003d0c0
mov rdx, rax
mov rcx, qword [rbx + 0x10]
test byte [rax + 8], 0xf
jne 0x140002d77
mov byte [rcx + 8], 0
jmp 0x140002d84
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1400116c0
mov r10, rax
mov r13, rax
shr r13, 0x38
mov rcx, rax
shr rcx, 0x30
movzx r12d, cl
mov rcx, rax
shr rcx, 0x28
movzx r14d, cl
mov rdx, rax
shr rdx, 0x20
movzx ebp, dl
mov rdx, rax
shr rdx, 0x18
movzx esi, dl
shr rax, 0x10
movzx edi, al
mov rax, r10
shr rax, 8
movzx ebx, al
movzx r15d, r10b
mov edx, 0xfffffffe
mov rcx, qword [rsp + 0x50]
call fcn.1400110f0
nop
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
xor r15, rbx
imul r15, rax
xor r15, rdi
imul r15, rax
xor r15, rsi
imul r15, rax
xor r15, rbp
imul r15, rax
xor r15, r14
imul r15, rax
xor r15, r12
imul r15, rax
xor r15, r13
imul rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140006d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r14
sub rsp, 0x68
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r14, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140006d7b
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x90], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x60], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x58], rdi
shl rbx, cl
mov qword [rsp + 0x40], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.140005360
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140006f3f
mov qword [rsp + 0x50], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], r13
movabs r10, 0x100000001b3
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140006e34
mov r9, qword [rsp + 0x30]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x140006e20
mov r13, qword [r14 + 0x30]
and r13, rax
shl r13, 4
add r13, qword [r15]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140006e58
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140006f1b
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140006ea3
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140006ea3
mov r8, qword [rbx]
cmp r8, rdi
je 0x140006e9d
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x140006f11
mov r14, rbx
cmp r12, rbx
je 0x140006ee7
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x38]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x140006ee2
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140006f5e
cmp r12, rbx
jne 0x140006ec0
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x140006e00
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x140006f0c
Function at 0x140007060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1400070b3
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x1400070a0
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x1400070e7
cmp rax, r8
jne 0x1400070dd
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400070f2
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x1400070f2
cmp rax, r8
jne 0x1400070f2
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, 0x38
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.1400b3930
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140010740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140010771
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 + 0x60], rbp
mov rbp, qword [0x14013bf68]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x78], rdi
shl rbx, cl
lea rcx, [0x14013bf78]
lea rdx, [rbx + rbx]
call fcn.140005360
mov rdi, qword [0x14013bf68]
lea r10, [rbx - 1]
mov qword [0x14013bf90], r10
mov qword [0x14013bf98], rbx
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140010964
mov qword [rsp + 0x48], r12
movabs r11, 0x100000001b3
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
test r8, r8
je 0x140010834
mov r9, qword [rsp + 0x20]
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r11
cmp rdx, r8
jb 0x140010820
mov r13, qword [0x14013bf78]
and rax, r10
shl rax, 4
add r13, rax
mov r12, qword [r13]
cmp r12, rbp
jne 0x14001085b
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140010916
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x1400108a6
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400108a6
mov r8, qword [rbx]
cmp r8, rdi
je 0x1400108a0
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x14001090c
mov r14, rbx
cmp r12, rbx
je 0x1400108e7
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov r15, qword [rsp + 0x28]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x1400108e2
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001092a
cmp r12, rbx
jne 0x1400108c0
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
movabs r11, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
je 0x140010950
mov r10, qword [0x14013bf90]
jmp 0x1400107f0
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x14001090c
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret