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

Disassembly:
mov eax, 0x14
call fcn.00787ad0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov edi, dword [esp + 0x30]
mov edx, eax
ror edx, 8
mov esi, dword [edi]
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
mov ecx, dword [ebx + 8]
or edx, eax
mov eax, dword [ebx + 4]
xor edx, esi
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
mov ebx, dword [ebx + 0xc]
rol eax, 8
and eax, 0xff00ff
mov dword [esp + 0x1c], edx
or esi, eax
mov eax, dword [edi + 4]
xor esi, eax
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
mov dword [esp + 0x18], esi
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov ecx, ebx
ror ecx, 8
and ecx, 0xff00ff00
mov dword [esp + 0x28], eax
rol ebx, 8
and ebx, 0xff00ff
or ecx, ebx
mov ebx, dword [edi + 0xc]
xor ecx, ebx
xor ebx, ebx
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov cl, byte [esp + 0x32]
mov bl, ah
mov eax, dword [ecx*4 + 0x776170]
mov ecx, dword [ebx*4 + 0x776570]
xor eax, ecx
mov ecx, edx
shr ecx, 0x18
mov ebx, dword [ecx*4 + 0x775d70]
mov ecx, esi
and ecx, 0xff
xor eax, ebx
shr esi, 0x18
mov ebx, dword [ecx*4 + 0x776970]
mov ecx, dword [edi + 0x10]
xor eax, ebx
xor ebx, ebx
mov bl, byte [esp + 0x1e]
xor eax, ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov cl, byte [esp + 0x31]
mov ebp, dword [ebx*4 + 0x776170]
mov ebx, dword [esi*4 + 0x775d70]
mov esi, dword [esp + 0x28]
mov ecx, dword [ecx*4 + 0x776570]
and esi, 0xff
xor ecx, ebp
xor ecx, ebx
mov ebx, dword [esi*4 + 0x776970]
mov esi, dword [edi + 0x14]
xor ecx, ebx
xor ecx, esi
xor ebx, ebx
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [esp + 0x1a]
mov bl, dh
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx*4 + 0x776170]
mov ebp, dword [ebx*4 + 0x776570]
shr edx, 0x18
xor ecx, ebp
mov ebp, dword [edx*4 + 0x775d70]
mov edx, dword [esp + 0x30]
and edx, 0xff
xor ecx, ebp
mov ebp, dword [edi + 0x18]
mov esi, dword [edx*4 + 0x776970]
xor edx, edx
mov dl, byte [esp + 0x19]
xor ecx, esi
xor ecx, ebp
mov ebx, dword [edx*4 + 0x776570]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov cl, byte [esp + 0x2a]
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x776170]
mov ebp, dword [edx*4 + 0x775d70]
mov edx, dword [esp + 0x1c]
and edx, 0xff
xor ecx, ebx
xor ecx, ebp
mov ebp, dword [edi + 0x1c]
mov esi, dword [edx*4 + 0x776970]
xor ecx, esi
lea esi, [edi + 0x20]
mov edi, dword [edi + 0xf0]
xor ecx, ebp
sar edi, 1
dec edi
mov dword [esp + 0x30], ecx
je 0x77d5a7
mov ebp, edi
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + 0x11]
mov cl, byte [esp + 0x32]
mov edi, dword [edx*4 + 0x776570]
mov ecx, dword [ecx*4 + 0x776170]
mov edx, eax
xor ecx, edi
shr edx, 0x18
mov edi, dword [edx*4 + 0x775d70]
mov edx, dword [esp + 0x14]
xor ecx, edi
mov edi, edx
and edi, 0xff
mov ebx, dword [edi*4 + 0x776970]
xor ecx, ebx
mov ebx, dword [esi]
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esp + 0x22]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, byte [esp + 0x31]
mov edi, dword [ebx*4 + 0x776170]
mov ecx, dword [ecx*4 + 0x776570]
xor ecx, edi
mov edi, edx
shr edi, 0x18
mov ebx, dword [edi*4 + 0x775d70]
mov edi, dword [esp + 0x10]
and edi, 0xff
xor ecx, ebx
mov ebx, dword [edi*4 + 0x776970]
xor ecx, ebx
mov ebx, dword [esi + 4]
xor ecx, ebx
xor ebx, ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov cl, byte [esp + 0x16]
mov bl, ah
and eax, 0xff
mov ecx, dword [ecx*4 + 0x776170]
mov edi, dword [ebx*4 + 0x776570]
xor ecx, edi
mov edi, dword [esp + 0x10]
shr edi, 0x18
mov ebx, dword [edi*4 + 0x775d70]
mov edi, dword [esp + 0x30]
and edi, 0xff
xor ecx, ebx
mov ebx, dword [edi*4 + 0x776970]
mov edi, dword [esi + 8]
xor ecx, ebx
xor ebx, ebx
xor ecx, edi
mov bl, dh
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov cl, byte [esp + 0x12]
mov edx, dword [ebx*4 + 0x776570]
mov ecx, dword [ecx*4 + 0x776170]
xor ecx, edx
mov edx, dword [esp + 0x30]
shr edx, 0x18
mov ebx, dword [edx*4 + 0x775d70]
mov edx, dword [eax*4 + 0x776970]
xor ecx, ebx
mov ebx, dword [esi + 0xc]
xor ecx, edx
xor eax, eax
xor ecx, ebx
xor edx, edx
mov dl, byte [esp + 0x29]
mov dword [esp + 0x30], ecx
mov al, byte [esp + 0x32]
mov edi, dword [edx*4 + 0x776570]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax*4 + 0x776170]
xor eax, edi
mov edi, edx
shr edi, 0x18
add esi, 0x20
mov ebx, dword [edi*4 + 0x775d70]
mov edi, dword [esp + 0x18]
xor eax, ebx
mov ebx, edi
and ebx, 0xff
shr edi, 0x18
xor eax, dword [ebx*4 + 0x776970]
mov ebx, dword [esi - 0x10]
xor eax, ebx
xor ebx, ebx
mov bl, ch
xor ecx, ecx
mov cl, byte [esp + 0x1e]
mov dword [esp + 0x20], eax
mov ebx, dword [ebx*4 + 0x776570]
xor ebx, dword [ecx*4 + 0x776170]
mov ecx, dword [edi*4 + 0x775d70]
xor ebx, ecx
mov ecx, dword [esp + 0x28]
and ecx, 0xff
mov edi, dword [ecx*4 + 0x776970]
xor ecx, ecx
mov cl, byte [esp + 0x1a]
xor ebx, edi
mov edi, dword [esi - 0xc]
xor ebx, edi
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, dh
mov edx, dword [ecx*4 + 0x776170]
mov ecx, dword [ebx*4 + 0x776570]
mov ebx, dword [esi - 8]
xor edx, ecx
mov ecx, dword [esp + 0x28]
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x775d70]
mov ecx, dword [esp + 0x30]
and ecx, 0xff
xor edx, edi
mov edi, dword [ecx*4 + 0x776970]
xor ecx, ecx
mov cl, byte [esp + 0x19]
xor edx, edi
xor edx, ebx
mov ebx, dword [esi - 4]
mov edi, dword [ecx*4 + 0x776570]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [esp + 0x2a]
shr ecx, 0x18
mov edx, dword [edx*4 + 0x776170]
xor edx, edi
mov edi, dword [ecx*4 + 0x775d70]
mov ecx, dword [esp + 0x1c]
xor edx, edi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x776970]
xor edx, ebx
dec ebp
mov ecx, edx
mov dword [esp + 0x30], ecx
jne 0x77d371
xor edx, edx
xor ebx, ebx
mov dl, byte [esp + 0x32]
mov ebp, dword [esp + 0x2c]
mov edi, dword [edx*4 + 0x776d70]
mov edx, dword [esp + 0x10]
mov bl, dh
and edi, 0xff0000
mov ebx, dword [ebx*4 + 0x776d70]
and ebx, 0xff00
xor edi, ebx
mov ebx, eax
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x776d70]
and ebx, 0xff000000
xor edi, ebx
mov ebx, dword [esp + 0x14]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x776d70]
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 dword [ebp], ebx
xor ebx, ebx
mov bl, byte [esp + 0x22]
mov edi, dword [ebx*4 + 0x776d70]
xor ebx, ebx
mov bl, ch
and edi, 0xff0000
mov ebx, dword [ebx*4 + 0x776d70]
and ebx, 0xff00
xor edi, ebx
mov ebx, dword [esp + 0x14]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x776d70]
and ebx, 0xff000000
xor edi, ebx
mov ebx, edx
and ebx, 0xff
shr edx, 0x18
mov ebx, dword [ebx*4 + 0x776d70]
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 edx, dword [edx*4 + 0x776d70]
and edx, 0xff000000
mov edi, dword [ebx*4 + 0x776d70]
xor ebx, ebx
mov bl, ah
and edi, 0xff0000
mov ebx, dword [ebx*4 + 0x776d70]
and ebx, 0xff00
xor edi, ebx
xor edi, edx
mov edx, ecx
and edx, 0xff
mov edx, dword [edx*4 + 0x776d70]
and edx, 0xff
xor edi, edx
mov edx, dword [esi + 8]
xor edi, edx
mov edx, edi
ror edx, 8
and edx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
and eax, 0xff
or edx, edi
mov dword [ebp + 8], edx
xor edx, edx
mov dl, byte [esp + 0x12]
shr ecx, 0x18
mov edi, dword [edx*4 + 0x776d70]
xor edx, edx
mov dl, byte [esp + 0x15]
mov ecx, dword [ecx*4 + 0x776d70]
and edi, 0xff0000
and ecx, 0xff000000
mov edx, dword [edx*4 + 0x776d70]
and edx, 0xff00
xor edi, edx
mov edx, dword [eax*4 + 0x776d70]
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, 0x14
ret