Function at 0x1002d7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101888d9
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x102a67c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword [0x102a7958]
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
mov esi, dword [eax + 0x150]
test esi, esi
je 0x1002dda3
cmp byte [eax + 7], 0
je 0x1002dda3
cmp byte [0x10c026f8], 0
movss xmm1, dword [0x101a1054]
je 0x1002d998
movss xmm0, dword [0x10c02718]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [0x10c02714]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x10c02710]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x10c0270c]
mulss xmm0, xmm1
mov dword [ebp - 0x38], eax
movd xmm1, dword [0x10c0271c]
mov eax, dword [esi + 0x11c5c]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x2c], eax
mulss xmm1, dword [0x101a0e08]
movss dword [ebp - 0x40], xmm1
cmp eax, dword [edi]
jle 0x1002d98e
movzx ecx, cl
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], ecx
movaps xmm2, xmm1
xorps xmm2, xmmword [0x101a0eb0]
movzx ecx, dl
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
mov dword [ebp - 0x38], ecx
cvttss2si ecx, xmm0
shl eax, 2
mov dword [ebp - 0x30], eax
movss dword [ebp - 0x34], xmm2
movzx ecx, cl
mov dword [ebp - 0x4c], ecx
nop dword [eax]
mov eax, dword [0x102a7958]
mov edi, dword [ebp - 0x30]
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
add edi, 0xffffffec
mov ecx, dword [eax + 0xd8]
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x44]
mov eax, dword [ecx]
push dword [ebp - 0x3c]
mov dword [ebp - 0x6c], 0
push dword [ebp - 0x38]
mov edx, dword [eax + 4]
push dword [ebp - 0x4c]
mov eax, dword [esi + 0x11c50]
add eax, edi
mov dword [ebp - 0x68], 0
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x64], 0
push edi
lea edi, [ebp - 0x78]
movss dword [ebp - 0x78], xmm1
push edi
lea edi, [ebp - 0x5c]
movss dword [ebp - 0x74], xmm1
push edi
push eax
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 0x5c], xmm2
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm2
call edx
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x50]
dec eax
sub dword [ebp - 0x30], 0x14
movss xmm1, dword [ebp - 0x40]
movss xmm2, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
cmp eax, dword [edi]
jg 0x1002d8f0
mov dword [esi + 0x11c5c], 0
mov eax, dword [esi + 0x11c5c]
cmp eax, dword [edi]
je 0x1002d9a4
mov dword [edi], eax
cmp dword [0x10c02720], 0
je 0x1002dda3
xor esi, esi
add edi, 8
mov dword [ebp - 0x30], esi
nop dword [eax]
mov ecx, dword [edi]
mov eax, 0x2aaaaaab
sub ecx, dword [edi - 4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002dd93
mov eax, dword [0x102a7958]
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
push esi
mov ecx, dword [eax + 0xcc]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x1002dd8a
mov ecx, dword [0x102a7958]
add ecx, 0xabc5fa12
xor ecx, 0x5b1c6e88
mov esi, dword [ecx + 0x150]
mov dword [ebp - 0x34], esi
cmp edx, esi
je 0x1002dae1
test esi, esi
je 0x1002dad4
mov ecx, dword [ecx + 0x1a0]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1002dad4
mov eax, dword [0x102a7d38]
test al, 1
jne 0x1002da86
or eax, 1
mov dword [0x102a7d38], eax
push 0xa5bfefb3
push 0x1eee87cc
mov dword [ebp - 4], 0
call fcn.100f1390
mov edx, dword [ebp - 0x2c]
mov ecx, eax
mov eax, dword [0x102a7d38]
add esp, 8
mov dword [0x102a7d34], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x1002da8c
mov ecx, dword [0x102a7d34]
mov esi, dword [ecx + edx]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x34]
test al, 1
jne 0x1002dacc
or eax, 1
mov dword [0x102a7d38], eax
push 0xa5bfefb3
push 0x1eee87cc
mov dword [ebp - 4], 1
call fcn.100f1390
mov edx, dword [ebp - 0x2c]
mov ecx, eax
add esp, 8
mov dword [0x102a7d34], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
cmp eax, dword [esi + ecx]
je 0x1002dadd
movups xmm0, xmmword [0x10c02728]
jmp 0x1002daf1
cmp edx, esi
jne 0x1002daea
movups xmm0, xmmword [0x10c02748]
jmp 0x1002daf1
movups xmm0, xmmword [0x10c02738]
movss xmm1, dword [0x101a1054]
movups xmmword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x54]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm1
mov dword [ebp - 0x34], eax
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm1
movzx edx, dl
mov dword [ebp - 0x40], edx
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x60]
mulss xmm0, xmm1
movzx ecx, cl
mov dword [ebp - 0x50], ecx
cvttss2si eax, xmm0
movzx esi, al
mov eax, dword [ebp - 0x34]
movzx eax, al
shl eax, 8
or eax, edx
mov dword [ebp - 0x4c], esi
shl eax, 8
or eax, ecx
mov ecx, dword [0x10c02724]
shl eax, 8
or eax, esi
mov dword [ebp - 0x44], eax
sub ecx, 0
je 0x1002dbae
sub ecx, 1
jne 0x1002dd87
mov eax, dword [0x102a7958]
mov edx, dword [edi]
add eax, 0xabc5fa12
xor eax, 0x5b1c6e88
mov ecx, dword [eax + 0xd8]
lea eax, [edx - 0xc]
push ecx
mov dword [esp], 0x40400000
push 0
push dword [ebp - 0x40]
mov esi, dword [ecx]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push eax
lea eax, [edx - 0x18]
push eax
call dword [esi + 0x14]
jmp 0x1002dd87
mov ecx, dword [edi]
mov dword [ebp - 0x34], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x38], ecx
mov ecx, eax
shr eax, 0x18
shr ecx, 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x45]
push eax
call fcn.1002a260
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 2
call fcn.10029110
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x108], 0
jbe 0x1002dc0f
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xd8], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0xc8], 0x40400000
mov dword [ebp - 0xbc], 0x3dcccccd
mov eax, dword [esi - 0x10]
movq xmm0, qword [esi - 0x18]
mov dword [ebp - 0xec], eax
mov eax, dword [esi - 4]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x3c]
movq qword [ebp - 0xf4], xmm0
movq xmm0, qword [esi - 0xc]
movzx eax, al
movq qword [ebp - 0xe8], xmm0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xb8], 0x3f800000
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mov dword [ebp - 0x94], 2
mov byte [ebp - 0x98], 1
mov dword [ebp - 0xb0], 0x3f800000
mov dword [ebp - 0xac], 0
movss dword [ebp - 0xb4], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
movzx eax, al
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xc4], 0x40400000
mov dword [ebp - 0xc0], 0x40400000
mov dword [ebp - 0x90], 0x304
movss dword [ebp - 0xa4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
lea edx, [ebp - 0x108]
push edx
movss dword [ebp - 0xa0], xmm0
movd xmm0, eax
mov eax, dword [0x102a7958]
add eax, 0xabc5fa12
cvtdq2ps xmm0, xmm0
xor eax, 0x5b1c6e88
movss dword [ebp - 0x9c], xmm0
mov ecx, dword [eax + 0x130]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
je 0x1002dd56
mov ecx, dword [0x102a7958]
add ecx, 0xabc5fa12
xor ecx, 0x5b1c6e88
push eax
mov ecx, dword [ecx + 0x130]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xf
jbe 0x1002dd75
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.100163b0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov esi, dword [ebp - 0x30]
mov eax, dword [edi - 4]
cmp eax, dword [edi]
je 0x1002dd93
mov dword [edi], eax
inc esi
add edi, 0xc
mov dword [ebp - 0x30], esi
cmp esi, 0x41
jl 0x1002d9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10184b39
mov esp, ebp
pop ebp
ret