Function at 0x100a3690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x1024b8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x38], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ebx
call fcn.100acfb0
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x24]
mulss xmm0, dword [0x10167630]
push eax
push 0
mov dword [ebp - 0x24], 0x3f800000
mov dword [ebp - 0x20], 0x3f800000
mov dword [ebp - 0x1c], 0x3f800000
movss dword [ebp - 0x18], xmm0
call fcn.1001a3a0
mov esi, dword [0x1024c260]
add esp, 8
mov dword [ebp - 0x48], esi
and dword [esi + 0x1a34], 0xffffffef
mov ecx, dword [0x1024c260]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x19b0]
cmp byte [edi + 0x8f], 0
jne 0x100a3e69
push 0
push ebx
mov ecx, edi
call fcn.100137f0
push ecx
mov dword [esp], 0xbf800000
mov ebx, eax
push 1
push 0
push dword [ebp - 0x64]
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x6c], ebx
push eax
call fcn.10010990
movss xmm3, dword [edi + 0xd8]
lea eax, [ebp - 0xb4]
movss xmm2, dword [edi + 0xdc]
add esp, 0x10
movss xmm1, dword [edi + 0xd8]
addss xmm3, dword [0x1016d77c]
addss xmm2, dword [0x1016d798]
movss dword [ebp - 0x5c], xmm1
movss xmm0, dword [edi + 0xdc]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm3
addss xmm3, dword [0x10167600]
movss dword [ebp - 0x50], xmm2
addss xmm2, dword [0x1016767c]
movss dword [ebp - 0xb4], xmm1
movss dword [ebp - 0xb0], xmm0
movss dword [ebp - 0xac], xmm3
movss dword [ebp - 0xa8], xmm2
movss xmm0, dword [esi + 0x154c]
movss dword [esp], xmm0
push eax
call fcn.10015940
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push ebx
push eax
call fcn.100155f0
add esp, 0x14
test al, al
je 0x100a3e69
push 0
lea eax, [ebp - 0x5d]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.10036e30
push ebx
mov byte [ebp - 0x31], al
call fcn.100154e0
push 1
push dword [ebp - 0x64]
mov byte [ebp - 0x30], al
call fcn.1009fce0
mov ebx, dword [ebp - 0x68]
add esp, 0x20
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebx + 0x44]
call fcn.1009f6d0
push 4
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push dword [ebp - 0x84]
lea esi, [eax + 4]
mov dword [ebp - 0x4c], eax
push esi
call fcn.100aaa80
movss xmm1, dword [esi]
lea eax, [ebp - 0x88]
mulss xmm1, dword [0x1016badc]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
movss xmm0, dword [esi]
mulss xmm0, dword [0x1016d754]
mov esi, dword [ebp - 0x68]
addss xmm1, dword [0x1016bad8]
push 0xf
cvttss2si ebx, xmm0
mov dword [ebp - 0x18], 0xff
mulss xmm1, dword [ebp - 0x40]
sub bl, 0x27
cvttss2si edx, xmm1
test edx, edx
mov dword [ebp - 0x88], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x18]
cmovle eax, ecx
push ecx
mov ecx, dword [esi + 4]
mov dword [esp], 0x40800000
mov al, byte [eax]
mov byte [ebp - 0x41], al
lea eax, [ebp - 0x54]
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x42], bl
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10021b70
movss xmm0, dword [ebp - 0xbc]
comiss xmm0, dword [0x10167600]
jbe 0x100a3938
movss xmm0, dword [ebp - 0x58]
addss xmm0, dword [0x10167698]
movss xmm1, dword [ebp - 0x5c]
addss xmm1, dword [0x10167690]
push 1
push 0
push dword [ebp - 0x64]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm1
push dword [ebp - 0x1c]
call fcn.1001b040
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov eax, dword [ebp - 0x6c]
jne 0x100a394c
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x1ae0], eax
jne 0x100a3972
mov bl, byte [ebp - 0x30]
test bl, bl
jne 0x100a3975
cmp dword [edi + 0x140], 0
jne 0x100a3962
mov dword [edi + 0x314], eax
push eax
call fcn.10019ab0
mov bl, 1
add esp, 4
mov byte [ebp - 0x30], bl
jmp 0x100a3975
mov bl, byte [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
push 4
push ecx
mov dword [esp], 0x3f000000
mov ecx, esi
push dword [ebp - 0x30]
mov byte [eax], bl
add eax, 8
push eax
call fcn.100aaa80
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x100a3a5e
push ecx
mov dword [esp], 0xbf800000
lea eax, [ebp - 0x8c]
push 0
push 0
push edi
push eax
call fcn.10010990
movss xmm0, dword [ebp - 0x8c]
addss xmm0, dword [0x1016d774]
movss xmm1, dword [0x1016d7c4]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], 0x3f800000
mov dword [ebp - 0x20], 0x3f800000
subss xmm1, xmm0
mov dword [ebp - 0x1c], 0x3f800000
mulss xmm1, dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
push 0
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x38], xmm1
call fcn.1001a3a0
movss xmm1, dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 0x50]
subss xmm1, dword [ebp - 0x38]
subss xmm0, dword [0x1016c998]
push 0
push eax
push 0
push 0
push edi
lea eax, [ebp - 0x54]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
push eax
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], xmm0
call fcn.1001b110
push 1
call fcn.10019f20
add esp, 0x3c
movss xmm2, dword [ebp - 0x5c]
movss xmm3, dword [ebp - 0x58]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x1016d670]
addss xmm0, dword [0x1016d75c]
movss dword [ebp - 0x9c], xmm1
movss dword [ebp - 0x98], xmm0
addss xmm1, dword [0x1016d7c4]
addss xmm0, dword [0x1016d770]
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x70], xmm0
test bl, bl
je 0x100a3b82
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x1016d68c]
mov edi, dword [ebp - 0x4c]
push 3
push ecx
mov ecx, dword [esi + 4]
mulss xmm0, dword [edi + 8]
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 - 0x74]
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10021b70
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x1016d7bc]
push ecx
movss xmm3, dword [ebp - 0x74]
movss xmm2, dword [ebp - 0x70]
movaps xmm1, xmm3
mulss xmm0, dword [edi + 8]
mov ecx, dword [esi + 4]
subss xmm1, dword [0x10167600]
subss xmm3, dword [0x1016d7c4]
cvttss2si eax, xmm0
mov dword [esp], 0x3f800000
mov word [ebp - 0x30], 0xffff
mov byte [ebp - 0x2e], 0xff
movaps xmm0, xmm2
movss dword [ebp - 0x3c], xmm1
subss xmm0, dword [0x10167658]
subss xmm2, dword [0x10167658]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x3c]
push dword [ebp - 0x30]
movss dword [ebp - 0x1c], xmm3
push eax
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x38], xmm0
push eax
movss dword [ebp - 0x18], xmm2
call fcn.10020ed0
movss xmm3, dword [ebp - 0x58]
movss xmm2, dword [ebp - 0x5c]
movaps xmm0, xmm3
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x1016d7c0]
addss xmm3, dword [0x1016c984]
push ecx
mov ecx, dword [esi + 4]
movaps xmm1, xmm2
addss xmm1, dword [0x1016d6d0]
addss xmm2, dword [0x1016d7c8]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x101676b0]
mov dword [esp], 0x3fc00000
mov byte [ebp - 0x2e], 0xff
movss dword [ebp - 0x7c], xmm1
cvttss2si eax, xmm0
movss dword [ebp - 0x94], xmm2
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x94]
push dword [ebp - 0x30]
movss dword [ebp - 0x90], xmm3
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10020ed0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x101676b0]
push ecx
movss xmm1, dword [ebp - 0x7c]
addss xmm1, dword [0x1016d75c]
mov ecx, dword [esi + 4]
cvttss2si eax, xmm0
mov dword [esp], 0x3fc00000
mov word [ebp - 0x30], 0xffff
mov byte [ebp - 0x2e], 0xff
movss xmm0, dword [ebp - 0x78]
subss xmm0, dword [0x10167658]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x94]
push dword [ebp - 0x30]
movss dword [ebp - 0x3c], xmm1
push eax
lea eax, [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
push eax
call fcn.10020ed0
test bl, bl
je 0x100a3e69
cmp byte [0x102427e8], 0
mov edi, dword [ebp - 0x48]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x38], eax
je 0x100a3cd5
cmp byte [0x102427e9], 0
jne 0x100a3d22
mov byte [0x102427e9], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x102427fc]
xor ebx, dword [0x102427f8]
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 - 0x18], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x102427ea], al
inc esi
cmp esi, 0xd
jb 0x100a3c91
jmp 0x100a3d22
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x102427fc]
xor ebx, dword [0x102427f8]
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 - 0x18], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x102427ea], al
inc esi
cmp esi, 0xd
jb 0x100a3ce0
lea eax, [ebp - 0x31]
push eax
push 0x102427f6
push 0x102427ea
lea ecx, [ebp - 0x2c]
call fcn.1004f960
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.10014000
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10045300
movss xmm1, dword [ebp - 0x5c]
lea eax, [ebp - 0x3c]
movss xmm0, dword [ebp - 0x58]
addss xmm1, dword [0x1016d670]
addss xmm0, dword [0x1016d584]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
push 0
push eax
mov dword [ebp - 0x38], 0
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
call fcn.1001d010
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 0x43480000
mov dword [ebp - 0x38], 0
call fcn.100a3ea0
fstp dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
xorps xmm1, xmm1
mov ebx, dword [ebp - 0x4c]
comiss xmm1, xmm0
lea edx, [ebp - 0x38]
push 0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x18]
comiss xmm0, dword [0x1016d6b8]
seta al
test al, al
lea eax, [ebp - 0xa4]
push eax
cmove ecx, edx
movss xmm0, dword [ecx]
mulss xmm0, dword [ebx + 8]
mov dword [ebp - 0xa4], 0x42f60000
movss dword [ebp - 0xa0], xmm0
call fcn.1001d060
movss xmm0, dword [ebp - 0x40]
add esp, 0x14
mulss xmm0, dword [ebx + 8]
movss dword [esp], xmm0
call fcn.1001cfe0
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.1001a3f0
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000d230
push 1
mov bl, al
call fcn.10019f70
add esp, 0x1c
test bl, bl
jne 0x100a3e7e
call fcn.100122e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10103042
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.10019f20
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.10103042
mov esp, ebp
pop ebp
ret 0x10