Function at 0x100c1450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x54
push ebx
push esi
mov esi, dword [0x10423584]
push edi
test esi, esi
je 0x100c18a4
mov eax, dword [0x10216634]
test byte [eax + 0x3760], 1
je 0x100c189a
cmp byte [eax + 0x379c], 0
jne 0x100c14c6
movss xmm1, dword [0x101ece10]
movss xmm0, dword [eax + 0x3768]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x376c]
mulss xmm0, xmm1
mov byte [esp + 0x10], cl
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x3770]
mov byte [esp + 0x11], cl
mulss xmm0, xmm1
jmp 0x100c1590
movss xmm0, dword [eax + 0x3798]
mov eax, dword [0x10216630]
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
addss xmm0, dword [0x101eccd4]
cvtps2pd xmm0, xmm0
call fcn.10187d90
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [0x101ecb34]
addss xmm1, dword [0x101ecb34]
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
addss xmm0, dword [0x101ecc58]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm1
call fcn.10187d90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101ecb34]
addss xmm0, dword [0x101ecb34]
mulss xmm0, dword [0x101ece10]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
mov byte [esp + 0x10], al
call fcn.10187d90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101ecb34]
addss xmm0, dword [0x101ecb34]
mulss xmm0, dword [0x101ece10]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x101ece10]
mov byte [esp + 0x11], al
mov edi, dword [0x10423580]
cvttss2si eax, xmm0
mov byte [esp + 0x13], 0xff
mov byte [esp + 0x12], al
lea eax, [edi + esi]
mov dword [esp + 0x1c], eax
cmp edi, eax
je 0x100c189a
mov esi, dword [esp + 0x10]
nop word [eax + eax]
mov ecx, dword [0x1042357c]
mov eax, dword [0x10423578]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x48]
movss xmm0, dword [eax]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 4]
add eax, 8
push eax
movss dword [esp + 0x48], xmm0
call fcn.10021800
cmp byte [0x101b0b0f], 0
mov eax, dword [str.bPDV]
mov ecx, dword [0x101b0b0c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
je 0x100c173d
xor ebx, ebx
cmp dword [0x10217ca4], 2
jl 0x100c1713
movaps xmm2, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed410]
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
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], 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 [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [esp + 0x18], xmm1
jmp 0x100c173d
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x14], cl
inc ebx
cmp ebx, 8
jl 0x100c1713
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x14]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c1760
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.100291a0
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0x20]
push esi
cmova ecx, dword [esp + 0x24]
sub esp, 8
mov edx, esp
lea ebx, [ecx + 1]
mov dword [edx], ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c1791
sub ecx, ebx
mov dword [edx + 4], ecx
call fcn.100b0df0
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x100c17d8
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c17ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c18b0
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov ecx, dword [esp + 0x58]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100c18ab
cmp dword [esp + 0x5c], 0xf
lea eax, [esp + 0x48]
push 1
cmova eax, dword [esp + 0x4c]
push 0x101b049c
push ecx
push eax
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x38]
call fcn.1002b2f0
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push dword [esp + 0x34]
cmova eax, dword [esp + 0x28]
push eax
call fcn.100b0df0
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x100c185d
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c1853
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c18b0
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xf
jbe 0x100c188f
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c1885
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c18b0
push ecx
push edx
call fcn.1015fe24
add esp, 8
inc edi
cmp edi, dword [esp + 0x1c]
jne 0x100c15c0
mov ecx, 0x10423574
call fcn.10043ef0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10003b10
call fcn.10164f66
int3