Function at 0x100195f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [0x1021e014]
mov eax, edx
movss xmm2, dword [0x10212294]
shr eax, 0x1f
movss xmm1, dword [0x1021226c]
movd xmm0, edx
mov ecx, dword [0x1021e018]
cvtdq2pd xmm0, xmm0
push ebx
push esi
push edi
addsd xmm0, qword [eax*8 + 0x10214fb0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10212238]
divss xmm0, xmm2
maxss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp edx, 0x500
jne 0x10019662
cmp ecx, 0x400
jne 0x10019662
movss xmm3, dword [0x1021229c]
jmp 0x10019688
movd xmm0, ecx
mov eax, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10214fb0]
cvtpd2ps xmm3, xmm0
mulss xmm3, dword [0x10212274]
divss xmm3, xmm2
movaps xmm0, xmm3
shr ecx, 1
mulss xmm0, dword [0x1021221c]
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 + 0x10214fb0]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x10212288]
addss xmm2, dword [0x10212288]
cvttss2si ebx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
cvttss2si eax, xmm2
addsd xmm0, qword [edx*8 + 0x10214fb0]
mov dword [esp + 4], 0x42f00000
mov edx, ebx
movss dword [esp], xmm3
push 0x1021e0e8
push ecx
cvtpd2ps xmm1, xmm0
mov dword [esp + 0x30], eax
push 0x1021cdc8
movaps xmm0, xmm3
mulss xmm0, dword [0x10212220]
subss xmm1, xmm0
cvttss2si esi, xmm1
mov ecx, esi
call fcn.10018750
movaps xmm0, xmmword [0x102150b0]
add esp, 0x14
movups xmmword [esp + 0x24], xmm0
mov word [esp + 0x34], 0x45
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esp + 0x24]
xor byte [esp + ecx + 0x25], al
inc ecx
cmp ecx, 0x10
jb 0x10019740
lea eax, [esp + 0x25]
mov byte [esp + 0x35], 0
push eax
push 0
push dword [0x1021ce40]
lea eax, [ebx + 4]
push dword [0x1021e09c]
push 0xffffff33
push 1
push eax
mov eax, dword [0x1021e014]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10214fb0]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
call fcn.10018eb0
movss xmm3, dword [esp + 0x34]
add esp, 0x18
movss xmm1, dword [0x10212288]
movaps xmm2, xmm3
mulss xmm2, dword [0x10212220]
movss dword [esp + 4], xmm3
movss dword [esp], xmm3
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm2
addss xmm0, dword [0x10212268]
push 0x1021e2e8
push ecx
push 0x1021cdcc
subss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, dword [0x10212220]
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 [0x10212258]
mov ecx, esi
cvttss2si eax, xmm0
add eax, ebx
mov dword [esp + 0x2c], eax
call fcn.10018750
mov bh, 0x3e
movd xmm0, esi
mov ch, 0x72
mov byte [esp + 0x40], 0
mov al, 0x1b
mov byte [esp + 0x38], bh
mov cl, 0x57
mov byte [esp + 0x40], 0
mov dl, 0x1e
mov bl, 0x75
mov ah, 0x77
mov dh, ch
xor al, bh
xor cl, bh
xor dl, bh
mov byte [esp + 0x39], al
xor bl, bh
mov byte [esp + 0x3a], cl
xor ah, bh
mov byte [esp + 0x3b], dl
xor ch, bh
mov byte [esp + 0x3c], bl
add esp, 0x14
mov byte [esp + 0x29], ah
xor dh, bh
mov byte [esp + 0x2a], ch
mov byte [esp + 0x2b], dh
cvtdq2ps xmm0, xmm0
push dword [0x1021ce94]
addss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x29]
push eax
push 0
push dword [0x1021ce40]
cvttss2si eax, xmm0
push dword [0x1021e09c]
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
push eax
call fcn.10018eb0
movd xmm0, esi
add esp, 0x1c
cvtdq2ps xmm0, xmm0
mov edx, edi
addss xmm0, dword [esp + 0x18]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x1021e1c0
push ecx
push 0x1021cdd0
mov ecx, esi
call fcn.10018750
add esp, 0x14
mov byte [esp + 0x24], 0x58
mov al, 0x7d
movd xmm0, esi
xor al, byte [esp + 0x24]
mov ah, 0x1d
mov byte [esp + 0x25], al
mov cl, 0x31
mov al, byte [esp + 0x24]
mov dl, 0x78
push dword [0x1021e048]
xor ah, al
mov byte [esp + 0x31], 0
mov ch, 0x19
mov byte [esp + 0x2d], ah
mov dh, 0xc
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, 0x1c
mov byte [esp + 0x2e], ch
xor bl, al
mov byte [esp + 0x2f], dh
mov bh, 0x10
mov byte [esp + 0x2c], bl
xor bh, al
lea eax, [esp + 0x29]
push eax
addss xmm0, dword [esp + 0x24]
push 0
push dword [0x1021ce40]
mov byte [esp + 0x3c], bh
push dword [0x1021e09c]
cvttss2si eax, xmm0
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
push eax
call fcn.10018eb0
movd xmm0, esi
add esp, 0x1c
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x18]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x1021e418
push ecx
push 0x1021cdd4
mov edx, edi
mov ecx, esi
call fcn.10018750
add esp, 0x14
movd xmm0, esi
mov bh, 0x35
mov byte [esp + 0x2c], 0
mov al, 0x10
mov byte [esp + 0x24], bh
mov dl, al
mov byte [esp + 0x2c], 0
push dword [0x1021cd50]
mov bl, al
mov ah, 0x15
xor al, bh
xor ah, bh
cvtdq2ps xmm0, xmm0
mov byte [esp + 0x29], al
mov cl, 0x5c
mov byte [esp + 0x2d], ah
mov ch, 0x7e
lea eax, [esp + 0x29]
mov dh, 0x71
push eax
push 0
push dword [0x1021ce40]
addss xmm0, dword [esp + 0x2c]
push dword [0x1021e09c]
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.10018eb0
movd xmm0, esi
add esp, 0x1c
cvtdq2ps xmm0, xmm0
mov edx, edi
addss xmm0, dword [esp + 0x18]
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push 0x1021e354
push ecx
push 0x1021cdd8
mov ecx, esi
call fcn.10018750
mov bh, 0x7b
mov byte [esp + 0x40], 0
mov al, 0x5e
mov byte [esp + 0x38], bh
mov dl, al
mov bl, al
mov cl, 0x12
mov ah, 0x5b
xor al, bh
xor cl, bh
xor dl, bh
mov byte [esp + 0x39], al
xor bl, bh
mov byte [esp + 0x3a], cl
xor ah, bh
mov byte [esp + 0x3b], dl
mov ch, 0x33
mov byte [esp + 0x3c], bl
add esp, 0x14
mov byte [esp + 0x29], ah
mov dh, 0x28
xor ch, bh
push dword [0x1021d060]
movd xmm0, esi
lea eax, [esp + 0x29]
push eax
cvtdq2ps xmm0, xmm0
push 0
xor dh, bh
mov byte [esp + 0x36], ch
mov byte [esp + 0x37], dh
mov byte [esp + 0x38], 0
push dword [0x1021ce40]
addss xmm0, dword [esp + 0x2c]
push dword [0x1021e09c]
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
cvttss2si eax, xmm0
push eax
call fcn.10018eb0
movaps xmm0, xmmword [0x10213540]
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 0x10019b10
push dword [0x1021e034]
lea eax, [esp + 0x29]
mov byte [esp + 0x38], 0
push eax
mov eax, dword [esp + 0x28]
push 0
push dword [0x1021ce40]
add eax, 0xffffffee
push dword [0x1021e09c]
push 0xff00ff00
push 1
push eax
mov eax, dword [0x1021e014]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10214fb0]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
call fcn.10018eb0
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret