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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp + 8]
mov bl, byte [eax + edi]
mov dl, byte [ecx + eax + 0xa0]
xor bl, dl
mov byte [eax + edi], bl
inc eax
cmp eax, 0x10
jl 0x7da82d
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x75ed38]
mov byte [eax + edi - 1], dl
jl 0x7da847
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x75ee74]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x39], dl
jl 0x7da85e
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, edi
push esi
mov dword [ebp - 0x14], 9
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x90]
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax + edi]
xor bl, dl
mov byte [eax + edi], bl
inc eax
cmp eax, 0x10
jl 0x7da8a2
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov eax, edi
lea edx, [ebp - 0x38]
lea ecx, [ebp + ebx - 0x38]
sub eax, edx
mov dword [ebp - 8], ecx
mov esi, 0xfffffffe
mov dword [ebp - 0x18], eax
jmp 0x7da8d3
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ecx]
test al, al
mov byte [ebp - 0x1c], al
je 0x7da90e
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x75ea46]
mov cl, byte [eax + 0x75ea38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x75eb38]
mov dword [ebp - 4], eax
jmp 0x7da915
mov dword [ebp - 4], 0
lea edx, [esi - 1]
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x20], al
je 0x7da958
mov eax, dword [ebp - 0x20]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x75ea43]
mov cl, byte [eax + 0x75ea38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x75eb38]
mov dword [ebp + 0xc], eax
jmp 0x7da95f
mov dword [ebp + 0xc], 0
mov edx, esi
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x24], al
je 0x7da99e
mov eax, dword [ebp - 0x24]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x75ea45]
mov cl, byte [eax + 0x75ea38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor ecx, ecx
mov cl, byte [edx + 0x75eb38]
jmp 0x7da9a0
xor ecx, ecx
inc esi
mov edx, esi
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x28], al
je 0x7da9e3
mov eax, dword [ebp - 0x28]
xor edx, edx
and eax, 0xff
mov ebx, 0xff
mov dl, byte [eax + 0x75ea38]
mov eax, edx
xor edx, edx
mov dl, byte [0x75ea41]
add eax, edx
cdq
idiv ebx
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x75eb38]
jmp 0x7da9e5
xor eax, eax
mov dl, byte [ebp + 0xc]
xor al, cl
mov cl, byte [ebp - 4]
xor al, dl
xor al, cl
mov ecx, dword [ebp - 8]
mov byte [ecx], al
lea eax, [esi + 2]
inc ecx
cmp eax, 4
mov dword [ebp - 8], ecx
jl 0x7da8d0
add ebx, 4
cmp ebx, 0x10
mov dword [ebp - 0xc], ebx
jl 0x7da8b8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x75ed38]
mov byte [eax + edi - 1], dl
jl 0x7daa30
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x75ee74]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x49], dl
jl 0x7daa47
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
jne 0x7da8a0
mov eax, dword [ebp + 8]
mov ecx, 0x10
sub eax, edi
pop esi
mov dl, byte [eax + edi]
mov bl, byte [edi]
xor bl, dl
mov byte [edi], bl
inc edi
dec ecx
jne 0x7daa96
pop edi
pop ebx
mov esp, ebp
pop ebp
ret