joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100093b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, dword [0x100a90ec]
test eax, eax
je 0x100093f8
cmp byte [eax], 0xe9
jne 0x100093f8
lea ecx, [esp]
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x100a90ec]
mov eax, dword [ecx + 1]
mov dword [0x100a90ac], eax
mov eax, dword [0x100a78ec]
mov byte [ecx], 0xb8
mov dword [ecx + 1], eax
lea eax, [esp]
push eax
push dword [esp + 4]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x10009400
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, dword [0x100a90ec]
test eax, eax
je 0x10009444
cmp dword [0x100a90ac], 0
je 0x10009444
lea ecx, [esp]
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x100a90ec]
mov eax, dword [0x100a90ac]
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [esp]
push eax
push dword [esp + 4]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x10009450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp byte [0x100a94fc], 0
jne 0x10009494
mov eax, dword [0x100a94e8]
test eax, eax
je 0x10009494
push eax
push dword [0x100a94dc]
push 0x100a94ec
call fcn.1004cf20
push dword [0x100a94e8]
mov edx, dword [0x100a94e0]
mov ecx, dword [0x100a94dc]
call fcn.100026b0
add esp, 0x10
mov byte [0x100a94fc], 1
mov ecx, 0x100a9524
jmp fcn.10007790

Function at 0x100094a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x100a8c04], 0
jne 0x10009574
cmp byte [0x100a8c00], 0
jne 0x10009574
cmp byte [0x100a8c07], 0
jne 0x10009574
cmp byte [0x100a8c06], 0
jne 0x10009574
cmp byte [0x100a8c03], 0
jne 0x10009574
cmp byte [0x100a94fc], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x1000952e
mov esi, dword [0x100a94e8]
lea eax, [esp + 0xc]
mov edi, dword [0x100a94dc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100a94ec
push edi
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100a94fc], 0
cmp byte [0x100a9544], 0
je 0x10009571
mov esi, dword [0x100a9530]
lea eax, [esp + 0xc]
mov edi, dword [0x100a9524]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100a9534
push edi
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100a9544], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10009f10
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push eax
push 0x10009a70
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100a9100], eax
call fcn.10015980
mov esi, dword [0x100a93dc]
mov edi, eax
mov eax, dword [edi + 0x5a94]
test eax, eax
je 0x10009f87
mov dword [edi + 0x5a90], 0
mov dword [edi + 0x5a8c], 0
test esi, esi
je 0x10009f74
dec dword [esi + 0xb0]
push eax
call fcn.100542ab
add esp, 4
mov dword [edi + 0x5a94], 0
call fcn.10001e10
call fcn.10001280
push ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0x20], eax
push ecx
mov ecx, eax
mov dword [esp + 0x14], 0
call fcn.10013fe0
mov esi, eax
add esp, 8
test esi, esi
je 0x10009fd9
mov edx, dword [esp + 0xc]
test edx, edx
je 0x10009fc1
mov ecx, esi
call fcn.10027850
mov eax, dword [0x100a93dc]
test eax, eax
je 0x10009fd0
dec dword [eax + 0xb0]
push esi
call fcn.100542ab
add esp, 4
call fcn.10009b40
call fcn.10009e70
mov ecx, dword [0x100a9138]
call fcn.10048d70
call fcn.10047c90
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d2c0
Capabilities:
Create thread

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

Function at 0x1000e0f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100a9688], 0
je 0x1000e140
push ebx
mov ebx, dword [0x100a9668]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100a9674]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100a9678
push ebx
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100a9688], 0
pop ebx
pop ecx
ret

Function at 0x1000e180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.100094a0
cmp byte [0x100a96ac], 0
je 0x1000e1d5
push ebx
mov ebx, dword [0x100a968c]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100a9698]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100a969c
push ebx
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100a96ac], 0
pop ebx
pop ecx
ret

Function at 0x1000e9b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.100094a0
cmp byte [0x100a96d4], 0
je 0x1000ea05
push ebx
mov ebx, dword [0x100a96b4]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100a96c0]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100a96c4
push ebx
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100a96d4], 0
pop ebx
pop ecx
ret

