Function at 0x100cd9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, dword [0x1033722c]
push edi
test esi, esi
je 0x100cde05
mov eax, dword [0x10223ca0]
test byte [eax + 0x3674], 1
je 0x100cddfb
cmp byte [eax + 0x3694], 0
jne 0x100cda50
movss xmm1, dword [0x101f79e0]
movss xmm0, dword [eax + 0x3684]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x3688]
mulss xmm0, xmm1
mov byte [esp + 0xc], cl
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x368c]
mov byte [esp + 0xd], cl
mulss xmm0, xmm1
jmp 0x100cdb1a
movss xmm0, dword [eax + 0x3690]
mov eax, dword [0x10223c9c]
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
addss xmm0, dword [0x101f7834]
cvtps2pd xmm0, xmm0
call fcn.101c1490
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [0x101f7674]
addss xmm1, dword [0x101f7674]
movss dword [esp + 0x14], xmm1
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
addss xmm0, dword [0x101f77a8]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c1490
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101f7674]
addss xmm0, dword [0x101f7674]
mulss xmm0, dword [0x101f79e0]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
mov byte [esp + 0xc], al
call fcn.101c1490
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101f7674]
addss xmm0, dword [0x101f7674]
mulss xmm0, dword [0x101f79e0]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x101f79e0]
mov byte [esp + 0xd], al
mov edi, dword [0x10337228]
cvttss2si eax, xmm0
mov byte [esp + 0xf], 0xff
mov byte [esp + 0xe], al
lea eax, [edi + esi]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x100cddfb
mov esi, dword [esp + 0xc]
mov ecx, dword [0x10337224]
xor edx, edx
mov eax, dword [0x10337220]
dec ecx
movq xmm0, qword [str.icUFBVPVUPa]
and ecx, edi
cmp dword [0x10224d40], 2
movq qword [esp + 0x20], xmm0
mov dword [esp + 0xc], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov eax, dword [0x101ebc1c]
mov dword [esp + 0x28], eax
mov al, byte [0x101ebc20]
mov byte [esp + 0x2c], al
jl 0x100cdc90
movaps xmm2, xmmword [0x101f7c30]
mov edx, 8
movaps xmm3, xmmword [0x101f8100]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov dword [esp + 0xc], edx
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f7c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f7c70]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
movd xmm0, dword [str.icUFBVPVUPa]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f7db0]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f7c90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
movd xmm0, dword [esp + 0x24]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f7db0]
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
nop word [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [esp + 0xc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xd
jl 0x100cdc90
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cdce3
sub ecx, edx
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.100278e0
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
push esi
cmova ecx, dword [esp + 0x34]
sub esp, 8
mov edx, esp
lea eax, [ecx + 1]
mov dword [edx], ecx
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cdd18
sub ecx, dword [esp + 0x20]
mov dword [edx + 4], ecx
call fcn.100bd2b0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100cdd61
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cdd57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cde1b
push ecx
push edx
call fcn.1019958d
add esp, 8
mov ecx, dword [esp + 0x1c]
mov eax, 0x7fffffff
add ecx, 8
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x100cde16
cmp dword [ecx + 0x14], 0xf
jbe 0x100cdd8b
mov ecx, dword [ecx]
push 1
push 0x101eb594
push edx
push ecx
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x48]
call fcn.10029ac0
push dword [esp + 0x10]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
push dword [esp + 0x44]
cmova eax, dword [esp + 0x38]
push eax
call fcn.100bd2b0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100cddf0
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cdde6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cde1b
push ecx
push edx
call fcn.1019958d
add esp, 8
inc edi
cmp edi, dword [esp + 0x18]
jne 0x100cdb40
mov ecx, 0x1033721c
call fcn.1003ee40
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
call fcn.10003460
call fcn.1019e6c6
int3