Function at 0x100a3480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x10273240]
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.100ad2f0
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x24]
mulss xmm0, dword [0x1016a630]
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.1001a450
mov esi, dword [0x10273be0]
add esp, 8
mov dword [ebp - 0x48], esi
and dword [esi + 0x1a34], 0xffffffef
mov ecx, dword [0x10273be0]
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x19b0]
cmp byte [edi + 0x8f], 0
jne 0x100a3c59
push 0
push ebx
mov ecx, edi
call fcn.100138c0
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.10010a60
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 [0x101706a4]
addss xmm2, dword [0x101706c0]
movss dword [ebp - 0x5c], xmm1
movss xmm0, dword [edi + 0xdc]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm3
addss xmm3, dword [0x1016a600]
movss dword [ebp - 0x50], xmm2
addss xmm2, dword [0x1016a67c]
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.100159f0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push ebx
push eax
call fcn.100156a0
add esp, 0x14
test al, al
je 0x100a3c59
push 0
lea eax, [ebp - 0x5d]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.10036e80
push ebx
mov byte [ebp - 0x31], al
call fcn.10015590
push 1
push dword [ebp - 0x64]
mov byte [ebp - 0x30], al
call fcn.1009fad0
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.1009f4c0
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.100aa910
movss xmm1, dword [esi]
lea eax, [ebp - 0x88]
mulss xmm1, dword [0x1016eadc]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
movss xmm0, dword [esi]
mulss xmm0, dword [0x1017067c]
mov esi, dword [ebp - 0x68]
addss xmm1, dword [0x1016ead8]
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.10021bd0
movss xmm0, dword [ebp - 0xbc]
comiss xmm0, dword [0x1016a600]
jbe 0x100a3728
movss xmm0, dword [ebp - 0x58]
addss xmm0, dword [0x1016a698]
movss xmm1, dword [ebp - 0x5c]
addss xmm1, dword [0x1016a690]
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.1001b0f0
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov eax, dword [ebp - 0x6c]
jne 0x100a373c
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x1ae0], eax
jne 0x100a3762
mov bl, byte [ebp - 0x30]
test bl, bl
jne 0x100a3765
cmp dword [edi + 0x140], 0
jne 0x100a3752
mov dword [edi + 0x314], eax
push eax
call fcn.10019b60
mov bl, 1
add esp, 4
mov byte [ebp - 0x30], bl
jmp 0x100a3765
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.100aa910
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x100a384e
push ecx
mov dword [esp], 0xbf800000
lea eax, [ebp - 0x8c]
push 0
push 0
push edi
push eax
call fcn.10010a60
movss xmm0, dword [ebp - 0x8c]
addss xmm0, dword [0x1017069c]
movss xmm1, dword [0x101706ec]
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.1001a450
movss xmm1, dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 0x50]
subss xmm1, dword [ebp - 0x38]
subss xmm0, dword [0x1016f998]
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.1001b1c0
push 1
call fcn.10019fd0
add esp, 0x3c
movss xmm2, dword [ebp - 0x5c]
movss xmm3, dword [ebp - 0x58]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x1017055c]
addss xmm0, dword [0x10170684]
movss dword [ebp - 0x9c], xmm1
movss dword [ebp - 0x98], xmm0
addss xmm1, dword [0x101706ec]
addss xmm0, dword [0x10170698]
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x70], xmm0
test bl, bl
je 0x100a3972
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x10170578]
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.10021bd0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x101706e4]
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 [0x1016a600]
subss xmm3, dword [0x101706ec]
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 [0x1016a658]
subss xmm2, dword [0x1016a658]
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.10020f30
movss xmm3, dword [ebp - 0x58]
movss xmm2, dword [ebp - 0x5c]
movaps xmm0, xmm3
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x101706e8]
addss xmm3, dword [0x1016f984]
push ecx
mov ecx, dword [esi + 4]
movaps xmm1, xmm2
addss xmm1, dword [0x101705bc]
addss xmm2, dword [0x101706f0]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x1016a6b0]
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.10020f30
movss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x1016a6b0]
push ecx
movss xmm1, dword [ebp - 0x7c]
addss xmm1, dword [0x10170684]
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 [0x1016a658]
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.10020f30
test bl, bl
je 0x100a3c59
cmp byte [0x10269eb0], 0
mov edi, dword [ebp - 0x48]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x38], eax
je 0x100a3ac5
cmp byte [0x10269eb1], 0
jne 0x100a3b12
mov byte [0x10269eb1], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10269ec4]
xor ebx, dword [0x10269ec0]
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 + 0x10269eb2], al
inc esi
cmp esi, 0xd
jb 0x100a3a81
jmp 0x100a3b12
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10269ec4]
xor ebx, dword [0x10269ec0]
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 + 0x10269eb2], al
inc esi
cmp esi, 0xd
jb 0x100a3ad0
lea eax, [ebp - 0x31]
push eax
push 0x10269ebe
push 0x10269eb2
lea ecx, [ebp - 0x2c]
call fcn.1004f9c0
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.100140d0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10045360
movss xmm1, dword [ebp - 0x5c]
lea eax, [ebp - 0x3c]
movss xmm0, dword [ebp - 0x58]
addss xmm1, dword [0x1017055c]
addss xmm0, dword [0x10170474]
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.1001d070
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 0x43480000
mov dword [ebp - 0x38], 0
call fcn.100a3c90
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 [0x101705a4]
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.1001d0c0
movss xmm0, dword [ebp - 0x40]
add esp, 0x14
mulss xmm0, dword [ebx + 8]
movss dword [esp], xmm0
call fcn.1001d040
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.1001a4a0
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000d300
push 1
mov bl, al
call fcn.1001a020
add esp, 0x1c
test bl, bl
jne 0x100a3c6e
call fcn.100123b0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10106b52
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.10019fd0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.10106b52
mov esp, ebp
pop ebp
ret 0x10