Function at 0x4747e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebx
mov ebx, ecx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x30], ebx
mov eax, dword [ebx + 8]
add edx, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], eax
nop dword [eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x60], ecx
inc esi
cmp esi, 0x10
jl 0x474850
lea eax, [esp + 0x98]
mov ebp, 0x30
push edi
nop dword [eax]
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x474890
mov ebp, dword [esp + 0x20]
xor edi, edi
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
nop dword [eax]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, ebp
ror eax, 0xb
mov dword [esp + 0x40], esi
mov esi, ebp
ror esi, 0x19
xor esi, eax
mov dword [esp + 0x5c], edx
mov eax, ebp
mov dword [esp + 0x20], ecx
ror eax, 6
or ecx, ebx
xor esi, eax
and ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor eax, edx
mov dword [esp + 0x4c], ebp
and eax, ebp
mov dword [esp + 0x24], ebx
xor eax, edx
mov edx, ebx
add esi, eax
ror edx, 0x16
add esi, dword [edi + 0x550230]
mov eax, ebx
add esi, dword [esp + edi + 0x64]
add edi, 4
add esi, dword [esp + 0x28]
ror eax, 0xd
xor edx, eax
mov eax, ebx
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x18]
and eax, ebx
add edx, esi
or eax, ecx
mov ecx, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x2c]
add ebp, esi
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, ebx
mov dword [esp + 0x2c], esi
mov ebx, eax
mov dword [esp + 0x18], ecx
cmp edi, 0x100
jl 0x4748e0
add eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
pop edi
pop esi
mov dword [ebx + 8], eax
mov eax, ecx
add eax, dword [esp + 0x30]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x34]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x3c]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x40]
add eax, ebp
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x48]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x50]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x58]
pop ebp
mov dword [ebx + 0x24], eax
pop ebx
add esp, 0x154
ret