Function at 0x592cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov dword [ebp + 8], 1
mov ebx, dword [edi]
mov esi, dword [edi + 4]
xor eax, ebx
mov ebx, dword [edi + 8]
xor edx, esi
mov esi, dword [ecx + 0x28]
xor esi, ebx
mov ebx, dword [ecx + 0x2c]
xor ebx, dword [edi + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ebx
and eax, 0xff
mov edi, dword [ebp - 5]
mov ebx, dword [ebp - 0xa]
and edi, 0xff
and ebx, 0xff
and edx, 0xff
and esi, 0xff
mov edi, dword [edi*4 + 0x73ad18]
xor edi, dword [ebx*4 + 0x73a918]
mov ebx, dword [ebp - 0xf]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x73a518]
mov ebx, dword [eax*4 + 0x73a118]
mov eax, dword [ebp + 0x10]
xor edi, ebx
mov ebx, dword [ebp - 6]
mov dword [eax], edi
mov edi, dword [ebp - 0x11]
and edi, 0xff
and ebx, 0xff
mov edi, dword [edi*4 + 0x73ad18]
xor edi, dword [ebx*4 + 0x73a918]
mov ebx, dword [ebp - 0xb]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x73a518]
mov ebx, dword [edx*4 + 0x73a118]
mov edx, dword [ebp - 0xd]
xor edi, ebx
and edx, 0xff
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x12]
mov edx, dword [edx*4 + 0x73ad18]
and edi, 0xff
mov ebx, dword [edi*4 + 0x73a918]
mov edi, dword [ebp - 7]
and edi, 0xff
xor edx, ebx
mov ebx, dword [edi*4 + 0x73a518]
mov edi, dword [esi*4 + 0x73a118]
xor edx, ebx
mov esi, dword [ebp - 0xe]
xor edx, edi
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [ebp - 9]
mov ebx, dword [esi*4 + 0x73a918]
and edx, 0xff
mov edi, dword [edx*4 + 0x73ad18]
mov edx, dword [ebp - 0x13]
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x73a518]
mov edx, dword [ebp - 8]
and edx, 0xff
xor edi, ebx
xor edi, dword [edx*4 + 0x73a118]
mov dword [eax + 0xc], edi
mov edx, dword [ecx + 0x1c]
dec edx
cmp edx, 1
jbe 0x592f91
lea edi, [ecx + 0x34]
mov dword [ebp + 0xc], edi
mov edx, dword [edi - 4]
mov esi, dword [eax]
mov ebx, dword [edi]
xor edx, esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x14], edx
xor esi, ebx
mov ebx, dword [edi + 4]
xor ebx, dword [eax + 8]
mov edi, dword [edi + 8]
mov dword [ebp - 0x10], esi
and edx, 0xff
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0xc]
xor edi, ebx
and esi, 0xff
mov dword [ebp - 8], edi
mov edi, dword [ebp - 5]
mov ebx, dword [ebp - 0xa]
and edi, 0xff
and ebx, 0xff
mov edi, dword [edi*4 + 0x73ad18]
xor edi, dword [ebx*4 + 0x73a918]
mov ebx, dword [ebp - 0xf]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x73a518]
mov ebx, dword [edx*4 + 0x73a118]
mov edx, dword [ebp - 0x11]
xor edi, ebx
and edx, 0xff
mov dword [eax], edi
mov edi, dword [ebp - 6]
mov edx, dword [edx*4 + 0x73ad18]
and edi, 0xff
mov ebx, dword [edi*4 + 0x73a918]
mov edi, dword [ebp - 0xb]
and edi, 0xff
xor edx, ebx
mov ebx, dword [edi*4 + 0x73a518]
mov edi, dword [esi*4 + 0x73a118]
mov esi, dword [ebp - 0x12]
xor edx, ebx
xor edx, edi
and esi, 0xff
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xd]
and edx, 0xff
mov edi, dword [edx*4 + 0x73ad18]
mov edx, dword [esi*4 + 0x73a918]
xor edi, edx
mov edx, dword [ebp - 7]
and edx, 0xff
mov esi, dword [edx*4 + 0x73a518]
mov edx, dword [ebp - 0xc]
and edx, 0xff
xor edi, esi
mov esi, dword [edx*4 + 0x73a118]
mov edx, dword [ebp - 9]
xor edi, esi
mov esi, dword [ebp - 0xe]
and edx, 0xff
mov dword [eax + 8], edi
and esi, 0xff
mov edi, dword [edx*4 + 0x73ad18]
mov edx, dword [ebp - 0x13]
mov ebx, dword [esi*4 + 0x73a918]
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x73a518]
mov edx, dword [ebp - 8]
and edx, 0xff
xor edi, ebx
mov ebx, dword [edx*4 + 0x73a118]
mov edx, dword [ebp + 8]
xor edi, ebx
inc edx
mov dword [eax + 0xc], edi
mov edi, dword [ebp + 0xc]
add edi, 0x10
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
mov esi, dword [ecx + 0x1c]
dec esi
cmp edx, esi
jb 0x592e34
mov edx, dword [ecx + 0x1c]
mov ebx, dword [eax]
lea esi, [edx + 1]
shl esi, 4
shl edx, 4
mov esi, dword [esi + ecx]
mov edi, dword [edx + ecx + 0x14]
xor esi, ebx
lea ebx, [edx + ecx]
mov edx, dword [eax + 4]
xor edi, edx
mov dword [ebp - 0x14], esi
mov edx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x1c]
xor edx, dword [eax + 8]
xor ebx, dword [eax + 0xc]
and esi, 0xff
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ebx
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 0xf]
and esi, 0xff
mov byte [eax], bl
and edi, 0xff
and edx, 0xff
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 0xa]
and esi, 0xff
mov byte [eax + 1], bl
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 5]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 0xb]
mov byte [eax + 3], bl
mov bl, byte [edi*4 + 0x73a119]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 6]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 0x11]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x73a119]
mov esi, dword [ebp - 8]
mov byte [eax + 7], bl
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 8], dl
mov edx, dword [ebp - 7]
and edx, 0xff
and esi, 0xff
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 9], dl
mov edx, dword [ebp - 0x12]
and edx, 0xff
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 0xa], dl
mov edx, dword [ebp - 0xd]
and edx, 0xff
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 0xb], dl
mov dl, byte [esi*4 + 0x73a119]
mov byte [eax + 0xc], dl
mov edx, dword [ebp - 0x13]
and edx, 0xff
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 0xd], dl
mov edx, dword [ebp - 0xe]
and edx, 0xff
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 0xe], dl
mov edx, dword [ebp - 9]
and edx, 0xff
mov dl, byte [edx*4 + 0x73a119]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x1c]
mov ebx, dword [eax]
add edx, 2
shl edx, 4
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov edx, dword [edx + ecx]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edx, dword [edx + ecx + 0x24]
xor esi, edx
mov dword [eax + 4], esi
mov edx, dword [ecx + 0x1c]
shl edx, 4
mov edx, dword [edx + ecx + 0x28]
xor edi, edx
mov dword [eax + 8], edi
mov edx, dword [ecx + 0x1c]
shl edx, 4
pop edi
pop esi
mov ecx, dword [edx + ecx + 0x2c]
mov edx, dword [eax + 0xc]
xor edx, ecx
pop ebx
mov dword [eax + 0xc], edx
mov esp, ebp
pop ebp
ret