Function at 0x100a6960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10266a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x74], eax
call fcn.100af690
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
mulss xmm0, dword [0x10171698]
push eax
push 0
mov dword [ebp - 0x48], 0x3f800000
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x40], 0x3f800000
movss dword [ebp - 0x3c], xmm0
call fcn.1001a2d0
mov esi, dword [0x102673e0]
add esp, 8
mov dword [ebp - 0x78], esi
and dword [esi + 0x1a34], 0xffffffef
mov ecx, dword [0x102673e0]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov ebx, dword [ecx + 0x19b0]
mov dword [ebp - 0x54], ebx
cmp byte [ebx + 0x8f], 0
jne 0x100a7116
push 0
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.100136f0
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xc8]
push eax
call fcn.100107d0
movss xmm1, dword [ebx + 0xdc]
lea eax, [ebp - 0xc0]
movss xmm2, dword [ebx + 0xd8]
add esp, 0x10
addss xmm1, dword [0x1017c104]
movss dword [ebp - 0x68], xmm2
movaps xmm3, xmm2
movss xmm0, dword [ebx + 0xdc]
addss xmm3, dword [0x1017c0cc]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [0x101716e0]
movss dword [ebp - 0xc0], xmm2
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0xb8], xmm3
movss dword [ebp - 0xb4], xmm1
movss xmm0, dword [esi + 0x154c]
movss dword [esp], xmm0
push eax
call fcn.10015840
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.100154e0
add esp, 0x14
test al, al
je 0x100a7116
push 0
lea eax, [ebp - 0x69]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10036570
push ebx
mov byte [ebp - 0x31], al
call fcn.100153d0
push 1
push dword [ebp - 0x30]
mov bh, al
mov byte [ebp - 0x6d], bh
call fcn.100a32a0
add esp, 0x20
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
lea ecx, [edi + 0x60]
push eax
call fcn.100a2c40
push 4
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push dword [ebp - 0x90]
lea esi, [eax + 4]
mov dword [ebp - 0x3c], eax
push esi
call fcn.100ad740
movss xmm1, dword [esi]
lea ecx, [ebp - 0x4c]
movaps xmm0, xmm1
mov dword [ebp - 0x4c], 0
mulss xmm1, dword [0x10175944]
mov bl, 0xd9
push 0xf
mulss xmm0, dword [0x1017c0a0]
mov dword [ebp - 0x18], 0xff
addss xmm1, dword [0x101716fc]
cvttss2si eax, xmm0
mulss xmm1, dword [ebp - 0x38]
sub bl, al
lea eax, [ebp - 0x94]
cvttss2si edx, xmm1
test edx, edx
mov dword [ebp - 0x94], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x18]
cmovle eax, ecx
push ecx
mov ecx, dword [edi + 4]
mov dword [esp], 0x40800000
mov al, byte [eax]
mov byte [ebp - 0x49], al
lea eax, [ebp - 0x60]
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0x4b], bl
mov byte [ebp - 0x4a], bl
push dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10021830
movss xmm0, dword [ebp - 0xc8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100a6bfd
movss xmm0, dword [ebp - 0x68]
addss xmm0, dword [0x101716f4]
push 1
push 0
push dword [ebp - 0x30]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x101716f8]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1001af10
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x50]
jne 0x100a6c11
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x1ae0], ecx
jne 0x100a6c35
test bh, bh
jne 0x100a6c35
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x140], 0
jne 0x100a6c27
mov dword [eax + 0x314], ecx
push ecx
call fcn.10019990
mov bh, 1
add esp, 4
mov byte [ebp - 0x6d], bh
mov esi, dword [ebp - 0x3c]
push 4
push ecx
mov dword [esp], 0x3f000000
mov ecx, edi
push dword [ebp - 0x6d]
mov byte [esi], bh
add esi, 8
push esi
mov dword [ebp - 0x50], esi
call fcn.100ad740
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x100a6d2b
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.100107d0
movss xmm0, dword [ebp - 0x98]
lea eax, [ebp - 0x24]
addss xmm0, dword [0x1017c0c0]
push eax
push 0
mov dword [ebp - 0x24], 0x3f800000
mov dword [ebp - 0x20], 0x3f800000
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [esi]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0x3f800000
movss dword [ebp - 0x18], xmm0
call fcn.1001a2d0
movss xmm1, dword [0x1017c140]
lea eax, [ebp - 0x1c]
subss xmm1, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x60]
push 0
push eax
mov eax, dword [ebp - 0x74]
mulss xmm1, dword [ebp - 0x54]
push 0
push 0
push eax
addss xmm1, dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
push eax
subss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x5c]
subss xmm0, dword [0x10176764]
movss dword [ebp - 0x3c], xmm0
call fcn.1001afe0
push 1
call fcn.10019e20
add esp, 0x3c
movss xmm2, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x64]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x1017c144]
addss xmm0, dword [0x1017c0a8]
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm0
addss xmm1, dword [0x1017c140]
addss xmm0, dword [0x1017c0bc]
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x7c], xmm0
test bh, bh
je 0x100a6e34
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [esi]
push 3
push ecx
mov ecx, dword [edi + 4]
mulss xmm0, dword [0x1017c148]
mov dword [esp], 0x40800000
mov word [ebp - 0x30], 0x505
mov byte [ebp - 0x2e], 5
cvttss2si eax, xmm0
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x80]
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10021830
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [esi]
push ecx
movss xmm1, dword [ebp - 0x80]
mov ecx, dword [edi + 4]
mulss xmm0, dword [0x1017c138]
mov dword [esp], 0x3f800000
mov word [ebp - 0x30], 0xffff
mov byte [ebp - 0x2e], 0xff
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x7c]
subss xmm0, dword [0x101716c4]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
movss dword [ebp - 0x40], xmm1
subss xmm1, dword [0x1017c140]
push eax
lea eax, [ebp - 0x58]
movss dword [ebp - 0x3c], xmm0
push eax
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x58], xmm1
call fcn.10020b90
movss xmm3, dword [ebp - 0x64]
movss xmm2, dword [ebp - 0x68]
movaps xmm0, xmm2
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x1017c14c]
addss xmm2, dword [0x1017c150]
push ecx
mov ecx, dword [edi + 4]
lea eax, [ebp - 0xa0]
mov dword [esp], 0x3fc00000
movss dword [ebp - 0x88], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1017c13c]
addss xmm3, dword [0x10176750]
mov byte [ebp - 0x2e], 0xff
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [0x1017170c]
movss dword [ebp - 0x9c], xmm3
cvttss2si ebx, xmm0
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10020b90
movss xmm0, dword [ebp - 0x88]
lea eax, [ebp - 0xa0]
addss xmm0, dword [0x1017c0a8]
push ecx
mov ecx, dword [edi + 4]
mov dword [esp], 0x3fc00000
mov word [ebp - 0x30], 0xffff
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x101716c4]
mov byte [ebp - 0x2e], 0xff
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x3c], xmm0
push eax
call fcn.10020b90
cmp byte [ebp - 0x6d], 0
je 0x100a7116
cmp byte [0x1025d2d0], 0
mov edi, dword [ebp - 0x78]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x3c], eax
je 0x100a6f87
cmp byte [0x1025d2d1], 0
jne 0x100a6fd5
mov byte [0x1025d2d1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025d2e4]
xor ebx, dword [0x1025d2e0]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x54], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1025d2d2], al
inc esi
cmp esi, 0xd
jb 0x100a6f43
jmp 0x100a6fd2
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1025d2e4]
xor ebx, dword [0x1025d2e0]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x54], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1025d2d2], al
inc esi
cmp esi, 0xd
jb 0x100a6f90
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x31]
push eax
push 0x1025d2de
push 0x1025d2d2
lea ecx, [ebp - 0x2c]
call fcn.1004ef20
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.10013f00
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.100446f0
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
addss xmm0, dword [0x1017c144]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x40], 0
push 0
push eax
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x1017bdc0]
mov dword [ebp - 0x3c], 0
movss dword [ebp - 0x54], xmm0
call fcn.1001ce70
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 0x43480000
mov dword [ebp - 0x54], 0
call fcn.100a7150
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
xorps xmm1, xmm1
movss dword [ebp - 0x3c], xmm0
comiss xmm0, xmm1
lea ecx, [ebp - 0x54]
push 0
movss xmm1, dword [0x1017c098]
cmovae ecx, eax
lea eax, [ebp - 0x18]
comiss xmm1, xmm0
cmovae eax, ecx
movss xmm0, dword [eax]
lea eax, [ebp - 0xb0]
mulss xmm0, dword [esi]
push eax
mov dword [ebp - 0xb0], 0x42f60000
movss dword [ebp - 0xac], xmm0
call fcn.1001cec0
movss xmm0, dword [ebp - 0x38]
add esp, 0x14
mulss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.1001ce40
movss xmm0, dword [edi + 0x1518]
lea eax, [ebp - 0x40]
push eax
push 1
mov dword [ebp - 0x40], 0x40e00000
movss dword [ebp - 0x3c], xmm0
call fcn.1001a320
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000d2b0
push 1
mov bl, al
call fcn.10019e70
add esp, 0x1c
test bl, bl
jne 0x100a712b
call fcn.100120e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010c1a2
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.10019e20
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.1010c1a2
mov esp, ebp
pop ebp
ret 0x10