Function at 0x1002f210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12a0
call fcn.100b0780
mov eax, dword [0x101053c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x704]
mov dword [ebp - 0xf5c], edi
mov ecx, 0x80
vxorps xmm0, xmm0, xmm0
lea eax, [eax + 0xc]
vmovss dword [eax - 0x14], xmm0
vmovss dword [eax - 0x10], xmm0
vmovss dword [eax - 0xc], xmm0
sub ecx, 1
jne 0x1002f242
mov eax, dword [0x1013065c]
cmp dword [edi + eax], ecx
jne 0x1002f271
mov eax, dword [0x101305e0]
mov ecx, edi
call eax
mov eax, dword [0x1013065c]
mov eax, dword [edi + eax]
mov dword [ebp - 0xf58], eax
test eax, eax
je 0x1002f4f8
mov eax, dword [0x10130640]
add eax, edi
mov dword [ebp - 0xf60], eax
je 0x1002f4f8
mov eax, dword [eax + 4]
mov dword [ebp - 0xf64], eax
test eax, eax
je 0x1002f4f8
mov ebx, dword [edi + 0x260]
mov ecx, edi
mov dword [edi + 0x260], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, edi
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0xf18], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [ebp - 0xf14], xmm0
vmovss xmm0, dword [eax + 8]
vmovss dword [ebp - 0xf10], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
call eax
mov esi, dword [0x10130644]
mov ecx, 0xb6
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0xf24], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [ebp - 0xf20], xmm0
vmovss xmm0, dword [eax + 8]
mov eax, dword [0x10130768]
add eax, 0xffffffa7
xor eax, 0xf0b73a76
vmovss dword [ebp - 0xf1c], xmm0
mov esi, dword [edi + esi]
vmovdqu ymm0, ymmword [eax + edi]
vmovdqu ymmword [ebp - 0xf84], ymm0
vmovdqu ymm0, ymmword [eax + edi + 0x20]
vmovdqu ymmword [ebp - 0xfa4], ymm0
vmovdqu ymm0, ymmword [eax + edi + 0x40]
lea edi, [ebp - 0x129c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xf5c]
mov ecx, edi
vmovdqu ymmword [ebp - 0xfc4], ymm0
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
vzeroupper
call eax
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x2c]
mov ecx, edi
call edx
lea edx, [ebp - 0xf54]
mov ecx, eax
call dword [0x101305f8]
vmovss xmm0, dword [esi]
mov eax, dword [0x101306c4]
vmovss dword [ebp - 0xf48], xmm0
vmovss xmm0, dword [esi + 4]
add eax, 0xffffffd0
xor eax, 0xf0b73a4d
vmovss dword [ebp - 0xf38], xmm0
vmovss xmm0, dword [esi + 8]
mov esi, dword [ebp - 0xf60]
vmovss dword [ebp - 0xf28], xmm0
or dword [eax + edi], 8
mov eax, dword [ebp + 0x10]
mov byte [0x1011b698], 1
mov dword [esi + 4], eax
mov eax, dword [0x1013070c]
mov edx, dword [edi]
add eax, 0xffffffbe
xor eax, 0xf0b73a5f
push 0x100
push ecx
mov ecx, edi
vmovss xmm0, dword [eax + edi]
vmovss dword [esp], xmm0
lea eax, [ebp - 0xf0c]
push eax
lea eax, [ebp - 0x70c]
push eax
push dword [ebp - 0xf58]
mov eax, dword [edx + 0x320]
call eax
push 0x100
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.100b1340
mov eax, dword [edi]
lea ecx, [ebp - 0x10c]
add esp, 0xc
mov eax, dword [eax + 0x2e0]
push ecx
push 0x100
lea ecx, [ebp - 0xf54]
push ecx
lea ecx, [ebp - 0xf0c]
push ecx
lea ecx, [ebp - 0x70c]
push ecx
push dword [ebp - 0xf58]
mov ecx, edi
call eax
mov eax, dword [ebp - 0xf64]
lea ecx, [ebp - 0xf18]
mov dword [esi + 4], eax
mov eax, dword [0x101306c4]
add eax, 0xffffffd0
xor eax, 0xf0b73a4d
push ecx
mov ecx, edi
and dword [eax + edi], 0xfffffff7
mov eax, dword [0x101305d8]
call eax
mov eax, dword [0x101305d4]
lea ecx, [ebp - 0xf24]
push ecx
mov ecx, edi
call eax
mov eax, dword [0x10130768]
lea esi, [ebp - 0x129c]
vmovdqu ymm0, ymmword [ebp - 0xf84]
add eax, 0xffffffa7
mov ecx, 0xb6
xor eax, 0xf0b73a76
vmovdqu ymmword [eax + edi], ymm0
vmovdqu ymm0, ymmword [ebp - 0xfa4]
vmovdqu ymmword [eax + edi + 0x20], ymm0
vmovdqu ymm0, ymmword [ebp - 0xfc4]
vmovdqu ymmword [eax + edi + 0x40], ymm0
mov edi, dword [0x10130644]
mov eax, dword [ebp - 0xf5c]
mov edi, dword [eax + edi]
rep movsd dword es:[edi], dword [esi]
mov byte [0x1011b698], 0
mov dword [eax + 0x260], ebx
mov al, 1
jmp 0x1002f4fa
xor al, al
vzeroupper
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100aed12
mov esp, ebp
pop ebp
ret 0xc