joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e00d41b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esi], eax
test ebx, ebx
je 0x2e00d44b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov dword [ebx], ecx
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ebx
pop ebp
ret 0x14

Function at 0x2e00ef9c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.2e007b0a
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x2e00efbe
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x2e00efd3
mov dword [ebp - 4], 0x80004005
jmp 0x2e00f053
cmp byte [edi + 0x30], bl
je 0x2e00efc7
inc dword [edi + 0x2c]
test byte [edi + 0x2c], 0x3f
jne 0x2e00efe9
push ebx
mov ecx, edi
call fcn.2e00ed9a
push esi
lea ecx, [edi + 0x20]
call fcn.2e00ed23
mov esi, eax
cmp esi, ebx
jne 0x2e00f001
mov dword [ebp - 4], 0x8007000e
jmp 0x2e00f04b
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [esi], ebx
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x2e00f03e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x2e00f02e
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x2e00f04b
mov dword [ebp - 4], 0x80004005
jmp 0x2e00f04b
mov ecx, dword [ebp + 0x14]
mov dword [esi], eax
cmp ecx, ebx
je 0x2e00f049
mov dword [ecx], eax
xor esi, esi
cmp esi, ebx
pop esi
je 0x2e00f053
dec dword [edi + 0x24]
mov ecx, edi
call fcn.2e007b50
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0x10
Function at 0x2e00fe75
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp byte [esi + 0x44], bl
je 0x2e00fe97
mov dword [ebp - 4], 0x80004005
jmp 0x2e00ff56
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
ja 0x2e00fec6
lea eax, [eax*4 + 0x14]
push eax
push dword [esi + 4]
call fcn.2e00709d
cmp eax, ebx
jne 0x2e00febf
mov dword [ebp - 4], 0x8007000e
jmp 0x2e00ff56
add dword [esi + 0x10], 5
mov dword [esi + 4], eax
push edi
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.2e00f882
cmp eax, ebx
jge 0x2e00fede
mov edi, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x2e00ff4a
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
jne 0x2e00fef2
call dword [0x2e01b9d4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov edi, dword [ebp - 8]
xor ecx, ecx
lea eax, [edi + 0x908]
inc ecx
lock xadd dword [eax], ecx
lea eax, [edi + 0x8f0]
push eax
push ebx
push edi
push 0x2e00f9c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x2e00ff2c
mov ecx, edi
call fcn.2e00f862
mov dword [ebp - 4], 0x80004005
jmp 0x2e00ff4a
mov dword [edi + 0x8ec], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [ecx + eax*4], edi
inc dword [esi + 0xc]
push 0x3e
xor edi, edi
pop eax
add esi, 8
lock xadd dword [esi], eax
cmp edi, ebx
je 0x2e00ff55
mov ecx, edi
call fcn.2e00f862
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x2e010bc2
Capabilities:
Encode data using xor

Disassembly:
add ecx, 0x10
mov eax, dword [ecx]
push esi
push edi
mov esi, eax
and esi, 0xffffc000
add esi, 0x4000
xor esi, eax
and esi, 0xfffc000
mov edx, eax
xor eax, esi
mov esi, eax
mov edi, ecx
mov eax, edx
lock cmpxchg dword [edi], esi
cmp eax, edx
jne 0x2e010bc9
pop edi
pop esi
ret

Function at 0x2e01670b
Capabilities:
Query environment variable

Disassembly:
push 0x218
mov eax, 0x2e017ed5
call fcn.2e0172a9
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
push 0x2e003088
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x2e01673d
mov al, 1
jmp 0x2e0167c2
cmp eax, esi
jae 0x2e0167c0
and dword [ebp - 0x220], 0
and dword [ebp - 4], 0
push 8
mov byte [ebp - 4], 1
call fcn.2e005eb2
mov dword [ebp - 0x224], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.2e016671
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.2e0164ef
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.2e0163d4
mov dword [0x2e01ba3c], esi
jmp 0x2e016736
xor al, al
call fcn.2e017302
ret
Function at 0x2e016a6f
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x2e017f05
call fcn.2e01720a
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov esi, dword [eax + 8]
xor ecx, ecx
lea eax, [ebx + 0x58]
mov dword [ebp + 8], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x14]
call fcn.2e016842
mov eax, dword [ebx + 0x74]
mov dword [esi + 8], eax
inc dword [ebx + 0x74]
push dword [esi + 8]
lea ecx, [ebx + 0x3c]
call fcn.2e006df3
push edi
mov ecx, eax
call fcn.2e016a4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2e016a2d
push 5
pop ecx
lea eax, [edi + 0xc]
push eax
mov edi, eax
mov eax, dword [ebp + 8]
push 0
mov esi, 0x2e0031a0
rep movsd dword es:[edi], dword [esi]
push dword [eax + 0xc]
mov ebx, dword [ebx + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2e016b0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x2e016b0a
call fcn.2e00646e
call fcn.2e0172e2
ret 4
Function at 0x2e016fb0
Capabilities:
Read file on windows

Disassembly:
push 4
mov eax, 0x2e017fcc
call fcn.2e01720a
mov ebx, ecx
cmp byte [ebx + 0x21], 0
jne 0x2e017054
cmp dword [ebp + 8], 0x10
jne 0x2e017108
mov eax, dword [ebx + 0x84]
cmp eax, 0x10
jb 0x2e017108
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call fcn.2e004335
mov esi, dword [esi]
test esi, esi
jne 0x2e016ff7
call fcn.2e006394
push dword [ebp + 8]
lea eax, [ebx + 0x78]
push eax
push esi
call sub.MSVCR90.dll_memcpy
mov edx, dword [ebx + 0x84]
add esp, 0xc
cmp edx, dword [ebp + 8]
je 0x2e017054
mov eax, dword [ebx + 0x24]
push 5
pop ecx
lea edi, [ebx + 0x28]
mov esi, 0x2e0031a0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x14]
lea ecx, [ebx + 0x28]
push ecx
lea ecx, [ebp + 8]
push ecx
add edx, 0xfffffff0
push edx
add eax, 0x10
push eax
push esi
mov byte [ebx + 0x20], 1
mov byte [ebx + 0x21], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x2e017108
mov byte [ebx + 0x20], al
jmp 0x2e017108
lea esi, [ebx + 0x24]
mov eax, dword [esi]
test dword [eax + 4], 0x2000000
je 0x2e017097
push dword [eax + 0xc]
call fcn.2e005eb2
mov ecx, dword [esi]
push dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
push ecx
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.2e016910
cmp dword [ebp - 0x10], 0
je 0x2e0170f2
push dword [ebp - 0x10]
call fcn.2e005ed9
jmp 0x2e0170f2
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x80]
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.2e016b12
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x2e0170e5
mov eax, dword [esi]
test byte [eax + 7], 1
je 0x2e0170c7
mov edi, dword [eax]
test edi, edi
jl 0x2e0170dc
jmp 0x2e0170d7
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
test al, al
jne 0x2e0170dc
mov edi, 0x8007000d
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x2e0170f2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x2e017101
and dword [esi], 0
push eax
call fcn.2e0167d1
mov ecx, ebx
call fcn.2e0167ee
call fcn.2e0172e2
ret 4
Function at 0x10001920
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10001949
push 0
push 0
push dword [esp + 0xc]
push 0x10001870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10001949
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc

