Function at 0x1001dd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [0x102ba02c]
mov eax, edx
movss xmm2, dword [0x102ad2b4]
shr eax, 0x1f
movss xmm1, dword [0x102ad28c]
movd xmm0, edx
mov ecx, dword [0x102ba030]
cvtdq2pd xmm0, xmm0
push ebx
push esi
push edi
addsd xmm0, qword [eax*8 + 0x102af460]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x102ad258]
divss xmm0, xmm2
maxss xmm1, xmm0
movss dword [esp + 0x14], xmm1
cmp edx, 0x500
jne 0x1001ddb2
cmp ecx, 0x400
jne 0x1001ddb2
movss xmm3, dword [0x102ad2bc]
jmp 0x1001ddd8
movd xmm0, ecx
mov eax, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102af460]
cvtpd2ps xmm3, xmm0
mulss xmm3, dword [0x102ad294]
divss xmm3, xmm2
movaps xmm0, xmm3
shr ecx, 1
mulss xmm0, dword [0x102ad23c]
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 + 0x102af460]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x102ad2a8]
addss xmm2, dword [0x102ad2a8]
cvttss2si ebx, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
cvttss2si eax, xmm2
addsd xmm0, qword [edx*8 + 0x102af460]
mov dword [esp + 4], 0x42f00000
mov edx, ebx
movss dword [esp], xmm3
push 0x102ba10c
push ecx
cvtpd2ps xmm1, xmm0
mov dword [esp + 0x30], eax
push 0x102b8de8
movaps xmm0, xmm3
mulss xmm0, dword [0x102ad240]
subss xmm1, xmm0
cvttss2si esi, xmm1
mov ecx, esi
call fcn.1001ce80
movaps xmm0, xmmword [0x102ae370]
add esp, 0x14
movups xmmword [esp + 0x24], xmm0
mov word [esp + 0x34], 0x1d
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esp + 0x24]
xor byte [esp + ecx + 0x25], al
inc ecx
cmp ecx, 0x10
jb 0x1001de90
lea eax, [esp + 0x25]
mov byte [esp + 0x35], 0
push eax
push 0
push dword [0x102b8e60]
lea eax, [ebx + 4]
push dword [0x102ba0bc]
push 0xffffff33
push 1
push eax
mov eax, dword [0x102ba02c]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102af460]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
call fcn.1001d610
movss xmm3, dword [esp + 0x34]
add esp, 0x18
movss xmm1, dword [0x102ad2a8]
movaps xmm2, xmm3
mulss xmm2, dword [0x102ad240]
movss dword [esp + 4], xmm3
movss dword [esp], xmm3
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm2
addss xmm0, dword [0x102ad288]
push 0x102ba324
push ecx
push 0x102b8dec
subss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, dword [0x102ad240]
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 [0x102ad278]
mov ecx, esi
cvttss2si eax, xmm0
add eax, ebx
mov dword [esp + 0x2c], eax
call fcn.1001ce80
mov bh, 0x23
movd xmm0, esi
mov ch, 0x6f
mov byte [esp + 0x40], 0
mov al, 6
mov byte [esp + 0x38], bh
mov cl, 0x4a
mov byte [esp + 0x40], 0
mov dl, 3
mov bl, 0x68
mov ah, 0x6a
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 [0x102b8eb4]
addss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x29]
push eax
push 0
push dword [0x102b8e60]
cvttss2si eax, xmm0
push dword [0x102ba0bc]
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
push eax
call fcn.1001d610
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 0x102ba1f0
push ecx
push 0x102b8df0
mov ecx, esi
call fcn.1001ce80
add esp, 0x14
mov byte [esp + 0x24], 0x1e
mov al, 0x3b
movd xmm0, esi
xor al, byte [esp + 0x24]
mov ah, 0x5b
mov byte [esp + 0x25], al
mov cl, 0x77
mov al, byte [esp + 0x24]
mov dl, 0x3e
push dword [0x102ba068]
xor ah, al
mov byte [esp + 0x31], 0
mov ch, 0x5f
mov byte [esp + 0x2d], ah
mov dh, 0x4a
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, 0x5a
mov byte [esp + 0x2e], ch
xor bl, al
mov byte [esp + 0x2f], dh
mov bh, 0x56
mov byte [esp + 0x2c], bl
xor bh, al
lea eax, [esp + 0x29]
push eax
addss xmm0, dword [esp + 0x24]
push 0
push dword [0x102b8e60]
mov byte [esp + 0x3c], bh
push dword [0x102ba0bc]
cvttss2si eax, xmm0
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
push eax
call fcn.1001d610
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 0x102ba46c
push ecx
push 0x102b8df4
mov edx, edi
mov ecx, esi
call fcn.1001ce80
add esp, 0x14
movd xmm0, esi
mov bh, 0x74
mov byte [esp + 0x2c], 0
mov al, 0x51
mov byte [esp + 0x24], bh
mov dl, al
mov byte [esp + 0x2c], 0
push dword [0x102b8d70]
mov bl, al
mov ah, 0x54
xor al, bh
xor ah, bh
cvtdq2ps xmm0, xmm0
mov byte [esp + 0x29], al
mov cl, 0x1d
mov byte [esp + 0x2d], ah
mov ch, 0x3f
lea eax, [esp + 0x29]
mov dh, 0x30
push eax
push 0
push dword [0x102b8e60]
addss xmm0, dword [esp + 0x2c]
push dword [0x102ba0bc]
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.1001d610
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 0x102ba390
push ecx
push 0x102b8df8
mov ecx, esi
call fcn.1001ce80
mov bh, 7
mov byte [esp + 0x40], 0
mov al, 0x22
mov byte [esp + 0x38], bh
mov dl, al
mov bl, al
mov cl, 0x6e
mov ah, 0x27
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, 0x4f
mov byte [esp + 0x3c], bl
add esp, 0x14
mov byte [esp + 0x29], ah
mov dh, 0x54
xor ch, bh
push dword [0x102b9078]
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 [0x102b8e60]
addss xmm0, dword [esp + 0x2c]
push dword [0x102ba0bc]
push 0xffffffffffffffff
push 1
push dword [esp + 0x34]
cvttss2si eax, xmm0
push eax
call fcn.1001d610
movaps xmm0, xmmword [0x102b0930]
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 0x1001e260
push dword [0x102ba054]
lea eax, [esp + 0x29]
mov byte [esp + 0x38], 0
push eax
mov eax, dword [esp + 0x28]
push 0
push dword [0x102b8e60]
add eax, 0xffffffee
push dword [0x102ba0bc]
push 0xff00ff00
push 1
push eax
mov eax, dword [0x102ba02c]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102af460]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
call fcn.1001d610
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret