Function at 0x409b10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov eax, dword [ecx + 0x54]
push esi
mov edx, dword [ebx]
mov ebp, dword [ebx + 4]
mov esi, dword [ecx + 0x5c]
push edi
mov edi, dword [ebx + 8]
xor eax, edx
mov edx, dword [ecx + 0x58]
xor esi, edi
mov edi, dword [ecx + 0x60]
xor edx, ebp
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x18], esi
xor edi, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x1f]
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
and eax, 0xff
and edx, 0xff
mov ebx, dword [ebx*4 + 0x41b084]
and esi, 0xff
xor ebx, dword [ebp*4 + 0x41ac84]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
and edi, 0xff
mov dword [esp + 0x28], 1
xor ebx, dword [ebp*4 + 0x41a884]
mov ebp, dword [eax*4 + 0x41a484]
mov eax, dword [esp + 0x30]
xor ebx, ebp
mov ebp, dword [esp + 0x1e]
mov dword [eax], ebx
mov ebx, dword [esp + 0x13]
and ebx, 0xff
and ebp, 0xff
mov ebx, dword [ebx*4 + 0x41b084]
xor ebx, dword [ebp*4 + 0x41ac84]
mov ebp, dword [esp + 0x19]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x41a884]
mov ebp, dword [edx*4 + 0x41a484]
mov edx, dword [esp + 0x17]
xor ebx, ebp
and edx, 0xff
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x12]
mov edx, dword [edx*4 + 0x41b084]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x41ac84]
mov ebx, dword [esp + 0x1d]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x41a884]
mov ebx, dword [esi*4 + 0x41a484]
mov esi, dword [esp + 0x16]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1b]
mov ebx, dword [esi*4 + 0x41ac84]
mov esi, dword [esp + 0x11]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x41b084]
xor edx, ebx
mov ebx, dword [esi*4 + 0x41a884]
xor edx, ebx
mov ebx, dword [edi*4 + 0x41a484]
xor edx, ebx
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x144]
dec edx
cmp edx, 1
jbe 0x409dff
lea ebx, [ecx + 0x68]
mov dword [esp + 0x2c], ebx
mov edx, dword [ebx - 4]
mov ebp, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [ebx]
xor edx, ebp
mov ebp, dword [eax + 8]
xor esi, edi
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
xor edi, ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x18], edi
xor ebx, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x1f]
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
and edx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x41b084]
and edi, 0xff
xor ebx, dword [ebp*4 + 0x41ac84]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x41a884]
mov ebp, dword [edx*4 + 0x41a484]
mov edx, dword [esp + 0x13]
xor ebx, ebp
and edx, 0xff
mov dword [eax], ebx
mov ebx, dword [esp + 0x1e]
mov edx, dword [edx*4 + 0x41b084]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x41ac84]
mov ebx, dword [esp + 0x19]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x41a884]
mov ebx, dword [esi*4 + 0x41a484]
mov esi, dword [esp + 0x12]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 4], edx
mov edx, dword [esp + 0x17]
mov ebx, dword [esi*4 + 0x41ac84]
mov esi, dword [esp + 0x1d]
and edx, 0xff
mov ebp, dword [edi*4 + 0x41a484]
and esi, 0xff
mov edx, dword [edx*4 + 0x41b084]
xor edx, ebx
mov ebx, dword [esi*4 + 0x41a884]
xor edx, ebx
mov esi, dword [esp + 0x16]
xor edx, ebp
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov ebp, dword [esi*4 + 0x41ac84]
mov edi, dword [edx*4 + 0x41b084]
mov edx, dword [esp + 0x11]
and edx, 0xff
xor edi, ebp
mov esi, dword [edx*4 + 0x41a884]
mov edx, dword [esp + 0x1c]
and edx, 0xff
xor edi, esi
mov ebx, dword [edx*4 + 0x41a484]
mov edx, dword [esp + 0x28]
xor edi, ebx
mov ebx, dword [esp + 0x2c]
inc edx
add ebx, 0x10
mov dword [eax + 0xc], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov esi, dword [ecx + 0x144]
dec esi
cmp edx, esi
jb 0x409c8b
mov ebx, dword [ecx + 0x144]
mov edi, dword [eax]
mov edx, ebx
mov ebp, dword [eax + 4]
shl edx, 4
add edx, ecx
add ebx, 5
shl ebx, 4
mov esi, dword [edx + 0x44]
xor esi, edi
mov edi, dword [edx + 0x48]
xor edi, ebp
mov ebp, dword [edx + 0x4c]
mov edx, dword [eax + 8]
mov dword [esp + 0x10], esi
xor ebp, edx
mov edx, dword [ebx + ecx]
mov ebx, dword [eax + 0xc]
and esi, 0xff
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
xor edx, ebx
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x15]
mov dword [esp + 0x1c], edx
and esi, 0xff
mov byte [eax], bl
and edi, 0xff
and ebp, 0xff
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x1a]
and esi, 0xff
mov byte [eax + 1], bl
and edx, 0xff
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x1f]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x19]
mov byte [eax + 3], bl
mov bl, byte [edi*4 + 0x41a485]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x1e]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x13]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x1d]
mov byte [eax + 7], bl
mov bl, byte [ebp*4 + 0x41a485]
and esi, 0xff
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x12]
and esi, 0xff
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x41a485]
mov esi, dword [esp + 0x17]
and esi, 0xff
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x41a485]
mov byte [eax + 0xb], bl
mov dl, byte [edx*4 + 0x41a485]
mov byte [eax + 0xc], dl
mov edx, dword [esp + 0x11]
and edx, 0xff
mov dl, byte [edx*4 + 0x41a485]
mov byte [eax + 0xd], dl
mov edx, dword [esp + 0x16]
and edx, 0xff
mov dl, byte [edx*4 + 0x41a485]
mov byte [eax + 0xe], dl
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov dl, byte [edx*4 + 0x41a485]
mov ebx, dword [eax]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x144]
mov esi, dword [eax + 4]
shl edx, 4
pop edi
mov edx, dword [edx + ecx + 0x54]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 0x144]
shl edx, 4
mov ebx, dword [eax + 8]
mov edx, dword [edx + ecx + 0x58]
xor esi, edx
mov dword [eax + 4], esi
mov edx, dword [ecx + 0x144]
shl edx, 4
pop esi
pop ebp
mov edx, dword [edx + ecx + 0x5c]
xor ebx, edx
mov dword [eax + 8], ebx
mov edx, dword [ecx + 0x144]
add edx, 6
pop ebx
shl edx, 4
mov ecx, dword [edx + ecx]
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0xc], edx
add esp, 0x14
ret