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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee6b0
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 0x420f8b
cmp dword [ebp + 0x18], ebx
je 0x420f8b
lea eax, [ebp - 0x2c]
push eax
call fcn.0049b840
mov edx, dword [ebp - 0x2c]
mov esi, 0x10
or eax, 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x420cf0
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x420d1b
jmp 0x420d00
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50ba90]
dec ecx
inc edx
cmp ecx, ebx
jne 0x420d00
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.00402a60
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 3
call fcn.0040f850
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0x420d76
mov eax, dword [ebp - 0x64]
push eax
call fcn.00481954
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
cmp dword [ebp - 0x34], esi
jae 0x420d8d
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x420d98
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.00482427
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.004859c0
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0048280a
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.00402a60
mov byte [ebp - 4], 4
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 8]
jae 0x420e1d
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 0x420e30
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.00402a60
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0044ad20
mov edi, 0x10
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x50], edi
jb 0x420e76
mov eax, dword [ebp - 0x64]
push eax
call fcn.00481954
add esp, 4
push esi
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.0048280a
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], ebx
je 0x420f15
cmp dword [ebp - 0x6c], edi
jb 0x420ea9
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00481954
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 0x420ecc
mov edx, dword [ebp - 0x48]
push edx
call fcn.00481954
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 0x420ee9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00481954
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 0x420f0a
mov ecx, dword [ebp + 8]
push ecx
call fcn.00481954
add esp, 4
mov eax, dword [ebp - 0x84]
jmp 0x420fa9
cmp dword [ebp - 0x6c], edi
jb 0x420f26
mov edx, dword [ebp - 0x80]
push edx
call fcn.00481954
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 0x420f49
mov eax, dword [ebp - 0x48]
push eax
call fcn.00481954
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 0x420f66
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00481954
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 0x420f87
mov edx, dword [ebp + 8]
push edx
call fcn.00481954
add esp, 4
xor eax, eax
jmp 0x420fa9
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x420fa4
mov eax, dword [ebp + 8]
push eax
call fcn.00481954
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.004815a9
mov esp, ebp
pop ebp
ret