joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065200
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140146fb0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140065257
cmp word [rdx], r13w
jne 0x140065257
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14006525c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140065381
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400653a2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140065295
mov rdx, r9
mov word [rbx], cx
jmp 0x1400652bc
cmp r9, r8
jae 0x1400652cc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140065276
jmp 0x140065381
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140065376
cmp dword [rsp + 0x80], esi
je 0x140065376
lea r8, [0x140146fb0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14006534e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14006531e
mov word [rbx], r13w
jmp 0x14006537e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14006532b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14006537e
cmp word [rsp + 0x70], r13w
jne 0x14006535b
cmp rbx, r14
je 0x140065318
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400614d8
cmp word [rsp + 0x70], r13w
je 0x140065381
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140146fb0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14006537b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140065381
Function at 0x140066420
Capabilities:
Encrypt data using rc4 prga

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, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x140066481
test byte [rbx + 6], 0xf
jne 0x140066474
xor edi, edi
cmp word [rbx + 4], di
jne 0x140066474
cmp word [rbx + 2], di
jne 0x140066474
cmp word [rbx], di
jne 0x140066474
lea esi, [rdi + 1]
jmp 0x140066479
mov esi, 2
movzx eax, si
jmp 0x140066679
xor edi, edi
test cx, cx
jne 0x14006649c
mov rcx, rbx
call fcn.14006c9c0
movzx ecx, ax
cmp di, ax
jl 0x140066676
movsx edx, cx
test esi, esi
jle 0x1400664cc
sub ebp, edx
cmp ebp, esi
jg 0x1400664cc
movsd xmm0, qword [0x1400c3310]
cmp word [rbx + 6], di
jge 0x1400664be
xorps xmm0, xmmword [0x1400bdba0]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x140066679
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400664f9
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x140066679
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x14006666b
test ebp, ebp
jns 0x14006666b
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x14006658e
movzx edx, word [rbx + 4]
mov eax, 0xfff0
movzx r8d, word [rbx + 2]
sub ax, bp
shr ax, 4
add ax, si
movzx ecx, ax
movzx eax, cx
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], r8w
movzx r8d, dx
movzx edx, r11w
mov r11d, edi
sub rcx, rsi
jne 0x140066560
mov word [rbx + 4], dx
mov word [rbx + 2], r8w
neg bp
je 0x14006660d
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x140066623
jne 0x140066642
test byte [rbx], sil
je 0x140066642
add word [rbx], si
jne 0x140066642
add word [rbx + 2], si
jne 0x140066642
add word [rbx + 4], si
jne 0x140066642
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400664f1
cmp r11w, r15w
jne 0x1400664f1
cmp word [rbx + 4], di
jne 0x1400664f1
cmp word [rbx + 2], di
jne 0x1400664f1
movzx eax, word [rbx]
neg ax
sbb ax, ax
jmp 0x140066679
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006c230
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14003ea20
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006c2ba
cmp byte [rbp - 0x21], r15b
je 0x14006c2b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006c2f0
call fcn.140059518
test eax, eax
jne 0x14006c2dc
cmp byte [rbp - 0x21], r15b
je 0x14006c2d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006c2f0
cmp byte [rbp - 0x21], r15b
je 0x14006c2ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003eabc
test eax, eax
jne 0x14006c390
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003ea20
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006c32f
cmp byte [rbp - 0x21], r15b
je 0x14006c364
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14006c364
call fcn.140059518
test eax, eax
jne 0x14006c350
cmp byte [rbp - 0x21], r15b
je 0x14006c349
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14006c364
cmp byte [rbp - 0x21], r15b
je 0x14006c361
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003eabc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006c390
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006c393
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006c3a1
mov rcx, rdi
call fcn.1400588d0
cmp byte [rbp + 0x3f], r15b
je 0x14006c3b0
mov rcx, qword [rbp + 0x27]
call fcn.1400588d0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14006d3b8
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.1400614d8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400614d8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14006d508
cmp rax, 0xffffffffffffffff
je 0x14006d508
xor edi, edi
test rbp, rbp
jle 0x14006d4b3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14005abe4
mov rbx, rax
test rax, rax
jne 0x14006d440
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14006d4a9
mov edx, 0x8000
mov ecx, r14d
call fcn.14004df94
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.1400639c4
cmp eax, 0xffffffff
je 0x14006d489
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14006d450
mov edx, r15d
mov ecx, r14d
call fcn.14004df94
jmp 0x14006d4a9
cmp byte [rsi + 0x38], dil
je 0x14006d4a0
cmp dword [rsi + 0x34], 5
jne 0x14006d4a0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14006d4a9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400588d0
jmp 0x14006d51c
jns 0x14006d51c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400614d8
cmp rax, 0xffffffffffffffff
jne 0x14006d4d4
cmp byte [rsi + 0x30], dil
je 0x14006d51c
mov edi, dword [rsi + 0x2c]
jmp 0x14006d51c
mov ecx, r14d
call fcn.140062f20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14006d51c
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 0x14006d51c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14006d515
mov eax, dword [rsi + 0x2c]
jmp 0x14006d51a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400614d8
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 0x140072690
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x38]
test rax, rax
js 0x1400726a4
cvtsi2ss xmm0, rax
jmp 0x1400726b9
mov r8, rax
shr r8, 1
and eax, 1
or rax, r8
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
roundss xmm0, xmm0, 0xa
cvttss2si rax, xmm0
mov r8, rax
subss xmm0, dword [0x1400c84d0]
cvttss2si r9, xmm0
sar r8, 0x3f
and r9, r8
or r9, rax
cmp r9, 9
mov eax, 8
cmovae rax, r9
cmp rdx, rax
jae 0x140072d80
lea r8, [rdx*8]
cmp r8, rax
cmovb r8, rax
cmp rdx, 0x200
cmovae r8, rax
mov rdx, r8
jmp 0x140072d80
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x140072df6
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.140009d20
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
jne 0x140072e02
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.14003b600
movabs rcx, 0xcbf29ce484222325
movabs rdx, 0x100000001b3
mov r8, rax
mov rax, qword [rax]
movzx r9d, byte [r8 + 0x10]
xor r9, rcx
imul r9, rdx
movzx r10d, byte [r8 + 0x11]
xor r10, r9
imul r10, rdx
movzx r9d, byte [r8 + 0x12]
xor r9, r10
imul r9, rdx
movzx r11d, byte [r8 + 0x13]
xor r11, r9
imul r11, rdx
and r11, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11 + r11 + 1]
shl r11, 4
mov r11, qword [r9 + r11]
cmp r11, rdi
je 0x140072eb4
mov r14, qword [r9 + rbx*8]
mov ebp, dword [r8 + 0x10]
cmp ebp, dword [r14 + 0x10]
jne 0x140072ea3
mov r10, qword [r14]
cmp r10, r8
je 0x140072eb8
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x140072eb8
cmp r11, r14
je 0x140072eca
mov r14, qword [r14 + 8]
cmp ebp, dword [r14 + 0x10]
jne 0x140072ea3
jmp 0x140072ef1
mov qword [r9 + r10*8], r8
mov qword [r9 + rbx*8], r8
cmp rax, rdi
je 0x140072de9
jmp 0x140072e16
mov rbx, qword [r8 + 8]
mov qword [rbx], rax
mov r14, qword [rax + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], r8
mov qword [r11 + 8], r14
mov qword [rax + 8], rbx
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x140072ebc
mov r9, qword [r14]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x140072ebc
Function at 0x140074a40
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
call fcn.140074ad0
lea rax, vtable.ThreadInfo.0
mov qword [rsi], rax
mov dword [rsi + 0xa8], 0
xor eax, eax
mov qword [rsi + 0xb0], rax
mov qword [rsi + 0xb8], rbx
mov qword [rsi + 0xc0], rax
mov dword [rsi + 0xc8], edi
test edi, edi
jne 0x140074aa2
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsi + 0xc0], rax
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400ba480]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x140074a90

