Function at 0x41b934
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
sub esp, 0x824
mov edx, 1
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + ebx*4 + 0x24], edx
mov al, dl
add al, al
mov dword [esp + edx*4 + 0x424], ebx
mov ecx, 0x1b
test edx, 0x80
jne 0x41b962
xor ecx, ecx
xor al, cl
xor al, dl
inc ebx
and eax, 0xff
mov edx, eax
cmp ebx, 0x100
jb 0x41b944
xor ebx, ebx
mov edx, 1
mov dword [ebx*4 + 0x49bb1c], edx
mov al, dl
add al, al
test edx, 0x80
mov ecx, 0x1b
jne 0x41b997
xor ecx, ecx
xor al, cl
inc ebx
and eax, 0xff
mov edx, eax
cmp ebx, 0xa
jb 0x41b97d
mov byte [0x49ba18], 0x63
mov ebx, 1
mov byte [0x49a93f], 0
mov esi, 0xff
sub esi, dword [esp + ebx*4 + 0x424]
mov edx, dword [esp + esi*4 + 0x24]
mov al, dl
mov ecx, edx
add al, al
sar ecx, 7
or al, cl
and eax, 0xff
xor edx, eax
mov dword [esp + 0x824], eax
mov cl, byte [esp + 0x824]
add cl, cl
sar eax, 7
or cl, al
and ecx, 0xff
xor edx, ecx
mov dword [esp + 0x824], ecx
mov al, byte [esp + 0x824]
add al, al
sar ecx, 7
or al, cl
and eax, 0xff
xor edx, eax
mov dword [esp + 0x824], eax
mov cl, byte [esp + 0x824]
add cl, cl
sar eax, 7
or cl, al
xor cl, 0x63
and ecx, 0xff
xor edx, ecx
mov byte [ebx + 0x49ba18], dl
mov byte [edx + 0x49a8dc], bl
inc ebx
cmp ebx, 0x100
jb 0x41b9b9
xor ebx, ebx
mov dword [esp + 0x828], ebx
mov ebx, dword [esp + 0x828]
movzx edx, byte [ebx + 0x49ba18]
mov dword [esp + 0x82c], edx
mov al, byte [esp + 0x82c]
add al, al
test dword [esp + 0x82c], 0x80
mov ecx, 0x1b
jne 0x41ba88
xor ecx, ecx
xor al, cl
mov esi, dword [esp + 0x82c]
shl esi, 0x10
and eax, 0xff
mov dword [esp + 0x824], eax
mov dl, byte [esp + 0x824]
xor dl, byte [esp + 0x82c]
mov eax, dword [esp + 0x82c]
shl eax, 8
xor eax, dword [esp + 0x824]
xor esi, eax
and edx, 0xff
shl edx, 0x18
xor edx, esi
mov dword [ebx*4 + 0x49a0dc], edx
mov dword [esp + 0xc], edx
mov edi, dword [esp + 0xc]
shl edx, 8
shr edi, 0x18
or edx, edi
mov dword [ebx*4 + 0x49a9dc], edx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
shl edx, 8
shr ecx, 0x18
or edx, ecx
mov dword [ebx*4 + 0x49b618], edx
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
shl edx, 8
shr esi, 0x18
or edx, esi
mov dword [ebx*4 + 0x499cd8], edx
movzx edx, byte [ebx + 0x49a8dc]
test edx, edx
mov dword [esp + 0x82c], edx
je 0x41bb59
mov edi, dword [esp + edx*4 + 0x424]
mov eax, 0x80808081
add edi, dword [esp + 0x450]
imul edi
mov eax, edi
add edx, edi
sar eax, 0x1f
sar edx, 7
sub edx, eax
imul eax, edx, 0xff
sub edi, eax
mov eax, dword [esp + edi*4 + 0x24]
jmp 0x41bb5b
xor eax, eax
shl eax, 0x18
push eax
cmp dword [esp + 0x830], 0
je 0x41bb9f
mov ecx, dword [esp + 0x830]
mov esi, dword [esp + ecx*4 + 0x428]
mov eax, 0x80808081
add esi, dword [esp + 0x45c]
imul esi
mov eax, esi
add edx, esi
sar eax, 0x1f
sar edx, 7
sub edx, eax
imul eax, edx, 0xff
sub esi, eax
mov edx, dword [esp + esi*4 + 0x28]
jmp 0x41bba1
xor edx, edx
shl edx, 0x10
push edx
cmp dword [esp + 0x834], 0
je 0x41bbe5
mov eax, dword [esp + 0x834]
mov ecx, dword [esp + eax*4 + 0x42c]
mov eax, 0x80808081
add ecx, dword [esp + 0x450]
imul ecx
mov eax, ecx
add edx, ecx
sar eax, 0x1f
sar edx, 7
sub edx, eax
imul eax, edx, 0xff
sub ecx, eax
mov esi, dword [esp + ecx*4 + 0x2c]
jmp 0x41bbe7
xor esi, esi
shl esi, 8
cmp dword [esp + 0x834], 0
je 0x41bc2a
mov edx, dword [esp + 0x834]
mov edi, dword [esp + edx*4 + 0x42c]
mov eax, 0x80808081
add edi, dword [esp + 0x464]
imul edi
mov eax, edi
add edx, edi
sar eax, 0x1f
sar edx, 7
sub edx, eax
imul eax, edx, 0xff
sub edi, eax
mov eax, dword [esp + edi*4 + 0x2c]
jmp 0x41bc2c
xor eax, eax
xor esi, eax
pop edx
xor edx, esi
pop eax
xor eax, edx
mov dword [ebx*4 + 0x49b218], eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
shl eax, 8
inc dword [esp + 0x828]
shr ecx, 0x18
or eax, ecx
mov dword [ebx*4 + 0x49bb48], eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
shl eax, 8
shr edx, 0x18
or eax, edx
mov dword [ebx*4 + 0x49a4dc], eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x20]
shl eax, 8
shr esi, 0x18
or eax, esi
mov dword [ebx*4 + 0x49ae18], eax
cmp dword [esp + 0x828], 0x100
jb 0x41ba56
pop edi
pop esi
pop ebx
add esp, 0x824
ret