Function at 0x1012e15c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x1024b9b8]
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
test al, al
jne 0x1012d31e
call fcn.10130e20
mov al, byte [0x1024b9b8]
cmp byte [0x1024b9bf], 0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x44], ecx
je 0x1012d34c
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 0x30]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10134530
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [ecx + 0x10]
mov dword [ebp - 0x40], esi
test al, al
jne 0x1012d35b
call fcn.10130e20
cmp dword [edi + 0x14], 0x10000
movzx eax, byte [0x1024b9b9]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
add eax, ecx
cmp eax, 3
ja case.default.0x1012d37c
jmp dword [eax*4 + 0x1012e2a4]
mov eax, dword [edi + 0x18]
mov ebx, dword [esi + 8]
add eax, 0x30
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], edx
nop dword [eax]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
test eax, eax
je 0x1012d3c3
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x1012d3c9
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
lea ecx, [eax + 8]
movlpd qword [ebp - 0x50], xmm0
test ecx, ecx
je 0x1012d3dc
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x1012d3e2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
xor dword [ebp - 0xc], esi
xor ebx, edx
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov esi, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp - 8]
xor esi, edi
mov dword [ebp - 0x4c], eax
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp - 0xc]
and eax, 0xf0
add eax, ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x30], eax
mov eax, ebx
shr eax, 0x18
mov ebx, esi
and eax, 0xf0
shr ebx, 0x18
add eax, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], eax
and ebx, 0xf0
mov eax, dword [ebp - 4]
add ebx, ecx
shr eax, 0x14
mov esi, edx
shr edi, 0x18
and eax, 0xf0
mov dword [ebp - 0x10], edx
and edi, 0xf0
mov edx, dword [ebp + 8]
add edi, ecx
shr esi, 0x14
shr edx, 0x14
and esi, 0xf0
mov dword [ebp - 0x2c], ebx
add esi, ecx
mov ebx, dword [ecx + eax + 0x100]
and edx, 0xf0
add edx, ecx
sub dword [ebp - 0x34], 0x10
add ecx, eax
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0xc]
shr eax, 0x14
xor ebx, dword [edx + 0x200]
and eax, 0xf0
xor ebx, dword [esi + 0x300]
xor ebx, dword [edi + 0x400]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x104]
xor eax, dword [edx + 0x204]
xor eax, dword [esi + 0x304]
mov dword [ebp - 0x18], ebx
mov ebx, eax
xor ebx, dword [edi + 0x404]
mov edi, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 8]
xor edi, dword [ebx + 0x700]
xor eax, dword [ebx + 0x704]
mov ebx, dword [ebp - 0x2c]
xor edi, dword [ebx + 0x500]
xor eax, dword [ebx + 0x504]
mov ebx, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
xor edi, dword [ebx + 0x600]
mov dword [ebp - 0x18], edi
mov edi, eax
mov eax, dword [ebp - 0x40]
xor edi, dword [ebx + 0x604]
mov ebx, dword [ebp - 0x18]
xor ebx, dword [eax + esi]
mov dword [ebp - 0x18], ebx
mov ebx, esi
mov esi, dword [ebp - 0x3c]
xor edi, dword [eax + ebx + 4]
mov dword [ebp + 0xc], edi
mov edi, dword [eax + ebx + 8]
mov ebx, dword [eax + ebx + 0xc]
xor ebx, dword [ecx + 0x10c]
xor edi, dword [ecx + 0x108]
xor ebx, dword [edx + 0x20c]
mov ecx, edi
xor ebx, dword [esi + 0x30c]
xor ecx, dword [edx + 0x208]
xor ecx, dword [esi + 0x308]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
shr esi, 0xc
and esi, 0xf0
xor ebx, dword [edi + 0x40c]
xor ebx, dword [eax + 0x70c]
xor ecx, dword [edi + 0x408]
xor ecx, dword [eax + 0x708]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
shr edi, 0xc
xor edx, dword [ebx + 0x50c]
and edi, 0xf0
xor edx, dword [eax + 0x60c]
xor ecx, dword [ebx + 0x508]
xor ecx, dword [eax + 0x608]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xf0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x38], eax
add edi, ecx
mov eax, dword [ebp + 8]
add esi, ecx
shr eax, 0x10
and eax, 0xf0
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xf0
shr ebx, 0x10
add eax, ecx
shr edx, 0xc
and ebx, 0xf0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
add ebx, ecx
and edx, 0xf0
shr eax, 0xc
add edx, ecx
mov dword [ebp - 0x30], ebx
and eax, 0xf0
mov dword [ebp - 0x48], edi
add ecx, eax
mov ebx, dword [edx + 0x104]
xor ebx, dword [esi + 0x204]
xor ebx, dword [edi + 0x304]
mov eax, dword [edx + 0x100]
xor eax, dword [esi + 0x200]
xor eax, dword [edi + 0x300]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
xor eax, dword [ebx + 0x400]
xor edi, dword [ebx + 0x404]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
xor edi, dword [eax + 0x704]
mov ebx, dword [ebp - 0x14]
xor ebx, dword [eax + 0x700]
mov eax, dword [ebp - 0x3c]
xor edi, dword [eax + 0x504]
xor ebx, dword [eax + 0x500]
mov eax, dword [ebp - 0x40]
xor edi, dword [eax + 0x604]
xor ebx, dword [eax + 0x600]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
shld eax, ebx, 8
xor edi, eax
shl ebx, 8
xor edi, dword [ecx + 4]
xor dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [ecx]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [edx + 0x10c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ecx + 8]
xor edi, dword [edx + 0x108]
mov edx, eax
xor edx, dword [esi + 0x20c]
mov ecx, edi
xor ecx, dword [esi + 0x208]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 8]
xor edx, dword [edi + 0x30c]
xor ecx, dword [edi + 0x308]
xor edx, dword [ebx + 0x40c]
xor edx, dword [eax + 0x70c]
xor ecx, dword [ebx + 0x408]
xor ecx, dword [eax + 0x708]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x28]
xor edx, dword [eax + 0x50c]
xor ecx, dword [eax + 0x508]
mov eax, dword [ebp - 0x40]
xor edx, dword [eax + 0x60c]
xor ecx, dword [eax + 0x608]
xor edx, 0
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor ecx, eax
mov eax, dword [ebp - 0x20]
shld eax, edi, 8
xor edx, eax
shl edi, 8
xor ecx, edi
mov dword [ebp - 0x24], edx
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 8
and eax, 0xf0
shr edi, 8
add eax, esi
shr edx, 8
mov dword [ebp - 0x40], eax
and edi, 0xf0
mov eax, dword [ebp + 8]
and edx, 0xf0
shr eax, 8
add edi, esi
and eax, 0xf0
shr ecx, 4
add eax, esi
and ecx, 0xf0
add edx, esi
mov dword [ebp - 0x3c], eax
add ecx, esi
mov eax, dword [ebp + 8]
shr eax, 4
and eax, 0xf0
mov ebx, dword [ebp - 4]
add eax, esi
shr ebx, 4
mov dword [ebp - 0x38], eax
and ebx, 0xf0
mov eax, dword [ebp - 0xc]
add ebx, esi
shr eax, 4
and eax, 0xf0
mov dword [ebp - 0x48], ebx
add esi, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0x200]
mov eax, dword [eax + 0x204]
xor eax, dword [ecx + 0x304]
xor eax, dword [edx + 0x404]
xor ebx, dword [ecx + 0x300]
xor ebx, dword [edx + 0x400]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x40]
xor ecx, dword [eax + 0x704]
xor ebx, dword [eax + 0x700]
mov eax, ecx
xor eax, dword [edi + 0x504]
xor ebx, dword [edi + 0x500]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x3c]
xor ebx, dword [eax + 0x600]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0xc]
xor ebx, dword [eax + 0x604]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x14]
shld eax, ebx, 8
xor dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
shl ebx, 8
xor dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
xor eax, dword [ebx + 0x100]
xor eax, dword [esi]
xor ecx, dword [ebx + 0x104]
mov dword [ebp - 0x18], eax
mov eax, ecx
xor eax, dword [esi + 4]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx + 0x308]
xor eax, dword [edx + 0x408]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30c]
xor eax, dword [edx + 0x40c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
xor ecx, dword [eax + 0x708]
xor edx, dword [eax + 0x70c]
xor ecx, dword [edi + 0x508]
xor edx, dword [edi + 0x50c]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x2c]
xor ecx, dword [eax + 0x608]
xor edx, dword [eax + 0x60c]
mov eax, dword [ebp - 0x1c]
xor edx, 0
shr eax, 0x18
xor ecx, eax
mov eax, dword [ebp - 0x24]
shld eax, edi, 8
shl edi, 8
xor ecx, edi
xor ecx, dword [esi + 8]
xor edx, eax
xor ecx, dword [ebx + 0x108]
xor edx, dword [esi + 0xc]
xor edx, dword [ebx + 0x10c]
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x10]
mov edi, ebx
mov esi, dword [ebp + 8]
and ebx, 0xf0
and esi, 0xf
and edi, 0xf
xor ecx, dword [eax + 0x208]
xor edx, dword [eax + 0x20c]
mov eax, dword [ebp - 0xc]
and eax, 0xf
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 4]
shl eax, 4
and ecx, 0xf
mov dword [ebp - 0x38], ecx
add ecx, 0x10
mov dword [ebp - 0x3c], esi
add ecx, ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 8]
add eax, edx
mov dword [ebp - 0x48], eax
add ebx, edx
mov eax, dword [ebp + 8]
and eax, 0xf0
and dword [ebp - 0xc], 0xf0
add edx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
lea eax, [esi + 0x20]
mov esi, dword [ebp - 8]
add eax, eax
and dword [ebp - 4], 0xf0
mov esi, dword [esi + ecx*8]
xor esi, dword [ebx + eax*8]
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + ecx*8 + 4]
mov ecx, ebx
xor esi, dword [ecx + eax*8 + 4]
lea eax, [edi + 0x30]
mov ecx, dword [ebp - 0x14]
add eax, eax
add edi, edi
xor esi, dword [ebx + eax*8 + 4]
xor ecx, dword [ebx + eax*8]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
xor esi, dword [ebx + eax + 0x404]
xor ecx, dword [ebx + eax + 0x400]
mov ebx, dword [ebp - 4]
xor esi, dword [ebx + eax + 0x504]
xor ecx, dword [ebx + eax + 0x500]
xor ecx, dword [edx + 0x600]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
xor esi, dword [edx + 0x604]
xor ecx, dword [ebx + 0x700]
xor esi, dword [ebx + 0x704]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
shld eax, ecx, 8
shl ecx, 8
xor esi, eax
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
xor esi, dword [ecx + 4]
xor eax, dword [ecx]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
add esi, esi
mov eax, dword [ebp - 8]
mov ebx, dword [eax + edi*8 + 0x308]
xor ebx, dword [eax + esi*8 + 0x208]
mov dword [ebp + 8], ebx
mov ebx, dword [eax + edi*8 + 0x30c]
mov edi, eax
mov eax, dword [ebp - 0x38]
add eax, eax
xor ebx, dword [edi + esi*8 + 0x20c]
mov esi, dword [ebp + 8]
xor esi, dword [edi + eax*8 + 0x108]
xor ebx, dword [edi + eax*8 + 0x10c]
mov eax, dword [ebp - 0xc]
xor esi, dword [eax + edi + 0x408]
xor ebx, dword [eax + edi + 0x40c]
mov eax, dword [ebp - 4]
xor ebx, dword [eax + edi + 0x50c]
xor esi, dword [eax + edi + 0x508]
xor ebx, dword [edx + 0x60c]
xor esi, dword [edx + 0x608]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x10]
xor esi, dword [ebx + 0x708]
xor esi, dword [ecx + 8]
xor edi, dword [ebx + 0x70c]
xor esi, eax
xor edi, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x30]
xor edi, 0
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0x28]
mov eax, esi
shld eax, ecx, 8
mov ebx, dword [ebp + 8]
xor edi, eax
shl ecx, 8
mov eax, dword [ebp - 0x20]
xor ebx, ecx
shr eax, 0x18
shr esi, 0x18
mov dword [ebp - 0x10], edi
movzx eax, word [eax*2 + 0x1024b7b0]
cdq
mov ecx, eax
mov eax, dword [ebp - 0x24]
shr eax, 0x18
shld edx, ecx, 8
mov dword [ebp - 4], edx
movzx eax, word [eax*2 + 0x1024b7b0]
cdq
shl ecx, 8
xor ecx, eax
mov eax, dword [ebp - 4]
xor eax, edx
shld eax, ecx, 8
mov dword [ebp - 4], eax
movzx eax, word [esi*2 + 0x1024b7b0]
cdq
shl ecx, 8
xor ecx, eax
mov eax, dword [ebp - 4]
xor ecx, dword [ebp - 0x14]
xor eax, edx
xor eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], ecx
cmp edx, 0x10
jae 0x1012d3b0
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [edi + 0x18]
mov ebx, dword [esi]
add edi, 0x30
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], edi
jmp 0x1012db26
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
test esi, esi
je 0x1012db3f
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
jmp 0x1012db4b
mov edi, dword [ebp - 0x4c]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x50]
mov dword [ebp + 0xc], edi
lea edi, [esi + 8]
movlpd qword [ebp - 0x50], xmm0
test edi, edi
je 0x1012db62
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x40], edi
mov edi, dword [esi + 8]
jmp 0x1012db6b
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x50]
xor ecx, dword [ebp + 8]
xor edx, edi
xor ebx, dword [ebp + 0xc]
add esi, 0x10
mov dword [ebp + 0xc], ecx
shr ecx, 0x14
and ecx, 0xff0
mov edi, dword [ebp - 0xc]
add ecx, edi
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], ecx
mov ecx, ebx
shr ecx, 0x14
and ecx, 0xff0
sub dword [ebp - 0x30], 0x10
add ecx, edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], ecx
mov ecx, eax
shr ecx, 4
and ecx, 0xff0
mov dword [ebp - 0x48], esi
add ecx, edi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, edx
shr ecx, 4
and ecx, 0xff0
shr esi, 0xc
add ecx, edi
and esi, 0xff0
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 0xc
and ecx, 0xff0
add esi, dword [ebp - 0xc]
add ecx, edi
mov dword [ebp - 4], ecx
mov ecx, ebx
shr ecx, 0xc
and ecx, 0xff0
add ecx, edi
mov dword [ebp - 0x20], ecx
movzx ecx, al
mov dword [ebp - 0x3c], ecx
movzx ecx, dl
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 4
and ecx, 0xff0
add ecx, edi
mov dword [ebp - 0x38], ecx
mov ecx, ebx
shr ecx, 4
and ecx, 0xff0
movzx ebx, bl
add ecx, edi
shl ebx, 4
mov dword [ebp - 0x1c], ecx
mov ecx, eax
shr ecx, 0x14
add ebx, dword [ebp - 0xc]
and ecx, 0xff0
add ecx, edi
shr eax, 0xc
mov dword [ebp - 0x14], ecx
and eax, 0xff0
mov ecx, edx
mov dword [ebp - 0x4c], ebx
shr ecx, 0x14
and ecx, 0xff0
add edi, ecx
mov ecx, dword [ebp + 0xc]
movzx edx, cl
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xc00
add ecx, ecx
mov edi, dword [ebp - 0xc]
lea eax, [edx + 0x400]
mov ebx, dword [ebp - 0xc]
add eax, eax
add edx, edx
mov ebx, dword [ebx + ecx*8]
xor ebx, dword [edi + eax*8]
mov ecx, dword [edi + ecx*8 + 4]
xor ecx, dword [edi + eax*8 + 4]
mov eax, dword [ebp - 0x40]
add eax, 0x800
mov dword [ebp + 0xc], ecx
add eax, eax
mov ecx, edi
xor ebx, dword [ecx + eax*8]
mov ecx, dword [ebp + 0xc]
xor ecx, dword [edi + eax*8 + 4]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
xor ebx, dword [eax + 0x5000]
xor ecx, dword [eax + 0x5004]
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0xc], ecx
xor ebx, dword [eax + 0xd000]
mov dword [ebp + 8], ebx
mov ebx, ecx
xor ebx, dword [eax + 0xd004]
xor ebx, dword [edi + 0xb004]
mov eax, dword [ebp + 8]
xor eax, dword [edi + 0xb000]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 8]
xor ebx, dword [eax + 0x3000]
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0xc]
xor ebx, dword [eax + 0x3004]
xor ebx, dword [esi + 0xa004]
mov eax, dword [ebp + 8]
xor eax, dword [esi + 0xa000]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0xc], ebx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor ebx, dword [eax + 0x2000]
xor ecx, dword [eax + 0x2004]
mov eax, dword [ebp - 0x1c]
xor ebx, dword [eax + 0x1000]
xor ecx, dword [eax + 0x1004]
mov eax, dword [ebp - 0x18]
xor ebx, dword [eax + 0x9000]
xor ecx, dword [eax + 0x9004]
mov eax, dword [ebp - 0x14]
xor ebx, dword [eax + 0xf000]
xor ecx, dword [eax + 0xf004]
mov eax, dword [ebp - 0x10]
xor ebx, dword [eax + 0x7000]
xor ecx, dword [eax + 0x7004]
mov eax, dword [ebp - 8]
xor ebx, dword [eax + 0xe000]
xor ecx, dword [eax + 0xe004]
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
xor ebx, dword [eax + 0x6000]
mov dword [ebp + 8], ebx
mov ebx, ecx
xor ebx, dword [eax + 0x6004]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x4c]
xor eax, dword [ebx]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [ebx + 4]
add ecx, ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*8 + 0x4008]
mov edi, dword [ebp - 0xc]
xor eax, dword [edi + ecx*8 + 0x8008]
mov dword [ebp - 0x34], eax
mov eax, edi
mov eax, dword [eax + edx*8 + 0x400c]
mov edx, edi
xor eax, dword [edx + ecx*8 + 0x800c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
add ecx, ecx
xor edx, dword [edi + ecx*8 + 0xc008]
xor eax, dword [edi + ecx*8 + 0xc00c]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
xor edx, dword [ecx + 0x5008]
xor eax, dword [ecx + 0x500c]
mov ecx, dword [ebp - 0x2c]
xor edx, dword [ecx + 0xd008]
xor eax, dword [ecx + 0xd00c]
xor edx, dword [edi + 0xb008]
xor eax, dword [edi + 0xb00c]
mov ecx, dword [ebp - 0x24]
xor edx, dword [ecx + 0x3008]
xor eax, dword [ecx + 0x300c]
xor edx, dword [esi + 0xa008]
xor eax, dword [esi + 0xa00c]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x48]
xor edx, dword [ecx + 0x2008]
xor eax, dword [ecx + 0x200c]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ecx + 0x1008]
xor eax, dword [ecx + 0x100c]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ecx + 0x9008]
xor eax, dword [ecx + 0x900c]
xor edx, dword [ebx + 8]
xor eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
xor edx, dword [ecx + 0xf008]
xor eax, dword [ecx + 0xf00c]
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx + 0x7008]
xor eax, dword [ecx + 0x700c]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + 0xe008]
xor eax, dword [ecx + 0xe00c]
mov ecx, dword [ebp - 4]
xor edx, dword [ecx + 0x6008]
xor eax, dword [ecx + 0x600c]
cmp ebx, 0x10
jae 0x1012db20
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
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 - 0x40]
shr edx, 4
push ebx
push ebp
lea ebp, [0x1024b7b0]
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 0x1012dee3
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 - 0x40]
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 0x1012e16c
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