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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, eax
ror ecx, 8
mov esi, dword [edi]
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [ebx + 4]
xor ecx, esi
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
mov dword [esp + 0x1c], ecx
rol eax, 8
and eax, 0xff00ff
or esi, eax
mov eax, dword [edi + 4]
xor esi, eax
mov eax, dword [ebx + 8]
mov edx, eax
mov ebx, dword [ebx + 0xc]
ror edx, 8
and edx, 0xff00ff00
mov dword [esp + 0x2c], esi
rol eax, 8
and eax, 0xff00ff
or edx, eax
mov eax, dword [edi + 8]
xor edx, eax
mov eax, ebx
ror eax, 8
and eax, 0xff00ff00
mov dword [esp + 0x10], edx
rol ebx, 8
and ebx, 0xff00ff
or eax, ebx
mov ebx, dword [edi + 0xc]
xor eax, ebx
xor ebx, ebx
mov bl, dh
mov dword [esp + 0x14], eax
shr esi, 0x18
mov edx, dword [ebx*4 + 0x10097c30]
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov ebp, dword [ebx*4 + 0x10097830]
mov ebx, ecx
shr ebx, 0x18
xor edx, ebp
mov ebp, dword [ebx*4 + 0x10097430]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x10098030]
xor ebx, ebx
mov bl, ah
xor edx, ebp
mov ebp, dword [edi + 0x10]
xor eax, eax
mov al, byte [esp + 0x12]
xor edx, ebp
mov ebp, dword [ebx*4 + 0x10097c30]
mov dword [esp + 0x18], edx
mov ebx, dword [eax*4 + 0x10097830]
mov eax, ecx
xor ebp, ebx
mov ebx, dword [esi*4 + 0x10097430]
mov esi, dword [edi + 0x14]
and eax, 0xff
xor ebp, ebx
xor ebp, dword [eax*4 + 0x10098030]
xor ebp, esi
mov dword [esp + 0x24], ebp
xor eax, eax
xor ebx, ebx
mov al, byte [esp + 0x16]
mov bl, ch
mov eax, dword [eax*4 + 0x10097830]
mov ecx, dword [ebx*4 + 0x10097c30]
xor eax, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x10097430]
mov ecx, dword [esp + 0x2c]
xor eax, esi
mov esi, ecx
and esi, 0xff
mov ebx, dword [esi*4 + 0x10098030]
xor eax, ebx
mov ebx, dword [edi + 0x18]
xor eax, ebx
xor ebx, ebx
mov bl, ch
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx*4 + 0x10097c30]
xor ebx, ebx
mov bl, byte [esp + 0x1e]
mov esi, dword [ebx*4 + 0x10097830]
xor ecx, esi
mov esi, dword [esp + 0x14]
shr esi, 0x18
mov ebx, dword [esi*4 + 0x10097430]
mov esi, dword [esp + 0x10]
and esi, 0xff
xor ecx, ebx
mov ebx, dword [esi*4 + 0x10098030]
mov esi, dword [edi + 0x1c]
xor ecx, ebx
xor ecx, esi
lea esi, [edi + 0x20]
mov edi, dword [edi + 0xf0]
mov dword [esp + 0x14], ecx
sar edi, 1
dec edi
je 0x10036eb0
mov ebp, edi
xor edx, edx
xor ebx, ebx
mov bl, byte [esp + 0x26]
mov dl, ah
mov edi, dword [edx*4 + 0x10097c30]
mov edx, dword [ebx*4 + 0x10097830]
xor edi, edx
mov edx, dword [esp + 0x18]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10097430]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x10098030]
mov ebx, dword [esi]
xor edi, ebx
xor ebx, ebx
mov bl, ch
mov dword [esp + 0x1c], edi
mov ecx, dword [ebx*4 + 0x10097c30]
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov edi, dword [ebx*4 + 0x10097830]
xor ecx, edi
mov edi, dword [esp + 0x24]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x10097430]
mov edi, edx
and edi, 0xff
xor ecx, ebx
mov ebx, dword [edi*4 + 0x10098030]
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 + 0x10097c30]
mov ecx, dword [ecx*4 + 0x10097830]
xor ecx, edx
mov edx, eax
shr edx, 0x18
and eax, 0xff
mov edi, dword [edx*4 + 0x10097430]
mov edx, dword [esp + 0x24]
xor ecx, edi
mov edi, edx
and edi, 0xff
mov ebx, dword [edi*4 + 0x10098030]
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 + 0x10097c30]
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov edi, dword [ebx*4 + 0x10097830]
xor edx, edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x10097430]
mov edi, dword [esi + 0xc]
xor edx, ebx
mov ebx, dword [eax*4 + 0x10098030]
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 + 0x10097c30]
mov dword [esp + 0x14], edx
mov eax, dword [ebx*4 + 0x10097830]
xor edi, eax
mov eax, dword [esp + 0x1c]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10097430]
mov ebx, edx
and ebx, 0xff
add esi, 0x20
xor edi, dword [ebx*4 + 0x10098030]
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 + 0x10097c30]
mov ebx, dword [edx*4 + 0x10097830]
mov edx, dword [esp + 0x2c]
shr edx, 0x18
xor edi, ebx
mov ebx, dword [edx*4 + 0x10097430]
mov edx, eax
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x10098030]
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 + 0x10097830]
mov dword [esp + 0x24], edi
mov edx, dword [ebx*4 + 0x10097c30]
xor eax, edx
mov edx, ecx
shr edx, 0x18
and ecx, 0xff
mov edi, dword [edx*4 + 0x10097430]
mov edx, dword [esp + 0x2c]
xor eax, edi
mov edi, edx
and edi, 0xff
mov ebx, dword [edi*4 + 0x10098030]
mov edi, dword [esi - 8]
xor eax, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x1e]
xor eax, edi
mov edi, dword [ebx*4 + 0x10097c30]
mov dword [esp + 0x2c], eax
mov ebx, dword [edx*4 + 0x10097830]
mov edx, dword [esp + 0x14]
shr edx, 0x18
xor edi, ebx
mov ebx, dword [edx*4 + 0x10097430]
mov edx, dword [ecx*4 + 0x10098030]
xor edi, ebx
mov ebx, dword [esi - 4]
xor edi, edx
xor edi, ebx
dec ebp
mov ecx, edi
mov dword [esp + 0x14], ecx
jne 0x10036c82
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
xor ebx, ebx
mov bl, byte [esp + 0x26]
shr ebp, 0x18
mov edi, dword [ebx*4 + 0x10098030]
xor ebx, ebx
mov bl, ah
and edi, 0xff0000
mov ebx, dword [ebx*4 + 0x10097430]
and ebx, 0xff00
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10097c30]
and ebx, 0xff000000
xor edi, ebx
mov ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x10097830]
and ebx, 0xff
xor edi, ebx
mov ebx, dword [esi]
xor edi, ebx
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov edi, dword [esp + 0x28]
mov dword [edi], ebx
xor ebx, ebx
mov bl, byte [esp + 0x2e]
mov edi, dword [ebx*4 + 0x10098030]
xor ebx, ebx
mov bl, ch
and edi, 0xff0000
mov ebx, dword [ebx*4 + 0x10097430]
and ebx, 0xff00
xor edi, ebx
mov ebx, dword [ebp*4 + 0x10097c30]
and ebx, 0xff000000
mov ebp, dword [esp + 0x28]
xor edi, ebx
mov ebx, edx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x10097830]
and ebx, 0xff
xor edi, ebx
mov ebx, dword [esi + 4]
xor edi, ebx
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov dword [ebp + 4], ebx
xor ebx, ebx
mov bl, byte [esp + 0x16]
mov edi, dword [ebx*4 + 0x10098030]
xor ebx, ebx
mov bl, dh
and edi, 0xff0000
mov edx, dword [ebx*4 + 0x10097430]
and edx, 0xff00
xor edi, edx
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x10097c30]
and edx, 0xff000000
xor edi, edx
mov edx, dword [esp + 0x24]
mov ebx, edx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x10097830]
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 + 0x10098030]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x10097c30]
mov bl, dh
and edi, 0xff0000
and ecx, 0xff000000
mov edx, dword [ebx*4 + 0x10097430]
and edx, 0xff00
xor edi, edx
mov edx, dword [eax*4 + 0x10097830]
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