Function at 0x1000ea80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100a96f8], 0
je 0x1000ead0
push ebx
mov ebx, dword [0x100a96d8]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100a96e4]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100a96e8
push ebx
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100a96f8], 0
pop ebx
pop ecx
ret
Function at 0x1000ebc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x100a9764], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x1000ec0d
mov esi, dword [0x100a9750]
lea eax, [esp + 0xc]
mov edi, dword [0x100a9744]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100a9754
push edi
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100a9764], 0
cmp byte [0x100a9740], 0
je 0x1000ec50
mov esi, dword [0x100a972c]
lea eax, [esp + 0xc]
mov edi, dword [0x100a9720]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100a9730
push edi
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100a9740], 0
cmp byte [0x100a971c], 0
je 0x1000ec93
mov esi, dword [0x100a9708]
lea eax, [esp + 0xc]
mov edi, dword [0x100a96fc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100a970c
push edi
call fcn.1004cf20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100a971c], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1000f130
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069bc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x14], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x1000f284
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x14]
jle 0x1000f284
mov eax, dword [0x100a93dc]
test eax, eax
je 0x1000f22e
inc dword [eax + 0xb0]
lea eax, [ecx*4]
push eax
call fcn.100542c6
mov edx, dword [edi + 0x18]
add esp, 4
mov dword [ebp - 0x10], eax
test edx, edx
je 0x1000f27b
mov ecx, dword [edi + 0x10]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1004cf20
mov ecx, dword [edi + 0x18]
add esp, 0xc
test ecx, ecx
je 0x1000f26f
mov eax, dword [0x100a93dc]
test eax, eax
je 0x1000f26f
dec dword [eax + 0xb0]
push ecx
call fcn.100542ab
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013e40
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 0x10013e9e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10013e82
cmp edi, 2
jb 0x10013e82
cmp byte [esi], cl
jne 0x10013e82
cmp byte [esi + 1], cl
jne 0x10013e82
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10095e20]
jmp 0x10013e53
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10095e20]
test edi, edi
jne 0x10013e53
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10013ecd
cmp cl, 0x23
jne 0x10013eb4
cmp byte [esi], cl
jne 0x10013eb4
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 + 0x10095e20]
test cl, cl
jne 0x10013ea5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x10013fe0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x10013ff2
mov dword [ebx], 0
mov edx, 0x1009c4fc
call fcn.10013ee0
mov esi, eax
test esi, esi
je 0x100140c4
push esi
call fcn.10054917
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x100140bb
push 2
push 0
push esi
call fcn.10055234
add esp, 0xc
test eax, eax
jne 0x100140bb
push esi
call fcn.10054917
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100140bb
push 0
push ebp
push esi
call fcn.10055234
add esp, 0xc
test eax, eax
jne 0x100140bb
mov eax, dword [0x100a93dc]
test eax, eax
je 0x1001405e
inc dword [eax + 0xb0]
push edi
call fcn.100542c6
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x100140bb
push esi
push edi
push 1
push ebp
call fcn.100579a9
add esp, 0x10
push esi
cmp eax, edi
je 0x100140a6
call fcn.10054f1b
mov eax, dword [0x100a93dc]
add esp, 4
test eax, eax
je 0x10014096
dec dword [eax + 0xb0]
push ebp
call fcn.100542ab
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.10054f1b
add esp, 4
test ebx, ebx
je 0x100140b4
mov dword [ebx], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.10054f1b
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x10014230
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 0x10014403
push esi
mov esi, dword [esp + 0x2c]
push edi
nop dword [eax]
test esi, esi
je 0x1001426c
cmp eax, esi
jae 0x100143fd
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x100143fd
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x1009c668]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x1001429d
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 0x100142b8
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x100142bd
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x100142cc
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x100142d1
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x100142dc
mov ch, byte [esi]
jmp 0x100142de
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 + 0x1009c688]
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 + 0x1009c654]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x1009c69c]
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 + 0x1009c6b0]
mov ebp, dword [esp + 0x20]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100143e2
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 0x10014260
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 0x10014413
mov dword [ecx], eax
sub ebp, ebx
sar ebp, 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10014420
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 0x1001443d
cmp eax, ebp
jae 0x100145a7
mov bl, byte [eax]
test bl, bl
je 0x100145a7
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x1009c668]
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 0x1001446e
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 0x10014487
mov bl, byte [esi]
mov byte [esp + 0x10], bl
jmp 0x1001448c
mov byte [esp + 0x10], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10014497
mov ch, byte [esi]
jmp 0x10014499
xor ch, ch
lea ebx, [eax + 3]
mov byte [esp + 0x12], ch
cmp ebx, edx
jae 0x100144a8
mov bl, byte [ebx]
jmp 0x100144aa
xor bl, bl
mov edi, dword [edi*4 + 0x1009c688]
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 + 0x1009c654]
shr edi, cl
cmp edi, dword [esi*4 + 0x1009c69c]
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 + 0x1009c6b0]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x10014597
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 0x1001442d
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x1001442d
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
Function at 0x10016520
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 + 0x10095e20]
sub esi, 1
jne 0x10016541
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x10016579
push ecx
push dword [esp + 0x18]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10028770
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4