Function at 0x14007f4e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rcx, rdx
jb 0x14007f50e
mov rcx, qword [rbx]
test rax, rax
je 0x14007f61c
movabs r9, 0xcbf29ce484222325
xor edx, edx
movabs r8, 0x100000001b3
movzx edi, byte [rcx + rdx]
xor rdi, r9
imul rdi, r8
inc rdx
mov r9, rdi
cmp rax, rdx
jne 0x14007f52d
lea r14, [rbp - 0x28]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.14007f780
mov rax, qword [r14 + 8]
test rax, rax
jne 0x14007f62b
movabs rax, 0x555555555555555
cmp qword [0x140236968], rax
je 0x14007f634
lea rcx, [rbp - 0x18]
mov rdx, rbx
call fcn.14007f820
mov rax, qword [0x140236968]
inc rax
js 0x14007f598
cvtsi2ss xmm0, rax
jmp 0x14007f5ad
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rax, qword [0x140236990]
test rax, rax
js 0x14007f5c0
cvtsi2ss xmm1, rax
jmp 0x14007f5d5
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [0x140236958]
ja 0x14007f640
mov rbx, qword [rbp - 0x10]
lea r14, [rbp - 0x18]
mov qword [r14 + 8], 0
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
mov r8, rbx
call fcn.14007f690
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rcx, r14
call fcn.14007f6f0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
movabs rdi, 0xcbf29ce484222325
jmp 0x14007f543
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x14007f610
lea rcx, str.unordered_map_set_too_long
call fcn.14003b600
call fcn.1400b0430
mov rbx, qword [rbp - 0x10]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x28]
mov r8, rdi
call fcn.14007f780
jmp 0x14007f5e6
Function at 0x140085020
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r15, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx ebx, byte [r8 + 3]
xor rbx, rcx
imul rbx, rax
mov rcx, qword [rdi + 0x30]
and rcx, rbx
mov rdx, qword [rdi + 0x18]
mov rax, rcx
shl rax, 4
mov r12, qword [rdx + rax + 8]
cmp r12, qword [rdi + 8]
je 0x1400850df
mov eax, dword [r15]
cmp eax, dword [r12 + 0x10]
jne 0x1400850c5
xor eax, eax
mov qword [rsi], r12
mov byte [rsi + 8], al
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
add rcx, rcx
mov r14, qword [rdx + rcx*8]
cmp r12, r14
je 0x1400850e2
mov r12, qword [r12 + 8]
cmp eax, dword [r12 + 0x10]
jne 0x1400850cc
jmp 0x1400850ae
mov r14, r12
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rdi + 0x10], rax
je 0x1400851ce
mov ecx, 0x18
call fcn.14003a89c
mov r12, rax
mov r15, qword [r15]
mov qword [rax + 0x10], r15
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x38]
inc rcx
js 0x14008511e
cvtsi2ss xmm0, rcx
jmp 0x140085133
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x14008513f
cvtsi2ss xmm1, rax
jmp 0x140085154
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [rdi]
jbe 0x14008518a
mov qword [rbp - 0x10], r12
mov rcx, rdi
call fcn.140087930
mov rax, qword [rdi + 0x30]
and rax, rbx
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r14, qword [rcx + rdx + 8]
cmp r14, qword [rdi + 8]
jne 0x1400851a2
mov r12, qword [rbp - 0x10]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, r12
call fcn.1400879c0
mov al, 1
jmp 0x1400850b0
cmp r15d, dword [r14 + 0x10]
mov r12, qword [rbp - 0x10]
jne 0x1400851b1
mov r14, qword [r14]
jmp 0x14008518a
add rax, rax
mov rax, qword [rcx + rax*8]
cmp r14, rax
je 0x1400851c9
mov r14, qword [r14 + 8]
cmp r15d, dword [r14 + 0x10]
jne 0x1400851b8
jmp 0x1400851ac
mov r14, rax
jmp 0x14008518a
lea rcx, str.unordered_map_set_too_long
call fcn.14003b600
int3

