Function at 0x100cf3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10266a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push edi
lea edi, [eax + 8]
mov dword [ebp - 0x24], eax
mov byte [eax + 0xcada1], 0
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x100cf863
mov eax, dword [0x1026bc6c]
cmp byte [eax + 0x18], 0
jne 0x100cf42d
cmp byte [eax + 0x19], 0
je 0x100cf42d
cmp dword [eax + 0x1c], 0
jg 0x100cf42d
cmp dword [eax + 4], 1
jne 0x100cf42d
mov ecx, dword [eax + 0x28]
jmp 0x100cf42f
xor ecx, ecx
mov eax, dword [0x1019b020]
sub eax, ecx
push esi
push eax
call fcn.10064460
mov esi, dword [edi]
add esp, 4
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [esi + 0x14]
andps xmm0, xmmword [0x101717d0]
comiss xmm0, dword [0x101716c4]
jbe 0x100cf467
push esi
mov ecx, edi
jmp 0x100cf859
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [0x10171734]
lahf
test ah, 0x44
jnp 0x100cf862
mov edx, dword [esi + 0x20]
test edx, edx
je 0x100cf862
cmp dword [esi + 8], 0xffffffff
jne 0x100cf862
cmp byte [esi], 0
je 0x100cf862
cmp byte [esi + 1], 0
je 0x100cf862
mov ecx, dword [0x102679f4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x100cf850
mov ecx, dword [edi]
mov edx, dword [ecx + 0x278]
mov ecx, edi
call edx
test al, al
je 0x100cf850
cmp dword [esi + 0x50], edi
jne 0x100cf850
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x10267a40]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100cf850
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x24]
movq xmm0, qword [esi + 0x30]
push 0
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
push dword [esi + 0x50]
push eax
push ecx
call fcn.100db210
add esp, 0x18
test al, al
jne 0x100cf5ef
movss xmm0, dword [esi + 0x40]
lea eax, [ebp - 0x1c]
subss xmm0, dword [esi + 0x28]
push eax
cvtps2pd xmm7, xmm0
movss xmm0, dword [esi + 0x3c]
subss xmm0, dword [esi + 0x24]
mulsd xmm7, xmm7
cvtps2pd xmm6, xmm0
movss xmm0, dword [esi + 0x44]
subss xmm0, dword [esi + 0x2c]
mulsd xmm6, xmm6
cvtps2pd xmm4, xmm0
movss xmm0, dword [esi + 0x34]
addsd xmm6, xmm7
subss xmm0, dword [esi + 0x28]
mulsd xmm4, xmm4
cvtps2pd xmm5, xmm0
movss xmm0, dword [esi + 0x30]
addsd xmm6, xmm4
subss xmm0, dword [esi + 0x24]
mulsd xmm5, xmm5
cvtps2pd xmm3, xmm0
movss xmm0, dword [esi + 0x38]
subss xmm0, dword [esi + 0x2c]
mulsd xmm3, xmm3
mov esi, dword [0x1026bc9c]
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm3, xmm5
sqrtsd xmm0, xmm6
mulsd xmm2, xmm2
cvtpd2ps xmm1, xmm0
addsd xmm3, xmm2
xorps xmm0, xmm0
sqrtsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100cf5de
mov ecx, 0x10262158
call fcn.1004fe20
mov ecx, esi
jmp 0x100cf83b
mov ecx, 0x10262178
call fcn.10050980
mov ecx, esi
jmp 0x100cf83b
mov eax, dword [0x10267b8c]
test al, 1
jne 0x100cf60c
or eax, 1
mov dword [0x10267b8c], eax
mov eax, dword [0x10267b84]
mov dword [0x10267b88], eax
jmp 0x100cf611
mov eax, dword [0x10267b88]
cmp dword [eax + edi], 0
jne 0x100cf771
mov eax, dword [0x10267b94]
test al, 1
jne 0x100cf638
or eax, 1
mov dword [0x10267b94], eax
mov eax, dword [0x10267b80]
mov dword [0x10267b90], eax
jmp 0x100cf63d
mov eax, dword [0x10267b90]
cmp dword [eax + edi], 0
jle 0x100cf771
cmp byte [esi + 0xe900], 0
je 0x100cf734
cmp byte [0x10262190], 0
mov eax, dword [0x1026bc9c]
mov dword [ebp - 0x2c], eax
je 0x100cf6cb
cmp byte [0x10262191], 0
jne 0x100cf719
mov byte [0x10262191], 1
xor edi, edi
nop dword [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x102621a8]
xor edx, dword [0x102621ac]
xor eax, 0x1de26cd5
mov dword [ebp - 0x20], eax
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shrd eax, edx, 7
xor al, byte [edi + 0x10262192]
xor al, cl
mov byte [edi + 0x10262192], al
inc edi
cmp edi, 0x10
jb 0x100cf680
jmp 0x100cf719
xor edi, edi
nop dword [eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x102621a8]
xor edx, dword [0x102621ac]
xor eax, 0x1de26cd5
mov dword [ebp - 0x20], eax
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shrd eax, edx, 7
xor al, byte [edi + 0x10262192]
xor al, cl
mov byte [edi + 0x10262192], al
inc edi
cmp edi, 0x10
jb 0x100cf6d0
lea eax, [ebp - 0x25]
push eax
push 0x102621a1
push 0x10262192
lea ecx, [ebp - 0x1c]
call fcn.1004ef20
mov ecx, dword [ebp - 0x2c]
jmp 0x100cf74a
mov edi, dword [0x1026bc9c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x102621b0
call fcn.10050160
mov ecx, edi
push 0
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.100fc4b0
lea ecx, [ebp - 0x1c]
call fcn.100446f0
mov eax, dword [esi + 0x20]
mov edx, dword [ebp - 0x24]
inc dword [edx + eax*4 + 0x13fc]
jmp 0x100cf853
cmp byte [0x102621d0], 0
mov edi, dword [0x1026bc9c]
je 0x100cf7db
cmp byte [0x102621d1], 0
jne 0x100cf823
mov byte [0x102621d1], 1
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x102621e8]
xor edx, dword [0x102621ec]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x102621d2], al
inc esi
cmp esi, 0x14
jb 0x100cf796
jmp 0x100cf823
xor esi, esi
nop dword [eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x102621e8]
xor edx, dword [0x102621ec]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x102621d2], al
inc esi
cmp esi, 0x14
jb 0x100cf7e0
lea eax, [ebp - 0x25]
push eax
push 0x102621e5
push 0x102621d2
lea ecx, [ebp - 0x1c]
call fcn.1004ef20
mov ecx, edi
push 0
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.100fc4b0
lea ecx, [ebp - 0x1c]
call fcn.100446f0
mov edx, dword [ebp - 0x24]
push dword [edx + 8]
lea ecx, [edx + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.100cf060
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1010c1a2
mov esp, ebp
pop ebp
ret