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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed870
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x51d584]
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 0x42064b
cmp dword [ebp + 0x18], ebx
je 0x42064b
lea eax, [ebp - 0x2c]
push eax
call fcn.0049abd0
mov edx, dword [ebp - 0x2c]
mov esi, 0x10
or eax, 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x4203b0
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x4203db
jmp 0x4203c0
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50aab0]
dec ecx
inc edx
cmp ecx, ebx
jne 0x4203c0
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.0040f6a0
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0x420436
mov eax, dword [ebp - 0x64]
push eax
call fcn.00480d64
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
cmp dword [ebp - 0x34], esi
jae 0x42044d
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x420458
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.00481751
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.00484d50
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00481b34
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 0x4204dd
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 0x4204f0
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.0044a2b0
mov edi, 0x10
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x50], edi
jb 0x420536
mov eax, dword [ebp - 0x64]
push eax
call fcn.00480d64
add esp, 4
push esi
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00481b34
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], ebx
je 0x4205d5
cmp dword [ebp - 0x6c], edi
jb 0x420569
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00480d64
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 0x42058c
mov edx, dword [ebp - 0x48]
push edx
call fcn.00480d64
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 0x4205a9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00480d64
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 0x4205ca
mov ecx, dword [ebp + 8]
push ecx
call fcn.00480d64
add esp, 4
mov eax, dword [ebp - 0x84]
jmp 0x420669
cmp dword [ebp - 0x6c], edi
jb 0x4205e6
mov edx, dword [ebp - 0x80]
push edx
call fcn.00480d64
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 0x420609
mov eax, dword [ebp - 0x48]
push eax
call fcn.00480d64
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 0x420626
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00480d64
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 0x420647
mov edx, dword [ebp + 8]
push edx
call fcn.00480d64
add esp, 4
xor eax, eax
jmp 0x420669
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x420664
mov eax, dword [ebp + 8]
push eax
call fcn.00480d64
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.004809b9
mov esp, ebp
pop ebp
ret