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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56adc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
cmp esi, edi
jne 0x4b2fd2
push 0xffffffffffffff9a
pop eax
jmp 0x4b325d
mov eax, dword [esi + 0x68]
or eax, dword [esi + 0x6c]
je 0x4b2fca
cmp dword [esi + 0xe8], edi
je 0x4b2fe8
push esi
call fcn.004b352d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.004b2da8
add esp, 0xc
test eax, eax
je 0x4b3006
push 0xffffffffffffff99
jmp 0x4b2fcc
push 0xd8
call fcn.004f90e1
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x4b301b
push 0xffffffffffffff98
jmp 0x4b2fcc
push 0x4000
call fcn.004f90e1
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x50], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0xd0], edi
cmp eax, edi
jne 0x4b305b
push 0xffffffffffffff98
pop esi
push ebx
call fcn.004f729c
pop ecx
mov eax, esi
jmp 0x4b325d
mov dword [ebx + 0x48], edi
mov eax, dword [esi + 0x9c]
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x6c], edi
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x94]
mov dword [ebx + 0xc0], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0xbc], eax
push 0xd
lea edi, [ebx + 0x88]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x50]
mov dword [ebx + 0xc8], eax
mov eax, dword [esi + 0x54]
xor edi, edi
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0x18], edi
mov eax, dword [esi + 0x94]
cmp eax, 0xc
jne 0x4b3151
mov dword [ebx + 0xd0], 1
mov eax, dword [esi + 0xa0]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0xa4]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0xa8]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0xac]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add eax, dword [esi + 0xe0]
adc ecx, dword [esi + 0xe4]
add eax, 0x1e
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x20]
adc ecx, edi
mov dword [ebx + 0x44], ecx
mov dword [ebx + 8], edi
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], edi
cmp eax, edi
je 0x4b325b
mov edi, 0x543848
mov dword [esi + 0x100], edi
mov dword [ebp - 0x14], eax
mov dword [esi + 0xf4], 0x12345678
mov dword [esi + 0xf8], 0x23456789
mov dword [esi + 0xfc], 0x34567890
jmp 0x4b319f
cmp eax, 8
jne 0x4b30c3
lea eax, [ebx + 4]
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [eax], edi
mov dword [ebx + 8], edi
call fcn.004b3aec
cmp eax, edi
jne 0x4b3180
mov dword [ebx + 0x48], 8
jmp 0x4b30c3
mov esi, eax
jmp 0x4b304d
movsx eax, al
push eax
lea ecx, [esi + 0xf4]
call fcn.004b1b01
add esp, 4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
jne 0x4b3187
mov eax, dword [esi + 0xe8]
mov ecx, dword [eax + 0xc8]
add ecx, dword [eax + 0x40]
mov edx, dword [eax + 0xcc]
adc edx, dword [eax + 0x44]
push 0
push edx
push ecx
push dword [esi + 0x38]
mov eax, esi
call fcn.004b35e3
add esp, 0x10
test eax, eax
jne 0x4b3017
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x38]
push dword [esi + 0x20]
call dword [esi + 8]
add esp, 0x10
cmp eax, 0xc
jb 0x4b3017
and dword [ebp - 0x14], 0
mov ecx, dword [esi + 0xfc]
mov edx, dword [ebp - 0x14]
and ecx, 0xfffd
mov edi, dword [esi + 0x100]
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
lea edx, [ebp + edx - 0x10]
movsx ecx, byte [edx]
shr eax, 8
and eax, 0xff
xor eax, ecx
mov byte [edx], al
movsx eax, al
push eax
lea ecx, [esi + 0xf4]
call fcn.004b1b01
add esp, 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jl 0x4b31f5
mov eax, dword [esi + 0xe8]
add dword [eax + 0x40], 0xc
adc dword [eax + 0x44], 0
mov dword [esi + 0xec], 1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f6bad
leave
ret 4