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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee580
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x420bcb
cmp dword [ebp + 0x18], ebx
je 0x420bcb
lea eax, [ebp - 0x2c]
push eax
call fcn.0049ba40
mov edx, dword [ebp - 0x2c]
mov esi, 0x10
or eax, 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x420930
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x42095b
jmp 0x420940
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50bab8]
dec ecx
inc edx
cmp ecx, ebx
jne 0x420940
not eax
mov dword [ebp - 0x8c], eax
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 2
push 7
push str.t_psp
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00402a70
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 3
call fcn.0040f630
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0x4209b6
mov eax, dword [ebp - 0x64]
push eax
call fcn.00481974
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
cmp dword [ebp - 0x34], esi
jae 0x4209cd
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4209d8
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push edx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402300
mov edi, dword [ebp - 0x88]
add edi, 8
push edi
call fcn.00482445
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov esi, eax
mov eax, dword [ebp - 0x8c]
push ecx
mov dword [esi + 4], eax
push edx
lea eax, [esi + 8]
push eax
mov dword [esi], edi
call fcn.004859e0
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00482828
add esp, 0x28
push edi
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00402a70
mov byte [ebp - 4], 4
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 8]
jae 0x420a5d
lea edx, [ebp + 8]
mov eax, edx
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x420a70
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.00402a70
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0044ad70
mov edi, 0x10
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x50], edi
jb 0x420ab6
mov eax, dword [ebp - 0x64]
push eax
call fcn.00481974
add esp, 4
push esi
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00482828
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], ebx
je 0x420b55
cmp dword [ebp - 0x6c], edi
jb 0x420ae9
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00481974
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], edi
jb 0x420b0c
mov edx, dword [ebp - 0x48]
push edx
call fcn.00481974
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x420b29
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00481974
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], edi
jb 0x420b4a
mov ecx, dword [ebp + 8]
push ecx
call fcn.00481974
add esp, 4
mov eax, dword [ebp - 0x84]
jmp 0x420be9
cmp dword [ebp - 0x6c], edi
jb 0x420b66
mov edx, dword [ebp - 0x80]
push edx
call fcn.00481974
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], edi
jb 0x420b89
mov eax, dword [ebp - 0x48]
push eax
call fcn.00481974
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x420ba6
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00481974
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], edi
jb 0x420bc7
mov edx, dword [ebp + 8]
push edx
call fcn.00481974
add esp, 4
xor eax, eax
jmp 0x420be9
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x420be4
mov eax, dword [ebp + 8]
push eax
call fcn.00481974
add esp, 4
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret