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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov al, byte [edi + 4]
test al, al
jne 0x5508de
push 0x76db40
lea ecx, [ebp - 0x28]
call fcn.00710a10
lea eax, [ebp - 0x28]
push 0x759bd0
push eax
call fcn.00710828
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
push ebx
mov cl, byte [eax]
mov dl, byte [eax + 1]
shl ecx, 0x18
inc eax
push esi
shl edx, 0x10
or ecx, edx
inc eax
xor edx, edx
mov ebx, dword [edi + 0xc]
mov dh, byte [eax]
or ecx, edx
inc eax
xor edx, edx
mov dl, byte [eax]
or ecx, edx
mov edx, dword [edi + 8]
inc eax
xor ecx, edx
xor edx, edx
mov dword [ebp - 0xc], ecx
mov dl, byte [eax]
mov esi, edx
xor edx, edx
mov dl, byte [eax + 1]
shl esi, 0x18
inc eax
shl edx, 0x10
or esi, edx
inc eax
xor edx, edx
mov dh, byte [eax]
or esi, edx
inc eax
xor edx, edx
mov dl, byte [eax]
or esi, edx
inc eax
xor edx, edx
xor esi, ebx
mov dl, byte [eax]
xor ebx, ebx
mov bl, byte [eax + 1]
mov dword [ebp - 8], esi
shl edx, 0x18
inc eax
mov esi, dword [edi + 0x10]
shl ebx, 0x10
or edx, ebx
inc eax
xor ebx, ebx
mov bh, byte [eax]
or edx, ebx
inc eax
xor ebx, ebx
mov bl, byte [eax]
or edx, ebx
inc eax
xor ebx, ebx
xor edx, esi
mov bl, byte [eax]
mov dword [ebp - 0x10], edx
mov esi, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
shl esi, 0x18
inc eax
shl ebx, 0x10
or esi, ebx
inc eax
xor ebx, ebx
mov bh, byte [eax]
mov bl, byte [eax + 1]
mov eax, dword [edi + 0x14]
or ebx, esi
xor eax, ebx
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x3d0]
cmp esi, 1
mov dword [ebp - 0x1c], esi
jle 0x550ac2
add edi, 0x30
dec esi
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov bl, ah
xor eax, eax
mov al, byte [ebp - 0xe]
mov esi, dword [ebx*4 + 0x740440]
mov edi, dword [eax*4 + 0x740040]
xor eax, eax
mov al, byte [ebp - 5]
xor esi, edi
mov ebx, dword [eax*4 + 0x73fc40]
mov eax, ecx
and eax, 0xff
xor esi, ebx
mov ebx, dword [eax*4 + 0x740840]
mov eax, dword [ebp + 8]
xor esi, ebx
xor ebx, ebx
mov edi, dword [eax - 4]
mov bl, byte [ebp - 0xd]
xor eax, eax
xor esi, edi
mov al, byte [ebp - 2]
mov edi, dword [eax*4 + 0x740040]
mov eax, dword [ebx*4 + 0x73fc40]
xor edi, eax
xor eax, eax
mov al, ch
mov ecx, dword [eax*4 + 0x740440]
mov eax, dword [ebp - 8]
xor edi, ecx
mov ecx, eax
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x740840]
mov ecx, dword [ebp + 8]
xor edi, ebx
mov ebx, dword [ecx]
xor ecx, ecx
mov cl, byte [ebp - 1]
xor edi, ebx
xor ebx, ebx
mov bl, ah
mov eax, dword [ecx*4 + 0x73fc40]
mov ecx, dword [ebx*4 + 0x740440]
xor eax, ecx
xor ecx, ecx
mov cl, byte [ebp - 0xa]
mov ebx, dword [ecx*4 + 0x740040]
mov ecx, edx
and ecx, 0xff
xor eax, ebx
mov ebx, dword [ecx*4 + 0x740840]
xor eax, ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
add ebx, 0x20
xor eax, ecx
xor ecx, ecx
mov cl, dh
xor edx, edx
mov dl, byte [ebp - 6]
mov dword [ebp - 8], esi
mov ecx, dword [ecx*4 + 0x740440]
mov esi, dword [ebp - 0x14]
xor ecx, dword [edx*4 + 0x740040]
xor edx, edx
mov dl, byte [ebp - 9]
mov dword [ebp + 8], ebx
xor ecx, dword [edx*4 + 0x73fc40]
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 4], eax
xor ecx, dword [edx*4 + 0x740840]
mov edx, dword [ebx - 0x28]
xor ecx, edx
mov edx, edi
dec esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], esi
jne 0x5509a2
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
shl esi, 5
xor eax, eax
mov al, byte [ebp - 9]
lea esi, [esi + edi + 8]
mov edi, dword [esi]
mov bl, byte [eax + str.cw]
mov eax, dword [ebp + 0xc]
mov ecx, edi
sar ecx, 0x18
xor bl, cl
xor ecx, ecx
mov cl, byte [ebp - 6]
mov byte [eax], bl
mov ebx, edi
mov dword [ebp + 8], edi
mov cl, byte [ecx + str.cw]
sar ebx, 0x10
xor cl, bl
mov ebx, edi
mov byte [eax + 1], cl
xor ecx, ecx
mov cl, dh
sar ebx, 8
mov cl, byte [ecx + str.cw]
xor cl, bl
mov bl, byte [ebp + 8]
mov byte [eax + 2], cl
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov cl, byte [ecx + str.cw]
xor cl, bl
mov byte [eax + 3], cl
mov edi, dword [esi + 4]
xor ecx, ecx
mov ebx, edi
mov cl, byte [ebp - 5]
mov dword [ebp + 8], edi
sar ebx, 0x18
mov cl, byte [ecx + str.cw]
xor cl, bl
mov ebx, edi
mov byte [eax + 4], cl
xor ecx, ecx
mov cl, byte [ebp - 0xe]
sar ebx, 0x10
mov cl, byte [ecx + str.cw]
xor cl, bl
mov ebx, edi
mov byte [eax + 5], cl
xor ecx, ecx
mov cl, byte [ebp - 3]
sar ebx, 8
mov cl, byte [ecx + str.cw]
xor cl, bl
mov bl, byte [ebp + 8]
mov byte [eax + 6], cl
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov cl, byte [ecx + str.cw]
xor cl, bl
mov byte [eax + 7], cl
mov edi, dword [esi + 8]
xor ecx, ecx
mov ebx, edi
mov cl, byte [ebp - 0xd]
mov dword [ebp + 8], edi
sar ebx, 0x18
mov cl, byte [ecx + str.cw]
xor cl, bl
mov ebx, edi
mov byte [eax + 8], cl
xor ecx, ecx
mov cl, byte [ebp - 2]
sar ebx, 0x10
mov cl, byte [ecx + str.cw]
xor cl, bl
mov ebx, edi
mov byte [eax + 9], cl
xor ecx, ecx
mov cl, byte [ebp - 0xb]
sar ebx, 8
mov cl, byte [ecx + str.cw]
and edx, 0xff
xor cl, bl
mov bl, byte [ebp + 8]
mov byte [eax + 0xa], cl
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov cl, byte [ecx + str.cw]
xor cl, bl
mov byte [eax + 0xb], cl
mov esi, dword [esi + 0xc]
xor ecx, ecx
mov ebx, esi
mov cl, byte [ebp - 1]
mov dword [ebp + 8], esi
sar ebx, 0x18
mov cl, byte [ecx + str.cw]
xor cl, bl
mov ebx, esi
mov byte [eax + 0xc], cl
xor ecx, ecx
mov cl, byte [ebp - 0xa]
sar ebx, 0x10
mov cl, byte [ecx + str.cw]
xor cl, bl
mov ebx, esi
mov byte [eax + 0xd], cl
xor ecx, ecx
mov cl, byte [ebp - 7]
pop esi
sar ebx, 8
mov cl, byte [ecx + str.cw]
xor cl, bl
pop ebx
mov byte [eax + 0xe], cl
mov dl, byte [edx + str.cw]
mov cl, byte [ebp + 8]
pop edi
xor dl, cl
mov byte [eax + 0xf], dl
mov esp, ebp
pop ebp
ret 8