Function at 0x4c2200
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov esi, 0xffffffe0
mov ebx, 0xf
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
add edx, edi
adc ecx, 0
xor eax, eax
cmp esi, edx
sbb ebx, ecx
jb 0x4c295c
mov eax, dword [ebp + 0x168]
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], ecx
cmp dword [ebp + 0x174], 0
mov dword [esp + 0x20], eax
je 0x4c232b
movzx ebx, byte [ebp + 0x4f]
mov edi, ebp
mov dword [esp], 0
mov esi, ebx
and esi, 0xf
shl esi, 4
mov eax, dword [ebp + esi + 0x60]
mov ecx, dword [ebp + esi + 0x64]
mov edx, dword [ebp + esi + 0x6c]
mov ebp, dword [ebp + esi + 0x68]
nop word cs:[eax + eax]
nop dword [eax]
mov esi, ecx
and ebx, 0xfffffff0
shr ecx, 4
xor ecx, dword [edi + ebx + 0x64]
shld esi, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebp, 0x1c
and ebp, 0xf
xor esi, dword [edi + ebx + 0x60]
xor eax, dword [edi + ebx + 0x6c]
xor edx, dword [edi + ebx + 0x68]
xor ecx, dword [ebp*4 + 0x520ab4]
cmp dword [esp], 0xfffffff1
mov ebp, edi
je 0x4c2309
mov edi, dword [esp]
dec dword [esp]
movzx ebx, byte [ebp + edi + 0x4e]
mov edi, ebp
mov ebp, ebx
mov dword [esp + 4], ebx
mov ebx, ecx
shr ecx, 4
and ebp, 0xf
shld ebx, esi, 0x1c
shld esi, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
shl ebp, 4
xor ecx, dword [edi + ebp + 0x64]
xor ebx, dword [edi + ebp + 0x60]
xor eax, dword [edi + ebp + 0x68]
xor esi, dword [edi + ebp + 0x6c]
xor ecx, dword [edx*4 + 0x520ab4]
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 4]
mov edx, esi
jmp 0x4c2280
mov edi, dword [esp + 0x4c]
bswap ecx
bswap esi
bswap eax
bswap edx
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x174], 0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x170]
test eax, eax
je 0x4c2479
test edi, edi
je 0x4c2951
mov esi, dword [esp + 0x48]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, byte [ebx]
movzx edx, byte [ebp + eax + 0x10]
inc ebx
xor dl, cl
mov byte [esi], dl
xor byte [ebp + eax + 0x40], cl
inc eax
inc esi
and eax, 0xf
cmp edi, 1
lea edi, [edi - 1]
je 0x4c2382
test eax, eax
jne 0x4c2360
test eax, eax
jne 0x4c2951
mov dword [esp + 0x10], esi
movzx esi, byte [ebp + 0x4f]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp + 0xc], ebx
mov dword [esp], esi
and esi, 0xf
shl esi, 4
mov eax, dword [ebp + esi + 0x60]
mov ecx, dword [ebp + esi + 0x64]
mov edx, dword [ebp + esi + 0x6c]
mov ebp, dword [ebp + esi + 0x68]
nop dword [eax + eax]
mov esi, dword [esp]
and esi, 0xfffffff0
mov edi, esi
mov dword [esp], esi
mov esi, ecx
shr ecx, 4
shld esi, eax, 0x1c
shld eax, edx, 0x1c
shld edx, ebp, 0x1c
and ebp, 0xf
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x3c]
xor ecx, dword [ebp + edi + 0x64]
mov edi, dword [esp + 0x14]
xor ecx, dword [edi*4 + 0x520ab4]
mov edi, dword [esp]
xor esi, dword [ebp + edi + 0x60]
xor eax, dword [ebp + edi + 0x6c]
xor edx, dword [ebp + edi + 0x68]
cmp dword [esp + 4], 0xfffffff1
je 0x4c2461
mov edi, dword [esp + 4]
mov ebx, ecx
shr ecx, 4
dec dword [esp + 4]
shld ebx, esi, 0x1c
shld esi, eax, 0x1c
shld eax, edx, 0x1c
and edx, 0xf
movzx edi, byte [ebp + edi + 0x4e]
mov dword [esp], edi
mov edi, ebp
mov ebp, dword [esp]
and ebp, 0xf
shl ebp, 4
xor ecx, dword [edi + ebp + 0x64]
xor ebx, dword [edi + ebp + 0x60]
xor eax, dword [edi + ebp + 0x68]
xor esi, dword [edi + ebp + 0x6c]
xor ecx, dword [edx*4 + 0x520ab4]
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0xc]
mov edx, esi
jmp 0x4c23c0
mov edi, dword [esp + 8]
bswap ecx
bswap esi
bswap eax
bswap edx
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x48], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
cmp edi, 0xc00
bswap edx
jb 0x4c266b
mov ecx, dword [esp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 8], edi
mov dword [esp + 0x24], eax
jmp 0x4c24bc
mov eax, dword [esp + 8]
mov esi, ecx
add ecx, edi
add eax, 0xfffff400
cmp eax, 0xbff
mov dword [esp + 8], eax
jbe 0x4c265d
mov dword [esp + 0x1c], edx
mov dl, byte [ebp + 0x4f]
mov eax, 0xc00
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
jmp 0x4c2511
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
bswap esi
bswap ebp
bswap edx
bswap edi
mov dword [ecx + 0x44], ebp
mov dword [ecx + 0x40], esi
mov dword [ecx + 0x4c], edx
add ebx, 0x10
shr edx, 0x18
add eax, 0xfffffff0
mov ebp, ecx
mov dword [ecx + 0x48], edi
je 0x4c25e0
xor dl, byte [ebx + 0xf]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp], 0
movzx ebx, dl
mov eax, ebx
and eax, 0xf
shl eax, 4
mov edi, dword [ebp + eax + 0x60]
mov esi, dword [ebp + eax + 0x64]
mov edx, dword [ebp + eax + 0x6c]
mov ecx, dword [ebp + eax + 0x68]
nop
mov eax, dword [esp + 0x3c]
mov ebp, esi
and ebx, 0xfffffff0
shr esi, 4
shld ebp, edi, 0x1c
shld edi, edx, 0x1c
shld edx, ecx, 0x1c
and ecx, 0xf
xor esi, dword [eax + ebx + 0x64]
xor ebp, dword [eax + ebx + 0x60]
xor edi, dword [eax + ebx + 0x6c]
xor edx, dword [eax + ebx + 0x68]
xor esi, dword [ecx*4 + 0x520ab4]
cmp dword [esp], 0xfffffff1
je 0x4c24e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x3c]
movzx ecx, byte [eax + ecx + 0xe]
mov eax, dword [esp]
dec dword [esp]
xor cl, byte [ebx + eax + 0x4e]
mov eax, esi
shr esi, 4
shld eax, ebp, 0x1c
shld ebp, edi, 0x1c
shld edi, edx, 0x1c
and edx, 0xf
movzx ecx, cl
mov dword [esp + 4], ecx
and ecx, 0xf
shl ecx, 4
xor esi, dword [ebx + ecx + 0x64]
xor eax, dword [ebx + ecx + 0x60]
xor ebp, dword [ebx + ecx + 0x6c]
xor edi, dword [ebx + ecx + 0x68]
mov ebx, dword [esp + 4]
xor esi, dword [edx*4 + 0x520ab4]
mov ecx, edi
mov edx, ebp
mov edi, eax
jmp 0x4c2540
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov edi, 0x10
add ebx, 0x10
inc esi
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [esp + 0x40]
push eax
push dword [esp + 0x28]
push ebp
call dword [esp + 0x2c]
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x10]
mov edx, esi
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [ebx - 0x10]
mov dword [ecx + edi - 0x10], eax
mov eax, dword [ebp + 0x14]
xor eax, dword [ebx - 0xc]
mov dword [ecx + edi - 0xc], eax
mov eax, dword [ebp + 0x18]
xor eax, dword [ebx - 8]
mov dword [ecx + edi - 8], eax
mov eax, dword [ebp + 0x1c]
xor eax, dword [ebx - 4]
cmp edi, 0xc00
mov dword [ecx + edi - 4], eax
je 0x4c24a0
inc edx
add ebx, 0x10
add edi, 0x10
mov esi, edx
jmp 0x4c2600
add esi, edi
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
mov eax, edi
and eax, 0xfffffff0
je 0x4c280c
mov dword [esp + 0x1c], edx
mov dl, byte [ebp + 0x4f]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
jmp 0x4c26bb
bswap ebx
mov eax, dword [esp + 0x18]
bswap esi
bswap edx
bswap edi
mov dword [ebp + 0x40], ebx
mov ebx, dword [esp + 0x14]
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x4c], edx
shr edx, 0x18
mov dword [ebp + 0x48], edi
add ebx, 0x10
add eax, 0xfffffff0
je 0x4c2788
xor dl, byte [ebx + 0xf]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp], 0
movzx eax, dl
mov dword [esp + 4], eax
and eax, 0xf
shl eax, 4
mov edi, dword [ebp + eax + 0x60]
mov ebx, dword [ebp + eax + 0x64]
mov edx, dword [ebp + eax + 0x6c]
mov ecx, dword [ebp + eax + 0x68]
nop word [eax + eax]
mov eax, dword [esp + 4]
mov esi, ebx
shr ebx, 4
shld esi, edi, 0x1c
shld edi, edx, 0x1c
shld edx, ecx, 0x1c
and ecx, 0xf
and eax, 0xfffffff0
xor ebx, dword [ebp + eax + 0x64]
xor esi, dword [ebp + eax + 0x60]
xor edi, dword [ebp + eax + 0x6c]
xor edx, dword [ebp + eax + 0x68]
xor ebx, dword [ecx*4 + 0x520ab4]
cmp dword [esp], 0xfffffff1
je 0x4c2690
mov ebp, dword [esp]
mov eax, dword [esp + 0x14]
dec dword [esp]
movzx ecx, byte [eax + ebp + 0xe]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax + ebp + 0x4e]
mov ebp, eax
mov eax, ebx
shr ebx, 4
shld eax, esi, 0x1c
shld esi, edi, 0x1c
shld edi, edx, 0x1c
and edx, 0xf
movzx ecx, cl
mov dword [esp + 4], ecx
and ecx, 0xf
shl ecx, 4
xor ebx, dword [ebp + ecx + 0x64]
xor eax, dword [ebp + ecx + 0x60]
xor esi, dword [ebp + ecx + 0x6c]
xor edi, dword [ebp + ecx + 0x68]
xor ebx, dword [edx*4 + 0x520ab4]
mov ecx, edi
mov edx, esi
mov edi, eax
jmp 0x4c26f0
mov edi, dword [esp + 8]
cmp edi, 0x10
jb 0x4c293b
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
lea eax, [ebp + 0x10]
mov dword [esp], eax
nop dword [eax + eax]
mov dword [esp + 0x1c], edx
push ecx
push dword [esp + 4]
push ebp
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
add esp, 0xc
inc edx
add edi, 0xfffffff0
mov eax, edx
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
xor eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
xor eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x1c]
xor eax, dword [ebx + 0xc]
add ebx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
cmp edi, 0xf
ja 0x4c27b0
mov edi, dword [esp + 8]
mov dword [esp + 0x10], esi
and edi, 0xf
test edi, edi
je 0x4c294f
mov dword [esp + 0xc], ebx
lea ebx, [ebp + 0x10]
push ecx
push ebx
push ebp
mov esi, edx
call dword [esp + 0x2c]
add esp, 0xc
inc esi
xor eax, eax
cmp edi, 0x10
mov ecx, 0
mov edx, edi
bswap esi
mov dword [ebp + 0xc], esi
jb 0x4c290b
mov esi, dword [esp + 0x10]
lea ecx, [ebp + edi + 0x40]
mov dword [esp + 8], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
lea edx, [esi + edi]
mov edi, dword [esp + 8]
cmp edx, ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x18]
seta byte [esp]
add edi, ecx
cmp esi, edx
setb byte [esp + 0x14]
cmp edi, ebx
seta byte [esp + 0x20]
cmp ecx, edx
setb byte [esp + 0x18]
cmp esi, edi
mov edi, dword [esp + 8]
setb bl
cmp ecx, dword [esp + 4]
mov cl, byte [esp + 0x14]
mov edx, edi
setb bh
test byte [esp], cl
mov ecx, 0
jne 0x4c290b
mov cl, byte [esp + 0x18]
mov edx, edi
and byte [esp + 0x20], cl
mov ecx, 0
jne 0x4c290b
and bl, bh
mov ecx, 0
mov edx, edi
jne 0x4c290b
mov edx, edi
mov esi, edi
mov ebx, dword [esp + 0xc]
and edx, 0xfffffff0
sub esi, edx
mov ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp], esi
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [ebx + esi]
movups xmm1, xmmword [ebp + esi + 0x10]
movups xmm2, xmmword [ebp + esi + 0x40]
xorps xmm2, xmm0
xorps xmm1, xmm0
movups xmmword [ebp + esi + 0x40], xmm2
movups xmmword [edx + esi], xmm1
add esi, 0x10
cmp ecx, esi
jne 0x4c28e0
mov edx, dword [esp]
cmp edi, ecx
je 0x4c2937
mov ebx, edx
mov edx, ecx
add dword [esp + 0xc], ecx
lea esi, [ebp + ecx + 0x40]
mov ecx, dword [esp + 0x10]
add ecx, edx
nop dword [eax]
mov edx, dword [esp + 0xc]
movzx edx, byte [edx + eax]
xor byte [esi + eax], dl
xor dl, byte [esi + eax - 0x30]
mov byte [ecx + eax], dl
inc eax
cmp ebx, eax
jne 0x4c2920
mov eax, edi
jmp 0x4c2951
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
test edi, edi
jne 0x4c2814
xor eax, eax
mov dword [ebp + 0x170], eax
mov eax, 1
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret