Function at 0x49b560
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x204]
push ecx
mov ecx, 0x78
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, 0x4ba4e4
lea edi, [ebp - 0x224]
mov eax, dword [ebp + 0xc]
shr eax, 5
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0049a434
sub eax, 0x80
shr eax, 5
add eax, 0xa
mov dword [ebp - 0x18], eax
mov edx, dword [esi]
mov eax, dword [ebp - 0x18]
shl eax, 2
lea ecx, [ebp + eax*8 - 0x204]
xor edx, dword [ecx]
mov dword [edi], edx
lea edx, [esi + 8]
mov edx, dword [edx]
lea ecx, [ebp + eax*8 - 0x1fc]
xor edx, dword [ecx]
lea ecx, [edi + 4]
mov dword [ecx], edx
lea edx, [esi + 0x10]
mov edx, dword [edx]
lea ecx, [ebp + eax*8 - 0x1f4]
xor edx, dword [ecx]
lea ecx, [edi + 8]
mov dword [ecx], edx
lea edx, [esi + 0x18]
mov edx, dword [edx]
lea eax, [ebp + eax*8 - 0x1ec]
xor edx, dword [eax]
lea eax, [edi + 0xc]
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x49b64b
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
add edx, 4
sub edx, dword [ebp - 8]
and edx, 0x80000003
jns 0x49b633
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx]
mov dl, byte [edx + 0x4b9f6c]
mov byte [eax], dl
inc dword [ebp - 0xc]
inc eax
dec dword [ebp - 0x1c]
jne 0x49b61d
inc dword [ebp - 8]
add dword [ebp - 0x24], 8
add dword [ebp - 0x20], 4
cmp dword [ebp - 8], 4
jne 0x49b607
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 1
jl 0x49ba69
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [ebp + eax*8 - 0x204]
mov edx, dword [esi]
mov ecx, eax
xor edx, dword [ecx]
mov dword [edi], edx
lea edx, [esi + 8]
mov edx, dword [edx]
lea ecx, [eax + 8]
xor edx, dword [ecx]
lea ecx, [edi + 4]
mov dword [ecx], edx
lea edx, [esi + 0x10]
mov edx, dword [edx]
lea ecx, [eax + 0x10]
xor edx, dword [ecx]
lea ecx, [edi + 8]
mov dword [ecx], edx
lea edx, [esi + 0x18]
mov edx, dword [edx]
lea ecx, [eax + 0x18]
xor edx, dword [ecx]
lea ecx, [edi + 0xc]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [edi]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 4]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 8]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xc]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi], dl
xor edx, edx
mov dl, byte [edi + 1]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 5]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 9]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xd]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 1], dl
xor edx, edx
mov dl, byte [edi + 2]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 6]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xa]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xe]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 2], dl
xor edx, edx
mov dl, byte [edi + 3]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 7]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xb]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xf]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 3], dl
xor edx, edx
mov dl, byte [edi + 7]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xb]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xf]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 3]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 8], dl
xor edx, edx
mov dl, byte [edi + 4]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 8]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xc]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 9], dl
xor edx, edx
mov dl, byte [edi + 5]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 9]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xd]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 1]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0xa], dl
xor edx, edx
mov dl, byte [edi + 6]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xa]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xe]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 2]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0xb], dl
xor edx, edx
mov dl, byte [edi + 0xa]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xe]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 2]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 6]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x10], dl
xor edx, edx
mov dl, byte [edi + 0xb]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xf]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 3]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 7]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x11], dl
xor edx, edx
mov dl, byte [edi + 8]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xc]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 4]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x12], dl
xor edx, edx
mov dl, byte [edi + 9]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xd]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 1]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 5]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x13], dl
xor edx, edx
mov dl, byte [edi + 0xd]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 1]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 5]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 9]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x18], dl
xor edx, edx
mov dl, byte [edi + 0xe]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 2]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 6]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xa]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x19], dl
xor edx, edx
mov dl, byte [edi + 0xf]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 3]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 7]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xb]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x1a], dl
xor edx, edx
mov dl, byte [edi + 0xc]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 4]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 8]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x4b9f6c]
mov byte [esi + 0x1b], dl
dec dword [ebp - 0x10]
sub eax, 0x20
cmp dword [ebp - 0x10], 0
jne 0x49b679
lea eax, [ebp - 0x204]
mov eax, dword [eax]
xor dword [esi], eax
lea eax, [ebp - 0x1fc]
mov eax, dword [eax]
lea edx, [esi + 8]
xor dword [edx], eax
lea eax, [ebp - 0x1f4]
mov eax, dword [eax]
lea edx, [esi + 0x10]
xor dword [edx], eax
lea eax, [ebp - 0x1ec]
mov eax, dword [eax]
lea edx, [esi + 0x18]
xor dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8