Function at 0x4c63c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14c
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
push edi
lea edi, [esp + 0x1c]
lea esi, [ebx + 0x21]
mov ebp, 0x10
xor eax, eax
xor ecx, ecx
mov ah, byte [esi - 1]
mov cl, byte [esi + 1]
mov al, byte [esi]
xor edx, edx
mov dl, byte [esi + 2]
add esi, 4
shl eax, 8
or eax, ecx
add edi, 4
shl eax, 8
or eax, edx
dec ebp
mov dword [edi - 4], eax
jne 0x4c63dd
lea ecx, [esp + 0x24]
mov edx, 0x40
mov eax, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x18]
mov edi, dword [ecx - 8]
mov esi, dword [ecx]
xor eax, ebp
add ecx, 4
xor eax, edi
xor eax, esi
mov esi, eax
add eax, eax
shr esi, 0x1f
or esi, eax
dec edx
mov dword [ecx + 0x34], esi
jne 0x4c640d
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x14
mov ecx, eax
mov ebx, edx
not ecx
and ecx, esi
and ebx, eax
or ecx, ebx
mov ebx, edi
mov ebp, edi
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, dword [esp + 0x10]
add ecx, ebx
mov ebx, dword [ebp]
add ebp, 4
add ecx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [ecx + ebx + 0x5a827999]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov dword [esp + 0x18], ebx
mov edi, ecx
mov dword [esp + 0x14], ebp
jne 0x4c6452
lea ebp, [esp + 0x6c]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebp
mov ebp, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebp, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x14]
add ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ecx + ebx + 0x6ed9eba1]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x4c64b8
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0xbc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x14
mov ebx, edx
mov ebp, edx
or ebx, eax
and ebp, eax
and ebx, esi
or ebx, ebp
mov ebp, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
add ebp, 4
add ebx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ebx + ecx - 0x70e44324]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov dword [esp + 0x18], ebx
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x4c6515
lea ebp, [esp + 0x10c]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ebp
mov ebp, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebp, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x14]
add ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ecx + ebx - 0x359d3e2a]
mov ebx, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, edi
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x4c657c
mov edi, dword [esp + 0x160]
mov ebp, dword [edi]
mov dword [edi + 0x1c], 0
add ebp, ecx
mov ecx, dword [edi + 4]
add ecx, eax
mov eax, dword [edi + 8]
add eax, edx
mov dword [edi], ebp
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
add eax, esi
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, ebx
mov dword [edi + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret