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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1004d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1005b8d8]
mov ebx, ecx
push edi
cmp byte [esi + 0x482b], 0
mov edi, dword [esi + 0x3e60]
je 0x10006643
cmp byte [esi + 0x482a], 0
jne 0x10006643
test ebx, 0x800
jne 0x10006643
test byte [esi + 0x46dc], 4
je 0x10006610
test ebx, 0x400
je 0x10006890
mov eax, dword [esi + 0x47f4]
lea edx, [esi + 0x46d8]
cmp eax, dword [edx]
jne 0x10006890
test eax, eax
je 0x10006890
test ebx, 0x1000
je 0x1000675c
or ebx, dword [esi + 0x3bc4]
jmp 0x1000675c
mov eax, dword [esi + 0x46e0]
test al, 1
je 0x10006890
test ebx, 0x1000
je 0x1000665f
or ebx, dword [esi + 0x3bc0]
cmp dword [esi + 0x3e64], edi
je 0x10006677
test al, al
js 0x10006677
test ebx, 0x200
je 0x10006890
mov edx, dword [esi + 0x46d8]
test bl, bl
js 0x100066a1
mov eax, dword [esi + 0x3eac]
test eax, eax
je 0x100066a1
cmp eax, edx
je 0x100066a1
cmp byte [esi + 0x3eb9], 0
jne 0x100066a1
cmp eax, dword [edi + 0x70]
jne 0x10006890
mov ecx, dword [esi + 0x47f0]
test ecx, ecx
je 0x10006705
mov ecx, dword [ecx + 0x300]
test ecx, ecx
je 0x10006705
cmp byte [ecx + 0xab], 0
je 0x10006705
mov eax, dword [edi + 0x300]
cmp ecx, eax
je 0x10006705
test dword [ecx + 0xc], 0x8000000
jne 0x100066df
test dword [ecx + 0xc], 0x4000000
je 0x10006705
test bl, 0x20
jne 0x10006705
cmp dword [eax + 0x300], ecx
je 0x10006705
cmp eax, ecx
je 0x10006705
mov eax, dword [eax + 0x2fc]
test eax, eax
jne 0x100066e7
test dword [esi + 0x46dc], 0x100
je 0x10006890
mov ecx, dword [esi + 0x46dc]
test cl, 4
je 0x1000671c
test ebx, 0x400
je 0x10006890
cmp edx, dword [edi + 0x70]
jne 0x1000672e
cmp byte [edi + 0xac], 0
jne 0x10006890
lea eax, [esi + 0x46d8]
mov edx, eax
test ecx, 0x200
je 0x1000675c
mov ecx, dword [esi + 0x46d8]
test ecx, ecx
je 0x1000675c
test ebx, 0x100
jne 0x1000675c
cmp dword [esi + 0x3e9c], ecx
jne 0x10006890
test ebx, 0x8000
je 0x1000676e
movss xmm3, dword [esi + 0x3bb8]
jmp 0x1000677e
test ebx, 0x10000
je 0x10006788
movss xmm3, dword [esi + 0x3bbc]
xorps xmm0, xmm0
comiss xmm3, xmm0
ja 0x10006797
jmp 0x1000678b
xorps xmm3, xmm3
test ebx, 0x2000
je 0x1000687d
mov edx, dword [edx]
test edx, edx
jne 0x10006832
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [esi + 0x46e4]
movss xmm2, dword [edi + 0x104]
subss xmm0, xmm1
mov ecx, dword [edi + 0xe4]
mov eax, dword [edi + 0xec]
lea edi, [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x46e8]
mov edx, dword [eax + ecx*4 - 4]
subss xmm0, xmm2
not edx
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi + 0x46ec]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0x46f0]
mov esi, 0x10
subss xmm0, xmm2
movss dword [ebp - 8], xmm0
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10044448]
sub esi, 1
jne 0x10006810
mov esi, dword [0x1005b8d8]
not edx
test ebx, 0x20000
je 0x1000684c
cmp dword [esi + 0x4ab4], edx
je 0x1000684c
mov dword [esi + 0x4ab8], 0
mov dword [esi + 0x4ab0], edx
test ebx, 0x2000
je 0x10006862
cmp dword [esi + 0x4ac0], edx
jne 0x10006890
comiss xmm3, dword [esi + 0x4ab8]
setbe al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040c7b
mov esp, ebp
pop ebp
ret
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040c7b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10040c7b
mov esp, ebp
pop ebp
ret