Function at 0x10016590
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 + 0x10095e20]
sub edi, 1
jne 0x10016601
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x10019930
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [0x100a93dc]
mov ebx, edx
mov edx, ecx
mov dword [esp + 0x18], ebx
push edi
mov ebp, dword [esi + 0x3e60]
mov ecx, ebp
cmp dword [ebp + 0x190], 0
jne 0x10019964
cmp dword [esi + 0x4a28], 0
mov eax, 0x228
je 0x10019969
mov eax, 0x1f8
movss xmm4, dword [eax + ebp]
xorps xmm3, xmm3
movss xmm5, dword [eax + ebp + 4]
mov edi, 1
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [0x1009d744]
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
cmovnp ecx, edi
mov edi, 2
ucomiss xmm0, xmm3
lahf
test ah, 0x44
mov eax, 0
cmovnp eax, edi
or eax, ecx
comiss xmm3, xmm1
mov dword [esp + 0x18], eax
jb 0x100199e6
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x100199e6
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x100199f7
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x100199f7
movaps xmm0, xmm2
or dword [esi + 0x4714], edi
movss dword [esi + 0x4734], xmm1
movss dword [esi + 0x4738], xmm0
mov dword [esi + 0x471c], 1
mov eax, dword [ebp + 4]
push ebx
test edx, edx
je 0x10019a37
push edx
push eax
push str._s__s__08X
lea eax, [esp + 0x34]
push 0
push eax
call fcn.10013da0
add esp, 0x18
jmp 0x10019a4c
push eax
push str._s__08X
lea eax, [esp + 0x30]
push 0
push eax
call fcn.10013da0
add esp, 0x14
movss xmm0, dword [esi + 0x37b8]
xor edx, edx
mov ecx, dword [esp + 0x24]
push 0x1000107
movss dword [esp + 0x18], xmm0
call fcn.1001c150
mov edi, dword [esi + 0x3e60]
add esp, 4
movss xmm0, dword [esp + 0x14]
movss dword [esi + 0x37b8], xmm0
mov byte [esp + 0x24], al
cmp word [edi + 0xb6], 1
mov eax, dword [esp + 0x18]
mov dword [edi + 0x74], ebx
mov byte [edi + 0xc6], al
jne 0x10019aae
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebp + 0xf0], ecx
mov dword [ebp + 0xf4], eax
mov ebp, ebx
mov edx, 0x1009bad1
not ebp
mov al, 0x23
mov ebx, ebp
nop dword [eax + eax]
cmp al, 0x23
jne 0x10019ace
cmp byte [edx], al
jne 0x10019ace
cmp byte [edx + 1], al
cmove ebx, ebp
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10095e20]
test al, al
jne 0x10019ac0
not ebx
cmp dword [esi + 0x3eac], ebx
jne 0x10019afa
xor edx, edx
xor ecx, ecx
call fcn.10016630
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x47fc], eax
jne 0x10019b40
cmp word [edi + 0x14c], 0
jne 0x10019b19
cmp byte [edi + 0x152], 0
je 0x10019b40
xor edx, edx
mov ecx, edi
call fcn.1001e890
xor dl, dl
mov ecx, edi
call fcn.100243b0
mov edx, edi
mov ecx, ebx
call fcn.10016630
mov eax, dword [esi + 0x4820]
mov dword [esi + 0x3ecc], eax
mov al, byte [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10019db0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x100a93dc]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3e50]
mov edi, ecx
mov eax, dword [eax + 0x3e48]
lea ebx, [esi + eax*8]
test eax, eax
je 0x10019d8e
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x10019d88
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x10019d8a
mov eax, edx
test eax, eax
jne 0x10019d70
cmp esi, ebx
je 0x10019d9d
cmp dword [esi], edi
jne 0x10019d9d
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 0x10019ded
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10019dd3
cmp byte [esi], bl
jne 0x10019dd3
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 + 0x10095e20]
test bl, bl
jne 0x10019dc4
pop edi
pop esi
not ecx
pop ebx
jmp 0x10019d50
Function at 0x10027780
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 [0x100a93dc]
test bl, bl
je 0x100277c9
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x100277af
cmp byte [esi], bl
jne 0x100277af
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 + 0x10095e20]
test bl, bl
jne 0x100277a0
pop ebp
mov ecx, dword [edi + 0x5a8c]
not eax
mov edx, dword [edi + 0x5a94]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x100277f0
cmp dword [edx + 4], eax
je 0x100277f3
add edx, 0x24
cmp edx, ecx
jne 0x100277e4
xor eax, eax
ret
mov eax, edx
ret