Function at 0x10007fd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084bdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.1005c8a7
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1000805b
push eax
push esi
call fcn.1005cb88
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.1005c85a
int3
Function at 0x10008a80
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084c25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xec
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
push esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push str.punjabi_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1000a950
push 3
push 0x1008e670
lea ecx, [ebp - 0x28]
call fcn.10007190
mov edx, dword [0x100a2df4]
lea ecx, [ebp - 0x40]
call fcn.10006530
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10008b0c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10007190
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10008b4e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008b44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008c75
push ecx
push edx
call fcn.1005d8d6
add esp, 8
push 4
push str..cfg
lea ecx, [ebp - 0x28]
call fcn.10007190
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf8]
cmova eax, dword [ebp - 0x28]
sub esp, 0xc
push eax
call fcn.1000a580
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ecx + 4]
cmp dword [ebp + eax - 0xec], 0
jne 0x10008bc3
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0x1008e67c
cmova eax, dword [ebp - 0x28]
push eax
call fcn.1006563f
mov esi, eax
push esi
push 1
push 0xc8
push 0x100a2d30
call fcn.10066456
push esi
call fcn.10062851
mov ecx, dword [ebp - 0xf8]
add esp, 0x1c
mov eax, dword [ecx + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xe8]
call fcn.1000a170
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xfc], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.1005ccd0
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0xf
jbe 0x10008c63
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008c59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008c7a
push ecx
push edx
call fcn.1005d8d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10062ab6
call fcn.10062ab6
int3
Function at 0x10016130
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push ebx
mov ebx, dword [0x100a5e14]
or eax, 0xffffffff
push esi
push edi
mov edi, 4
lea esi, [ebx + 4]
jmp dword [edi*4 + 0x100176ac]
Function at 0x1001e540
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1001e59e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1001e582
cmp edi, 2
jb 0x1001e582
cmp byte [esi], cl
jne 0x1001e582
cmp byte [esi + 1], cl
jne 0x1001e582
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1008ef10]
jmp 0x1001e553
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1008ef10]
test edi, edi
jne 0x1001e553
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001e5cd
cmp cl, 0x23
jne 0x1001e5b4
cmp byte [esi], cl
jne 0x1001e5b4
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1008ef10]
test cl, cl
jne 0x1001e5a5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x1001e6d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x1001e6e2
mov dword [ebx], 0
mov edx, 0x10095af0
call fcn.1001e5e0
mov esi, eax
test esi, esi
je 0x1001e7b4
push esi
call fcn.10066fd8
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x1001e7ab
push 2
push 0
push esi
call fcn.100668b4
add esp, 0xc
test eax, eax
jne 0x1001e7ab
push esi
call fcn.10066fd8
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1001e7ab
push 0
push ebp
push esi
call fcn.100668b4
add esp, 0xc
test eax, eax
jne 0x1001e7ab
mov eax, dword [0x100a5ffc]
test eax, eax
je 0x1001e74e
inc dword [eax + 0xb4]
push edi
call fcn.1006c159
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1001e7ab
push esi
push edi
push 1
push ebp
call fcn.10066456
add esp, 0x10
push esi
cmp eax, edi
je 0x1001e796
call fcn.10062851
mov eax, dword [0x100a5ffc]
add esp, 4
test eax, eax
je 0x1001e786
dec dword [eax + 0xb4]
push ebp
call fcn.100660c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.10062851
add esp, 4
test ebx, ebx
je 0x1001e7a4
mov dword [ebx], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.10062851
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x1001e930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
lea eax, [edx - 1]
push ebp
mov ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea eax, [ebx + eax*2]
mov dword [esp + 0x1c], eax
cmp ebx, eax
mov eax, dword [esp + 0x24]
jae 0x1001eb03
push esi
mov esi, dword [esp + 0x2c]
push edi
nop dword [eax]
test esi, esi
je 0x1001e96c
cmp eax, esi
jae 0x1001eafd
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x1001eafd
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x10095c68]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x1001e99d
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x1001e9b8
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x1001e9bd
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1001e9cc
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x1001e9d1
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x1001e9dc
mov ch, byte [esi]
jmp 0x1001e9de
xor ch, ch
mov ebp, dword [esp + 0x18]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x10095c88]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebp
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebp, dword [esp + 0x14]
and ecx, 0x3f
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x10095c54]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x10095c9c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebp*4 + 0x10095cb0]
mov ebp, dword [esp + 0x20]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1001eae2
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x12], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov word [ebp], si
add eax, ebx
mov esi, dword [esp + 0x30]
add ebp, 2
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x24]
jb 0x1001e960
mov ebx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1001eb13
mov dword [ecx], eax
sub ebp, ebx
sar ebp, 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1001eb20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
xor ecx, ecx
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x1001eb3d
cmp eax, ebp
jae 0x1001eca7
mov bl, byte [eax]
test bl, bl
je 0x1001eca7
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x10095c68]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], edi
sete cl
add ecx, edi
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x1001eb6e
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x1001eb87
mov bl, byte [esi]
mov byte [esp + 0x10], bl
jmp 0x1001eb8c
mov byte [esp + 0x10], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1001eb97
mov ch, byte [esi]
jmp 0x1001eb99
xor ch, ch
lea ebx, [eax + 3]
mov byte [esp + 0x12], ch
cmp ebx, edx
jae 0x1001eba8
mov bl, byte [ebx]
jmp 0x1001ebaa
xor bl, bl
mov edi, dword [edi*4 + 0x10095c88]
movzx esi, byte [esp + 0x10]
movzx edx, ch
movzx ecx, cl
and edi, ecx
mov byte [esp + 0x11], bl
shl edi, 6
mov ecx, esi
and ecx, 0x3f
movzx ebx, bl
or edi, ecx
and esi, 0xc0
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
or ebx, edx
shl edi, 6
or edi, ecx
shr ebx, 2
mov ecx, dword [esp + 0x14]
or ebx, esi
mov esi, dword [esp + 0x14]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x10095c54]
shr edi, cl
cmp edi, dword [esi*4 + 0x10095c9c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
or ebx, edx
mov edx, 0xffff
cmp edx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x10095cb0]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x1001ec97
xor edx, edx
cmp byte [esp + 0x11], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp dword [esp + 0x18], edx
cmovl edx, dword [esp + 0x18]
mov ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x1001eb2d
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x1001eb2d
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
Function at 0x10020ed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x14]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1008ef10]
sub esi, 1
jne 0x10020ef1
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e74], ebx
jne 0x10020f29
push ecx
push dword [esp + 0x18]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100329f0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4

Function at 0x10020f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1008ef10]
sub edi, 1
jne 0x10020fb1
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4

Function at 0x100246c0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x100a5ffc]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3e30]
mov edi, ecx
mov eax, dword [eax + 0x3e28]
lea ebx, [esi + eax*8]
test eax, eax
je 0x1002469e
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x10024698
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x1002469a
mov eax, edx
test eax, eax
jne 0x10024680
cmp esi, ebx
je 0x100246ad
cmp dword [esi], edi
jne 0x100246ad
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x100246fd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x100246e3
cmp byte [esi], bl
jne 0x100246e3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x1008ef10]
test bl, bl
jne 0x100246d4
pop edi
pop esi
not ecx
pop ebx
jmp 0x10024660
Function at 0x10031af0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100a5ffc]
test bl, bl
je 0x10031b39
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x10031b1f
cmp byte [esi], bl
jne 0x10031b1f
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1008ef10]
test bl, bl
jne 0x10031b10
pop ebp
mov esi, dword [edi + 0x5a24]
xor ecx, ecx
not eax
test esi, esi
jle 0x10031b5c
mov edi, dword [edi + 0x5a2c]
lea edx, [edi + 4]
cmp dword [edx], eax
je 0x10031b62
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x10031b50
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret