joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140068130
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14017a390]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
lea rdx, str..DEFAULTSoftwareSetId
xorps xmm0, xmm0
mov qword [r11 - 0x40], rax
movups xmmword [rsp + 0x40], xmm0
mov rbx, rcx
mov r9d, 0x20019
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x40]
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x58], rax
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov ebp, 1
test eax, eax
jne 0x1400681dc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.wslibsite_lang
mov dword [rsp + 0x30], 0x26
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400681ec
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x140068220
cmp qword [rbx + 0x18], 8
jb 0x1400681fa
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140068215
add rbx, 2
test eax, eax
jne 0x140068202
test ecx, ecx
movzx eax, sil
cmove eax, ebp
jmp 0x140068224
movzx eax, sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400f2e00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400989b0
Capabilities:
Write file on windows

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
mov r9d, dword [0x1401814a0]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0xb8
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x140180440], eax
jg 0x140098a97
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140098a17
mov rcx, rbx
call fcn.1400aa4d0
test al, al
jne 0x1400989f2
jmp 0x140098a7c
mov edi, 1
test ebp, ebp
je 0x140098a32
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call fcn.140107740
jmp 0x140098a41
mov r8, r14
lea rdx, [0x1401350d4]
call fcn.1400baad0
cmp qword [0x140180438], 0
jl 0x140098a5e
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x140180438]
setge sil
lock xadd dword [rbx + 0x40], edi
inc edi
cmp edi, 1
jne 0x140098a78
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.140107020
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x140180440]
call fcn.1400f2fe0
cmp dword [0x140180440], 0xffffffff
jne 0x140098a00
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x140180438], rcx
lea rcx, [0x140180440]
call fcn.1400f2f80
jmp 0x140098a00
Function at 0x140098ad0
Capabilities:
Write file on windows

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
mov r9d, dword [0x1401814a0]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0xb8
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x140180450], eax
jg 0x140098bba
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140098b37
mov rcx, rbx
call fcn.1400aa4d0
test al, al
jne 0x140098b12
jmp 0x140098b9f
test ebp, ebp
je 0x140098b50
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call fcn.140107740
jmp 0x140098b5f
mov r8, r14
lea rdx, [0x140147fb4]
call fcn.1400bab20
cmp qword [0x140180448], 0
jl 0x140098b7c
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x140180448]
setge sil
mov ecx, 1
lock xadd dword [rbx + 0x40], ecx
inc ecx
cmp ecx, 1
jne 0x140098b9b
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.140107020
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x140180450]
call fcn.1400f2fe0
cmp dword [0x140180450], 0xffffffff
jne 0x140098b20
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x140180448], rcx
lea rcx, [0x140180450]
call fcn.1400f2f80
jmp 0x140098b20
Function at 0x14009b6a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14009b6c9
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x14009b703
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x14009b6f0
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140099ec0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14009b72c
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x14009b857
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x14009b869
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.1400f3600
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140002430
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14009b788
cvtsi2ss xmm0, rcx
jmp 0x14009b79d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14009b7b0
cvtsi2ss xmm1, rcx
jmp 0x14009b7c5
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14009b7fc
mov rcx, rbp
call fcn.1400aee60
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140099ec0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14009b839
mov qword [rcx + rax*8], rdi
jmp 0x14009b84b
cmp r9, rdx
jne 0x14009b844
mov qword [rcx + rax*8], rdi
jmp 0x14009b850
cmp qword [rcx + rax*8 + 8], r8
jne 0x14009b850
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400cc430
int3
Function at 0x14009b880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14009b8ae
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x14009b8e3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x14009b8d0
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140099ec0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14009b90c
mov qword [rsi], rax
mov byte [rsi + 8], r13b
jmp 0x14009ba53
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x14009ba6e
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x30
call fcn.1400f3600
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14009b984
cvtsi2ss xmm0, rcx
jmp 0x14009b999
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14009b9ac
cvtsi2ss xmm1, rcx
jmp 0x14009b9c1
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14009b9f8
mov rcx, rbp
call fcn.1400aee60
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140099ec0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14009ba35
mov qword [rcx + rax*8], rdi
jmp 0x14009ba47
cmp r9, rdx
jne 0x14009ba40
mov qword [rcx + rax*8], rdi
jmp 0x14009ba4c
cmp qword [rcx + rax*8 + 8], r8
jne 0x14009ba4c
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400cc430
int3
Function at 0x1400a0fe0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x14017a390]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [r9]
mov rdi, r8
mov dword [rcx], eax
mov rsi, rcx
mov eax, dword [r9 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r9]
mov dword [rcx + 8], eax
mov eax, dword [r9 + 4]
mov dword [rcx + 0xc], eax
cmp r8, 1
jb 0x1400a11a4
mov eax, 0x38
mov qword [r11 - 0x18], rbx
cmp r8, rax
mov qword [r11 - 0x20], rbp
lea rcx, [r11 - 0x70]
mov qword [r11 - 0x28], r14
cmova rdi, rax
mov r8, rdi
call fcn.1400f5570
movaps xmm0, xmmword [0x1401791e0]
lea rbx, [rsi + 0x10]
movups xmmword [rbx], xmm0
lea rbp, [rsi + 0x58]
mov r8d, 0x1000
movaps xmm1, xmmword [0x1401791f0]
lea rdx, [0x140179230]
movups xmmword [rbx + 0x10], xmm1
mov rcx, rbp
movaps xmm0, xmmword [0x140179200]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140179210]
movups xmmword [rbx + 0x30], xmm1
movsd xmm0, qword [0x140179220]
movsd qword [rbx + 0x40], xmm0
call fcn.1400f5570
xor r8d, r8d
lea r9, [rsp + 0x28]
mov r14d, 4
lea r11d, [r8 + 0x12]
nop
xor edx, edx
mov r10d, r14d
nop word [rax + rax]
movzx eax, byte [r9]
lea ecx, [r8 + 1]
inc r9
shl edx, 8
or edx, eax
lea rax, [rsp + 0x28]
cmp ecx, edi
cmovne rax, r9
xor r8d, r8d
cmp ecx, edi
mov r9, rax
cmovne r8d, ecx
sub r10d, 1
jne 0x1400a10c0
xor dword [rbx], edx
add rbx, r14
sub r11, 1
jne 0x1400a10b0
mov qword [rsp + 0x20], r11
xor ebx, ebx
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400a59b0
mov eax, dword [rsp + 0x20]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
mov eax, dword [rsp + 0x24]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
cmp ebx, 0x12
jb 0x1400a1100
nop word [rax + rax]
xor edi, edi
mov rbx, rbp
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400a59b0
mov eax, dword [rsp + 0x20]
add rdi, 2
mov ecx, dword [rsp + 0x24]
mov dword [rbx], eax
mov dword [rbx + 4], ecx
lea rbx, [rbx + 8]
cmp rdi, 0x100
jl 0x1400a1140
add rbp, 0x400
sub r14, 1
jne 0x1400a1130
mov r14, qword [rsp + 0x70]
mov rax, rsi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x88
pop rdi
pop rsi
ret
lea rax, str.Incorrect_key_length
lea rdx, [0x140175070]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.1400f5e30
int3
Function at 0x1400a9920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rcx
mov r9d, dword [0x1401814a0]
mov esi, r8d
mov ecx, 0xb8
mov rbp, rdx
mov r9, qword [rax + r9*8]
mov eax, dword [rcx + r9]
cmp dword [0x140180420], eax
jg 0x1400a9a20
cmp qword [0x140180418], 0
mov r8d, esi
mov rdx, rbp
jge 0x1400a9989
lea rcx, [rbx + 0x38]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.1400989b0
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0xd8]
xchg qword [rbx + 0xd8], rdi
mov rcx, rdi
call fcn.1400989b0
test al, al
je 0x1400a9a0b
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rbx + 0x34], ecx
cmp eax, ecx
je 0x1400a9a0b
mov rax, qword [rbx + 0xd8]
xchg qword [rbx + 0xd8], rax
cmp rax, rdi
jne 0x1400a9a06
lea rax, [rbx + 0x38]
mov edx, 0x88
cmp rdi, rax
mov ecx, 0x38
cmove ecx, edx
lea rdi, [rcx + rbx]
mov rcx, rdi
call fcn.1400a3370
mov rcx, rdi
call fcn.1400aa4d0
test al, al
je 0x1400a99fe
xchg qword [rbx + 0xd8], rdi
mov rcx, rbx
call fcn.1400ad710
xor eax, eax
xchg dword [rbx + 0x34], eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140180420]
call fcn.1400f2fe0
cmp dword [0x140180420], 0xffffffff
jne 0x1400a9961
mov rax, qword [rbx + 0x18]
lea rcx, [0x140180420]
mov qword [0x140180418], rax
call fcn.1400f2f80
jmp 0x1400a9961
Function at 0x1400ad710
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14017a390]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
mov edx, dword [0x1401814a0]
mov rax, qword gs:[0x58]
mov ecx, 0xb8
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x140180398], edx
jg 0x1400ad8cf
mov rcx, qword [0x140180390]
cmp rcx, 2
jl 0x1400ad8a8
movsxd rax, dword [rbx + 0x30]
sub rax, rcx
sub rax, 1
js 0x1400ad8a8
mov r8d, eax
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x38]
call fcn.1400a80c0
mov rdi, rax
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 0x38]
call fcn.1400a85d0
nop
mov r9, rdi
mov r8, rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1400a0c20
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400ad7f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad7f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ad904
call fcn.1400f35f0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], ax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400ad84d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ad90a
call fcn.1400f35f0
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1400ad8a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad8a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ad8c9
call fcn.1400f35f0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400f2e00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
call fcn.1400f9bf0
int3
lea rcx, [0x140180398]
call fcn.1400f2fe0
cmp dword [0x140180398], 0xffffffff
jne 0x1400ad759
mov rax, qword [rbx + 0x20]
mov qword [0x140180390], rax
lea rcx, [0x140180398]
call fcn.1400f2f80
jmp 0x1400ad759
call fcn.1400f9bf0
nop
call fcn.1400f9bf0
int3
Function at 0x1400adf00
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400ae0be
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400ad1f0
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400ae087
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [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, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1400adff3
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400ae076
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x1400ae030
mov r10, qword [rax]
cmp r10, rcx
je 0x1400ae02a
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 0x1400ae076
mov r8, rax
cmp r10, rax
je 0x1400ae052
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x1400ae098
cmp r10, rax
jne 0x1400ae040
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, rbx
jne 0x1400adfa0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
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 0x1400ae076
lea rcx, str.invalid_hash_bucket_count
call fcn.1400cc430
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400aedd5
cvtsi2ss xmm0, rdx
jmp 0x1400aedea
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140108840
movss xmm1, dword [0x140154048]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400aee18
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400aee18
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1400aee4a
cmp rbx, 0x200
jae 0x1400aee47
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400aee4a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400adf00
Function at 0x1400afab0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2080
call fcn.1400f3c20
sub rsp, rax
mov rax, qword [0x14017a390]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, rdx
lea rbx, [rsp + 0x70]
mov ebp, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9d, edi
lea rdx, [0x1401350c0]
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1400a03a0
movzx eax, byte [rsp + 0x40]
test al, al
je 0x1400afb3d
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x70]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x1400afb30
test rsi, rsi
je 0x1400afb5d
movzx eax, byte [rsi]
test al, al
je 0x1400afb5d
sub rsi, rbx
nop dword [rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rsi + rbx]
test al, al
jne 0x1400afb50
mov rax, qword [rsp + 0x20c0]
lea rdi, [0x1401350d4]
test rax, rax
lea rsi, [rsp + 0x206e]
lea r14, [rsp + 0x20c8]
cmovne rdi, rax
sub rsi, rbx
mov qword [rsp + 0x20c0], rdi
call fcn.140001f90
mov qword [rsp + 0x30], r14
mov r8, rsi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rdi
call fcn.1400fed50
test eax, eax
cmovs eax, edi
mov rdi, qword [0x140180188]
cdqe
cmp rax, rsi
cmovbe rsi, rax
mov word [rbx + rsi], 0xa
mov rax, qword [rdi]
mov ebx, dword [rax]
cmp ebp, 8
jne 0x1400afbec
cmp dword [rdi + 0x10], 2
je 0x1400afbec
or ebx, 2
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400aff50
mov esi, eax
test bl, 1
je 0x1400afc0b
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x1400afc20
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400a9920
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x2080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400afc40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2088
call fcn.1400f3c20
sub rsp, rax
mov rax, qword [0x14017a390]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, r8
lea rbx, [rsp + 0x70]
mov ebp, edx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9d, edi
lea rdx, [0x1401350c0]
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1400a03a0
movzx eax, byte [rsp + 0x40]
test al, al
je 0x1400afccd
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x70]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x1400afcc0
test rsi, rsi
je 0x1400afced
movzx eax, byte [rsi]
test al, al
je 0x1400afced
sub rsi, rbx
nop dword [rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rsi + rbx]
test al, al
jne 0x1400afce0
mov rax, qword [rsp + 0x20d8]
lea rdi, [0x1401350d4]
test rax, rax
lea rsi, [rsp + 0x206e]
lea r15, [rsp + 0x20e0]
cmovne rdi, rax
sub rsi, rbx
mov qword [rsp + 0x20d8], rdi
call fcn.140001f90
mov qword [rsp + 0x30], r15
mov r8, rsi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rdi
call fcn.1400fed50
test eax, eax
cmovs eax, edi
cdqe
cmp rax, rsi
cmovbe rsi, rax
mov word [rbx + rsi], 0xa
mov rax, qword [r14]
mov ebx, dword [rax]
cmp ebp, 8
jne 0x1400afd76
cmp dword [r14 + 0x10], 2
je 0x1400afd76
or ebx, 2
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.1400aff50
mov edi, eax
test bl, 1
je 0x1400afd95
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x1400afdaa
mov r8d, edi
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400a9920
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400f2e00
add rsp, 0x2088
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400aff50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 8]
mov rdi, rcx
test rbx, rbx
je 0x1400affbf
cmp dword [rbx], 0
je 0x1400affbf
mov rax, qword gs:[0x58]
mov edx, dword [0x1401814a0]
mov ecx, 0xb8
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x140180380], eax
jg 0x1400affcc
movzx ecx, byte [rdi]
mov rax, rdi
test cl, cl
je 0x1400affb2
nop dword [rax + rax]
xor cl, byte [0x14018037c]
mov byte [rax], cl
inc rax
movzx ecx, byte [rax]
test cl, cl
jne 0x1400affa0
sub eax, edi
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
lea rcx, [0x140180380]
call fcn.1400f2fe0
cmp dword [0x140180380], 0xffffffff
jne 0x1400aff8e
movzx eax, byte [rbx + 1]
lea rcx, [0x140180380]
sub al, byte [rbx + 3]
sub al, byte [rbx + 2]
add al, byte [rbx]
mov byte [0x14018037c], al
call fcn.1400f2f80
jmp 0x1400aff8e