Function at 0x100cb960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [0x1045cc3c]
push edi
test esi, esi
je 0x100cbe36
mov eax, dword [0x1023fc80]
test byte [eax + 0x36ac], 1
je 0x100cbe2c
cmp byte [eax + 0x36cc], 0
jne 0x100cb9e6
movss xmm1, dword [0x1021455c]
movss xmm0, dword [eax + 0x36bc]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x36c0]
mulss xmm0, xmm1
mov byte [esp + 0x14], cl
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x36c4]
mov byte [esp + 0x15], cl
mulss xmm0, xmm1
jmp 0x100cbab0
movss xmm0, dword [eax + 0x36c8]
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax]
movss dword [esp + 0x10], xmm0
addss xmm0, dword [0x102143b4]
cvtps2pd xmm0, xmm0
call fcn.101dce10
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [0x102141f4]
addss xmm1, dword [0x102141f4]
movss dword [esp + 0x18], xmm1
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
addss xmm0, dword [0x10214328]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
call fcn.101dce10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x102141f4]
addss xmm0, dword [0x102141f4]
mulss xmm0, dword [0x1021455c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
mov byte [esp + 0x14], al
call fcn.101dce10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x102141f4]
addss xmm0, dword [0x102141f4]
mulss xmm0, dword [0x1021455c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x1021455c]
mov byte [esp + 0x15], al
mov edi, dword [0x1045cc38]
cvttss2si eax, xmm0
mov byte [esp + 0x17], 0xff
mov byte [esp + 0x16], al
lea eax, [edi + esi]
mov dword [esp + 0x1c], eax
cmp edi, eax
je 0x100cbe2c
mov esi, dword [esp + 0x14]
nop word [eax + eax]
mov ecx, dword [0x1045cc34]
mov eax, dword [0x1045cc30]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x84]
movss xmm0, dword [eax]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 4]
add eax, 8
push eax
movss dword [esp + 0x84], xmm0
call fcn.10020a50
mov ax, word [0x10207d14]
xor edx, edx
cmp dword [0x10240d90], 2
movups xmm0, xmmword [str.oxSSMJ_]
mov word [esp + 0x60], ax
mov al, byte [0x10207d16]
movups xmmword [esp + 0x50], xmm0
mov byte [esp + 0x62], al
mov dword [esp + 0x10], edx
jl 0x100cbc82
movaps xmm0, xmmword [0x10214950]
lea esi, [esp + 0x54]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x50]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x50], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100cbb80
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
cmp edx, 0x13
jge 0x100cbcb1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0x13
jl 0x100cbc82
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cbcd0
sub ecx, edx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
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 + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cbd05
sub ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
call fcn.100bafd0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100cbd4e
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cbd44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cbe4f
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov ecx, dword [esp + 0x94]
mov eax, 0x7fffffff
sub eax, ecx
mov dword [esp + 0x18], 0xffffffff
cmp eax, 1
jb 0x100cbe4a
cmp dword [esp + 0x98], 0xf
lea eax, [esp + 0x84]
push 1
cmova eax, dword [esp + 0x88]
push 0x10207628
push ecx
push eax
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x48]
call fcn.10029a50
push dword [esp + 0x18]
cmp dword [esp + 0x48], 0xf
lea eax, [esp + 0x34]
push dword [esp + 0x44]
cmova eax, dword [esp + 0x38]
push eax
call fcn.100bafd0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100cbde9
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cbddf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cbe4f
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov ecx, dword [esp + 0x98]
cmp ecx, 0xf
jbe 0x100cbe21
mov edx, dword [esp + 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cbe17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cbe4f
push ecx
push edx
call fcn.101b4f23
add esp, 8
inc edi
cmp edi, dword [esp + 0x1c]
jne 0x100cbae0
mov ecx, 0x1045cc2c
call fcn.1003e9d0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.101b4c2a
mov esp, ebp
pop ebp
ret
call fcn.100034a0
call fcn.101ba056
int3