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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x53ef9d
mov ebx, dword [ebp + 8]
cmp esi, 0x40
jb 0x53eabc
cmp dword [0x6586c4], 0
jne 0x53eb9e
not ebx
cmp esi, 0x17
jae 0x53ebd6
cmp esi, 8
jae 0x53eafb
test esi, esi
je 0x53ef96
xor eax, eax
mov edi, ebx
xor bl, byte [edx + eax]
shr edi, 8
movzx ecx, bl
xor edi, dword [ecx*4 + 0x631d30]
inc eax
mov ebx, edi
cmp esi, eax
jne 0x53ead8
not edi
mov eax, edi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
xor bl, byte [edx]
shr eax, 8
movzx ecx, bl
xor eax, dword [ecx*4 + 0x631d30]
mov ecx, eax
xor al, byte [edx + 1]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
xor cl, byte [edx + 2]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x631d30]
mov ecx, eax
xor al, byte [edx + 3]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
xor cl, byte [edx + 4]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x631d30]
add esi, 0xfffffff8
mov ecx, eax
xor al, byte [edx + 5]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
shr eax, 8
xor cl, byte [edx + 6]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x631d30]
mov ebx, eax
shr ebx, 8
xor al, byte [edx + 7]
add edx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x631d30]
cmp esi, 7
jbe 0x53eacc
jmp 0x53eafb
mov edi, esi
and edi, 0xfffffff0
not ebx
push ebx
push edi
push edx
call fcn.0053f000
add esp, 0xc
mov ebx, eax
xor eax, eax
mov edx, esi
and edx, 0xf
cmovne eax, edi
and esi, 0xf
je 0x53ebcd
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov edx, ecx
jmp 0x53eac7
not ebx
mov edi, ebx
jmp 0x53eaf1
test dl, 3
mov dword [ebp - 0x28], edx
jne 0x53efc0
mov edx, 0xcccccccd
mov eax, esi
mul edx
shr edx, 4
lea eax, [edx*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0x30], eax
xor eax, eax
dec edx
jne 0x53eda2
xor edi, edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x28]
xor ebx, dword [edx]
mov ecx, ebx
shr ecx, 8
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x631d30]
mov ebx, edx
mov edx, ecx
shr edx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x631d30]
mov ecx, edx
shr ecx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x631d30]
mov edx, ecx
and ecx, 0xff
xor eax, dword [ecx*4 + 0x631d30]
xor eax, dword [ebx + 4]
shr edx, 8
xor eax, edx
mov edx, ebx
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x631d30]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
and ecx, 0xff
xor edi, dword [ecx*4 + 0x631d30]
xor edi, dword [ebx + 8]
shr eax, 8
xor edi, eax
mov eax, edi
shr eax, 8
and edi, 0xff
xor eax, dword [edi*4 + 0x631d30]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x631d30]
mov ecx, eax
and eax, 0xff
mov edi, dword [ebp - 0x10]
xor edi, dword [eax*4 + 0x631d30]
xor edi, dword [ebx + 0xc]
shr ecx, 8
xor edi, ecx
mov eax, edi
shr eax, 8
and edi, 0xff
xor eax, dword [edi*4 + 0x631d30]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x631d30]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x631d30]
mov ecx, eax
and eax, 0xff
mov edi, dword [ebp - 0x14]
xor edi, dword [eax*4 + 0x631d30]
xor edi, dword [ebx + 0x10]
shr ecx, 8
xor edi, ecx
mov eax, edi
shr eax, 8
and edi, 0xff
xor eax, dword [edi*4 + 0x631d30]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x631d30]
sub esi, dword [ebp - 0x30]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x631d30]
mov ebx, eax
shr ebx, 8
and eax, 0xff
xor ebx, dword [eax*4 + 0x631d30]
add edx, 0x14
jmp 0x53eac7
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor edi, edi
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], edx
xor ebx, dword [ecx]
mov ecx, ebx
mov edx, 0xff
and ecx, edx
mov dword [ebp - 0x20], ecx
mov ecx, ebx
shr ecx, 8
and ecx, edx
mov ecx, dword [ecx*4 + 0x632530]
mov edx, dword [ebp - 0x20]
xor ecx, dword [edx*4 + 0x632130]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 4]
mov ecx, eax
mov edx, 0xff
and ecx, edx
mov dword [ebp - 0x1c], ecx
mov edx, eax
shr edx, 8
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + 0x632530]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ecx*4 + 0x632130]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x24]
xor edi, dword [ecx + 8]
mov dword [ebp - 0x34], edi
mov edx, edi
mov ecx, 0xff
and edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, edi
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + 0x632530]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ecx*4 + 0x632130]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
mov ecx, edx
mov edx, 0xff
and ecx, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
shr edx, 8
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + 0x632530]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ecx*4 + 0x632130]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
xor edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], edx
mov ecx, 0xff
and edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + 0x632530]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ecx*4 + 0x632130]
mov dword [ebp - 0x18], edx
mov ecx, ebx
shr ecx, 0xe
mov edx, 0x3fc
and ecx, edx
mov edx, dword [ebp - 0x20]
xor edx, dword [ecx + 0x632930]
mov dword [ebp - 0x20], edx
mov ecx, eax
shr ecx, 0xe
mov edx, 0x3fc
and ecx, edx
mov edx, dword [ebp - 0x2c]
xor edx, dword [ecx + 0x632930]
mov dword [ebp - 0x2c], edx
mov ecx, edi
shr ecx, 0xe
mov edx, 0x3fc
and ecx, edx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ecx + 0x632930]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x10]
shr ecx, 0xe
mov edi, 0x3fc
and ecx, edi
mov edx, dword [ebp - 0x38]
xor edx, dword [ecx + 0x632930]
mov ecx, dword [ebp - 0x14]
shr ecx, 0xe
and ecx, edi
mov edi, dword [ebp - 0x18]
xor edi, dword [ecx + 0x632930]
mov dword [ebp - 0x18], edi
mov ecx, ebx
shr ecx, 0x18
mov ebx, dword [ebp - 0x20]
xor ebx, dword [ecx*4 + 0x632d30]
mov ecx, eax
shr ecx, 0x18
mov eax, dword [ebp - 0x2c]
xor eax, dword [ecx*4 + 0x632d30]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
mov edi, dword [ebp - 0x1c]
xor edi, dword [ecx*4 + 0x632d30]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x632d30]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov edx, dword [ebp - 0x18]
xor edx, dword [ecx*4 + 0x632d30]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x3c]
add ecx, 0x14
dec edx
jne 0x53edb7
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
add edx, ecx
add edx, 0xffffffec
jmp 0x53ec17
mov edi, ebx
jmp 0x53eaef
xor edi, edi
test esi, esi
jne 0x53eaf1
xor edi, edi
push edi
push edi
push 0x4f26f0
push 0x6586c8
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
jmp 0x53eaf1
lea ecx, [edx + 1]
mov edx, esi
dec esi
mov edi, ebx
shr edi, 8
mov eax, dword [ebp - 0x28]
xor bl, byte [eax]
inc eax
mov dword [ebp - 0x28], eax
movzx eax, bl
mov ebx, edi
xor ebx, dword [eax*4 + 0x631d30]
cmp edx, 1
je 0x53ebe2
mov eax, ecx
and eax, 3
inc ecx
test eax, eax
je 0x53ebe2
jmp 0x53efc3