Function at 0x100a7ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x102cdf00]
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.100b0a10
fstp dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mulss xmm0, dword [0x1017469c]
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.1001a530
mov ebx, dword [0x102ce8a0]
add esp, 8
mov dword [ebp - 0x58], ebx
and dword [ebx + 0x1a34], 0xffffffef
mov ecx, dword [0x102ce8a0]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x19b0]
cmp byte [edi + 0x8f], 0
jne 0x100a8278
push 0
push dword [ebp - 0x30]
mov ecx, edi
call fcn.100139a0
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.10010a80
movss xmm1, dword [edi + 0xdc]
lea eax, [ebp - 0xc0]
movss xmm2, dword [edi + 0xd8]
add esp, 0x10
addss xmm1, dword [0x1017f13c]
movss dword [ebp - 0x68], xmm2
movaps xmm3, xmm2
movss xmm0, dword [edi + 0xdc]
addss xmm3, dword [0x1017f100]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [0x101746e4]
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.10015ab0
mov ebx, dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.10015750
add esp, 0x14
test al, al
je 0x100a8278
push 0
lea eax, [ebp - 0x69]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.100366d0
push ebx
mov byte [ebp - 0x31], al
call fcn.10015640
push 1
push dword [ebp - 0x30]
mov bh, al
mov byte [ebp - 0x6d], bh
call fcn.100a4540
add esp, 0x20
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
lea ecx, [esi + 0x64]
push eax
call fcn.100a3ee0
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.100ae9a0
movss xmm1, dword [esi]
lea ecx, [ebp - 0x4c]
movaps xmm0, xmm1
mov esi, dword [ebp - 0x18]
mulss xmm1, dword [0x10178944]
mov bl, 0xd9
mov dword [ebp - 0x4c], 0
mulss xmm0, dword [0x1017f0d4]
push 0xf
addss xmm1, dword [0x10174700]
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.100219f0
movss xmm0, dword [ebp - 0xc8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100a7d5b
movss xmm0, dword [ebp - 0x68]
addss xmm0, dword [0x101746f8]
push 1
push 0
push dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x101746fc]
movss dword [ebp - 0x38], xmm0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.1001b170
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x74]
jne 0x100a7d6f
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x1ae0], ecx
jne 0x100a7d90
test bh, bh
jne 0x100a7d90
cmp dword [edi + 0x140], 0
jne 0x100a7d82
mov dword [edi + 0x314], ecx
push ecx
call fcn.10019c00
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.100ae9a0
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x100a7e7d
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10010a80
movss xmm0, dword [ebp - 0x78]
lea eax, [ebp - 0x24]
addss xmm0, dword [0x1017f0f4]
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.1001a530
movss xmm1, dword [0x1017f178]
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 [0x10179764]
movss dword [ebp - 0x38], xmm0
call fcn.1001b240
push 1
call fcn.1001a090
add esp, 0x3c
movss xmm2, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x64]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x1017f17c]
addss xmm0, dword [0x1017f0dc]
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm0
addss xmm1, dword [0x1017f178]
addss xmm0, dword [0x1017f0f0]
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], xmm0
test bh, bh
je 0x100a7f95
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [edi]
push 3
push ecx
mov ecx, dword [esi + 4]
mulss xmm0, dword [0x1017f180]
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.100219f0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [edi]
push ecx
movss xmm1, dword [ebp - 0x88]
mov ecx, dword [esi + 4]
mulss xmm0, dword [0x1017f170]
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 [0x101746c8]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x3c]
push dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm1
subss xmm1, dword [0x1017f178]
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.10020db0
movss xmm3, dword [ebp - 0x64]
movss xmm2, dword [ebp - 0x68]
movaps xmm0, xmm2
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x1017f184]
addss xmm2, dword [0x1017f188]
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 [0x1017f174]
addss xmm3, dword [0x10179750]
mov byte [ebp - 0x2e], 0xff
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, dword [0x10174710]
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.10020db0
movss xmm0, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
addss xmm0, dword [0x1017f0dc]
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 [0x101746c8]
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.10020db0
cmp byte [ebp - 0x6d], 0
je 0x100a8278
cmp byte [0x102c4418], 0
mov edi, dword [ebp - 0x58]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x38], eax
je 0x100a80e8
cmp byte [0x102c4419], 0
jne 0x100a8132
mov byte [0x102c4419], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102c442c]
xor ebx, dword [0x102c4428]
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 + 0x102c441a], al
inc esi
cmp esi, 0xd
jb 0x100a80a4
jmp 0x100a8132
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x102c442c]
xor ebx, dword [0x102c4428]
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 + 0x102c441a], al
inc esi
cmp esi, 0xd
jb 0x100a80f0
lea eax, [ebp - 0x31]
push eax
push 0x102c4426
push 0x102c441a
lea ecx, [ebp - 0x2c]
call fcn.1004f130
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.100141c0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10044760
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
addss xmm0, dword [0x1017f17c]
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 [0x1017ee00]
mov dword [ebp - 0x38], 0
movss dword [ebp - 0x50], xmm0
call fcn.1001d0d0
push dword [ebp + 0x14]
mov dword [ebp - 0x58], 0x43480000
mov dword [ebp - 0x50], 0
call fcn.100a82b0
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 [0x1017ee10]
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.1001d120
movss xmm0, dword [ebp - 0x48]
add esp, 0x14
mulss xmm0, dword [esi + 8]
movss dword [esp], xmm0
call fcn.1001d0a0
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.1001a580
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000d580
push 1
mov bl, al
call fcn.1001a0e0
add esp, 0x1c
test bl, bl
jne 0x100a828d
call fcn.10012390
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010f802
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.1001a090
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.1010f802
mov esp, ebp
pop ebp
ret 0x10