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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp ebx, edi
jne 0x46de52
push 0xffffffffffffff9a
pop eax
jmp 0x46e054
cmp dword [ebx + 0x38], edi
je 0x46de4a
cmp dword [ebx + 0x9c], edi
je 0x46de65
push ebx
call fcn.0046e28c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.0046dc64
add esp, 0xc
test eax, eax
je 0x46de83
push 0xffffffffffffff99
jmp 0x46de4c
push esi
push 0x90
call fcn.004f8733
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x46dfeb
push 0x4000
call fcn.004f8733
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x8c], edi
cmp eax, edi
jne 0x46ded3
push 0xffffffffffffff98
pop edi
push esi
call fcn.004f8474
pop ecx
mov eax, edi
jmp 0x46e053
mov dword [esi + 0x40], edi
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x80], eax
lea edi, [esi + 0x60]
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [edi + 0x88], eax
mov dword [edi + 0x18], ecx
cmp dword [ebx + 0x54], 8
jne 0x46df39
lea esi, [edi + 4]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [esi], ecx
mov dword [edi + 8], ecx
call fcn.0046fb49
test eax, eax
jne 0x46dff0
mov dword [edi + 0x40], 1
xor ecx, ecx
mov eax, dword [ebx + 0x60]
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x98]
lea eax, [eax + edx + 0x1e]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
mov dword [ebx + 0x9c], edi
cmp eax, ecx
je 0x46e051
lea esi, [ebx + 0xa4]
mov edi, 0x551798
mov dword [ebx + 0xb0], edi
mov dword [ebp - 0x14], eax
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
mov al, byte [eax]
test al, al
je 0x46dfb3
movsx eax, al
push eax
mov ecx, esi
call fcn.0046c6f6
add esp, 4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
jne 0x46df97
xor ecx, ecx
mov eax, dword [ebx + 0x9c]
push ecx
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
push ecx
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x10
test eax, eax
jne 0x46dfeb
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 4]
add esp, 0x10
cmp eax, 0xc
jae 0x46dffa
push 0xffffffffffffff98
pop eax
jmp 0x46e053
mov esi, dword [ebp - 0x14]
mov edi, eax
jmp 0x46dec5
and dword [ebp - 0x14], 0
mov eax, dword [ebx + 0xac]
mov edi, dword [ebp - 0x14]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
lea edi, [ebp + edi - 0x10]
shr ecx, 8
xor byte [edi], cl
movsx eax, byte [edi]
mov edi, dword [ebx + 0xb0]
push eax
mov ecx, esi
call fcn.0046c6f6
add esp, 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jl 0x46dffe
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004f4e9c
leave
ret 4