Function at 0x100180d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [0x10217214]
mov eax, edx
movss xmm2, dword [0x10201f58]
shr eax, 0x1f
movss xmm1, dword [0x10201f3c]
movd xmm0, edx
mov ecx, dword [0x10217218]
cvtdq2pd xmm0, xmm0
push ebx
push esi
push edi
addsd xmm0, qword [eax*8 + 0x10204240]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10201f18]
divss xmm0, xmm2
maxss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp edx, 0x500
jne 0x10018142
cmp ecx, 0x400
jne 0x10018142
movss xmm3, dword [0x10201f60]
jmp 0x10018168
movd xmm0, ecx
mov eax, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10204240]
cvtpd2ps xmm3, xmm0
mulss xmm3, dword [0x10201f44]
divss xmm3, xmm2
movaps xmm0, xmm3
shr ecx, 1
mulss xmm0, dword [0x10201efc]
sub esp, 8
shr edx, 1
movss dword [esp + 0x18], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10204240]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x10201f54]
addss xmm2, dword [0x10201f54]
cvttss2si ebx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
cvttss2si eax, xmm2
addsd xmm0, qword [edx*8 + 0x10204240]
mov dword [esp + 4], 0x42f00000
mov edx, ebx
movss dword [esp], xmm3
push 0x690
push 0x102144b8
cvtpd2ps xmm1, xmm0
mov dword [esp + 0x30], eax
push ecx
push 0x10215fa8
movaps xmm0, xmm3
mulss xmm0, dword [0x10201f00]
subss xmm1, xmm0
cvttss2si esi, xmm1
mov ecx, esi
call fcn.100174c0
movaps xmm0, xmmword [0x10203950]
add esp, 0x18
movups xmmword [esp + 0x24], xmm0
mov word [esp + 0x34], 0x35
xor ecx, ecx
mov al, byte [esp + 0x24]
xor byte [esp + ecx + 0x25], al
inc ecx
cmp ecx, 0x10
jb 0x10018220
lea eax, [esp + 0x25]
mov byte [esp + 0x35], 0
push eax
push 0
push dword [0x10216020]
lea eax, [ebx + 4]
push dword [0x102172a4]
push 0xffffff33
push 1
push eax
mov eax, dword [0x10217214]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10204240]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
call fcn.10017980
movss xmm3, dword [esp + 0x34]
add esp, 0x14
movss xmm1, dword [0x10201f54]
movaps xmm2, xmm3
mulss xmm2, dword [0x10201f00]
movss dword [esp + 4], xmm3
movss dword [esp], xmm3
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm2
addss xmm0, dword [0x10201f38]
push 0x49b2
push 0x1020ed68
push ecx
push 0x10215fac
subss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x2c]
mulss xmm1, dword [0x10201f00]
lea edi, [ebx + eax]
addss xmm1, xmm0
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
addss xmm0, xmm3
cvttss2si esi, xmm1
addss xmm0, dword [0x10201f2c]
mov ecx, esi
cvttss2si eax, xmm0
add eax, ebx
mov dword [esp + 0x34], eax
call fcn.100172b0
mov bh, 0x74
mov byte [esp + 0x48], 0
mov ch, 0x38
mov byte [esp + 0x40], bh
mov al, 0x51
mov byte [esp + 0x48], 0
mov cl, 0x1d
movd xmm0, esi
mov dl, 0x54
mov bl, 0x3f
mov ah, 0x3d
mov dh, ch
xor al, bh
xor cl, bh
xor dl, bh
mov byte [esp + 0x41], al
xor bl, bh
mov byte [esp + 0x42], cl
xor ah, bh
mov byte [esp + 0x43], dl
xor ch, bh
mov byte [esp + 0x44], bl
add esp, 0x1c
mov byte [esp + 0x29], ah
xor dh, bh
mov byte [esp + 0x2a], ch
mov byte [esp + 0x2b], dh
push dword [0x1021609c]
cvtdq2ps xmm0, xmm0
lea eax, [esp + 0x29]
push eax
push 0
push dword [0x10216020]
addss xmm0, dword [esp + 0x2c]
push dword [0x102172a4]
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
cvttss2si eax, xmm0
push eax
call fcn.10017980
movd xmm0, esi
add esp, 0x18
cvtdq2ps xmm0, xmm0
mov edx, edi
addss xmm0, dword [esp + 0x1c]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x26f
push 0x10214240
push ecx
push 0x10215fb0
mov ecx, esi
call fcn.100172b0
add esp, 0x1c
mov byte [esp + 0x24], 0x18
mov al, 0x3d
movd xmm0, esi
xor al, byte [esp + 0x24]
mov ah, 0x5d
mov byte [esp + 0x25], al
mov cl, 0x71
mov al, byte [esp + 0x24]
mov dl, 0x38
push dword [0x10217250]
xor ah, al
mov byte [esp + 0x31], 0
mov ch, 0x59
mov byte [esp + 0x2d], ah
mov dh, 0x4c
mov byte [esp + 0x31], 0
xor cl, al
xor dl, al
xor ch, al
mov byte [esp + 0x2a], cl
xor dh, al
mov byte [esp + 0x2b], dl
cvtdq2ps xmm0, xmm0
mov bl, 0x5c
mov byte [esp + 0x2e], ch
xor bl, al
mov byte [esp + 0x2f], dh
mov bh, 0x50
mov byte [esp + 0x2c], bl
xor bh, al
lea eax, [esp + 0x29]
push eax
addss xmm0, dword [esp + 0x24]
push 0
push dword [0x10216020]
mov byte [esp + 0x3c], bh
push dword [0x102172a4]
cvttss2si eax, xmm0
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
push eax
call fcn.10017980
movd xmm0, esi
add esp, 0x18
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x1c]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x245
push 0x1020eb18
push ecx
push 0x10215fb4
mov edx, edi
mov ecx, esi
call fcn.100172b0
add esp, 0x1c
movd xmm0, esi
mov bh, 0x40
mov byte [esp + 0x2c], 0
mov al, 0x65
mov byte [esp + 0x24], bh
mov dl, al
mov byte [esp + 0x2c], 0
push dword [0x10215f30]
mov bl, al
mov ah, 0x60
xor al, bh
xor ah, bh
cvtdq2ps xmm0, xmm0
mov byte [esp + 0x29], al
mov cl, 0x29
mov byte [esp + 0x2d], ah
mov ch, 0xb
lea eax, [esp + 0x29]
mov dh, 4
push eax
push 0
push dword [0x10216020]
addss xmm0, dword [esp + 0x2c]
push dword [0x102172a4]
xor cl, bh
xor dl, bh
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
cvttss2si eax, xmm0
xor ch, bh
mov byte [esp + 0x46], cl
xor dh, bh
mov byte [esp + 0x47], dl
xor bl, bh
mov byte [esp + 0x4a], ch
mov byte [esp + 0x48], bl
mov byte [esp + 0x4b], dh
push eax
call fcn.10017980
movd xmm0, esi
add esp, 0x18
cvtdq2ps xmm0, xmm0
mov edx, edi
addss xmm0, dword [esp + 0x1c]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x5df
push 0x10213c58
push ecx
push 0x10215fb8
mov ecx, esi
call fcn.100172b0
mov bh, 0x60
mov byte [esp + 0x48], 0
mov al, 0x45
mov byte [esp + 0x40], bh
mov dl, al
mov cl, 9
mov bl, al
xor cl, bh
xor al, bh
mov byte [esp + 0x42], cl
xor dl, bh
mov byte [esp + 0x41], al
add esp, 0x1c
mov byte [esp + 0x27], dl
mov ah, 0x40
mov ch, 0x28
mov dh, 0x33
xor bl, bh
push dword [0x10216260]
xor ah, bh
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov byte [esp + 0x2d], ah
xor ch, bh
lea eax, [esp + 0x29]
mov byte [esp + 0x2c], bl
push eax
push 0
push dword [0x10216020]
addss xmm0, dword [esp + 0x2c]
push dword [0x102172a4]
xor dh, bh
mov byte [esp + 0x3e], ch
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
cvttss2si eax, xmm0
mov byte [esp + 0x4b], dh
mov byte [esp + 0x4c], 0
push eax
call fcn.10017980
movaps xmm0, xmmword [0x10202fd0]
add esp, 0x24
movups xmmword [esp + 0x24], xmm0
mov byte [esp + 0x34], 0
xor ecx, ecx
nop dword [eax]
mov al, byte [esp + 0x24]
xor byte [esp + ecx + 0x25], al
inc ecx
cmp ecx, 0xf
jb 0x10018600
push dword [0x1021723c]
lea eax, [esp + 0x29]
mov byte [esp + 0x38], 0
push eax
mov eax, dword [esp + 0x28]
push 0
push dword [0x10216020]
add eax, 0xffffffee
push dword [0x102172a4]
push 0xff00ff00
push 1
push eax
mov eax, dword [0x10217214]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10204240]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
call fcn.10017980
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret