Function at 0x49d460
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov ecx, dword [esi + 0x4c]
xor ecx, dword [edi]
mov edx, dword [esi + 0x50]
xor edx, dword [edi + 4]
mov edi, dword [esi + 0x54]
xor edi, dword [ebx + 8]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov edi, dword [esi + 0x58]
xor edi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
mov dword [esp + 0x24], edi
movzx ebx, bl
shr edi, 0x18
mov edi, dword [edi*4 + 0x583018]
xor edi, dword [ebx*4 + 0x582c18]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x582818]
movzx ebx, cl
xor edi, dword [ebx*4 + 0x582418]
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
mov dword [eax], edi
movzx edi, bl
mov edi, dword [edi*4 + 0x582c18]
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x582818]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583018]
movzx ebx, dl
xor edi, dword [ebx*4 + 0x582418]
mov ebx, dword [esp + 0x24]
mov dword [eax + 4], edi
shr ebx, 8
movzx edi, bl
mov edi, dword [edi*4 + 0x582818]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583018]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x582c18]
mov ebx, dword [esp + 0x20]
movzx ebp, bl
xor edi, dword [ebp*4 + 0x582418]
shr edx, 0x10
mov dword [eax + 8], edi
shr ecx, 8
shr ebx, 0x18
mov edi, dword [ebx*4 + 0x583018]
movzx edx, dl
xor edi, dword [edx*4 + 0x582c18]
movzx edx, byte [esp + 0x24]
movzx ecx, cl
xor edi, dword [ecx*4 + 0x582818]
mov dword [esp + 0x14], 1
xor edi, dword [edx*4 + 0x582418]
mov dword [eax + 0xc], edi
mov ecx, dword [esi + 0x48]
sub ecx, 1
cmp ecx, 1
jle 0x49d6bb
lea edi, [esi + 0x60]
nop
mov ebp, dword [edi + 4]
xor ebp, dword [eax + 8]
mov ecx, dword [edi]
xor ecx, dword [eax + 4]
mov edx, dword [edi - 4]
xor edx, dword [eax]
mov dword [esp + 0x20], ebp
mov ebp, dword [edi + 8]
xor ebp, dword [eax + 0xc]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx ebx, bl
mov dword [esp + 0x24], ebp
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x583018]
xor ebp, dword [ebx*4 + 0x582c18]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor ebp, dword [ebx*4 + 0x582818]
movzx ebx, dl
xor ebp, dword [ebx*4 + 0x582418]
mov ebx, dword [esp + 0x24]
mov dword [eax], ebp
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x582c18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
shr eax, 8
movzx ebp, al
xor ebx, dword [ebp*4 + 0x582818]
mov eax, dword [esp + 0x10]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583018]
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x582418]
mov ebp, ecx
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x24]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x582818]
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583018]
mov dword [esp + 0x10], edx
shr edx, 0x10
movzx ebp, dl
xor ebx, dword [ebp*4 + 0x582c18]
movzx ebp, byte [esp + 0x20]
xor ebx, dword [ebp*4 + 0x582418]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
shr ecx, 0x10
mov dword [eax + 8], ebx
movzx ecx, cl
shr edx, 8
shr ebp, 0x18
mov ebx, dword [ebp*4 + 0x583018]
xor ebx, dword [ecx*4 + 0x582c18]
movzx ecx, byte [esp + 0x24]
movzx edx, dl
xor ebx, dword [edx*4 + 0x582818]
add edi, 0x10
xor ebx, dword [ecx*4 + 0x582418]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ebx
mov edx, dword [esi + 0x48]
add ecx, 1
sub edx, 1
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x49d590
mov edx, dword [esi + 0x48]
mov ecx, edx
shl ecx, 4
mov ebp, dword [ecx + esi + 0x44]
xor ebp, dword [eax + 8]
lea edi, [ecx + esi]
mov ecx, dword [edi + 0x3c]
mov edi, dword [edi + 0x48]
xor edi, dword [eax + 0xc]
xor ecx, dword [eax]
mov dword [esp + 0x24], edi
movzx edi, cl
movzx ebx, byte [edi*4 + 0x582419]
add edx, 4
shl edx, 4
mov edx, dword [edx + esi]
xor edx, dword [eax + 4]
mov byte [eax], bl
mov ebx, edx
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 1], bl
mov ebx, ebp
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi*4 + 0x582419]
mov edi, dword [esp + 0x24]
mov byte [eax + 2], bl
shr edi, 0x18
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 3], bl
movzx edi, dl
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 4], bl
mov ebx, ebp
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 5], bl
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 6], bl
mov edi, ecx
shr edi, 0x18
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 7], bl
mov dword [esp + 0x20], ebp
movzx edi, byte [esp + 0x20]
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 8], bl
mov ebx, dword [esp + 0x24]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi*4 + 0x582419]
mov byte [eax + 9], bl
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi*4 + 0x582419]
mov edi, edx
mov byte [eax + 0xa], bl
shr edi, 0x18
movzx ebx, byte [edi*4 + 0x582419]
movzx edi, byte [esp + 0x24]
shr ecx, 8
mov byte [eax + 0xb], bl
movzx ebx, byte [edi*4 + 0x582419]
movzx ecx, cl
mov byte [eax + 0xc], bl
movzx ecx, byte [ecx*4 + 0x582419]
shr edx, 0x10
movzx edx, dl
mov byte [eax + 0xd], cl
movzx ecx, byte [edx*4 + 0x582419]
mov byte [eax + 0xe], cl
mov ecx, ebp
shr ecx, 0x18
mov dl, byte [ecx*4 + 0x582419]
mov byte [eax + 0xf], dl
mov ecx, dword [esi + 0x48]
shl ecx, 4
mov edx, dword [ecx + esi + 0x4c]
xor dword [eax], edx
mov ecx, dword [esi + 0x48]
add ecx, 5
shl ecx, 4
mov edx, dword [ecx + esi]
xor dword [eax + 4], edx
mov ecx, dword [esi + 0x48]
shl ecx, 4
mov edx, dword [ecx + esi + 0x54]
xor dword [eax + 8], edx
mov ecx, dword [esi + 0x48]
shl ecx, 4
mov edx, dword [ecx + esi + 0x58]
xor dword [eax + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8