Function at 0x140087930
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x38]
inc rax
js 0x140087944
cvtsi2ss xmm0, rax
jmp 0x140087959
mov r8, rax
shr r8, 1
and eax, 1
or rax, r8
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
roundss xmm0, xmm0, 0xa
cvttss2si rax, xmm0
mov r8, rax
subss xmm0, dword [0x1400c84d0]
cvttss2si r9, xmm0
sar r8, 0x3f
and r9, r8
or r9, rax
cmp r9, 9
mov eax, 8
cmovae rax, r9
cmp rdx, rax
jae 0x140072d80
lea r8, [rdx*8]
cmp r8, rax
cmovb r8, rax
cmp rdx, 0x200
cmovae r8, rax
mov rdx, r8
jmp 0x140072d80
Function at 0x140094e50
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rcx + 0x120]
xor r8d, r8d
mov r9, rsi
call fcn.1400ad980
mov rbx, rax
cmp rax, 0x7f7f
jne 0x140094ec9
mov ebx, 0x7f7f
cmp qword [rsi + 0x10], 4
jb 0x140094ec9
cmp qword [rsi + 0x18], 0x10
mov r14, rsi
jb 0x140094e94
mov r14, qword [rsi]
movsx ecx, byte [r14]
call fcn.140039520
test eax, eax
je 0x140094ec9
movsx eax, byte [r14 + 1]
add eax, 0xffffffd0
cmp eax, 9
ja 0x140094ec9
movsx ecx, byte [r14 + 2]
call fcn.140039520
test eax, eax
je 0x140094ec9
movsx eax, byte [r14 + 3]
add eax, 0xffffffd0
cmp eax, 9
jbe 0x140094ed6
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edx, dword [rdi + 0x120]
mov rcx, rdi
mov r8d, 1
mov r9, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400ad980
Function at 0x1400a49e0
Capabilities:
Encode data using xor

