joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cd680
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100cd797
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x1c
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100cd790
mov ebx, 1
push edi
nop dword [eax + eax]
cmp dword [esp + 0x10], 0x10
jb 0x100cd750
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x1c], eax
jne 0x100cd750
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
je 0x100cd750
mov edx, dword [esi]
test edx, edx
jne 0x100cd71b
push 0x200
push edx
push dword [0x1046834c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100cd777
lea edi, [esi + 8]
jmp 0x100cd745
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x100cd745
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1046834c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100cd777
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100cd6d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100cd78f
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x100cd78f
push eax
push ebx
push dword [0x1046834c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b579a
add esp, 0x20
ret

Function at 0x100cd7b0
Capabilities:
Suspend thread

Disassembly:
push ecx
push edi
mov edi, ecx
mov dword [esp + 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100cd680
test eax, eax
jne 0x100cd7df
mov eax, 9
pop edi
pop ecx
ret 4
cmp dword [edi], 0
je 0x100cd831
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100cd829
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100cd821
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esp + 0x10]
mov ecx, ebx
push ebp
call fcn.100cd510
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100cd7f2
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
pop ecx
ret 4
xor eax, eax
pop edi
pop ecx
ret 4
Function at 0x100cd840
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x100cd890
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100cd87f
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100cd877
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x100cd858
pop edi
pop ebp
push dword [ebx]
push 0
push dword [0x1046834c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret

Function at 0x100cd8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10534120]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100cd8e6
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
pop ecx
ret
test ebx, ebx
je 0x100cd907
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100cd928
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100cd928
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100cd922
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100cd928
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
pop edi
mov byte [esi + 0x14], bl
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100ce900
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [esp + 0x10]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.100cef30
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100ce965
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [0x10533ac4], 0xccccccc
je 0x100ceac7
push 0x14
call fcn.101b5aa6
mov ecx, dword [edi]
mov esi, eax
lea ebp, [esi + 8]
add esp, 4
mov dword [ebp], ecx
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov ecx, dword [0x10533ac4]
mov edi, dword [0x10533ad8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10214cf0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10214cf0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10533abc]
comiss xmm1, xmm0
jbe 0x100cea59
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101d9920
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101dbb20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x100cea3d
cmp edi, 0x200
jae 0x100cea3b
shl edi, 3
cmp edi, ecx
jae 0x100cea3d
mov edi, ecx
push edi
call fcn.100cebb0
push ebx
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.100cef30
mov ecx, dword [0x10533ac4]
mov edx, dword [eax]
jmp 0x100cea5d
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x10533ac4], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x10533ad4]
mov ecx, dword [0x10533ac8]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x10533ac0]
jne 0x100cea8e
mov dword [ecx + eax*8], esi
jmp 0x100ceaaf
cmp ebx, edx
jne 0x100ceaa9
mov dword [ecx + eax*8], esi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ecx + eax*8 + 4], edi
jne 0x100ceab3
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [esp + 0x20]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
add esp, 0xc
ret 8
push str.unordered_map_set_too_long
call fcn.101b452a
int3
Function at 0x100cebb0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x100cecff
lea eax, [ecx - 1]
mov esi, dword [0x10533ac0]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x10533ac8
lea eax, [edi + edi]
push eax
call fcn.10023d90
mov ecx, dword [0x10533ac0]
lea ebx, [edi - 1]
mov dword [0x10533ad4], ebx
mov dword [0x10533ad8], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100cecf8
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x10533ac8]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x100cec65
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100ceccb
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100cec98
mov eax, dword [eax]
cmp eax, ecx
je 0x100cec8f
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x100ceccb
cmp ebx, eax
je 0x100cecac
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100cecdc
cmp ebx, eax
jne 0x100ceca0
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x100cecf8
mov ebx, dword [0x10533ad4]
jmp 0x100cec14
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100ceccb
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.invalid_hash_bucket_count
call fcn.101b452a
int3
Function at 0x100cf540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
push edi
push esi
call fcn.101b5f9b
test eax, eax
jne 0x100cf57e
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 1
jne 0x100cf790
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, 0x80
je 0x100cf5b7
cmp eax, 0x100
je 0x100cf5b7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push str..utf8
push 2
call fcn.101c61e9
movups xmm0, xmmword [0x10207e38]
add esp, 8
cmp byte [0x10207e4f], 0
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [0x10207e48]
movq qword [esp + 0x30], xmm0
je 0x100cf748
xor ecx, ecx
cmp dword [0x10240d90], 2
jl 0x100cf720
movaps xmm0, xmmword [0x10214aa0]
lea eax, [ecx + 4]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d10]
movaps xmm5, xmmword [0x102149c0]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + eax + 0x1c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + eax + 0x1c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + eax + 0x20]
xorps xmm1, xmm0
movd dword [esp + eax + 0x20], xmm1
add eax, 8
cmp eax, 0x1c
jl 0x100cf624
cmp ecx, 0x18
jge 0x100cf748
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x39
xor byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 0x18
jl 0x100cf720
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x2cc
call fcn.101b5aa6
add esp, 4
mov ecx, eax
push esi
call fcn.10169e60
mov esi, dword [0x1023fc90]
mov dword [0x1023fc90], eax
test esi, esi
je 0x100cf790
mov ecx, esi
call fcn.1003c340
push 0x2cc
push esi
call fcn.101b5a93
add esp, 8
mov ecx, dword [esp + 0x4c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1010a880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebp, ecx
push edi
mov edx, esi
cmp dword [esi + 0x14], 0xf
mov ebx, dword [esi + 0x10]
jbe 0x1010a89a
mov edx, dword [esi]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x1010a8b6
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x1010a8a5
push edi
push esi
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.1002cf70
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1010a8e0
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ebp + 8], 0x234f72c
je 0x1010aa61
push 0x74
call fcn.101b5aa6
mov ebx, eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebx + 8], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
movups xmm0, xmmword [esi]
push 0x54
push 0
movups xmmword [ebx + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea esi, [ebx + 0x20]
push esi
call fcn.101b7540
add esp, 0xc
mov ecx, esi
call fcn.10034b50
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
inc eax
movss xmm3, dword [ebp]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10214cf0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10214cf0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1010a9ff
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101d9920
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101dbb20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x1010a9e2
cmp esi, 0x200
jae 0x1010a9e0
shl esi, 3
cmp esi, ecx
jae 0x1010a9e2
mov esi, ecx
push esi
mov ecx, ebp
call fcn.1002a9b0
push edi
lea eax, [ebx + 8]
mov ecx, ebp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1002cf70
mov edx, dword [eax]
jmp 0x1010aa03
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 4]
inc dword [ebp + 8]
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov dword [esi], ebx
mov dword [edx + 4], ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebp + 4]
jne 0x1010aa28
mov dword [ecx + eax*8], ebx
jmp 0x1010aa49
cmp edi, edx
jne 0x1010aa43
mov dword [ecx + eax*8], ebx
mov eax, dword [esp + 0x20]
mov dword [eax], ebx
mov byte [eax + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ecx + eax*8 + 4], esi
jne 0x1010aa4d
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov byte [eax + 4], 1
pop ebx
add esp, 0xc
ret 8
push str.unordered_map_set_too_long
call fcn.101b452a
int3
Function at 0x1010ac40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x10241574]
cmp dword [eax], 0
je 0x1010addc
mov ecx, dword [0x1023fc7c]
mov eax, dword [0x1020c14c]
movq xmm0, qword [0x1020c144]
push esi
mov esi, dword [ecx + 0x3c]
mov dword [esp + 0xc], eax
mov ax, word [0x1020c150]
movq qword [esp + 4], xmm0
mov word [esp + 0x10], ax
test ah, ah
je 0x1010adbb
push ebx
xor ebx, ebx
cmp dword [0x10240d90], 2
jl 0x1010ad92
movaps xmm2, xmmword [0x10214950]
mov ebx, 8
movaps xmm3, xmmword [0x10214d20]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [0x1020c144]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a90]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 8], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
movd xmm0, dword [esp + 0xc]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214a90]
xorps xmm1, xmm0
movd dword [esp + 0xc], xmm1
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, bl
movsx eax, al
imul eax, eax, 0x31
sub dl, al
add dl, 0x36
xor byte [esp + ebx + 8], dl
inc ebx
cmp ebx, 0xe
jl 0x1010ad92
pop ebx
mov ecx, dword [ecx + 0x38]
lea eax, [esp + 4]
push eax
call esi
pop esi
test eax, eax
je 0x1010addc
mov al, byte [eax + 0xd]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.101b579a
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor al, al
xor ecx, esp
call fcn.101b579a
add esp, 0x14
ret
Function at 0x1010adf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, edx
test edi, edi
je 0x1010aee1
test ecx, ecx
jle 0x1010aee1
cmp ecx, 0x6b
jae 0x1010aee1
mov al, byte [edi]
mov esi, dword [ecx*4 + 0x1020ba68]
test al, al
je 0x1010aee1
movsx eax, al
lea ecx, [edi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.1007d630
cmp eax, 0x6002d5a3
ja 0x1010af6e
je 0x1010af2e
cmp eax, 0x433d134e
je 0x1010aef2
cmp eax, 0x57014847
jne 0x1010aee1
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010ae88
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027d90
mov ecx, 0x102400f8
lea eax, [esp + 0x10]
push eax
call fcn.10020d50
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x1010aee1
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010aed7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010afed
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010af10
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027d90
mov ecx, 0x102400e0
jmp 0x1010aea1
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010af50
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027d90
mov ecx, 0x102400c8
jmp 0x1010aea1
cmp eax, 0xd3636959
jne 0x1010aee1
mov ecx, esi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010af96
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.10027d90
lea eax, [esp + 0x10]
mov ecx, 0x102400b0
push eax
call fcn.10020d50
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x1010aee1
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010aed7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010aed7
call fcn.101babc6
int3
Function at 0x1014e940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10240d9c]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10533ccc]
cmp eax, dword [ecx + 4]
jle 0x1014eb38
push 0x10533ccc
call fcn.101b5d2d
add esp, 4
cmp dword [0x10533ccc], 0xffffffff
jne 0x1014eb38
mov eax, dword [0x1023fc88]
xor ecx, ecx
cmp dword [0x10240d90], 2
movups xmm0, xmmword [0x1020c0ec]
mov esi, dword [eax + 8]
mov al, byte [0x1020c104]
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x38], al
movq xmm0, qword [0x1020c0fc]
movq qword [esp + 0x30], xmm0
jl 0x1014eaf0
movaps xmm0, xmmword [0x10214a90]
lea edi, [esp + 0x24]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x20]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x20], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [edi + ecx]
xorps xmm1, xmm0
movd dword [edi + ecx], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x1014e9f3
cmp ecx, 0x19
jge 0x1014eb18
nop dword [eax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x31
sub dl, al
add dl, 0x36
xor byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 0x19
jl 0x1014eaf0
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x10533ccc
mov dword [0x10533ebc], eax
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x3622], 0
je 0x1014eb62
mov eax, dword [0x10241574]
mov ecx, dword [eax]
test ecx, ecx
je 0x1014eb62
call fcn.1007db50
cmp byte [eax], 0
jne 0x1014eb62
mov edx, 3
jmp 0x1014eb64
xor edx, edx
mov ecx, dword [0x10533ebc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret