Function at 0x413610
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [edi]
mov ebx, dword [esi]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [edi + 4]
mov ebp, eax
xor ecx, ebx
ror ebp, 8
and ebp, 0xff00ff00
mov ebx, dword [esi + 0xc]
rol eax, 8
and eax, 0xff00ff
mov dword [esp + 0x1c], ecx
or ebp, eax
mov eax, dword [esi + 4]
xor ebp, eax
mov eax, dword [edi + 8]
mov edx, eax
mov edi, dword [edi + 0xc]
ror edx, 8
and edx, 0xff00ff00
mov dword [esp + 0x2c], ebp
rol eax, 8
and eax, 0xff00ff
or edx, eax
mov eax, dword [esi + 8]
xor edx, eax
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
mov dword [esp + 0x10], edx
rol edi, 8
and edi, 0xff00ff
or eax, edi
xor eax, ebx
xor ebx, ebx
mov bl, dh
mov dword [esp + 0x14], eax
shr ebp, 0x18
mov edx, dword [ebx*4 + 0x416d30]
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov edi, dword [ebx*4 + 0x416930]
xor edx, edi
mov edi, ecx
shr edi, 0x18
mov ebx, dword [edi*4 + 0x416530]
mov edi, eax
and edi, 0xff
xor edx, ebx
mov ebx, dword [edi*4 + 0x417130]
mov edi, dword [esi + 0x10]
xor edx, ebx
xor ebx, ebx
mov bl, ah
xor eax, eax
mov al, byte [esp + 0x12]
xor edx, edi
mov edi, dword [ebx*4 + 0x416d30]
mov dword [esp + 0x18], edx
mov ebx, dword [eax*4 + 0x416930]
mov eax, dword [ebp*4 + 0x416530]
xor edi, ebx
mov ebx, dword [esi + 0x14]
xor edi, eax
mov eax, ecx
and eax, 0xff
xor edi, dword [eax*4 + 0x417130]
xor edi, ebx
mov dword [esp + 0x24], edi
xor eax, eax
xor ebx, ebx
mov al, byte [esp + 0x16]
mov bl, ch
add esi, 0x20
mov eax, dword [eax*4 + 0x416930]
mov ecx, dword [ebx*4 + 0x416d30]
xor eax, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
mov ebx, dword [ecx*4 + 0x416530]
mov ecx, dword [esp + 0x2c]
xor eax, ebx
mov ebx, ecx
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x417130]
mov ebx, dword [esi - 8]
xor eax, ebp
xor eax, ebx
xor ebx, ebx
mov bl, ch
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx*4 + 0x416d30]
xor ebx, ebx
mov bl, byte [esp + 0x1e]
mov ebp, dword [ebx*4 + 0x416930]
xor ecx, ebp
mov ebp, dword [esp + 0x14]
shr ebp, 0x18
mov ebx, dword [ebp*4 + 0x416530]
mov ebp, dword [esp + 0x10]
and ebp, 0xff
xor ecx, ebx
mov ebx, dword [ebp*4 + 0x417130]
mov ebp, dword [esi - 4]
xor ecx, ebx
mov ebx, dword [esp + 0x28]
sar ebx, 1
xor ecx, ebp
dec ebx
mov dword [esp + 0x14], ecx
je 0x4139e2
mov ebp, ebx
xor edx, edx
xor ebx, ebx
mov bl, byte [esp + 0x26]
mov dl, ah
mov edi, dword [edx*4 + 0x416d30]
mov edx, dword [ebx*4 + 0x416930]
xor edi, edx
mov edx, dword [esp + 0x18]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x416530]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x417130]
mov ebx, dword [esi]
xor edi, ebx
xor ebx, ebx
mov bl, ch
mov dword [esp + 0x1c], edi
mov ecx, dword [ebx*4 + 0x416d30]
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov edi, dword [ebx*4 + 0x416930]
xor ecx, edi
mov edi, dword [esp + 0x24]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x416530]
mov edi, edx
and edi, 0xff
xor ecx, ebx
mov ebx, dword [edi*4 + 0x417130]
mov edi, dword [esi + 4]
xor ecx, ebx
xor ebx, ebx
xor ecx, edi
mov bl, dh
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [esp + 0x16]
mov edx, dword [ebx*4 + 0x416d30]
mov ecx, dword [ecx*4 + 0x416930]
xor ecx, edx
mov edx, eax
shr edx, 0x18
and eax, 0xff
mov edi, dword [edx*4 + 0x416530]
mov edx, dword [esp + 0x24]
xor ecx, edi
mov edi, edx
and edi, 0xff
mov ebx, dword [edi*4 + 0x417130]
xor ecx, ebx
mov ebx, dword [esi + 8]
xor ecx, ebx
xor ebx, ebx
mov bl, dh
mov dword [esp + 0x10], ecx
mov edx, dword [ebx*4 + 0x416d30]
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov edi, dword [ebx*4 + 0x416930]
xor edx, edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x416530]
mov edi, dword [esi + 0xc]
xor edx, ebx
mov ebx, dword [eax*4 + 0x417130]
xor edx, ebx
xor eax, eax
xor ebx, ebx
mov al, ch
mov bl, byte [esp + 0x2e]
xor edx, edi
mov edi, dword [eax*4 + 0x416d30]
mov dword [esp + 0x14], edx
mov eax, dword [ebx*4 + 0x416930]
xor edi, eax
mov eax, dword [esp + 0x1c]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x416530]
mov ebx, edx
and ebx, 0xff
add esi, 0x20
xor edi, dword [ebx*4 + 0x417130]
mov ebx, dword [esi - 0x10]
xor edi, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x12]
mov dword [esp + 0x18], edi
mov edi, dword [ebx*4 + 0x416d30]
mov ebx, dword [edx*4 + 0x416930]
mov edx, dword [esp + 0x2c]
shr edx, 0x18
xor edi, ebx
mov ebx, dword [edx*4 + 0x416530]
mov edx, eax
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x417130]
xor edx, edx
mov dl, byte [esp + 0x16]
xor edi, ebx
mov ebx, dword [esi - 0xc]
xor edi, ebx
xor ebx, ebx
mov bl, ah
mov eax, dword [edx*4 + 0x416930]
mov dword [esp + 0x24], edi
mov edx, dword [ebx*4 + 0x416d30]
xor eax, edx
mov edx, ecx
shr edx, 0x18
and ecx, 0xff
mov ebx, dword [edx*4 + 0x416530]
mov edx, dword [esp + 0x2c]
xor eax, ebx
mov ebx, edx
and ebx, 0xff
xor eax, dword [ebx*4 + 0x417130]
mov ebx, dword [esi - 8]
xor eax, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x1e]
mov dword [esp + 0x2c], eax
mov ebx, dword [ebx*4 + 0x416d30]
xor ebx, dword [edx*4 + 0x416930]
mov edx, dword [esp + 0x14]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x416530]
mov edx, dword [ecx*4 + 0x417130]
mov ecx, dword [esi - 4]
xor ebx, edx
xor ecx, ebx
dec ebp
mov dword [esp + 0x14], ecx
jne 0x4137c0
mov edx, dword [esp + 0x18]
xor ebx, ebx
mov bl, byte [esp + 0x26]
shr edi, 0x18
mov ebp, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov bl, ah
and ebp, 0xff0000
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
xor ebp, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor ebp, ebx
mov ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor ebp, ebx
mov ebx, dword [esi]
xor ebp, ebx
mov ebx, ebp
ror ebx, 8
and ebx, 0xff00ff00
rol ebp, 8
and ebp, 0xff00ff
or ebx, ebp
mov ebp, dword [esp + 0x30]
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff000000
mov ebp, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov bl, ch
and ebp, 0xff0000
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff00
xor ebp, ebx
xor ebx, ebx
xor ebp, edi
mov edi, edx
and edi, 0xff
mov bl, byte [esp + 0x16]
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
xor ebp, edi
mov edi, dword [esi + 4]
xor ebp, edi
mov edi, ebp
ror edi, 8
and edi, 0xff00ff00
rol ebp, 8
and ebp, 0xff00ff
or edi, ebp
mov ebp, dword [esp + 0x30]
mov dword [ebp + 4], edi
mov edi, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
and edi, 0xff0000
mov bl, dh
mov edx, dword [ebx*4 + str.ccccwwww]
and edx, 0xff00
xor edi, edx
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff000000
xor edi, edx
mov edx, dword [esp + 0x24]
mov ebx, edx
and ebx, 0xff
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, ebx
mov ebx, dword [esi + 8]
xor edi, ebx
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
and eax, 0xff
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov dword [ebp + 8], ebx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
shr ecx, 0x18
mov edi, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov ecx, dword [ecx*4 + str.ccccwwww]
mov bl, dh
and edi, 0xff0000
and ecx, 0xff000000
mov edx, dword [ebx*4 + str.ccccwwww]
and edx, 0xff00
xor edi, edx
mov edx, dword [eax*4 + str.ccccwwww]
xor edi, ecx
and edx, 0xff
xor edi, edx
mov edx, dword [esi + 0xc]
xor edi, edx
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x10
ret