Disassembly:
sub r8, rdx
je 0x1400a4a0c
cmp r8, 1
adc r8, 0
mov eax, 0x84222325
xor ecx, ecx
movzx r9d, byte [rdx + rcx]
xor r9d, eax
imul eax, r9d, 0x1b3
inc rcx
cmp r8, rcx
jne 0x1400a49f4
ret
mov eax, 0x84222325
ret

Function at 0x1400a6300
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r15, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rbx, 0x100000001b3
imul rbx, rcx
mov rcx, qword [rdi + 0x30]
and rcx, rbx
mov rdx, qword [rdi + 0x18]
mov r8, rcx
shl r8, 4
mov r12, qword [rdx + r8 + 8]
cmp r12, qword [rdi + 8]
je 0x1400a6398
cmp al, byte [r12 + 0x10]
jne 0x1400a637e
xor eax, eax
mov qword [rsi], r12
mov byte [rsi + 8], al
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
add rcx, rcx
mov r14, qword [rdx + rcx*8]
cmp r12, r14
je 0x1400a639b
mov r12, qword [r12 + 8]
cmp al, byte [r12 + 0x10]
jne 0x1400a6385
jmp 0x1400a6367
mov r14, r12
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rdi + 0x10], rax
je 0x1400a6487
mov ecx, 0x18
call fcn.14003a89c
mov r12, rax
mov r15b, byte [r15]
mov byte [rax + 0x10], r15b
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x38]
inc rcx
js 0x1400a63d7
cvtsi2ss xmm0, rcx
jmp 0x1400a63ec
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x1400a63f8
cvtsi2ss xmm1, rax
jmp 0x1400a640d
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [rdi]
jbe 0x1400a6443
mov qword [rbp - 0x10], r12
mov rcx, rdi
call fcn.1400a64e0
mov rax, qword [rdi + 0x30]
and rax, rbx
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r14, qword [rcx + rdx + 8]
cmp r14, qword [rdi + 8]
jne 0x1400a645b
mov r12, qword [rbp - 0x10]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, r12
call fcn.1400879c0
mov al, 1
jmp 0x1400a6369
cmp r15b, byte [r14 + 0x10]
mov r12, qword [rbp - 0x10]
jne 0x1400a646a
mov r14, qword [r14]
jmp 0x1400a6443
add rax, rax
mov rax, qword [rcx + rax*8]
cmp r14, rax
je 0x1400a6482
mov r14, qword [r14 + 8]
cmp r15b, byte [r14 + 0x10]
jne 0x1400a6471
jmp 0x1400a6465
mov r14, rax
jmp 0x1400a6443
lea rcx, str.unordered_map_set_too_long
call fcn.14003b600
int3
Function at 0x1400a64e0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x38]
inc rax
js 0x1400a64f4
cvtsi2ss xmm0, rax
jmp 0x1400a6509
mov r8, rax
shr r8, 1
and eax, 1
or rax, r8
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
roundss xmm0, xmm0, 0xa
cvttss2si rax, xmm0
mov r8, rax
subss xmm0, dword [0x1400c84d0]
cvttss2si r9, xmm0
sar r8, 0x3f
and r9, r8
or r9, rax
cmp r9, 9
mov eax, 8
cmovae rax, r9
cmp rdx, rax
jae 0x1400a6570
lea r8, [rdx*8]
cmp r8, rax
cmovb r8, rax
cmp rdx, 0x200
cmovae r8, rax
mov rdx, r8
jmp 0x1400a6570
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x1400a66d7
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.1400a66f0
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
je 0x1400a66cb
movabs rcx, 0x4bf29ce484222325
movabs rdx, 0x100000001b3
mov r8, rax
mov rax, qword [rax]
movzx r11d, byte [r8 + 0x10]
mov rbx, r11
xor rbx, rcx
imul rbx, rdx
and rbx, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [rbx + rbx]
lea r14, [rbx + rbx + 1]
shl rbx, 4
mov rbx, qword [r9 + rbx]
cmp rbx, rdi
je 0x1400a6691
mov r15, qword [r9 + r14*8]
cmp r11b, byte [r15 + 0x10]
jne 0x1400a665c
mov r10, qword [r15]
cmp r10, r8
je 0x1400a6695
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov rbx, qword [rax + 8]
mov qword [rbx], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], rbx
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x1400a6695
cmp rbx, r15
je 0x1400a66a4
mov r15, qword [r15 + 8]
cmp r11b, byte [r15 + 0x10]
jne 0x1400a665c
mov r9, qword [r15]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x1400a6699
mov qword [r9 + r10*8], r8
mov qword [r9 + r14*8], r8
cmp rax, rdi
jne 0x1400a65f4
jmp 0x1400a66cb
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], rbx
mov r15, qword [rbx + 8]
mov qword [r15], r8
mov qword [rbx + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x1400a6699
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.14003b600
int3