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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ebx
test esi, esi
je 0x52549b
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x525437
sub ecx, edx
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x525445
sub edx, edi
lea eax, [ecx + 1]
add eax, edx
push eax
call fcn.00633555
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
sub eax, esi
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x525463
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x525472
sub ebx, esi
dec edx
nop dword [eax]
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x525480
mov ecx, ebx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5254a0
sub esi, ecx
mov eax, 0xffffffff
cmp esi, 0x10
jb 0x5256d5
mov bl, byte [edi]
movsx edx, bl
sub bl, 0x61
cmp bl, 0x19
mov bl, byte [edi + 1]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 2]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 3]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 4]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 5]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 6]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 7]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 8]
lea ecx, [edx - 0x20]
cmova ecx, edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x753048]
movsx edx, bl
sub bl, 0x61
cmp bl, 0x19
mov bl, byte [edi + 9]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 0xa]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 0xb]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 0xc]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 0xd]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 0xe]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
mov bl, byte [edi + 0xf]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x753048]
cmp bl, 0x19
lea ecx, [edx - 0x20]
cmova ecx, edx
add edi, 0x10
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x753048]
sub esi, 0x10
cmp esi, 0x10
jae 0x5254b7
test esi, esi
je 0x525708
nop dword [eax]
mov bl, byte [edi]
lea edi, [edi + 1]
movsx edx, bl
sub bl, 0x61
cmp bl, 0x19
lea ecx, [edx - 0x20]
cmova ecx, edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x753048]
sub esi, 1
jne 0x5256e0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret