Function at 0x10008400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x888
mov ebx, dword [ebp + 8]
mov esi, ecx
lea edi, [esp + 0x80]
push 0x400
push edx
push edi
call fcn.100185c0
add esp, 0xc
mov eax, 0xfffffc00
nop
movups xmm0, xmmword [esi + eax + 0x400]
movups xmm2, xmmword [esp + eax + 0x480]
movups xmm1, xmmword [esi + eax + 0x410]
movups xmm3, xmmword [esp + eax + 0x490]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esp + eax + 0x480], xmm2
movups xmmword [esp + eax + 0x490], xmm3
add eax, 0x20
jne 0x10008430
lea eax, [esp + 0x480]
push 0x400
push edi
push eax
call fcn.100185c0
add esp, 0xc
cmp byte [ebp + 0xc], 0
je 0x100084cb
mov eax, 0xffffff80
nop dword [eax]
movups xmm0, xmmword [ebx + eax*8 + 0x400]
movups xmm2, xmmword [esp + eax*8 + 0x880]
movups xmm1, xmmword [ebx + eax*8 + 0x410]
movups xmm3, xmmword [esp + eax*8 + 0x890]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esp + eax*8 + 0x880], xmm2
movups xmmword [esp + eax*8 + 0x890], xmm3
add eax, 4
jne 0x10008490
mov esi, 0xfffffc00
lea edi, [esp + 0x78]
nop word cs:[eax + eax]
nop
mov eax, dword [esp + esi + 0x4b0]
mov ecx, dword [esp + esi + 0x4b4]
movsd xmm0, qword [esp + esi + 0x480]
movsd xmm1, qword [esp + esi + 0x488]
lea edx, [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + esi + 0x4b8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + esi + 0x4bc]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + esi + 0x490]
movsd qword [esp + 0x20], xmm1
mov dword [esp + 8], eax
mov eax, dword [esp + esi + 0x4c0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + esi + 0x4c4]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + esi + 0x498]
mov dword [esp + 0x10], eax
mov eax, dword [esp + esi + 0x4c8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + esi + 0x4cc]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + esi + 0x4a0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + esi + 0x4d0]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + esi + 0x4d4]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esp + esi + 0x4a8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + esi + 0x4d8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + esi + 0x4dc]
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + esi + 0x4e0]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + esi + 0x4e4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + esi + 0x4e8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + esi + 0x4ec]
mov dword [esp + 0x60], eax
mov eax, dword [esp + esi + 0x4f0]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + esi + 0x4f4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + esi + 0x4f8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + esi + 0x4fc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
push edi
call fcn.10008ae0
add esp, 0x38
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
mov dword [esp + esi + 0x484], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + esi + 0x480], eax
mov eax, dword [esp + 0x20]
mov dword [esp + esi + 0x48c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + esi + 0x488], eax
mov eax, dword [esp + 0x78]
mov dword [esp + esi + 0x494], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + esi + 0x490], eax
mov eax, dword [esp + 0x28]
mov dword [esp + esi + 0x49c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + esi + 0x498], eax
mov eax, dword [esp + 0x30]
mov dword [esp + esi + 0x4a4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + esi + 0x4a0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + esi + 0x4ac], ecx
mov ecx, dword [esp + 4]
mov dword [esp + esi + 0x4a8], eax
mov eax, dword [esp]
mov dword [esp + esi + 0x4b4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + esi + 0x4b0], eax
mov eax, dword [esp + 8]
mov dword [esp + esi + 0x4bc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + esi + 0x4b8], eax
mov dword [esp + esi + 0x4c0], edx
mov dword [esp + esi + 0x4c4], ecx
movsd qword [esp + esi + 0x4c8], xmm0
movsd qword [esp + esi + 0x4d0], xmm2
movsd qword [esp + esi + 0x4d8], xmm1
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + esi + 0x4e0], xmm2
movsd qword [esp + esi + 0x4e8], xmm1
movsd xmm2, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + esi + 0x4f0], xmm2
movsd qword [esp + esi + 0x4f8], xmm1
sub esi, 0xffffff80
jne 0x100084e0
mov esi, 0xffffff80
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esp + esi + 0x280]
mov ecx, dword [esp + esi + 0x284]
movsd xmm0, qword [esp + esi + 0x100]
movsd xmm1, qword [esp + esi + 0x108]
lea edx, [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + esi + 0x288]
mov dword [esp + 4], ecx
mov ecx, dword [esp + esi + 0x28c]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + esi + 0x180]
movsd qword [esp + 0x20], xmm1
mov dword [esp + 8], eax
mov eax, dword [esp + esi + 0x300]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + esi + 0x304]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + esi + 0x188]
mov dword [esp + 0x10], eax
mov eax, dword [esp + esi + 0x308]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + esi + 0x30c]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + esi + 0x200]
mov dword [esp + 0x40], eax
mov eax, dword [esp + esi + 0x380]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + esi + 0x384]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esp + esi + 0x208]
mov dword [esp + 0x48], eax
mov eax, dword [esp + esi + 0x388]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + esi + 0x38c]
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + esi + 0x400]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + esi + 0x404]
mov dword [esp + 0x58], eax
mov eax, dword [esp + esi + 0x408]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + esi + 0x40c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + esi + 0x480]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + esi + 0x484]
mov dword [esp + 0x68], eax
mov eax, dword [esp + esi + 0x488]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + esi + 0x48c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58]
push eax
push edi
call fcn.10008ae0
add esp, 0x38
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
mov dword [esp + esi + 0x104], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + esi + 0x100], eax
mov eax, dword [esp + 0x20]
mov dword [esp + esi + 0x10c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + esi + 0x108], eax
mov eax, dword [esp + 0x78]
mov dword [esp + esi + 0x184], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + esi + 0x180], eax
mov eax, dword [esp + 0x28]
mov dword [esp + esi + 0x18c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + esi + 0x188], eax
mov eax, dword [esp + 0x30]
mov dword [esp + esi + 0x204], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + esi + 0x200], eax
mov eax, dword [esp + 0x38]
mov dword [esp + esi + 0x20c], ecx
mov ecx, dword [esp + 4]
mov dword [esp + esi + 0x208], eax
mov eax, dword [esp]
mov dword [esp + esi + 0x284], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + esi + 0x280], eax
mov eax, dword [esp + 8]
mov dword [esp + esi + 0x28c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + esi + 0x288], eax
mov dword [esp + esi + 0x300], edx
mov dword [esp + esi + 0x304], ecx
movsd qword [esp + esi + 0x308], xmm0
movsd qword [esp + esi + 0x380], xmm2
movsd qword [esp + esi + 0x388], xmm1
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + esi + 0x400], xmm2
movsd qword [esp + esi + 0x408], xmm1
movsd xmm2, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + esi + 0x480], xmm2
movsd qword [esp + esi + 0x488], xmm1
add esi, 0x10
jne 0x100087b0
push 0x400
lea eax, [esp + 0x484]
push eax
push ebx
call fcn.100185c0
add esp, 0xc
mov eax, 0xffffff80
nop dword [eax]
movups xmm0, xmmword [esp + eax*8 + 0x480]
movups xmm2, xmmword [ebx + eax*8 + 0x400]
movups xmm1, xmmword [esp + eax*8 + 0x490]
movups xmm3, xmmword [ebx + eax*8 + 0x410]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [ebx + eax*8 + 0x400], xmm2
movups xmmword [ebx + eax*8 + 0x410], xmm3
add eax, 4
jne 0x10008a90
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret