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

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 0x10197258
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov edi, dword [ebx + 0xc]
or esi, 0xffffffff
xor ecx, ecx
mov dword [ebp - 4], 0
test edi, edi
je 0x1006451f
mov edx, dword [ebx + 8]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x101d5f58]
cmp ecx, edi
jb 0x10064507
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x60]
call fcn.10046cb0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1013ca30
lea ecx, [ebp - 0x30]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 3
add eax, 0x20
cmp dword [ebp - 0x48], 0xf
push dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call fcn.10047890
lea ecx, [ebp - 0x60]
call fcn.100477d0
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x60], 0
call fcn.1013c8d0
add esp, 8
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x40]
mov ecx, dword [edi + 8]
cmp ecx, dword [edi + 0xc]
je 0x1006466e
mov eax, dword [ebp - 0x3c]
lea esi, [ecx + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
push 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.1013ca30
add esp, 4
mov ecx, esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [ebp - 0x30]
push eax
call fcn.10047a50
mov esi, dword [edi + 8]
lea ecx, [ebp - 0x40]
push 3
call fcn.10139310
mov edx, dword [edi]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x10064660
mov ecx, eax
nop word [eax + eax]
cmp dword [eax + 8], esi
jb 0x10064654
ja 0x10064654
mov eax, dword [ecx + 4]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x1006465a
mov eax, dword [ecx + 4]
lea edx, [ecx + 4]
mov ecx, eax
test eax, eax
jne 0x10064640
lea ecx, [ebp - 0x40]
call fcn.101393c0
add dword [edi + 8], 0x28
jmp 0x1006467a
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, edi
call fcn.10064880
lea ecx, [ebp - 0x30]
call fcn.100477d0
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.1013c8d0
add esp, 8
lea ecx, [ebx + 0x10]
call fcn.100477d0
mov eax, dword [ebx + 0x10]
push 8
push eax
mov dword [ebx + 0x10], 0
call fcn.1013c8d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x24