Function at 0x466842
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x4c6510]
sub esp, 0xa8
push ebx
push esi
mov esi, ecx
push edi
test al, al
jne 0x4658f1
call fcn.00473240
mov al, byte [0x4c6510]
cmp byte [0x4c6517], 0
je 0x46591c
mov ecx, dword [esi + 0x18]
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00477f70
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
add edi, 0x10
mov dword [ebp - 0x98], edi
mov dword [ebp - 8], edi
test al, al
jne 0x465937
call fcn.00473240
movzx eax, byte [0x4c6511]
cmp ebx, 0x10000
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
add eax, ecx
cmp eax, 3
ja case.default.0x465957
jmp dword [eax*4 + 0x46698c]
mov esi, dword [esi + 0x18]
mov eax, dword [edi + 4]
add esi, 0x30
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x200]
mov ebx, dword [edi]
mov dword [ebp - 0x6c], eax
lea eax, [esi + 0x100]
mov dword [ebp - 0x80], eax
lea eax, [esi + 0x308]
mov dword [ebp - 0x54], eax
lea eax, [esi + 0x208]
mov dword [ebp - 0x60], eax
lea eax, [esi + 0x108]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [esi + 8]
mov dword [ebp - 0x5c], eax
lea eax, [esi + 0x700]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x600]
mov dword [ebp - 0x74], eax
lea eax, [esi + 0x500]
mov dword [ebp - 0x64], eax
lea eax, [esi + 0x400]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x708]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x608]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x508]
mov dword [ebp - 0x14], edi
lea edi, [esi + 0x300]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
add esi, 0x408
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x7c], esi
nop dword [eax + eax]
xorps xmm0, xmm0
movlpd qword [ebp - 0x94], xmm0
test eax, eax
je 0x465a26
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x465a32
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
lea ecx, [eax + 8]
movlpd qword [ebp - 0x94], xmm0
test ecx, ecx
je 0x465a48
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x465a54
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
xor ebx, esi
sub dword [ebp - 0x40], 0x10
mov esi, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0x30], ebx
xor esi, edi
mov ebx, dword [ebp - 0x28]
xor ebx, edx
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x14]
xor edx, ecx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x28]
mov eax, edx
shr eax, 0x18
mov edi, edx
and eax, 0xf0
shr ebx, 0x18
and ebx, 0xf0
mov dword [ebp - 0x20], eax
mov eax, esi
shr edi, 0x14
and edi, 0xf0
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 0x6c]
shr eax, 0x18
mov dword [ebp - 0xc], esi
and eax, 0xf0
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov esi, eax
shr esi, 0x18
and esi, 0xf0
shr ecx, 0x14
and ecx, 0xf0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
shr eax, 0x14
mov ebx, dword [ebx + ecx]
and eax, 0xf0
xor ebx, dword [edi + esi]
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 4], ebx
shr edx, 0x14
and edx, 0xf0
mov dword [ebp - 8], ecx
mov ebx, dword [edi + ecx + 4]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
xor ebx, dword [edi + esi + 4]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 8]
xor edi, dword [esi + ebx]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
xor edi, dword [esi + ebx + 4]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
xor edi, dword [eax + esi + 4]
xor edi, dword [esi + edx + 0x104]
xor ebx, dword [eax + esi]
xor ebx, dword [esi + edx + 0x100]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x18]
xor ebx, dword [esi + edi + 0x300]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
xor ebx, dword [esi + edi + 0x304]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x34]
xor edi, dword [esi + ebx]
mov esi, dword [ebp + 0xc]
xor esi, dword [ecx + ebx + 4]
mov dword [ebp + 0xc], esi
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
xor edi, dword [esi + ebx]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
xor edi, dword [esi + ebx + 4]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + eax]
xor edi, dword [ebx + ecx]
mov eax, dword [esi + eax + 4]
xor eax, dword [ebx + ecx + 4]
mov ecx, edi
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x7c]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x18]
xor eax, dword [ebx + esi + 4]
xor ecx, dword [ebx + esi]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x48]
xor eax, dword [esi + ebx + 4]
xor ecx, dword [esi + ebx]
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x30]
shr esi, 0xc
and esi, 0xf0
xor eax, dword [ebx + edx + 4]
xor ecx, dword [ebx + edx]
mov edx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x6c]
xor eax, dword [edx + edi + 4]
xor ecx, dword [edx + edi]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x30]
shr edi, 0x10
xor ecx, dword [ebx + eax]
and edi, 0xf0
xor edx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 8], edi
xor ecx, dword [ebx + eax]
xor edx, dword [ebx + eax + 4]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0xc]
shr eax, 0x10
shr ecx, 0x10
and eax, 0xf0
and ecx, 0xf0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x28]
shr ebx, 0xc
shr eax, 0x10
and ebx, 0xf0
shr ecx, 0xc
and eax, 0xf0
and ecx, 0xf0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
mov eax, dword [esi + ecx]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebx + edi]
shr edx, 0xc
mov dword [ebp + 8], eax
and edx, 0xf0
mov eax, dword [esi + ecx + 4]
xor eax, dword [ebx + edi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x74]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x70]
xor esi, dword [ebx + eax]
xor edi, dword [ebx + eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
xor eax, dword [esi + ebx]
mov dword [ebp + 8], eax
mov eax, ebx
mov ebx, dword [ebp - 0x20]
xor edi, dword [esi + eax + 4]
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
xor esi, dword [edx + eax]
xor edi, dword [edx + eax + 4]
mov eax, dword [ebp - 0x84]
xor esi, dword [ebx + eax]
xor edi, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x64]
xor esi, dword [eax + ebx]
xor edi, dword [eax + ebx + 4]
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x68]
xor esi, dword [eax + ebx]
mov dword [ebp + 8], esi
mov esi, ebx
mov ebx, dword [ebp - 0x60]
xor edi, dword [eax + esi + 4]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
shld eax, esi, 8
xor edi, eax
shl esi, 8
xor dword [ebp + 8], esi
mov esi, dword [ebx + ecx]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], edi
mov edi, dword [ebp - 8]
xor esi, dword [eax + edi]
mov dword [ebp - 0x34], esi
mov esi, dword [ebx + ecx + 4]
xor esi, dword [eax + edi + 4]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
xor ecx, dword [ebx + eax]
xor esi, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x20]
xor ecx, dword [edx + eax]
xor esi, dword [edx + eax + 4]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
xor ecx, dword [ebx + eax]
xor esi, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x3c]
xor ecx, dword [eax + edx]
xor esi, dword [eax + edx + 4]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x78]
xor esi, dword [eax + edx + 4]
xor ecx, dword [eax + edx]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
xor ecx, dword [eax + esi]
xor edx, dword [eax + esi + 4]
mov eax, dword [ebp + 0xc]
xor edx, 0
shr eax, 0x18
xor ecx, eax
mov eax, dword [ebp - 0x4c]
shld eax, edi, 8
shl edi, 8
xor edx, eax
mov esi, dword [ebp - 0x14]
xor ecx, edi
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x28]
mov eax, esi
mov edx, dword [ebp - 0x30]
shr eax, 8
and eax, 0xf0
shr edi, 4
mov dword [ebp - 0x1c], eax
and edi, 0xf0
mov eax, dword [ebp - 0x28]
shr eax, 8
and eax, 0xf0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, edx
shr edx, 4
and edx, 0xf0
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x10]
shr eax, 8
and eax, 0xf0
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + edi]
mov dword [ebp - 0x44], edx
shr ecx, 4
and ecx, 0xf0
shr esi, 4
and esi, 0xf0
shr ebx, 8
and ebx, 0xf0
mov dword [ebp - 0x24], ebx
xor eax, dword [ecx + edi + 0x100]
mov edi, dword [edx + edi + 4]
mov edx, edi
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x80]
xor edx, dword [ecx + edi + 4]
mov edi, dword [ebp - 0x84]
xor edx, dword [esi + edi + 4]
xor eax, dword [esi + edi]
mov edi, dword [ebp - 0x64]
xor eax, dword [ebx + edi]
xor edx, dword [ebx + edi + 4]
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 4]
xor edx, dword [eax + edi]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0xc]
xor edx, dword [eax + edi + 4]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
xor eax, dword [edi + ebx]
xor edx, dword [edi + ebx + 4]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
xor edi, dword [eax + ebx + 4]
xor edx, dword [eax + ebx]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x74]
xor edi, dword [eax + ebx + 4]
xor edx, dword [eax + ebx]
mov eax, dword [ebp - 0x70]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 8]
shld eax, edi, 8
shl edi, 8
xor edx, edi
mov dword [ebp - 4], edx
xor dword [ebp + 0xc], eax
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov edx, dword [ecx + ebx]
xor edx, dword [esi + eax]
mov edi, dword [ecx + ebx + 4]
mov ecx, edx
xor edi, dword [esi + eax + 4]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x34]
xor ecx, dword [ebx + eax]
xor edi, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x1c]
mov ebx, edi
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x38]
xor ecx, dword [eax + edx]
xor ebx, dword [eax + edx + 4]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x5c]
xor ecx, dword [eax + edx]
xor ebx, dword [eax + edx + 4]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x7c]
xor ecx, dword [eax + edi]
xor ebx, dword [eax + edi + 4]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x14]
xor ecx, dword [edx + eax]
xor ebx, dword [edx + eax + 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
xor ecx, dword [edx + eax]
xor ebx, dword [edx + eax + 4]
mov eax, dword [ebp - 0x70]
xor ebx, 0
mov edx, dword [ebp - 0xc]
shr eax, 0x18
and edx, 0xf
xor ecx, eax
and dword [ebp - 0xc], 0xf0
mov eax, dword [ebp - 0x20]
shld eax, esi, 8
mov dword [ebp - 0x38], edx
xor ebx, eax
shl esi, 8
mov eax, edi
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x28]
and eax, 0xf
mov dword [ebp - 8], eax
xor ecx, esi
mov eax, dword [ebp - 0x30]
mov esi, ebx
and dword [ebp - 0x30], 0xf0
and eax, 0xf
shl eax, 4
and ebx, 0xf0
add eax, dword [ebp - 0x10]
and esi, 0xf
mov dword [ebp - 0x44], eax
and edi, 0xf0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
add eax, 0x30
lea ecx, [edx + 0x10]
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp - 0x10]
add ecx, ecx
mov ebx, dword [ebp - 0x10]
add eax, eax
mov edx, dword [edx + ecx*8]
xor edx, dword [ebx + eax*8]
mov dword [ebp + 8], edx
mov edx, dword [ebx + ecx*8 + 4]
mov ecx, ebx
xor edx, dword [ecx + eax*8 + 4]
lea eax, [esi + 0x20]
mov ecx, dword [ebp + 8]
add eax, eax
add esi, esi
xor edx, dword [ebx + eax*8 + 4]
xor ecx, dword [ebx + eax*8]
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + ebx + 0x504]
xor ecx, dword [eax + ebx + 0x500]
xor edx, dword [edi + ebx + 0x704]
xor ecx, dword [edi + ebx + 0x700]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
xor edx, dword [eax + ebx + 4]
xor ecx, dword [eax + ebx]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
xor edx, dword [ebx + eax + 4]
xor ecx, dword [ebx + eax]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 4]
shld eax, ecx, 8
xor edx, eax
shl ecx, 8
xor dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
xor edx, dword [ecx + 4]
xor eax, dword [ecx]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp + 8], eax
add edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + edx*8 + 0x108]
xor ebx, dword [eax + esi*8 + 0x208]
mov dword [ebp - 0x28], ebx
mov ebx, dword [eax + edx*8 + 0x10c]
xor ebx, dword [eax + esi*8 + 0x20c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x28]
add eax, eax
xor esi, dword [edx + eax*8 + 0x308]
xor ebx, dword [edx + eax*8 + 0x30c]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
lea ebx, [edx + 0x508]
mov edx, dword [ebp - 0x14]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx]
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x7c]
xor edx, dword [edi + eax + 4]
xor esi, dword [edi + eax]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
xor edx, dword [eax + ebx + 4]
xor esi, dword [eax + ebx]
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x1c]
xor edx, dword [ebx + eax + 4]
xor esi, dword [ebx + eax]
xor edx, dword [ecx + 0xc]
xor esi, dword [ecx + 8]
xor edx, 0
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor esi, eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
mov eax, edi
shld eax, edx, 8
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
shl edx, 8
xor esi, edx
shr eax, 0x18
mov dword [ebp - 0x28], esi
movzx eax, word [eax*2 + 0x4c6230]
cdq
mov ebx, eax
shr edi, 0x18
mov eax, dword [ebp - 0x20]
mov ecx, edx
shld ecx, ebx, 8
shr eax, 0x18
shl ebx, 8
movzx eax, word [eax*2 + 0x4c6230]
cdq
xor ebx, eax
xor ecx, edx
movzx eax, word [edi*2 + 0x4c6230]
shld ecx, ebx, 8
cdq
xor ecx, ecx
xor ecx, dword [ebp - 0x44]
shl ebx, 8
xor ebx, eax
mov dword [ebp - 0xc], ecx
xor ebx, dword [ebp + 8]
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x88]
jae 0x465a10
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
mov dword [edx], ebx
mov dword [edx + 4], ecx
mov dword [edx + 8], esi
mov dword [edx + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov esi, dword [esi + 0x18]
add esi, 0x30
mov dword [ebp - 0x2c], esi
lea edi, [esi + 0x7000]
mov dword [ebp - 0x68], edi
lea edi, [esi + 0x3000]
mov dword [ebp - 0x30], edi
lea edi, [esi + 0xd000]
mov dword [ebp - 0x70], edi
lea edi, [esi + 0x9000]
mov dword [ebp - 0x64], edi
lea edi, [esi + 0x6000]
mov dword [ebp - 0x74], edi
lea edi, [esi + 0x2000]
mov dword [ebp - 0x6c], edi
lea edi, [esi + 0x5000]
mov dword [ebp - 0x7c], edi
lea edi, [esi + 0x1000]
mov dword [ebp - 0x78], edi
lea edi, [esi + 0xf000]
mov dword [ebp - 0x4c], edi
lea edi, [esi + 0xb000]
mov dword [ebp - 0x48], edi
lea edi, [esi + 0xe000]
mov dword [ebp - 0x44], edi
lea edi, [esi + 0xa000]
mov dword [ebp - 0x20], edi
lea edi, [esi + 0x7008]
mov dword [ebp - 0xa0], edi
lea edi, [esi + 0x3008]
mov dword [ebp - 0x90], edi
lea edi, [esi + 0xd008]
mov dword [ebp - 0x9c], edi
lea edi, [esi + 0x9008]
mov dword [ebp - 0xa8], edi
lea edi, [esi + 0x6008]
mov dword [ebp - 0xc], edi
lea edi, [esi + 0x2008]
mov dword [ebp - 0xa4], edi
lea edi, [esi + 0x5008]
mov dword [ebp - 0x14], edi
lea edi, [esi + 0x1008]
mov dword [ebp - 0x10], edi
lea edi, [esi + 0xb008]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], esi
jmp 0x466218
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x8c], xmm0
test esi, esi
je 0x466234
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
jmp 0x466246
mov edi, dword [ebp - 0x88]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x8c]
mov dword [ebp + 0xc], edi
lea edi, [esi + 8]
movlpd qword [ebp - 0x8c], xmm0
test edi, edi
je 0x46626e
mov esi, dword [edi]
mov dword [ebp - 0x88], esi
mov esi, dword [edi + 4]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x34]
jmp 0x46627d
mov edi, dword [ebp - 0x88]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x8c]
xor ecx, dword [ebp + 8]
xor ebx, edi
xor edx, dword [ebp + 0xc]
add esi, 0x10
mov dword [ebp + 0xc], ecx
mov edi, ebx
shr ecx, 0x14
and ecx, 0xff0
xor eax, dword [ebp - 8]
mov dword [ebp - 0x54], ecx
mov ecx, edx
shr ecx, 0x14
and ecx, 0xff0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], ecx
mov ecx, eax
shr ecx, 4
and ecx, 0xff0
sub dword [ebp - 0x18], 0x10
mov dword [ebp - 0x58], ecx
mov ecx, ebx
shr ecx, 4
and ecx, 0xff0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0xc
and ecx, 0xff0
shr edi, 0xc
mov dword [ebp - 0x5c], ecx
and edi, 0xff0
mov ecx, edx
shr ecx, 0xc
and ecx, 0xff0
mov dword [ebp - 0x50], ecx
movzx ecx, al
mov dword [ebp - 8], ecx
movzx ecx, bl
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 4
and ecx, 0xff0
mov dword [ebp - 0x3c], ecx
mov ecx, edx
shr ecx, 4
and ecx, 0xff0
movzx edx, dl
mov dword [ebp - 0x60], ecx
mov ecx, eax
shr ecx, 0x14
and ecx, 0xff0
shr eax, 0xc
mov dword [ebp - 0x1c], ecx
and eax, 0xff0
mov ecx, ebx
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x2c]
shr ecx, 0x14
and ecx, 0xff0
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0xc]
movzx esi, cl
mov ecx, dword [ebp - 8]
add ecx, 0xc00
mov dword [ebp - 0x88], esi
add ecx, ecx
lea eax, [esi + 0x400]
mov esi, dword [ebp - 0x2c]
add eax, eax
mov esi, dword [esi + ecx*8]
xor esi, dword [ebx + eax*8]
mov dword [ebp + 8], esi
mov esi, ebx
mov ecx, dword [esi + ecx*8 + 4]
xor ecx, dword [esi + eax*8 + 4]
mov eax, dword [ebp - 0x84]
add eax, 0x800
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
add eax, eax
xor ecx, dword [esi + eax*8]
mov esi, dword [ebp + 0xc]
xor esi, dword [ebx + eax*8 + 4]
mov eax, edx
add eax, eax
add edx, edx
xor esi, dword [ebx + eax*8 + 4]
xor ecx, dword [ebx + eax*8]
mov ebx, dword [ebp - 0x80]
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp + 0xc]
xor eax, dword [esi + ebx + 4]
xor ecx, dword [esi + ebx]
mov ebx, dword [ebp - 0x20]
xor eax, dword [ebx + edi + 4]
xor ecx, dword [ebx + edi]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
xor ecx, dword [ebx + eax]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xc]
xor ecx, dword [ebx + eax + 4]
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x38]
xor eax, dword [ebx + ecx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [ebx + ecx + 4]
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0xc]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x78]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x74]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x70]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x6c]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x68]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x64]
xor esi, dword [ebx + eax]
xor ecx, dword [ebx + eax + 4]
mov eax, dword [ebp - 0x40]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x30]
xor esi, dword [ecx + eax]
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0xc]
xor esi, dword [ecx + eax + 4]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x88]
add esi, esi
mov eax, dword [ecx + edx*8 + 8]
xor eax, dword [ecx + esi*8 + 0x4008]
mov dword [ebp - 4], eax
mov eax, dword [ecx + edx*8 + 0xc]
xor eax, dword [ecx + esi*8 + 0x400c]
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 4]
add edx, edx
xor eax, dword [ecx + edx*8 + 0xc00c]
xor esi, dword [ecx + edx*8 + 0xc008]
mov edx, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x80]
add edx, edx
xor eax, dword [ecx + edx*8 + 0x800c]
xor eax, dword [ecx + ebx + 0xe00c]
xor esi, dword [ecx + edx*8 + 0x8008]
xor esi, dword [ecx + ebx + 0xe008]
xor eax, dword [ecx + edi + 0xa00c]
mov ebx, esi
xor ebx, dword [ecx + edi + 0xa008]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x34]
xor ebx, dword [ecx + edx + 0xf008]
xor eax, dword [ecx + edx + 0xf00c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x10]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x9c]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0xa0]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xa4]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xa8]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x90]
xor ebx, dword [edx + ecx]
xor eax, dword [edx + ecx + 4]
cmp edi, 0x10
jae 0x466212
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp + 8]
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov eax, edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
shr edx, 4
push ebx
push ebp
lea ebp, [0x4c6230]
movdqa xmm0, xmmword [esi]
movdqu xmm4, xmmword [ecx]
pxor xmm0, xmm4
movd ebx, xmm0
mov eax, 0xf0f0f0f0
and eax, ebx
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
movdqa xmm5, xmmword [esi + edi + 0x420]
movzx edi, al
movdqa xmm4, xmmword [esi + edi + 0x420]
shr eax, 0x10
movzx edi, ah
movdqa xmm3, xmmword [esi + edi + 0x420]
movzx edi, al
movdqa xmm2, xmmword [esi + edi + 0x420]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x20]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x20]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x20]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x20]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [esi + edi + 0x520]
movzx edi, al
pxor xmm4, xmmword [esi + edi + 0x520]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [esi + edi + 0x520]
movzx edi, al
pxor xmm2, xmmword [esi + edi + 0x520]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x120]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x120]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x120]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x120]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [esi + edi + 0x620]
movzx edi, al
pxor xmm4, xmmword [esi + edi + 0x620]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [esi + edi + 0x620]
movzx edi, al
pxor xmm2, xmmword [esi + edi + 0x620]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x220]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x220]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x220]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x220]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [esi + edi + 0x720]
movzx edi, al
pxor xmm4, xmmword [esi + edi + 0x720]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [esi + edi + 0x720]
movzx edi, al
pxor xmm2, xmmword [esi + edi + 0x720]
movzx edi, bh
pxor xmm5, xmmword [esi + edi + 0x320]
movzx edi, bl
pxor xmm4, xmmword [esi + edi + 0x320]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [esi + edi + 0x320]
movzx edi, bl
pxor xmm2, xmmword [esi + edi + 0x320]
movdqa xmm0, xmm3
pslldq xmm3, 1
pxor xmm2, xmm3
movdqa xmm1, xmm2
pslldq xmm2, 1
pxor xmm5, xmm2
psrldq xmm0, 0xf
movd edi, xmm0
movzx eax, word [ebp + edi*2]
shl eax, 8
movdqa xmm0, xmm5
pslldq xmm5, 1
pxor xmm4, xmm5
psrldq xmm1, 0xf
movd edi, xmm1
xor ax, word [ebp + edi*2]
shl eax, 8
psrldq xmm0, 0xf
movd edi, xmm0
xor ax, word [ebp + edi*2]
movd xmm0, eax
pxor xmm0, xmm4
add ecx, 0x10
sub edx, 1
jne 0x4665c9
movdqa xmmword [esi], xmm0
pop ebp
pop ebx
mov eax, dword [ebp + 0xc]
and eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
shr edx, 4
movdqa xmm0, xmmword [esi]
movdqu xmm1, xmmword [ecx]
pxor xmm1, xmm0
pxor xmm0, xmm0
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x20]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x1020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x2020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x3020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x4020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x5020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x6020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x7020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x8020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0x9020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xa020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xb020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xc020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xd020]
shr eax, 0x10
movzx edi, al
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xe020]
movzx edi, ah
add edi, edi
pxor xmm0, xmmword [esi + edi*8 + 0xf020]
add ecx, 0x10
sub edx, 1
jne 0x466852
movdqa xmmword [esi], xmm0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
and eax, 0xf
pop ebx
mov esp, ebp
pop ebp
ret 8