Function at 0x4312b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 4]
push edi
mov edi, ecx
xor edx, dword [edi + 0xb8]
mov ecx, dword [edi + 0xb4]
xor ecx, dword [esi]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ebx, dword [esp + 0x10]
xor edi, dword [ebx + 0xbc]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
mov edi, ebx
xor esi, dword [edi + 0xc0]
mov ebx, esi
mov dword [esp + 0x20], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x460450]
mov ebx, dword [esp + 0x20]
mov edi, edx
shr edi, 0x18
xor esi, dword [edi*4 + 0x460050]
movzx edi, cl
xor esi, dword [edi*4 + 0x460c50]
mov edi, dword [esp + 0x1c]
mov dword [eax], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x460450]
shr edi, 0x18
xor esi, dword [edi*4 + 0x460050]
mov ebx, ecx
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x460850]
movzx edi, dl
xor esi, dword [edi*4 + 0x460c50]
mov ebx, edx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr esi, 0x18
mov esi, dword [esi*4 + 0x460050]
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x460850]
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
movzx edi, bl
xor esi, dword [edi*4 + 0x460c50]
shr ebx, 8
mov dword [eax + 8], esi
shr edx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
movzx edx, dl
xor esi, dword [edx*4 + 0x460450]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x460050]
movzx ecx, byte [esp + 0x20]
xor esi, dword [ecx*4 + 0x460c50]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], esi
add ecx, 0xac
mov edi, 2
jmp 0x4313f0
mov esi, dword [ecx - 4]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 8]
mov dword [esp + 0x18], esi
mov esi, dword [ecx]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 4]
xor esi, dword [eax + 0xc]
mov ebx, esi
mov dword [esp + 0x20], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x20]
mov dword [eax], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr esi, 0x18
mov esi, dword [esi*4 + 0x460050]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x460c50]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
mov ebx, dword [esp + 0x18]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
shr edx, 0x18
xor esi, dword [edx*4 + 0x460050]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x460c50]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x14]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 0x18]
xor edx, dword [eax]
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 0x10]
xor esi, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx - 0xc]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x20], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi*4 + 0x460850]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x20]
mov dword [eax], esi
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr ebx, 8
shr esi, 0x18
mov esi, dword [esi*4 + 0x460050]
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x460c50]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
mov ebx, dword [esp + 0x18]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
shr edx, 0x18
xor esi, dword [edx*4 + 0x460050]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x460c50]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x24]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 0x28]
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 0x20]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx - 0x1c]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x20], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi*4 + 0x460850]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
mov esi, dword [esi*4 + 0x460450]
xor esi, dword [ebx*4 + 0x460050]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr ebx, 8
shr esi, 0x18
mov esi, dword [esi*4 + 0x460050]
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x460c50]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
mov ebx, dword [esp + 0x18]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
shr edx, 0x18
xor esi, dword [edx*4 + 0x460050]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x460c50]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x34]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 0x38]
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 0x30]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx - 0x2c]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 8
mov dword [esp + 0x20], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x460850]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x460050]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x460c50]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
shr esi, 0x18
mov esi, dword [esi*4 + 0x460050]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460850]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
mov ebx, dword [esp + 0x1c]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x460c50]
shr ebx, 8
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [esp + 0x18]
mov esi, dword [esi*4 + 0x460850]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x460450]
shr edx, 0x18
xor esi, dword [edx*4 + 0x460050]
movzx edx, byte [esp + 0x20]
xor esi, dword [edx*4 + 0x460c50]
sub ecx, 0x40
sub edi, 1
mov dword [eax + 0xc], esi
jne 0x4313f0
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x2c]
xor edi, dword [eax + 8]
mov edx, dword [esi + 0x28]
mov ecx, dword [eax]
xor ecx, dword [esi + 0x24]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x30]
xor edi, dword [eax + 0xc]
xor edx, dword [eax + 4]
mov dword [esp + 0x20], edi
movzx edi, cl
movzx ebx, byte [edi + 0x462070]
mov byte [eax], bl
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 1], bl
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 2], bl
mov edi, edx
shr edi, 0x18
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 3], bl
movzx edi, dl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 4], bl
mov ebx, ecx
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 5], bl
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
mov edi, dword [esp + 0x1c]
mov byte [eax + 6], bl
shr edi, 0x18
movzx ebx, byte [edi + 0x462070]
movzx edi, byte [esp + 0x1c]
mov byte [eax + 7], bl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 8], bl
mov ebx, edx
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 9], bl
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
mov edi, dword [esp + 0x20]
mov byte [eax + 0xa], bl
shr edi, 0x18
movzx ebx, byte [edi + 0x462070]
movzx edi, byte [esp + 0x20]
mov byte [eax + 0xb], bl
movzx ebx, byte [edi + 0x462070]
mov byte [eax + 0xc], bl
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi + 0x462070]
shr edx, 0x10
movzx edx, dl
mov byte [eax + 0xd], bl
mov dl, byte [edx + 0x462070]
shr ecx, 0x18
mov byte [eax + 0xe], dl
mov cl, byte [ecx + 0x462070]
mov byte [eax + 0xf], cl
mov edx, dword [esi + 0x14]
xor dword [eax], edx
mov ecx, dword [esi + 0x18]
xor dword [eax + 4], ecx
mov edx, dword [esi + 0x1c]
xor dword [eax + 8], edx
mov ecx, dword [esi + 0x20]
xor dword [eax + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8