Function at 0x1003f8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movss xmm0, dword [0x100856ac]
push ebx
push esi
mov esi, dword [0x10116ebc]
push edi
mov dword [ebp - 4], esi
comiss xmm0, dword [esi + 0x48f8]
ja 0x1003fbc9
cmp dword [esi + 0x48f4], 0
jne 0x1003f917
movaps xmm0, xmmword [0x10086180]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x4f485277
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1003f8f8
lea ecx, [ebp - 0x27]
mov byte [ebp - 0x14], 0
call fcn.10032990
mov dword [esi + 0x48f4], eax
mov eax, dword [esi + 0x4790]
mov dword [ebp - 0x1c], 0x7f7fffff
mov dword [ebp - 0x18], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [esi + 0x46c4]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x100856b4]
mov dword [esi + 0x46c4], eax
or eax, 1
mulss xmm2, dword [0x100856b4]
mov dword [esi + 0x4710], 0
movss dword [ebp - 0x20], xmm1
mov dword [esi + 0x4714], 0
movss dword [ebp - 0x24], xmm2
movups xmm0, xmmword [ebp - 0x24]
mov dword [ebp - 0x20], 2
movups xmmword [esi + 0x4700], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x100856cc]
mulss xmm2, dword [0x100856cc]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [esi + 0x46c4], eax
lea ecx, [esi + 0x4730]
mov dword [esi + 0x46dc], 0x3f000000
lea eax, [ebp - 0x20]
movss dword [esi + 0x46d8], xmm1
mov dword [esi + 0x46e0], 0x3f000000
movss dword [esi + 0x46d4], xmm2
mov dword [esi + 0x46c8], 1
movss xmm0, dword [esi + 0x37a0]
movss xmm1, dword [esi + 0x37a0]
addss xmm0, xmm0
push eax
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 8], xmm0
movss xmm0, dword [esi + 0x37a4]
addss xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0x37a4]
movss dword [ebp - 0x18], xmm0
call fcn.10041f80
movss xmm0, dword [ebp - 8]
xor ecx, ecx
movss dword [esi + 0x37a0], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esi + 0x37a4], xmm0
movaps xmm0, xmmword [0x100861b0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x4e495376
mov byte [ebp - 0x14], 0
nop
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x1003fa60
push 0xc1347
xor edx, edx
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x27]
call fcn.10035850
mov ebx, dword [esi + 0x3dec]
add esp, 4
sub ebx, 1
js 0x1003fbba
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x3df4]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 0x8f], 0
je 0x1003fbae
cmp esi, dword [esi + 0x2e4]
jne 0x1003fbae
test dword [esi + 8], 0x80000
jne 0x1003fbae
mov edi, dword [esi]
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1003faf6
mov dl, byte [ecx]
test dl, dl
je 0x1003faee
cmp dl, 0x23
jne 0x1003fae8
cmp byte [ecx + 1], dl
je 0x1003faee
inc ecx
cmp ecx, 0xffffffff
jb 0x1003fad8
cmp edi, ecx
jne 0x1003fb85
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x1003fb08
mov edi, dword [0x10117330]
jmp 0x1003fb85
test eax, 0x400
je 0x1003fb7f
mov cl, 0x59
mov dword [ebp - 0x38], 0x147a7a59
mov dword [ebp - 0x34], 0x14373038
xor eax, eax
mov dword [ebp - 0x30], 0x1b2c373c
mov word [ebp - 0x2c], 0x2b38
mov byte [ebp - 0x2a], 0
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xd
jae 0x1003fb41
mov cl, byte [ebp - 0x38]
jmp 0x1003fb32
mov byte [ebp - 0x2a], 0
lea ecx, [ebp - 0x37]
mov eax, edi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fb70
test dl, dl
je 0x1003fb6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fb70
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fb50
xor eax, eax
jmp 0x1003fb75
sbb eax, eax
or eax, 1
mov edi, dword [0x1011733c]
test eax, eax
je 0x1003fb85
mov edi, dword [0x10117328]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, edi
mov dword [ebp - 0xc], 0
cmp dword [eax + 0x48ec], esi
sete dl
call fcn.1007cf90
add esp, 8
sub ebx, 1
mov esi, dword [ebp - 4]
jns 0x1003faa0
call fcn.10037f00
mov ecx, 1
call fcn.1002b980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret