Function at 0x1001f866
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x1003677d
call fcn.10034553
mov esi, ecx
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xec]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001fd42
movzx ecx, word [esi + 0xf6]
xor ebx, ebx
movzx eax, word [esi + 0xf4]
movaps xmm0, xmmword [0x1003e780]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x5e1f15
mov ecx, ebx
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x12
jb 0x1001f966
sub esp, 0x18
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x54]
push eax
call fcn.10004864
add esp, 0x24
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0xf
jbe 0x1001f99b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002604
mov byte [ebp - 4], 1
lea edx, [ebp - 0x3c]
mov ecx, dword [esi + 0x50]
call fcn.10009e29
lea ecx, [ebp - 0x3c]
call fcn.10002410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10002410
movzx eax, word [esi + 0xf8]
test ax, ax
jne 0x1001fa05
mov cl, 0x64
mov byte [ebp - 0x22], bl
mov al, 0x49
mov byte [ebp - 0x24], cl
xor al, cl
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x23], al
lea eax, [ebp - 0x23]
push eax
call fcn.10002604
mov dword [ebp - 4], 2
lea edx, [ebp - 0x3c]
mov ecx, dword [esi + 0x54]
call fcn.10009e29
lea ecx, [ebp - 0x3c]
jmp 0x1001fa80
push eax
mov cl, 0x27
mov dword [ebp - 0x1c], 0x444e7327
mov dword [ebp - 0x18], 0x1d53424c
mov eax, ebx
mov dword [ebp - 0x14], 0x43020407
mov byte [ebp - 0x10], bl
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x1001fa31
mov cl, byte [ebp - 0x1c]
jmp 0x1001fa22
sub esp, 0x18
mov byte [ebp - 0x10], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x54]
push eax
call fcn.10004864
add esp, 0x20
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
jbe 0x1001fa5d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002604
mov byte [ebp - 4], 4
lea edx, [ebp - 0x3c]
mov ecx, dword [esi + 0x54]
call fcn.10009e29
lea ecx, [ebp - 0x3c]
call fcn.10002410
lea ecx, [ebp - 0x54]
or dword [ebp - 4], 0xffffffff
call fcn.10002410
movzx eax, word [esi + 0xf4]
movss xmm1, dword [0x1003dc28]
test ax, ax
je 0x1001faa8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
push ecx
push ecx
mov byte [ebp - 0x10], bl
mov ecx, ebx
movsd qword [esp], xmm0
movaps xmm0, xmmword [0x1003e970]
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xf
jb 0x1001fac2
sub esp, 0x18
mov byte [ebp - 0x10], bl
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x98]
push eax
call fcn.10004864
add esp, 0x24
mov dword [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1001fafe
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10002604
mov byte [ebp - 4], 6
lea edx, [ebp - 0x80]
mov ecx, dword [esi + 0x58]
call fcn.10009e29
lea ecx, [ebp - 0x80]
call fcn.10002410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.10002410
mov ecx, esi
call fcn.1001f1e2
mov ecx, dword [esi]
mov dl, 1
call fcn.100095bf
mov byte [esi + 0xfa], 1
call fcn.10034530
ret