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

Disassembly:
sub esp, 0x40
mov eax, dword [0x4cd00c]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
mov ebx, ecx
xor eax, eax
push esi
mov esi, dword [esp + 0x50]
mov ecx, 8
push edi
mov ebp, dword [ebx + 4]
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
sub ebp, 6
mov dword [esp + 0x1c], ebx
xor edi, edi
mov dword [esp + 0x20], ebp
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
test ebp, ebp
jle 0x48a0cd
cmp edi, dword [ebx + 4]
jg 0x48a0c5
cmp esi, ebp
jge 0x48a0b2
lea esp, [esp]
cmp eax, 4
jge 0x48a0b5
movzx ecx, byte [esp + esi*4 + 0x2c]
lea edx, [eax + edi*4]
mov byte [ebx + edx*4 + 0x18], cl
inc eax
movzx ecx, byte [esp + esi*4 + 0x2d]
mov byte [ebx + edx*4 + 0x19], cl
movzx ecx, byte [esp + esi*4 + 0x2e]
mov byte [ebx + edx*4 + 0x1a], cl
movzx ecx, byte [esp + esi*4 + 0x2f]
inc esi
mov byte [ebx + edx*4 + 0x1b], cl
cmp esi, ebp
jl 0x48a080
cmp eax, 4
jne 0x48a0b8
inc edi
lea ecx, [eax - 4]
neg ecx
sbb ecx, ecx
and eax, ecx
cmp esi, ebp
jl 0x48a073
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
cmp edi, dword [ebx + 4]
jg 0x48a2aa
mov esi, 0x4ce038
jmp 0x48a0e0
movzx ecx, byte [esp + ebp*4 + 0x29]
mov dl, byte [esp + 0x2c]
xor dl, byte [ecx + str.cw]
mov byte [esp + 0x2c], dl
movzx ecx, byte [esp + ebp*4 + 0x2a]
mov cl, byte [ecx + str.cw]
xor cl, byte [esp + 0x2d]
mov byte [esp + 0x13], cl
mov byte [esp + 0x2d], cl
movzx ecx, byte [esp + ebp*4 + 0x2b]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x2e], cl
movzx ecx, byte [esp + ebp*4 + 0x28]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x2f], cl
movzx ecx, byte [esi]
inc esi
xor cl, dl
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], cl
cmp ebp, 8
je 0x48a189
cmp ebp, 1
jle 0x48a17c
mov bl, byte [esp + 0x13]
lea ecx, [ebp - 1]
lea esi, [esp + 0x2d]
mov dword [esp + 0x24], ecx
mov ebp, ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi], bl
xor byte [esi + 2], cl
mov bl, byte [esi]
sub ebp, 1
jne 0x48a153
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ebp, ebp
jle 0x48a29d
jmp 0x48a239
mov bl, byte [esp + 0x13]
lea esi, [esp + 0x2d]
mov ebp, 3
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi], bl
xor byte [esi + 2], cl
mov bl, byte [esi]
sub ebp, 1
jne 0x48a196
movzx ecx, byte [esp + 0x38]
lea edi, [ebp + 3]
mov al, byte [esp + 0x3d]
lea esi, [esp + 0x3d]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x3c], cl
movzx ecx, byte [esp + 0x39]
xor al, byte [ecx + str.cw]
movzx ecx, byte [esp + 0x3a]
mov byte [esp + 0x3d], al
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x3e], cl
movzx ecx, byte [esp + 0x3b]
movzx ecx, byte [ecx + str.cw]
xor byte [esp + 0x3f], cl
lea esp, [esp]
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi], al
xor byte [esi + 2], cl
mov al, byte [esi]
sub edi, 1
jne 0x48a210
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x48a240
cmp edi, dword [ebx + 4]
jg 0x48a295
cmp esi, ebp
jge 0x48a282
lea esp, [esp]
cmp eax, 4
jge 0x48a285
movzx ecx, byte [esp + esi*4 + 0x2c]
lea edx, [eax + edi*4]
mov byte [ebx + edx*4 + 0x18], cl
inc eax
movzx ecx, byte [esp + esi*4 + 0x2d]
mov byte [ebx + edx*4 + 0x19], cl
movzx ecx, byte [esp + esi*4 + 0x2e]
mov byte [ebx + edx*4 + 0x1a], cl
movzx ecx, byte [esp + esi*4 + 0x2f]
inc esi
mov byte [ebx + edx*4 + 0x1b], cl
cmp esi, ebp
jl 0x48a250
cmp eax, 4
jne 0x48a288
inc edi
lea ecx, [eax - 4]
neg ecx
sbb ecx, ecx
and eax, ecx
cmp esi, ebp
jl 0x48a240
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x28]
cmp edi, dword [ebx + 4]
jle 0x48a0e0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443db6
add esp, 0x40
ret 4