Function at 0x711aa0
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 0x711aad
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x69dd38]
mov byte [eax + edi - 1], dl
jl 0x711ac7
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x69de74]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x39], dl
jl 0x711ade
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 0x711b22
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 0x711b53
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ecx]
test al, al
mov byte [ebp - 0x1c], al
je 0x711b8e
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x69da46]
mov cl, byte [eax + 0x69da38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x69db38]
mov dword [ebp - 4], eax
jmp 0x711b95
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 0x711bd8
mov eax, dword [ebp - 0x20]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x69da43]
mov cl, byte [eax + 0x69da38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x69db38]
mov dword [ebp + 0xc], eax
jmp 0x711bdf
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 0x711c1e
mov eax, dword [ebp - 0x24]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x69da45]
mov cl, byte [eax + 0x69da38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor ecx, ecx
mov cl, byte [edx + 0x69db38]
jmp 0x711c20
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 0x711c63
mov eax, dword [ebp - 0x28]
xor edx, edx
and eax, 0xff
mov ebx, 0xff
mov dl, byte [eax + 0x69da38]
mov eax, edx
xor edx, edx
mov dl, byte [0x69da41]
add eax, edx
cdq
idiv ebx
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x69db38]
jmp 0x711c65
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 0x711b50
add ebx, 4
cmp ebx, 0x10
mov dword [ebp - 0xc], ebx
jl 0x711b38
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 + 0x69dd38]
mov byte [eax + edi - 1], dl
jl 0x711cb0
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x69de74]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x49], dl
jl 0x711cc7
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 0x711b20
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 0x711d16
pop edi
pop ebx
mov esp, ebp
pop ebp
ret