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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, edx
mov edx, ecx
push edi
mov edi, dword [ebp + 8]
not edx
test edi, edi
je 0x10004234
test bl, 3
je 0x10004234
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10032b40]
inc ebx
sub edi, 1
jne 0x10004217
push esi
cmp edi, 0x20
jb 0x10004445
mov eax, edi
shr eax, 5
mov dword [ebp - 8], eax
xor edx, dword [ebx]
mov dword [ebp - 4], edx
mov edx, dword [ebx + 4]
add ebx, 8
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
mov ebx, dword [ecx*4 + 0x10032f40]
mov ecx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0x10033340]
mov eax, ecx
shr eax, 0x18
mov esi, dword [ebp + 8]
xor ebx, dword [eax*4 + 0x10032b40]
movzx eax, cl
xor ebx, dword [eax*4 + 0x10033740]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10032f40]
xor ecx, dword [eax*4 + 0x10033340]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10032b40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10033740]
xor ecx, dword [esi]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10032f40]
xor ecx, dword [eax*4 + 0x10033340]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10032b40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10033740]
xor ecx, dword [esi + 4]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10032f40]
xor ecx, dword [eax*4 + 0x10033340]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10032b40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10033740]
xor ecx, dword [esi + 8]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10032f40]
xor ecx, dword [eax*4 + 0x10033340]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10032b40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10033740]
sub edi, 0x20
xor ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [esi + 0x14]
mov ecx, dword [ecx*4 + 0x10032f40]
xor ecx, dword [eax*4 + 0x10033340]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10032b40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10033740]
xor ecx, dword [esi + 0x10]
add esi, 0x18
mov eax, ecx
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x10032f40]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], esi
xor ebx, dword [eax*4 + 0x10033340]
mov eax, ecx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10032b40]
movzx eax, cl
xor ebx, dword [eax*4 + 0x10033740]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x10032f40]
xor edx, dword [eax*4 + 0x10033340]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10032b40]
movzx eax, bl
mov ebx, esi
xor edx, dword [eax*4 + 0x10033740]
sub dword [ebp - 8], 1
jne 0x10004246
cmp edi, 4
jb 0x10004494
mov esi, edi
shr esi, 2
mov eax, dword [ebx]
sub edi, 4
xor edx, eax
add ebx, 4
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10032f40]
xor ecx, dword [eax*4 + 0x10033340]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10032b40]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10033740]
mov edx, ecx
sub esi, 1
jne 0x1000444f
pop esi
test edi, edi
je 0x100044b1
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10032b40]
inc ebx
sub edi, 1
jne 0x10004499
not edx
pop edi
mov eax, edx
pop ebx
leave
ret