joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012ea0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011447
movzx eax, al
test eax, eax
jne 0x140012ec0
mov ecx, 7
call fcn.1400113b6
nop
mov byte [rsp + 0x20], 0
call fcn.1400113ca
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140012ee4
mov ecx, 7
call fcn.1400113b6
nop
jmp 0x140012f3c
cmp dword [0x14001f868], 0
jne 0x140012f37
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.14001120d
test eax, eax
je 0x140012f18
mov eax, 0xff
jmp 0x140013041
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113c0
mov dword [0x14001f868], 2
jmp 0x140012f3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113a2
call fcn.140011334
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012f99
mov rcx, qword [rsp + 0x30]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x140012f99
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.140011366
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012fcd
mov rcx, qword [rsp + 0x38]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x140012fcd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011406
nop
call fcn.1400130f0
mov dword [rsp + 0x28], eax
call fcn.14001130c
movzx eax, al
test eax, eax
jne 0x140012fec
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012ffb
call fcn.140011410
nop
xor edx, edx
mov cl, 1
call fcn.14001119a
mov eax, dword [rsp + 0x28]
jmp 0x140013041
add rsp, 0x68
ret

Function at 0x140689c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x689c70
movabs r10, 0x689c74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x140689c66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x140689c50
lea rax, [r9 + r11]
jmp rax
Function at 0x140001000
Capabilities:
Extract resource via kernel32 functions
Terminate process

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 r14, r8
movzx edx, dx
lea r8, [0x140003310]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400010ec
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001059
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, 1
mov esi, eax
lea ecx, [rax - 0x12c]
mov ebx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x1400010ec
lea rdx, [rbp + 0x12c]
mov r8d, ebx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add esi, 0xfffff50b
mov edx, 1
mov ecx, esi
mov ebp, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x1400010ec
mov r8d, ebp
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov dword [r14], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140001dac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001df6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001df6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001df6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001df6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001df6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001df8
xor al, al
add rsp, 0x28
ret
Function at 0x1800128b0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
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
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x180012964
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x180012966
cmp rbx, rcx
je 0x180012964
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x180012953
jmp 0x180012966
xor ebx, ebx
test rbx, rbx
je 0x1800129d7
mov rax, qword [rdx]
cmp r11, rbx
jne 0x18001298b
cmp rax, rbx
jne 0x180012981
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x180012996
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x180012996
cmp rax, rbx
jne 0x180012996
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800129bf
mov edx, 0x10
call fcn.1800c3978
mov edx, 0x20
mov rcx, rbx
call fcn.1800c3978
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180013810
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 0x1800139eb
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.180012e40
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800139b4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001392c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800139a3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180013969
mov r10, qword [rdx]
cmp r10, rax
je 0x180013963
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800139a3
cmp r9, rdx
je 0x18001397f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800139c5
cmp r9, rdx
jne 0x180013970
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1800138b0
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 [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800139a3
lea rcx, str.invalid_hash_bucket_count
call fcn.1800c2dec
int3
Function at 0x180017230
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov qword [0x18021d880], rcx
cmp edx, 1
jne 0x18001732c
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1800172e4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800172e4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x2076da7e
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800172df
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1800172c0
cmp edx, 0x3086f05e
je 0x180017336
test r8d, r8d
jne 0x1800172a0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1800172fa
cmp qword [rax + 0x30], 0
jne 0x180017270
xor eax, eax
mov qword [rsp + 0x28], 0
lea r8, [0x180017040]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call rax
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x38
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1800172fc
Function at 0x180017920
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18021dd00]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x18021dd28]
js 0x180017944
cvtsi2ss xmm0, rcx
jmp 0x180017959
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18021dcf0]
call fcn.1800e52c4
movss xmm1, dword [0x18010a9ec]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18001798b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18001798b
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 0x1800179bd
cmp rbx, 0x200
jae 0x1800179ba
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800179bd
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1800179f0
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180017b9e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18021dcf8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18021dd08]
lea rdx, [rdi + rdi]
call fcn.180012e40
mov rax, qword [0x18021dcf8]
lea r9, [rdi - 1]
mov qword [0x18021dd20], r9
mov qword [0x18021dd28], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180017b93
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18021dd08]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180017adf
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180017b54
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180017b1c
mov r10, qword [rdx]
cmp r10, rax
je 0x180017b16
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180017b54
cmp r9, rdx
je 0x180017b30
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180017b68
cmp r9, rdx
jne 0x180017b21
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x180017b8e
mov r9, qword [0x18021dd20]
jmp 0x180017a90
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180017b54
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800c2dec
int3
Function at 0x1800179f0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18021dd00]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x18021dd28]
js 0x180017944
cvtsi2ss xmm0, rcx
jmp 0x180017959
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18021dcf0]
call fcn.1800e52c4
movss xmm1, dword [0x18010a9ec]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18001798b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18001798b
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 0x1800179bd
cmp rbx, 0x200
jae 0x1800179ba
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800179bd
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1800179f0
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180017b9e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18021dcf8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18021dd08]
lea rdx, [rdi + rdi]
call fcn.180012e40
mov rax, qword [0x18021dcf8]
lea r9, [rdi - 1]
mov qword [0x18021dd20], r9
mov qword [0x18021dd28], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180017b93
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18021dd08]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180017adf
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180017b54
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180017b1c
mov r10, qword [rdx]
cmp r10, rax
je 0x180017b16
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180017b54
cmp r9, rdx
je 0x180017b30
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180017b68
cmp r9, rdx
jne 0x180017b21
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x180017b8e
mov r9, qword [0x18021dd20]
jmp 0x180017a90
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180017b54
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800c2dec
int3
Function at 0x18002d1c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x18021dac0]
test rax, rax
jne 0x18002d40b
movups xmm0, xmmword [str.jQPXJ__f0_]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1800f91c0]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1800f91c8]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1800f91cc]
mov word [rsp + 0x5c], ax
cmp byte [0x1800f91cd], 0
je 0x18002d37c
xor ecx, ecx
cmp dword [0x18011e090], 2
jl 0x18002d344
movdqa xmm4, xmmword [0x18010aac0]
movdqa xmm3, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm0, xmmword [0x18010acb0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18010ac30]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x18002d260
cmp ecx, 0x1e
jge 0x18002d37c
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x18002d350
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18002d3a0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800160d0
nop
lea rcx, [rsp + 0x20]
call fcn.18002f9f0
mov qword [0x18021dac0], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18002d40b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d3ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d415
call fcn.1800c3978
mov rax, qword [0x18021dac0]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
ret
call fcn.1800c9824
int3
Function at 0x18002fd20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x18021db68]
test rax, rax
jne 0x18002ff5b
movups xmm0, xmmword [0x1800f9300]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f9310]
movups xmmword [rsp + 0x50], xmm1
mov eax, dword [0x1800f9320]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x1800f9324]
mov byte [rsp + 0x64], al
xor ecx, ecx
cmp dword [0x18011e090], 2
jl 0x18002fe94
movdqa xmm4, xmmword [0x18010aac0]
movdqa xmm3, xmmword [0x18010af80]
movdqa xmm5, xmmword [0x18010ab70]
movdqa xmm0, xmmword [0x18010acb0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18010ac30]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x18002fdb0
cmp ecx, 0x25
jge 0x18002fecc
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x25
jl 0x18002fea0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18002fef0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800160d0
nop
lea rcx, [rsp + 0x20]
call fcn.1800323e0
mov qword [0x18021db68], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18002ff5b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ff4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002ff68
call fcn.1800c3978
mov rax, qword [0x18021db68]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret
call fcn.1800c9824
int3
Function at 0x18002ff70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x18021db38]
test rax, rax
jne 0x1800301bb
movups xmm0, xmmword [0x1800f91e8]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f91f8]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [0x1800f9208]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1800f9210]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1800f9214]
mov byte [rsp + 0x6c], al
xor ecx, ecx
cmp dword [0x18011e090], 2
jl 0x1800300f4
movdqa xmm4, xmmword [0x18010aac0]
movdqa xmm3, xmmword [0x18010af80]
movdqa xmm5, xmmword [0x18010ab70]
movdqa xmm0, xmmword [0x18010acb0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18010ac30]
mov r8d, dword [rsp + 0x20]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x180030010
cmp ecx, 0x2d
jge 0x18003012c
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x180030100
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180030150
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800160d0
nop
lea rcx, [rsp + 0x20]
call fcn.1800323e0
mov qword [0x18021db38], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800301bb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800301af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800301c8
call fcn.1800c3978
mov rax, qword [0x18021db38]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret
call fcn.1800c9824
int3