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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [0x101a224c]
xor edx, edx
cmp dword [ebp + 8], edx
push ebx
push esi
mov eax, dword [ecx + 0x198c]
mov esi, 4
push edi
mov dword [ebp - 0x14], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [0x101a224c]
mov edi, dword [ecx + 0x198c]
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 0x198c]
mov ebx, dword [eax + 0x1c0]
lea ecx, [eax + 0x1c0]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmovne eax, edx
mov dword [ebp - 0x10], ebx
add eax, 0x11223347
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ebx, dword [eax + ebx*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100e8778]
sub esi, 1
jne 0x1004a740
mov eax, dword [ebp - 4]
not ebx
mov ecx, dword [ebp - 0x10]
mov esi, dword [eax + 0x1c4]
cmp ecx, esi
jne 0x1004a798
inc ecx
test esi, esi
je 0x1004a77c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1004a781
mov eax, 8
mov esi, dword [ebp - 8]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10059be0
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
jmp 0x1004a79b
mov esi, dword [ebp - 8]
mov eax, dword [eax + 0x1c8]
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ecx, dword [edi + 0x1c0]
mov eax, dword [edi + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp + 8]
mov eax, str.columns
test ecx, ecx
push 0
cmovne eax, ecx
push eax
call fcn.1004f700
mov ecx, dword [0x101a224c]
mov edx, eax
add esp, 0xc
cmp dword [ecx + 0x19ac], edx
jne 0x1004a7e4
mov dword [ecx + 0x19b4], edx
cmp dword [ecx + 0x19b0], edx
jne 0x1004a7f3
mov byte [ecx + 0x19c0], 1
mov eax, dword [0x101a224c]
push edx
push edi
mov eax, dword [eax + 0x198c]
dec dword [eax + 0x1c0]
call fcn.1004de50
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x10]
add esp, 8
xorps xmm2, xmm2
mov dword [ebp - 8], ebx
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edx
mov dword [ebx + 4], ecx
movss xmm1, dword [edi + 0x34]
ucomiss xmm1, xmm2
mov dword [edi + 0x1bc], ebx
lahf
test ah, 0x44
jp 0x1004a84a
movss xmm1, dword [edi + 0x204]
subss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi + 0x1b0]
lea esi, [ebx + 0x2c]
mov eax, dword [ebp - 0x14]
movss xmm4, dword [0x100e4318]
subss xmm0, dword [eax + 0x1544]
movss dword [ebx + 0x14], xmm0
addss xmm0, xmm4
subss xmm1, dword [edi + 0x58]
maxss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov eax, dword [edi + 0xcc]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0xe0]
mov dword [ebx + 0x28], eax
movss xmm0, dword [edi + 0xcc]
movss dword [ebx + 0x20], xmm0
movss dword [ebx + 0x1c], xmm0
movss xmm0, dword [edi + 0x1b0]
addss xmm0, dword [edi + 0xc]
mov dword [edi + 0x1b8], 0
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc8], xmm0
mov ecx, dword [esi]
test ecx, ecx
je 0x1004a90e
lea eax, [edx + 1]
cmp ecx, eax
je 0x1004a90c
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1004a900
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10059c70
mov edx, dword [ebp + 0xc]
mov dword [esi], 0
mov byte [ebx + 8], 1
jmp 0x1004a91c
test ecx, ecx
sete al
mov byte [ebx + 8], al
test ecx, ecx
jne 0x1004a9e9
lea eax, [edx + 1]
mov ecx, esi
push eax
mov dword [ebp + 8], eax
call fcn.10059c70
cmp dword [ebp + 8], 0
jle 0x1004a9e1
movd xmm1, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [esi]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x14], xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov ecx, dword [esi + 4]
divss xmm0, xmm1
movss dword [ebp + 0x10], xmm0
cmp eax, ecx
jne 0x1004a98c
lea ebx, [eax + 1]
test ecx, ecx
je 0x1004a96e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004a973
mov eax, 8
cmp eax, ebx
mov ecx, esi
cmovg ebx, eax
push ebx
call fcn.10059c70
mov eax, dword [esi]
movss xmm0, dword [ebp + 0x10]
movss xmm1, dword [ebp - 0x14]
lea ecx, [eax*8]
inc edi
sub ecx, eax
mov eax, dword [esi + 8]
movss dword [eax + ecx*4], xmm0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0x7f7fffff
mov dword [eax + ecx*4 + 0x10], 0x7f7fffff
mov dword [eax + ecx*4 + 0x14], 0xff7fffff
mov dword [eax + ecx*4 + 0x18], 0xff7fffff
inc dword [esi]
mov eax, dword [esi]
cmp edi, dword [ebp + 8]
jl 0x1004a945
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
movss xmm4, dword [0x100e4318]
xor edx, edx
cmp dword [ebp + 0xc], edx
jle 0x1004ab0c
movss xmm5, dword [0x100e4310]
xor eax, eax
mov dword [ebp - 0x24], 0xff7fffff
mov dword [ebp - 0x1c], 0x7f7fffff
mov dword [ebp + 0x10], eax
nop
mov ecx, dword [ebx + 0x34]
add ecx, eax
movss xmm2, dword [edi + 0xc]
mov eax, dword [0x101a224c]
addss xmm2, xmm5
mov eax, dword [eax + 0x198c]
mov esi, dword [eax + 0x1bc]
lea eax, [edx*8]
sub eax, edx
add edx, 1
mov dword [ebp + 8], edx
movss xmm3, dword [esi + 0x14]
movss xmm1, dword [esi + 0x18]
mov ebx, dword [esi + 0x34]
subss xmm1, xmm3
movaps xmm0, xmm1
mulss xmm0, dword [ebx + eax*4]
mov ebx, dword [ebp - 8]
addss xmm0, xmm3
addss xmm0, xmm2
subss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
jns 0x1004aa7b
mov eax, dword [esi + 0xc]
mov dword [ebp + 8], eax
mov esi, dword [esi + 0x34]
shl eax, 3
sub eax, dword [ebp + 8]
movss dword [ebp - 0x28], xmm0
mulss xmm1, dword [esi + eax*4]
addss xmm1, xmm3
addss xmm1, xmm2
subss xmm1, xmm4
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
add eax, 0x1c
mov dword [ebp + 0x10], eax
movss dword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ecx + 0xc], xmm0
movss xmm1, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x10]
maxss xmm1, dword [edi + 0x1cc]
maxss xmm0, dword [edi + 0x1d0]
movss dword [ecx + 0xc], xmm1
movss dword [ecx + 0x10], xmm0
movss xmm1, dword [ecx + 0x14]
movss xmm0, dword [ecx + 0x18]
minss xmm1, dword [edi + 0x1d4]
minss xmm0, dword [edi + 0x1d8]
movss dword [ecx + 0x14], xmm1
movss dword [ecx + 0x18], xmm0
cmp edx, dword [ebp + 0xc]
jl 0x1004aa10
push dword [ebx + 0x10]
mov ecx, dword [edi + 0x274]
call fcn.1005cdd0
mov edx, dword [0x101a224c]
push 0
mov eax, dword [edx + 0x198c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x34]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [edx + 0x198c]
mov byte [eax + 0x7c], 1
push dword [ecx + esi*4 + 0x18]
mov edi, dword [edx + 0x198c]
push dword [ecx + esi*4 + 0x14]
push dword [ecx + esi*4 + 0x10]
push dword [ecx + esi*4 + 0xc]
mov ecx, dword [edi + 0x274]
call fcn.1005f600
mov eax, dword [edi + 0x274]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x1cc], eax
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm1
movss dword [edi + 0x1d8], xmm2
mov esi, dword [0x101a224c]
mov eax, dword [esi + 0x198c]
mov edx, dword [eax + 0x1bc]
mov eax, dword [edx + 0xc]
movss xmm1, dword [edx + 0x18]
subss xmm1, dword [edx + 0x14]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0x34]
movss xmm0, dword [eax + ecx*4 + 0x1c]
subss xmm0, dword [eax + ecx*4]
mov eax, dword [esi + 0x198c]
mulss xmm1, xmm0
mov byte [eax + 0x7c], 1
mov ebx, dword [esi + 0x198c]
mulss xmm1, dword [0x100e8e58]
ucomiss xmm1, dword [0x100e42f0]
lahf
test ah, 0x44
jp 0x1004ac11
movss xmm1, dword [ebx + 0x220]
lea esi, [ebx + 0x180]
movss dword [ebx + 0x16c], xmm1
mov edi, dword [esi + 4]
mov edx, dword [esi]
cmp edx, edi
jne 0x1004ac4e
lea ecx, [edx + 1]
test edi, edi
je 0x1004ac3a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1004ac3f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10059be0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [ebx + 0x16c]
pop edi
mov dword [ecx + edx*4], eax
inc dword [esi]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret