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

Disassembly:
push ebp
push edi
not eax
push esi
push ebx
sub esp, 4
test ecx, ecx
mov dword [esp], ecx
jne 0x47d1f4
jmp 0x47d465
add edx, 1
mov ebx, eax
shr eax, 8
xor bl, byte [edx - 1]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x65e980]
sub dword [esp], 1
je 0x47d465
test dl, 3
jne 0x47d1d5
mov ebx, dword [esp]
cmp ebx, 0x1f
jbe 0x47d46f
sub ebx, 0x20
and ebx, 0xffffffe0
lea ebx, [edx + ebx + 0x20]
nop
xor eax, dword [edx]
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x65f580]
xor esi, dword [ebp*4 + 0x65e980]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 4]
movzx edi, cl
xor esi, dword [eax*4 + 0x65f180]
mov eax, dword [edi*4 + 0x65ed80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x65f580]
xor esi, dword [ebp*4 + 0x65e980]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 8]
movzx edi, cl
xor esi, dword [eax*4 + 0x65f180]
mov eax, dword [edi*4 + 0x65ed80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x65f580]
xor esi, dword [ebp*4 + 0x65e980]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 0xc]
movzx edi, cl
xor esi, dword [eax*4 + 0x65f180]
mov eax, dword [edi*4 + 0x65ed80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x65f580]
xor esi, dword [ebp*4 + 0x65e980]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 0x10]
movzx edi, cl
xor esi, dword [eax*4 + 0x65f180]
mov eax, dword [edi*4 + 0x65ed80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x65f580]
xor esi, dword [ebp*4 + 0x65e980]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 0x14]
movzx edi, cl
xor esi, dword [eax*4 + 0x65f180]
mov eax, dword [edi*4 + 0x65ed80]
xor eax, esi
mov esi, eax
mov ebp, eax
movzx edi, al
shr esi, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0x65f580]
xor edi, dword [ebp*4 + 0x65e980]
mov ecx, esi
movzx eax, ah
xor edi, dword [edx + 0x18]
movzx esi, cl
add edx, 0x20
xor edi, dword [eax*4 + 0x65f180]
xor edi, dword [esi*4 + 0x65ed80]
mov eax, edi
mov ebp, edi
mov ecx, edi
shr eax, 0x10
shr ebp, 0x18
movzx esi, al
mov eax, edi
movzx edi, ch
movzx eax, al
mov eax, dword [eax*4 + 0x65f580]
xor eax, dword [ebp*4 + 0x65e980]
xor eax, dword [edx - 4]
xor eax, dword [edi*4 + 0x65f180]
xor eax, dword [esi*4 + 0x65ed80]
mov esi, eax
shr eax, 0x10
movzx edi, al
mov ebp, esi
mov eax, esi
shr ebp, 0x18
movzx eax, al
mov ecx, esi
mov eax, dword [eax*4 + 0x65f580]
movzx esi, ch
xor eax, dword [ebp*4 + 0x65e980]
xor eax, dword [esi*4 + 0x65f180]
xor eax, dword [edi*4 + 0x65ed80]
cmp edx, ebx
jne 0x47d210
and dword [esp], 0x1f
mov ecx, dword [esp]
cmp ecx, 3
jbe 0x47d476
lea edx, [ecx - 4]
shr edx, 2
lea esi, [ebx + edx*4 + 4]
add ebx, 4
xor eax, dword [ebx - 4]
mov edx, eax
shr eax, 0x10
mov ebp, edx
movzx edi, al
movzx eax, dl
shr ebp, 0x18
mov eax, dword [eax*4 + 0x65f580]
movzx edx, dh
xor eax, dword [ebp*4 + 0x65e980]
xor eax, dword [edx*4 + 0x65f180]
xor eax, dword [edi*4 + 0x65ed80]
cmp ebx, esi
jne 0x47d3e2
and dword [esp], 3
mov ebx, dword [esp]
test ebx, ebx
je 0x47d465
mov edx, eax
xor dl, byte [esi]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x65e980]
cmp ebx, 1
je 0x47d465
mov edx, eax
xor dl, byte [esi + 1]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x65e980]
cmp ebx, 2
je 0x47d465
mov edx, eax
xor dl, byte [esi + 2]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x65e980]
add esp, 4
not eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, edx
jmp 0x47d3cc
mov esi, ebx
mov ebx, ecx
jmp 0x47d422
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x47d635
jmp 0x47d1c0
xor eax, eax
ret