Function at 0x100b4050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
mov esi, dword [0x10240c80]
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
cmp byte [esi + 0x166d], 0
je 0x100b4680
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
xor eax, eax
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
test edi, edi
je 0x100b42aa
mov ax, word [0x10208208]
xor edx, edx
movq xmm0, qword [str.T_dTX_S4_B]
mov word [esp + 0x38], ax
mov al, byte [0x1020820a]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3a], al
mov dword [esp + 0x10], edx
nop dword [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xb
jl 0x100b40e0
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.1003c800
lea ecx, [esp + 0x40]
call fcn.10002200
movaps xmm0, xmmword [esp + 0x60]
xor edx, edx
mov al, byte [0x10208254]
movaps xmmword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x50], xmm0
movq xmm0, qword [str.YMNZ_V_M_]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x38], al
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 9
jl 0x100b4170
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10240c88]
mov dword [esp + 0x14], eax
mov edi, dword [ecx + 0x10]
mov ecx, dword [0x10242574]
mov esi, dword [ecx]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x28]
lea ecx, [esi + 8]
call edx
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
lea ecx, [esp + 0x80]
push ecx
push eax
mov ecx, edi
call edx
or edi, 0xffffffff
test al, al
mov ecx, edi
cmovne ecx, dword [esp + 0x110]
cmp dword [esp + 0x14], ecx
jne 0x100b4648
mov esi, dword [esp + 0x18]
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x10206368
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x10206364
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x1020636c
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x10242574]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100b4648
mov eax, dword [0x10240c88]
add ecx, 8
mov esi, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x80]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
test al, al
cmovne edi, dword [esp + 0x110]
cmp dword [esp + 0x14], edi
jne 0x100b4648
mov eax, dword [0x10240c7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x104691d8], xmm0
jmp 0x100b4648
mov eax, dword [0x10240c7c]
movss xmm3, dword [esi + 0x1670]
movaps xmm2, xmm3
addss xmm2, dword [0x104691d8]
mov eax, dword [eax + 0xc]
movss xmm4, dword [eax]
comiss xmm4, xmm2
ja 0x100b4648
subss xmm2, xmm4
mov eax, dword [0x10469450]
movss xmm0, dword [eax + 0x54]
andps xmm2, xmmword [0x10215f20]
mulss xmm0, dword [0x1021550c]
divss xmm2, xmm3
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x58]
mulss xmm0, dword [0x1021550c]
addss xmm2, dword [0x10215440]
movss dword [esp + 0x10], xmm0
xorps xmm0, xmm0
mulss xmm2, dword [0x10215860]
addss xmm2, xmm0
cvttss2si ecx, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10533f74]
divss xmm0, dword [0x10215860]
cvttss2si eax, xmm0
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.101dc230
movss xmm1, dword [0x10215860]
mov edi, eax
movss xmm0, dword [esi + 0x165c]
mulss xmm0, xmm1
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x1660]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x1664]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si eax, xmm0
or edi, eax
mov eax, dword [esi + 0x1658]
sub eax, 0
je 0x100b44aa
sub eax, 1
jne 0x100b4648
mov ecx, dword [0x10240c8c]
mov ecx, dword [ecx + 0x50]
call fcn.10177e10
mov ecx, dword [0x10469450]
lea eax, [esp + 0x24]
movss xmm3, dword [0x102158fc]
push 0
push 0
movss xmm2, dword [ecx + 0x1988]
push 0x1020636c
push ecx
mov ecx, dword [ecx + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10183f70
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x28]
mulss xmm1, dword [0x1021550c]
movss xmm3, dword [esp + 0x18]
addss xmm0, dword [0x10215570]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10240c8c]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax + 0x50]
mulss xmm0, dword [0x1021550c]
subss xmm3, xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm0
test edi, 0xff000000
je 0x100b44a0
test ecx, ecx
jne 0x100b4463
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 8]
push dword [esp + 0x28]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x34]
push dword [esp + 0x28]
movss xmm2, dword [0x10215774]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push 0x1020636d
push 0x1020636c
push edx
push edi
push eax
movups xmmword [esp + 0x54], xmm0
call fcn.10184130
call fcn.10177ec0
jmp 0x100b4648
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x1c]
subss xmm0, dword [0x102156b8]
mov esi, dword [esp + 0x14]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x102156b8]
push eax
lea eax, [esp + 0x3c]
push eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x102156ec]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x102156ec]
movss dword [esp + 0x44], xmm0
call fcn.10181460
movss xmm3, dword [esp + 0x18]
lea eax, [esp + 0x30]
movaps xmm0, xmm3
addss xmm0, dword [0x102156c0]
addss xmm3, dword [0x102156f0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x102156c0]
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x24], xmm3
push eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x102156f0]
movss dword [esp + 0x30], xmm0
call fcn.10181460
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x30]
movss xmm3, dword [esp + 0x18]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x102156c0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push eax
movss dword [esp + 0x40], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x102156f0]
push eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm0
call fcn.10181460
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x30]
movss xmm1, dword [esp + 0x10]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x102156b8]
addss xmm1, dword [0x102156ec]
push ecx
mov dword [esp], 0x3f800000
push edi
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm1
push eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10181460
mov eax, dword [esp + 0x54]
cmp eax, 7
jbe 0x100b4680
mov edx, dword [esp + 0x40]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100b4676
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b4694
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
xor ecx, esp
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret
call fcn.101bb2d6
int3