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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, edx
mov dword [esp + 0x14], ecx
push ebp
mov eax, ebx
mov ecx, ebx
and eax, 0x6000000
and ecx, 0x10002
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
push esi
push edi
test eax, eax
je 0x1006a93b
test ecx, ecx
jne 0x1006ad2f
mov ecx, dword [0x1020f198]
mov eax, dword [ecx + 0x4a08]
cmp eax, dword [ecx + 0x4a14]
jg 0x1006a96c
mov dword [ecx + 0x4954], 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10109e3a
add esp, 0x3c
ret
mov eax, dword [ecx + 0x3f8c]
xor edx, edx
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10033cd0
add esp, 4
mov ecx, eax
call fcn.10043ee0
test al, al
je 0x1006ad2f
mov esi, dword [0x1020f198]
mov ebp, esi
mov eax, dword [esp + 0x18]
mov edi, ebp
movss xmm3, dword [0x101f4f54]
inc word [ebp + 0x5d1e]
test eax, eax
jne 0x1006ac54
movss xmm1, dword [ebp + 0x38e8]
movss xmm0, dword [ebp + 0x3cf4]
addss xmm1, xmm1
mov esi, dword [ebp + 0x3f8c]
movaps xmm2, xmm0
mulss xmm2, dword [0x101f4fc8]
addss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm2
lea edi, [esi + 0x1ac]
movss dword [esp + 0x28], xmm2
push edi
lea ecx, [esi + 0x1b4]
addss xmm1, dword [ebp + 0x38fc]
subss xmm0, xmm1
maxss xmm0, xmm3
movss dword [esp + 0x30], xmm0
call fcn.1004a1e0
movss xmm0, dword [esp + 0x14]
ucomiss xmm0, dword [0x101f4e98]
lahf
test ah, 0x44
jp 0x1006aa40
movss xmm0, dword [esi + 0x24c]
mov esi, dword [0x1020f198]
movss dword [edi], xmm0
xor edi, edi
and dword [ebp + 0x48e8], 0xfffffffe
and ebx, 2
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
nop
test edi, edi
je 0x1006aaa7
mov eax, dword [esi + 0x3f8c]
cmp byte [eax + 0xb3], 0
jne 0x1006aaa7
mov edx, dword [eax + 0x1a0]
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
cmp dword [eax + 0x198], 0
je 0x1006aa94
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x101f4f54]
call fcn.1005d520
mov esi, dword [0x1020f198]
mov ebx, dword [esi + 0x3f8c]
lea esi, [esp + 0x30]
mov dword [esp + 0x30], edi
mov edi, 4
mov ecx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xf4]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101ef4a0]
sub edi, 1
jne 0x1006aad0
lea eax, [esp + 0x30]
not edx
push eax
lea ecx, [ebx + 0xec]
mov dword [esp + 0x34], edx
call fcn.1004a1e0
mov edi, dword [esp + 0x14]
mov ebx, 0x20001a8
test edi, edi
mov eax, 0x1a8
cmovne ebx, eax
or ebx, dword [esp + 0x1c]
cmp edi, 1
jne 0x1006ab22
or ebx, 0x4000000
mov eax, dword [0x1020f198]
xor dl, dl
mov ecx, str.selectable
mov eax, dword [eax + 0x3f8c]
movss xmm0, dword [eax + 0xf8]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0xfc]
lea eax, [esp + 0x28]
push eax
push 0
movss dword [esp + 0x1c], xmm0
call fcn.1006bdb0
add esp, 8
test al, al
je 0x1006ab78
mov eax, dword [ebp + 0x5c94]
xor eax, ebx
and eax, 0xf9ffffff
xor eax, ebx
mov dword [ebp + 0x5c94], eax
mov ecx, dword [0x1020f198]
test bl, 2
movss xmm0, dword [esp + 0x30]
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [eax + 0xfc], xmm0
xorps xmm0, xmm0
mov byte [eax + 0x139], 1
mov eax, 0
sete al
movups xmmword [esp + 0x34], xmm0
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
call fcn.1010c860
add esp, 0xc
lea edx, [esp + 0x34]
mov ecx, str.previewing_picker
push 0
push ebx
call fcn.10067120
mov esi, dword [0x1020f198]
inc edi
add esp, 8
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x3f8c]
dec dword [eax + 0xec]
cmp edi, 2
jl 0x1006aa60
movss xmm3, dword [0x101f4f54]
mov edi, esi
mov eax, dword [edi + 0x3f8c]
mov byte [eax + 0xb0], 1
mov edx, dword [edi + 0x3f8c]
mov ecx, dword [edx + 0x1b4]
mov eax, dword [edx + 0x1bc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ac], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b4], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x24], 0
jne 0x1006acda
test eax, eax
jne 0x1006ac97
mov eax, dword [edi + 0x3f8c]
cmp byte [eax + 0xb3], 0
jne 0x1006ac97
mov edx, dword [eax + 0x1a0]
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
cmp dword [eax + 0x198], 0
je 0x1006ac8f
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 6
movaps xmm1, xmm3
call fcn.1005d520
mov al, byte [ebp + 0x5c96]
lea edx, [esp + 0x13]
and al, 1
mov ecx, str.Alpha_Bar
mov byte [esp + 0x13], al
call fcn.1005cb10
mov esi, dword [0x1020f198]
test al, al
je 0x1006acda
cmp byte [esp + 0x13], 0
mov eax, dword [ebp + 0x5c94]
je 0x1006accf
or eax, 0x10000
jmp 0x1006acd4
and eax, 0xfffeffff
mov dword [ebp + 0x5c94], eax
mov ecx, dword [esi + 0x3f8c]
cmp dword [esi + 0x4a38], ecx
jne 0x1006ad0c
cmp byte [esi + 0x4ad1], 0
je 0x1006ad0c
cmp dword [esi + 0x4a80], 0
jne 0x1006ad0c
mov eax, dword [esi + 0x4ad4]
and eax, 0xfffffff2
or eax, 2
mov dword [esi + 0x4ad4], eax
test dword [ecx + 0xc], 0x1000000
je 0x1006ad1c
mov byte [esi + 0x3f16], 1
call fcn.1003fa20
mov byte [esi + 0x3f16], 0
dec word [ebp + 0x5d1e]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10109e3a
add esp, 0x3c
ret