Function at 0x49ec30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58
mov eax, dword [0x53450c]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0x9e3779b9
mov dword [esp + 0x28], 0x3c6ef373
mov dword [esp + 0x2c], 0x78dde6e6
mov dword [esp + 0x30], 0xf1bbcdcc
mov dword [esp + 0x34], 0xe3779b99
mov dword [esp + 0x38], 0xc6ef3733
mov dword [esp + 0x3c], 0x8dde6e67
mov dword [esp + 0x40], 0x1bbcdccf
mov dword [esp + 0x44], 0x3779b99e
mov dword [esp + 0x48], 0x6ef3733c
mov dword [esp + 0x4c], 0xdde6e678
mov dword [esp + 0x50], 0xbbcdccf1
mov dword [esp + 0x54], 0x779b99e3
mov dword [esp + 0x58], 0xef3733c6
mov dword [esp + 0x5c], 0xde6e678d
mov dword [esp + 0x60], 0xbcdccf1b
call fcn.00486a70
xor ecx, ecx
mov eax, dword [ecx + edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
bswap eax
mov edx, dword [esp + 0x10]
mov dword [ecx + edx], eax
add ecx, 4
cmp ecx, 0x10
jne 0x49ecd3
xor ecx, ecx
lea edi, [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ebp, dword [edi - 4]
sub eax, ebp
add eax, dword [edx]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x505810]
xor edx, dword [ebx*4 + 0x505410]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x505010]
movzx eax, al
xor edx, dword [eax*4 + 0x504c10]
mov eax, dword [esi + 0x14]
mov dword [ecx + eax], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
sub eax, dword [edx + 0xc]
mov edx, dword [esi + 0x14]
add eax, ebp
lea ebp, [ecx + edx]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x505810]
xor edx, dword [ebx*4 + 0x505410]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x505010]
movzx eax, al
xor edx, dword [eax*4 + 0x504c10]
xor edx, dword [ebp]
mov dword [ebp + 4], edx
mov eax, dword [esp + 0x10]
movzx ebx, byte [eax + 4]
mov ebp, dword [eax]
mov dl, byte [eax]
shl ebx, 0x18
movzx edx, dl
shr ebp, 8
or ebx, ebp
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 4]
mov ebp, dword [edi]
shl edx, 0x18
shr ebx, 8
or edx, ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
sub eax, ebp
add eax, dword [edx]
mov ebx, eax
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x505810]
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ebx*4 + 0x505410]
mov ebx, eax
shr ebx, 8
movzx eax, al
movzx ebx, bl
xor edx, dword [ebx*4 + 0x505010]
xor edx, dword [eax*4 + 0x504c10]
mov eax, dword [esi + 0x14]
mov dword [ecx + eax + 8], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
sub eax, dword [edx + 0xc]
mov edx, dword [esi + 0x14]
add eax, ebp
lea ebp, [ecx + edx]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x505810]
xor edx, dword [ebx*4 + 0x505410]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x505010]
movzx eax, al
xor edx, dword [eax*4 + 0x504c10]
add ecx, 0x10
xor edx, dword [ebp + 8]
add edi, 8
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
movzx ebx, byte [ebp + 0xb]
mov edx, eax
shl eax, 8
or ebx, eax
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
shr edx, 0x18
shl ebx, 8
or ebx, edx
mov dword [eax + 8], ebx
cmp ecx, 0x80
jne 0x49ecf5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f14f
add esp, 0x58
ret 8