Function at 0x1000a9f0
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 0x10048d99
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x10059040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
push 0x48
call fcn.1002965b
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
lea eax, [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.100464ae
push 0xb8
mov byte [ebp - 4], 1
call fcn.1002965b
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0xb8
push 0
push eax
mov byte [ebp - 4], 2
call fcn.1002b2b0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0xf
jbe 0x1000aab9
mov eax, dword [edi]
mov ecx, dword [ebp - 0x18]
sub esp, 0xc
push eax
call fcn.1000e410
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x1005415c
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 1
lea eax, [ecx - 0x70]
mov dword [edx + ecx - 4], eax
mov dword [esi + 0x40], edx
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp dword [edx + 0x5c], 0
je 0x1000ab6f
push 2
push 0
push 0
mov ecx, edx
call fcn.1000d0c0
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x38]
push eax
call fcn.1000cfc0
push 0
push 0
push 0
mov edx, dword [eax + 8]
add edx, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
call fcn.1000d0c0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x1000ab44
mov edi, dword [edi]
or ecx, 0xffffffff
xor edx, edx
test eax, eax
jle 0x1000ab6b
mov esi, eax
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10052160]
cmp edx, esi
jl 0x1000ab50
mov esi, dword [ebp - 0x5c]
not ecx
mov dword [esi], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], esi
cmp dword [esi], 0
je 0x1000ad8f
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x1000ad8f
mov ecx, dword [esi + 0x40]
cmp dword [ecx + 0x5c], 0
je 0x1000ad8f
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], 0
push eax
call fcn.1000cfc0
mov ecx, dword [esi + 0x40]
push 0
push 0
push 0
call fcn.1000d0c0
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x18]
push 0
push 4
push eax
call fcn.1000d200
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 0x34]
mov ecx, dword [esi + 0x40]
push 0
push eax
push edx
call fcn.1000d0c0
cmp dword [ebp - 0x18], 0x32304b50
jne 0x1000ad8c
mov eax, dword [ebp - 0x3c]
push 0
push 0
push 4
mov ecx, dword [eax + 0x40]
call fcn.1000d0c0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x20]
push 0
xorps xmm0, xmm0
push 8
movlpd qword [ebp - 0x20], xmm0
push ecx
mov ecx, dword [eax + 0x40]
call fcn.1000d200
mov eax, dword [ebp - 0x3c]
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov ecx, dword [eax + 0x40]
call fcn.1000d0c0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x58]
push eax
call fcn.1000a240
mov dword [ebp - 4], 5
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
mov esi, dword [ebp - 0x48]
cmova edx, dword [ebp - 0x58]
cmp esi, 1
jne 0x1000ad26
mov ecx, 0x1005203c
sub esi, 4
jb 0x1000ac72
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1000ac77
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1000ac61
cmp esi, 0xfffffffc
je 0x1000acab
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1000aca4
cmp esi, 0xfffffffd
je 0x1000acab
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1000aca4
cmp esi, 0xfffffffe
je 0x1000acab
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1000aca4
cmp esi, 0xffffffff
je 0x1000acab
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1000acab
sbb eax, eax
or eax, 1
jmp 0x1000acad
xor eax, eax
test eax, eax
jne 0x1000ad26
mov eax, dword [ebp - 0x40]
mov edi, dword [eax + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x1000acef
nop dword [eax]
sub esp, 0x1c
lea ecx, [esi + 8]
mov eax, esp
mov dword [ebp - 0x5c], eax
push ecx
mov ecx, eax
call fcn.10003620
mov ecx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x18], eax
mov ecx, 0x1005b110
call fcn.10009ff0
mov esi, dword [esi]
cmp esi, edi
jne 0x1000acc0
mov eax, dword [ebp - 0x40]
mov edi, dword [eax + 0x24]
mov esi, dword [edi]
cmp esi, edi
je 0x1000ad49
sub esp, 0x1c
lea ecx, [esi + 8]
mov eax, esp
mov dword [ebp - 0x5c], eax
push ecx
mov ecx, eax
call fcn.10003620
mov ecx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x18], eax
mov ecx, 0x1005b110
call fcn.1000a150
mov esi, dword [esi]
cmp esi, edi
jne 0x1000acf8
jmp 0x1000ad49
sub esp, 0x1c
lea eax, [ebp - 0x58]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x5c], esi
push eax
call fcn.10003620
mov eax, dword [ebp - 0x40]
mov ecx, 0x1005b110
mov dword [esi + 0x18], eax
call fcn.10009ff0
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push eax
call fcn.1000fee0
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x1000adfe
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000ad89
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae1e
push ecx
jmp 0x1000adf5
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x1000adfe
mov dword [ebp - 4], 3
mov eax, dword [esi + 0x40]
cmp dword [eax + 0x5c], 0
je 0x1000add2
mov edi, eax
lea ecx, [edi + 0x10]
call fcn.1000e330
test eax, eax
jne 0x1000add2
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, edi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.100025b0
lea eax, [esi + 0x10]
mov dword [esi + 8], 0
push eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
call fcn.1000da40
add esp, 4
push 0x48
push esi
call fcn.100299a5
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.10029593
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10030684
int3