Function at 0x100d9720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10331c40]
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.100e2690
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
mulss xmm0, dword [0x101bb8fc]
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.1001cc90
mov esi, dword [0x103325e0]
add esp, 8
mov dword [ebp - 0x78], esi
and dword [esi + 0x1a34], 0xffffffef
mov ecx, dword [0x103325e0]
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 0x100d9ed6
push 0
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.100160b0
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.10013130
movss xmm1, dword [ebx + 0xdc]
lea eax, [ebp - 0xc0]
movss xmm2, dword [ebx + 0xd8]
add esp, 0x10
addss xmm1, dword [0x101e83cc]
movss dword [ebp - 0x68], xmm2
movaps xmm3, xmm2
movss xmm0, dword [ebx + 0xdc]
addss xmm3, dword [0x101e8390]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [0x101bb944]
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.10018200
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.10017ea0
add esp, 0x14
test al, al
je 0x100d9ed6
push 0
lea eax, [ebp - 0x69]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10039380
push ebx
mov byte [ebp - 0x31], al
call fcn.10017d90
push 1
push dword [ebp - 0x30]
mov bh, al
mov byte [ebp - 0x6d], bh
call fcn.100d6060
add esp, 0x20
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
lea ecx, [edi + 0x50]
push eax
call fcn.100d5a00
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.100e04e0
movss xmm1, dword [esi]
lea ecx, [ebp - 0x4c]
movaps xmm0, xmm1
mov dword [ebp - 0x4c], 0
mulss xmm1, dword [0x101bfc00]
mov bl, 0xd9
push 0xf
mulss xmm0, dword [0x101e8368]
mov dword [ebp - 0x18], 0xff
addss xmm1, dword [0x101bb960]
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 + 8]
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.100244f0
movss xmm0, dword [ebp - 0xc8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100d99bd
movss xmm0, dword [ebp - 0x68]
addss xmm0, dword [0x101bb958]
push 1
push 0
push dword [ebp - 0x30]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [0x101bb95c]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1001d8d0
add esp, 0x14
cmp byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x50]
jne 0x100d99d1
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x1ae0], ecx
jne 0x100d99f5
test bh, bh
jne 0x100d99f5
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x140], 0
jne 0x100d99e7
mov dword [eax + 0x314], ecx
push ecx
call fcn.1001c350
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.100e04e0
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x100d9aeb
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10013130
movss xmm0, dword [ebp - 0x98]
lea eax, [ebp - 0x24]
addss xmm0, dword [0x101e8384]
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.1001cc90
movss xmm1, dword [0x101e8408]
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 [0x101c0ae0]
movss dword [ebp - 0x3c], xmm0
call fcn.1001d9a0
push 1
call fcn.1001c7e0
add esp, 0x3c
movss xmm2, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x64]
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, dword [0x101e840c]
addss xmm0, dword [0x101e836c]
movss dword [ebp - 0xa8], xmm1
movss dword [ebp - 0xa4], xmm0
addss xmm1, dword [0x101e8408]
addss xmm0, dword [0x101e8380]
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x7c], xmm0
test bh, bh
je 0x100d9bf4
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [esi]
push 3
push ecx
mov ecx, dword [edi + 8]
mulss xmm0, dword [0x101e8410]
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.100244f0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [esi]
push ecx
movss xmm1, dword [ebp - 0x80]
mov ecx, dword [edi + 8]
mulss xmm0, dword [0x101e8400]
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 [0x101bb928]
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
movss dword [ebp - 0x40], xmm1
subss xmm1, dword [0x101e8408]
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.10023850
movss xmm3, dword [ebp - 0x64]
movss xmm2, dword [ebp - 0x68]
movaps xmm0, xmm2
mov word [ebp - 0x30], 0xffff
addss xmm0, dword [0x101e8414]
addss xmm2, dword [0x101e8418]
push ecx
mov ecx, dword [edi + 8]
lea eax, [ebp - 0xa0]
mov dword [esp], 0x3fc00000
movss dword [ebp - 0x88], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101e8404]
addss xmm3, dword [0x101c0a80]
mov byte [ebp - 0x2e], 0xff
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [0x101bb974]
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.10023850
movss xmm0, dword [ebp - 0x88]
lea eax, [ebp - 0xa0]
addss xmm0, dword [0x101e836c]
push ecx
mov ecx, dword [edi + 8]
mov dword [esp], 0x3fc00000
mov word [ebp - 0x30], 0xffff
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x84]
subss xmm0, dword [0x101bb928]
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.10023850
cmp byte [ebp - 0x6d], 0
je 0x100d9ed6
cmp byte [0x1032ac10], 0
mov edi, dword [ebp - 0x78]
mov eax, dword [edi + 0x1acc]
mov dword [ebp - 0x3c], eax
je 0x100d9d47
cmp byte [0x1032ac11], 0
jne 0x100d9d95
mov byte [0x1032ac11], 1
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1032ac24]
xor ebx, dword [0x1032ac20]
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 + 0x1032ac12], al
inc esi
cmp esi, 0xd
jb 0x100d9d03
jmp 0x100d9d92
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1032ac24]
xor ebx, dword [0x1032ac20]
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 + 0x1032ac12], al
inc esi
cmp esi, 0xd
jb 0x100d9d50
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x31]
push eax
push 0x1032ac1e
push 0x1032ac12
lea ecx, [ebp - 0x2c]
call fcn.10054040
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.100168c0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.10049830
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
addss xmm0, dword [0x101e840c]
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 [0x101bfc04]
mov dword [ebp - 0x3c], 0
movss dword [ebp - 0x54], xmm0
call fcn.1001f870
push dword [ebp + 0x14]
mov dword [ebp - 0x18], 0x43480000
mov dword [ebp - 0x54], 0
call fcn.100d9f10
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 [0x101e7748]
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.1001f8c0
movss xmm0, dword [ebp - 0x38]
add esp, 0x14
mulss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.1001f840
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.1001cce0
push 0x400010f
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.1000fc10
push 1
mov bl, al
call fcn.1001c830
add esp, 0x1c
test bl, bl
jne 0x100d9eeb
call fcn.10014a40
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101556c2
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.1001c7e0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.101556c2
mov esp, ebp
pop ebp
ret 0x10