Function at 0x4c1fd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.005dfc90
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4c267a
push ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4c2679
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4c2678
mov eax, dword [edi + 0x110]
mov dword [esp + 0x14], eax
cmp eax, 0xc
je 0x4c201e
cmp eax, 0xe
je 0x4c201e
cmp eax, 0x10
jne 0x4c2678
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
xor ecx, eax
movzx edx, byte [esi + 8]
movzx eax, byte [esi + 2]
shl ecx, 8
xor ecx, eax
shl edx, 8
movzx eax, byte [esi + 3]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 5]
xor ecx, dword [edi]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 9]
xor edx, eax
xor ecx, dword [edi + 4]
movzx eax, byte [esi + 0xa]
push ebx
movzx ebx, byte [esi + 0xc]
shl edx, 8
xor edx, eax
shl ebx, 8
movzx eax, byte [esi + 0xb]
shl edx, 8
xor edx, eax
mov dword [esp + 0x28], ecx
movzx eax, byte [esi + 0xd]
xor edx, dword [edi + 8]
xor ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
xor ebx, eax
lea eax, [edi + 0x10]
xor ebx, dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edi, dword [ecx*4 + 0x63f458]
xor edi, dword [eax*4 + 0x63f858]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x63f058]
movzx eax, dl
xor edi, dword [eax*4 + 0x63fc58]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x63f458]
xor esi, dword [eax*4 + 0x63f858]
mov eax, ebx
shr eax, 0x18
xor esi, dword [eax*4 + 0x63f058]
movzx eax, bl
mov ebx, dword [esp + 0x28]
xor esi, dword [eax*4 + 0x63fc58]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
mov edx, dword [ecx*4 + 0x63f458]
movzx eax, al
xor edx, dword [eax*4 + 0x63f858]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x63f058]
movzx eax, bl
mov ebx, dword [esp + 0x20]
xor edx, dword [eax*4 + 0x63fc58]
mov eax, ebx
shr eax, 0x10
xor edx, edi
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x63f458]
xor ecx, dword [eax*4 + 0x63f858]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x63f058]
movzx eax, bl
xor ecx, dword [eax*4 + 0x63fc58]
mov eax, esi
xor eax, edx
xor ecx, edx
bswap eax
mov dword [esp + 0x28], eax
xor esi, edi
mov edi, dword [esp + 0x14]
xor esi, ecx
xor edx, esi
mov ebx, esi
mov eax, edx
shr ebx, 0x10
and eax, 0xffff00ff
shr edx, 8
shl eax, 8
and edx, 0xff00ff
xor eax, edx
shl esi, 0x10
mov edx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
or ebx, esi
xor edx, ebx
xor ebx, eax
xor eax, edx
xor ecx, edx
mov dword [esp + 0x28], eax
xor ebx, ecx
mov eax, dword [edi + 4]
xor ecx, dword [edi]
xor eax, ebx
xor ebx, dword [edi + 8]
xor edx, eax
mov eax, dword [esp + 0x28]
xor eax, dword [edi + 0xc]
add edi, 0x10
sub dword [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
je 0x4c24b6
mov ebp, edi
nop
mov eax, ebx
mov edi, dword [esp + 0x1c]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x63fc58]
mov ecx, dword [esp + 0x20]
xor ebx, dword [eax*4 + 0x63f058]
mov eax, ecx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x63f858]
movzx eax, cl
xor ebx, dword [eax*4 + 0x63f458]
mov eax, dword [esp + 0x28]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x28]
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x63fc58]
mov ecx, dword [esp + 0x28]
xor esi, dword [eax*4 + 0x63f058]
mov eax, ecx
shr eax, 0x18
xor esi, dword [eax*4 + 0x63f858]
movzx eax, cl
xor esi, dword [eax*4 + 0x63f458]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x63fc58]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax*4 + 0x63f058]
mov eax, ecx
shr eax, 0x18
xor edx, dword [eax*4 + 0x63f858]
movzx eax, cl
xor edx, dword [eax*4 + 0x63f458]
mov eax, edi
shr eax, 0x10
xor edx, ebx
movzx ecx, al
xor ebx, esi
mov eax, edi
xor esi, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x63fc58]
xor ecx, dword [eax*4 + 0x63f058]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x63f858]
mov eax, edi
movzx eax, al
xor ecx, dword [eax*4 + 0x63f458]
xor ecx, edx
xor ebx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov ebx, esi
mov ecx, dword [esp + 0x20]
and ebx, 0xffff00ff
xor ecx, edx
shr esi, 8
mov edx, dword [esp + 0x20]
and esi, 0xff00ff
shl ebx, 8
xor ebx, esi
ror eax, 0x10
bswap ecx
xor ecx, edx
xor edx, ebx
xor eax, ecx
xor ebx, ecx
xor edx, eax
xor eax, dword [ebp]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 4]
xor eax, edx
xor ebx, dword [ebp + 0xc]
xor ecx, eax
xor edx, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x20], ecx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edi, dword [ecx*4 + 0x63f458]
xor edi, dword [eax*4 + 0x63f858]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x63f058]
movzx eax, dl
xor edi, dword [eax*4 + 0x63fc58]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x63f458]
xor esi, dword [eax*4 + 0x63f858]
mov eax, ebx
shr eax, 0x18
xor esi, dword [eax*4 + 0x63f058]
movzx eax, bl
mov ebx, dword [esp + 0x20]
xor esi, dword [eax*4 + 0x63fc58]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x63f458]
xor edx, dword [eax*4 + 0x63f858]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x63f058]
movzx eax, bl
mov ebx, dword [esp + 0x28]
xor edx, dword [eax*4 + 0x63fc58]
mov eax, ebx
shr eax, 0x10
xor edx, edi
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x63f458]
xor ecx, dword [eax*4 + 0x63f858]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x63f058]
movzx eax, bl
xor ecx, dword [eax*4 + 0x63fc58]
mov eax, esi
xor eax, edx
xor ecx, edx
xor esi, edi
xor esi, ecx
bswap eax
xor edx, esi
mov dword [esp + 0x28], eax
mov eax, edx
mov ebx, esi
and eax, 0xffff00ff
shr edx, 8
shr ebx, 0x10
and edx, 0xff00ff
shl esi, 0x10
shl eax, 8
or ebx, esi
xor eax, edx
mov edx, dword [esp + 0x28]
xor eax, ebx
xor ecx, eax
mov dword [esp + 0x10], eax
xor ebx, edx
xor edx, eax
mov eax, dword [ebp + 0x14]
xor ebx, ecx
xor ecx, dword [ebp + 0x10]
xor eax, ebx
xor ebx, dword [ebp + 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
xor edx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x28]
xor eax, dword [ebp + 0x1c]
add ebp, 0x20
sub dword [esp + 0x18], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jne 0x4c2210
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
shr ecx, 0x10
movzx eax, cl
mov esi, dword [esp + 0x28]
mov eax, dword [eax*4 + 0x63fc58]
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x63f858]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax*4 + 0x63f058]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax*4 + 0x63f458]
or ecx, eax
xor ecx, dword [edi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x63fc58]
shr eax, 8
movzx ebx, al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x63f858]
shl eax, 8
or ebx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax*4 + 0x63f058]
or ebx, eax
movzx eax, cl
mov ecx, dword [esp + 0x20]
shl ebx, 8
movzx eax, byte [eax*4 + 0x63f458]
or ebx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor ebx, dword [edi + 4]
mov eax, dword [eax*4 + 0x63fc58]
shr eax, 8
movzx edx, al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x63f858]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax*4 + 0x63f058]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax*4 + 0x63f458]
or edx, eax
mov eax, esi
xor edx, dword [edi + 8]
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x63fc58]
shr eax, 8
movzx ecx, al
mov eax, esi
shr eax, 0x18
movzx eax, byte [eax*4 + 0x63f858]
shl eax, 8
or ecx, eax
mov eax, esi
shl ecx, 8
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x63f058]
or ecx, eax
mov eax, esi
mov esi, dword [esp + 0x1c]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax*4 + 0x63f458]
or ecx, eax
mov eax, esi
xor ecx, dword [edi + 0xc]
shr eax, 0x18
mov byte [ebp], al
mov eax, esi
shr eax, 0x10
mov byte [ebp + 1], al
mov eax, esi
shr eax, 8
mov byte [ebp + 2], al
mov eax, esi
mov byte [ebp + 3], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 5], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 9], al
mov eax, edx
shr eax, 8
mov byte [ebp + 0xa], al
mov eax, ecx
shr eax, 0x18
mov byte [ebp + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [ebp + 7], bl
mov byte [ebp + 0xb], dl
mov byte [ebp + 0xe], al
mov byte [ebp + 0xf], cl
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x14
ret