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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax + 8]
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, dword [ebp + 0xc]
xor edx, dword [ebp + 4]
xor ebx, dword [ebp + 8]
push esi
mov esi, dword [eax]
xor esi, dword [ebp]
push edi
xor eax, eax
xor edi, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edi
jmp 0x415d40
mov edi, dword [edi + 0x6ba720]
xor eax, edi
mov edi, dword [esp + 0x34]
add edi, 0x20
mov dword [esp + 0x34], edi
cmp edi, 0x100
jb 0x415d40
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi + 0x6ba720]
shl edi, 8
mov dword [esp + 0x34], eax
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx eax, byte [eax + 0x6ba720]
xor eax, edi
mov edi, ecx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x6ba720]
shl eax, 8
xor eax, edi
mov edi, esi
and edi, 0xff
movzx edi, byte [edi + 0x6ba720]
shr ecx, 0x10
shl eax, 8
xor eax, edi
mov edi, ebx
shr edi, 0x18
movzx edi, byte [edi + 0x6ba720]
shl edi, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x6ba720]
xor ecx, edi
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x6ba720]
shl ecx, 8
xor ecx, edi
mov edi, edx
and edi, 0xff
movzx edi, byte [edi + 0x6ba720]
shr esi, 0x10
shl ecx, 8
xor ecx, edi
mov edi, dword [esp + 0x10]
shr edi, 0x18
movzx edi, byte [edi + 0x6ba720]
shl edi, 8
and esi, 0xff
movzx esi, byte [esi + 0x6ba720]
xor esi, edi
mov edi, edx
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x6ba720]
shl esi, 8
xor esi, edi
shr edx, 0x10
mov edi, ebx
and edi, 0xff
movzx edi, byte [edi + 0x6ba720]
and edx, 0xff
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 0x6ba720]
mov edx, dword [esp + 0x2c]
shr edx, 0x18
movzx edx, byte [edx + 0x6ba720]
shl edx, 8
xor edi, edx
shr ebx, 8
and ebx, 0xff
movzx edx, byte [ebx + 0x6ba720]
shl edi, 8
xor edi, edx
mov edx, dword [esp + 0x10]
and edx, 0xff
movzx edx, byte [edx + 0x6ba720]
shl edi, 8
xor edi, edx
mov edx, eax
and edx, 0x80808080
mov ebx, edx
shr ebx, 7
sub edx, ebx
mov ebx, eax
and ebx, 0xff7f7f7f
add ebx, ebx
and edx, 0x1b1b1b1b
xor edx, ebx
mov dword [esp + 0x34], edx
and edx, 0x80808080
mov ebx, edx
shr ebx, 7
sub edx, ebx
mov ebx, dword [esp + 0x34]
and ebx, 0xff7f7f7f
add ebx, ebx
and edx, 0x1b1b1b1b
xor edx, ebx
mov dword [esp + 0x2c], edx
and edx, 0x80808080
mov ebx, edx
shr ebx, 7
sub edx, ebx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff7f7f7f
add ebx, ebx
and edx, 0x1b1b1b1b
xor edx, ebx
mov ebx, edx
xor ebx, eax
mov eax, ebx
xor eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov edx, ebx
xor edx, dword [esp + 0x2c]
rol edx, 0x10
rol eax, 0x18
xor edx, eax
rol ebx, 8
xor edx, ebx
xor edx, dword [esp + 0x10]
mov eax, ecx
xor edx, dword [esp + 0x2c]
and eax, 0x80808080
xor edx, dword [esp + 0x34]
mov ebx, eax
shr ebx, 7
sub eax, ebx
and eax, 0x1b1b1b1b
mov ebx, ecx
and ebx, 0xff7f7f7f
add ebx, ebx
xor eax, ebx
mov ebx, eax
and ebx, 0x80808080
mov dword [esp + 0x34], eax
mov eax, ebx
shr eax, 7
sub ebx, eax
mov eax, dword [esp + 0x34]
and eax, 0xff7f7f7f
xor edx, dword [ebp + 0x10]
and ebx, 0x1b1b1b1b
add eax, eax
xor ebx, eax
mov eax, ebx
mov dword [esp + 0x2c], ebx
and eax, 0x80808080
mov ebx, eax
shr ebx, 7
sub eax, ebx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff7f7f7f
and eax, 0x1b1b1b1b
add ebx, ebx
xor eax, ebx
mov dword [esp + 0x10], eax
xor eax, ecx
mov ecx, eax
xor ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
rol ecx, 0x10
mov ebx, eax
xor ebx, dword [esp + 0x34]
rol ebx, 0x18
xor ecx, ebx
rol eax, 8
xor ecx, eax
xor ecx, dword [esp + 0x10]
mov eax, esi
xor ecx, dword [esp + 0x2c]
and eax, 0x80808080
xor ecx, dword [esp + 0x34]
mov ebx, eax
shr ebx, 7
sub eax, ebx
and eax, 0x1b1b1b1b
mov ebx, esi
and ebx, 0xff7f7f7f
add ebx, ebx
xor eax, ebx
mov dword [esp + 0x34], eax
and eax, 0x80808080
mov ebx, eax
shr ebx, 7
sub eax, ebx
mov ebx, dword [esp + 0x34]
and ebx, 0xff7f7f7f
add ebx, ebx
and eax, 0x1b1b1b1b
xor eax, ebx
mov dword [esp + 0x2c], eax
and eax, 0x80808080
xor ecx, dword [ebp + 0x14]
mov ebx, eax
shr ebx, 7
sub eax, ebx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff7f7f7f
add ebx, ebx
and eax, 0x1b1b1b1b
xor eax, ebx
mov ebx, eax
xor ebx, esi
mov esi, ebx
xor esi, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, ebx
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
rol eax, 0x10
rol esi, 0x18
xor eax, esi
rol ebx, 8
xor eax, ebx
xor eax, dword [esp + 0x10]
mov esi, edi
xor eax, dword [esp + 0x2c]
and esi, 0x80808080
xor eax, dword [esp + 0x34]
mov ebx, esi
shr ebx, 7
sub esi, ebx
xor eax, dword [ebp + 0x18]
and esi, 0x1b1b1b1b
mov ebx, edi
and ebx, 0xff7f7f7f
add ebx, ebx
xor esi, ebx
mov dword [esp + 0x34], esi
and esi, 0x80808080
mov ebx, esi
shr ebx, 7
sub esi, ebx
mov ebx, dword [esp + 0x34]
and ebx, 0xff7f7f7f
and esi, 0x1b1b1b1b
add ebx, ebx
xor esi, ebx
mov dword [esp + 0x2c], esi
and esi, 0x80808080
mov ebx, esi
mov dword [esp + 0x20], eax
shr ebx, 7
sub esi, ebx
mov ebx, dword [esp + 0x2c]
and esi, 0x1b1b1b1b
and ebx, 0xff7f7f7f
add ebx, ebx
xor esi, ebx
mov ebx, esi
mov dword [esp + 0x10], esi
xor ebx, edi
mov esi, ebx
xor esi, dword [esp + 0x2c]
mov edi, ebx
xor edi, dword [esp + 0x34]
rol esi, 0x10
rol edi, 0x18
xor esi, edi
rol ebx, 8
xor esi, ebx
xor esi, dword [esp + 0x10]
lea edi, [ebp + 0x20]
xor esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
xor esi, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
xor esi, dword [ebp + 0x1c]
mov ebp, dword [ebp + 0xf0]
sub ebp, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edi
test ebp, ebp
jle 0x416280
jmp 0x416130
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*8 + 0x6b9f23]
mov ebx, eax
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*8 + 0x6b9f22]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*8 + 0x6b9f21]
mov ebx, dword [esp + 0x2c]
and edx, 0xff
xor edi, dword [edx*8 + 0x6b9f20]
mov edx, dword [esp + 0x34]
xor edi, dword [edx]
shr ebx, 8
mov edx, edi
and ebx, 0xff
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*8 + 0x6b9f22]
xor edi, dword [ebx*8 + 0x6b9f23]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*8 + 0x6b9f21]
mov ebx, dword [esp + 0x2c]
and ecx, 0xff
xor edi, dword [ecx*8 + 0x6b9f20]
mov ecx, dword [esp + 0x34]
xor edi, dword [ecx + 4]
shr ebx, 0x10
mov ecx, edi
mov edi, dword [esp + 0x10]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*8 + 0x6b9f23]
and ebx, 0xff
xor edi, dword [ebx*8 + 0x6b9f22]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*8 + 0x6b9f21]
mov ebx, dword [esp + 0x10]
and eax, 0xff
xor edi, dword [eax*8 + 0x6b9f20]
mov eax, dword [esp + 0x34]
xor edi, dword [eax + 8]
shr ebx, 0x10
mov eax, edi
mov edi, dword [esp + 0x14]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*8 + 0x6b9f23]
and ebx, 0xff
xor edi, dword [ebx*8 + 0x6b9f22]
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
xor edi, dword [ebx*8 + 0x6b9f21]
and esi, 0xff
xor edi, dword [esi*8 + 0x6b9f20]
dec ebp
mov ebx, edi
mov edi, dword [esp + 0x34]
xor ebx, dword [edi + 0xc]
add edi, 0x10
mov esi, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edi
test ebp, ebp
jg 0x416130
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
xor ecx, ecx
xor eax, eax
mov edx, dword [eax + 0x6ba720]
add eax, 0x20
xor ecx, edx
cmp eax, 0x100
jb 0x416284
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
movzx ebx, byte [ecx + 0x6ba720]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr edx, 0x18
movzx edx, byte [edx + 0x6ba720]
shl edx, 8
xor ebx, edx
mov edx, dword [esp + 0x24]
shl ebx, 8
mov esi, edx
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x6ba720]
xor ebx, esi
mov esi, dword [esp + 0x18]
shl ebx, 8
mov ebp, esi
and ebp, 0xff
movzx ebp, byte [ebp + 0x6ba720]
xor ebx, ebp
xor ebx, dword [edi]
mov ebp, dword [esp + 0x30]
mov dword [ebp], ebx
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
movzx ebx, byte [ebx + 0x6ba720]
mov ebp, eax
shr ebp, 0x18
movzx ebp, byte [ebp + 0x6ba720]
shl ebp, 8
xor ebx, ebp
shl ebx, 8
mov ebp, esi
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x6ba720]
xor ebx, ebp
shl ebx, 8
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp + 0x6ba720]
xor ebx, ebp
xor ebx, dword [edi + 4]
mov ebp, dword [esp + 0x30]
mov dword [ebp + 4], ebx
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
movzx ebp, byte [ebx + 0x6ba720]
mov ebx, edx
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6ba720]
shl ebx, 8
xor ebp, ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6ba720]
shl ebp, 8
xor ebp, ebx
mov ebx, eax
and ebx, 0xff
movzx ebx, byte [ebx + 0x6ba720]
shl ebp, 8
xor ebp, ebx
xor ebp, dword [edi + 8]
mov ebx, dword [esp + 0x30]
shr ecx, 0x10
shr esi, 0x18
mov dword [ebx + 8], ebp
movzx esi, byte [esi + 0x6ba720]
and ecx, 0xff
movzx ecx, byte [ecx + 0x6ba720]
shl esi, 8
xor ecx, esi
shr eax, 8
and eax, 0xff
movzx eax, byte [eax + 0x6ba720]
shl ecx, 8
and edx, 0xff
movzx edx, byte [edx + 0x6ba720]
xor ecx, eax
shl ecx, 8
xor ecx, edx
xor ecx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
mov dword [ebx + 0xc], ecx
pop ebx
add esp, 0x18
ret