Function at 0x100a8450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x102ce4c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x7c], eax
call fcn.100b1770
fstp dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mulss xmm0, dword [0x101756fc]
push eax
push 0
mov dword [ebp - 0x44], 0x3f800000
mov dword [ebp - 0x40], 0x3f800000
mov dword [ebp - 0x3c], 0x3f800000
movss dword [ebp - 0x38], xmm0
call fcn.1001a7e0
mov ebx, dword [0x102cee60]
add esp, 8
mov dword [ebp - 0x58], ebx
and dword [ebx + 0x1a34], 0xffffffef
mov ecx, dword [0x102cee60]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x19b0]
cmp byte [edi + 0x8f], 0
jne 0x100a8c08
push 0
push dword [ebp - 0x30]
mov ecx, edi
call fcn.10013c60
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10010d40
movss xmm1, dword [edi + 0xdc]
lea eax, [ebp - 0xc0]
movss xmm2, dword [edi + 0xd8]
add esp, 0x10
addss xmm1, dword [0x1018018c]
movss dword [ebp - 0x68], xmm2
movaps xmm3, xmm2
movss xmm0, dword [edi + 0xdc]
addss xmm3, dword [0x10180150]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [0x10175744]
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 [ebx + 0x154c]
movss dword [esp], xmm0
push eax
call fcn.10015d70
mov ebx, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.10015a10
add esp, 0x14
test al, al
je 0x100a8c08
push 0
lea eax, [ebp - 0x69]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10036a50
push ebx
mov byte [ebp - 0x31], al
call fcn.10015900
push 1
push dword [ebp - 0x30]
mov bh, al
mov byte [ebp - 0x6d], bh
call fcn.100a50c0
add esp, 0x20
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
lea ecx, [esi + 0x64]
push eax
call fcn.100a4a60
push 4
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp], 0x3f800000
lea esi, [eax + 4]
push dword [ebp - 0x98]
mov dword [ebp - 0x80], eax
push esi
call fcn.100af330
movss xmm1, dword [esi]
lea ecx, [ebp - 0x4c]
movaps xmm0, xmm1
mov esi, dword [ebp - 0x18]
mulss xmm1, dword [0x101799a4]
mov bl, 0xd9
mov dword [ebp - 0x4c], 0
mulss xmm0, dword [0x10180124]
push 0xf
addss xmm1, dword [0x10175760]
mov dword [ebp - 0x38], 0xff
cvttss2si eax, xmm0
mulss xmm1, dword [ebp - 0x48]
sub bl, al
lea eax, [ebp - 0x50]
cvttss2si edx, xmm1
test edx, edx
mov dword [ebp - 0x50], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x38]
cmovle eax, ecx
push ecx
mov ecx, dword [esi + 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.10021ca0
movss xmm0, dword [ebp - 0xc8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100a86eb
movss xmm0, dword [ebp - 0x68]
addss xmm0, dword [0x10175758]
push 1
push 0
push dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x1017575c]
movss dword [ebp - 0x38], xmm0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.1001b420
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x74]
jne 0x100a86ff
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x1ae0], ecx
jne 0x100a8720
test bh, bh
jne 0x100a8720
cmp dword [edi + 0x140], 0
jne 0x100a8712
mov dword [edi + 0x314], ecx
push ecx
call fcn.10019eb0
mov bh, 1
add esp, 4
mov byte [ebp - 0x6d], bh
mov eax, dword [ebp - 0x80]
push 4
push ecx
mov dword [esp], 0x3f000000
mov ecx, esi
push dword [ebp - 0x6d]
lea edi, [eax + 8]
mov byte [eax], bh
push edi
call fcn.100af330
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x100a880d
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10010d40
movss xmm0, dword [ebp - 0x78]
lea eax, [ebp - 0x24]
addss xmm0, dword [0x10180144]
push eax
push 0
mov dword [ebp - 0x24], 0x3f800000
mov dword [ebp - 0x20], 0x3f800000
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edi]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0x3f800000
movss dword [ebp - 0x18], xmm0
call fcn.1001a7e0
movss xmm1, dword [0x101801c8]
lea eax, [ebp - 0x1c]
subss xmm1, dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x60]
push 0
push eax
mov eax, dword [ebp - 0x7c]
mulss xmm1, dword [ebp - 0x50]
push 0
push 0
push eax
addss xmm1, dword [ebp - 0x38]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
push eax
subss xmm0, xmm1
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x5c]
subss xmm0, dword [0x1017a7c4]
movss dword [ebp - 0x38], xmm0
call fcn.1001b4f0
push 1
call fcn.1001a340
add esp, 0x3c
movss xmm2, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x64]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x101801cc]
addss xmm0, dword [0x1018012c]
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm0
addss xmm1, dword [0x101801c8]
addss xmm0, dword [0x10180140]
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], xmm0
test bh, bh
je 0x100a8925
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [edi]
push 3
push ecx
mov ecx, dword [esi + 4]
mulss xmm0, dword [0x101801d0]
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 - 0x88]
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10021ca0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [edi]
push ecx
movss xmm1, dword [ebp - 0x88]
mov ecx, dword [esi + 4]
mulss xmm0, dword [0x101801c0]
mov dword [esp], 0x3f800000
mov word [ebp - 0x30], 0xffff
mov byte [ebp - 0x2e], 0xff
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x10175728]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x3c]
push dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm1
subss xmm1, dword [0x101801c8]
push eax
lea eax, [ebp - 0x54]
movss dword [ebp - 0x38], xmm0
push eax
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x54], xmm1
call fcn.10021060
movss xmm3, dword [ebp - 0x64]
movss xmm2, dword [ebp - 0x68]
movaps xmm0, xmm2
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x101801d4]
addss xmm2, dword [0x101801d8]
push ecx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xa0]
mov dword [esp], 0x3fc00000
movss dword [ebp - 0x90], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101801c4]
addss xmm3, dword [0x1017a7b0]
mov byte [ebp - 0x2e], 0xff
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [0x10175770]
movss dword [ebp - 0x9c], xmm3
cvttss2si ebx, xmm0
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.10021060
movss xmm0, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
addss xmm0, dword [0x1018012c]
push ecx
mov ecx, dword [esi + 4]
mov dword [esp], 0x3fc00000
mov word [ebp - 0x30], 0xffff
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x8c]
subss xmm0, dword [0x10175728]
mov byte [ebp - 0x2e], 0xff
mov byte [ebp - 0x2d], bl
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
push eax
call fcn.10021060
cmp byte [ebp - 0x6d], 0
je 0x100a8c08
cmp byte [0x102c48f8], 0
mov edi, dword [ebp - 0x58]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x38], eax
je 0x100a8a78
cmp byte [0x102c48f9], 0
jne 0x100a8ac2
mov byte [0x102c48f9], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102c490c]
xor ebx, dword [0x102c4908]
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 - 0x50], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x102c48fa], al
inc esi
cmp esi, 0xd
jb 0x100a8a34
jmp 0x100a8ac2
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x102c490c]
xor ebx, dword [0x102c4908]
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 - 0x50], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x102c48fa], al
inc esi
cmp esi, 0xd
jb 0x100a8a80
lea eax, [ebp - 0x31]
push eax
push 0x102c4906
push 0x102c48fa
lea ecx, [ebp - 0x2c]
call fcn.1004f4a0
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push dword [ebp - 0x38]
cmova eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.10014480
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10044ae0
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
addss xmm0, dword [0x101801cc]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x3c], 0
push 0
push eax
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x1017fe60]
mov dword [ebp - 0x38], 0
movss dword [ebp - 0x50], xmm0
call fcn.1001d380
push dword [ebp + 0x14]
mov dword [ebp - 0x58], 0x43480000
mov dword [ebp - 0x50], 0
call fcn.100a8c40
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x38]
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
xorps xmm1, xmm1
movss dword [ebp - 0x38], xmm0
comiss xmm0, xmm1
push 0
movss xmm1, dword [0x1017fe70]
cmovae ecx, eax
lea eax, [ebp - 0x58]
comiss xmm1, xmm0
cmovae eax, ecx
movss xmm0, dword [eax]
lea eax, [ebp - 0xb0]
mulss xmm0, dword [esi + 8]
push eax
mov dword [ebp - 0xb0], 0x42f60000
movss dword [ebp - 0xac], xmm0
call fcn.1001d3d0
movss xmm0, dword [ebp - 0x48]
add esp, 0x14
mulss xmm0, dword [esi + 8]
movss dword [esp], xmm0
call fcn.1001d350
movss xmm0, dword [edi + 0x1518]
lea eax, [ebp - 0x3c]
push eax
push 1
mov dword [ebp - 0x3c], 0x40e00000
movss dword [ebp - 0x38], xmm0
call fcn.1001a830
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000d830
push 1
mov bl, al
call fcn.1001a390
add esp, 0x1c
test bl, bl
jne 0x100a8c1d
call fcn.10012650
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10110662
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.1001a340
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.10110662
mov esp, ebp
pop ebp
ret 0x10