Function at 0x100b40a0
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 + 0x165d], 0
je 0x100b46d0
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 0x100b42fa
mov ax, word [0x102081a0]
xor edx, edx
movq xmm0, qword [str.VSjRYUNS_]
mov word [esp + 0x38], ax
mov al, byte [0x102081a2]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3a], al
mov dword [esp + 0x10], edx
nop dword [eax + eax]
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 0xb
jl 0x100b4130
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.1003c6a0
lea ecx, [esp + 0x40]
call fcn.100021f0
movaps xmm0, xmmword [esp + 0x60]
xor edx, edx
mov al, byte [0x10206364]
movaps xmmword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x50], xmm0
movq xmm0, qword [str.SG_TU_K:]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x38], al
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 9
jl 0x100b41c0
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 0x100b4698
mov esi, dword [esp + 0x18]
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x10206314
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 0x10206324
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi]
fstp st(0)
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x10206320
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [0x10242574]
fstp st(0)
mov ecx, dword [eax]
test ecx, ecx
je 0x100b4698
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 0x100b4698
mov eax, dword [0x10240c7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x104692dc], xmm0
jmp 0x100b4698
mov eax, dword [0x10240c7c]
movss xmm3, dword [esi + 0x1660]
movaps xmm2, xmm3
addss xmm2, dword [0x104692dc]
mov eax, dword [eax + 0xc]
movss xmm4, dword [eax]
comiss xmm4, xmm2
ja 0x100b4698
subss xmm2, xmm4
mov eax, dword [0x10469550]
movss xmm0, dword [eax + 0x54]
andps xmm2, xmmword [0x10215be0]
mulss xmm0, dword [0x1021523c]
divss xmm2, xmm3
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x58]
mulss xmm0, dword [0x1021523c]
addss xmm2, dword [0x10215168]
movss dword [esp + 0x10], xmm0
xorps xmm0, xmm0
mulss xmm2, dword [0x102155a4]
addss xmm2, xmm0
cvttss2si ecx, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10534284]
divss xmm0, dword [0x102155a4]
cvttss2si eax, xmm0
sub ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.101dcb60
movss xmm1, dword [0x102155a4]
mov edi, eax
movss xmm0, dword [esi + 0x164c]
mulss xmm0, xmm1
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x1650]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [esi + 0x1654]
mulss xmm0, xmm1
or edi, ecx
shl edi, 8
cvttss2si eax, xmm0
or edi, eax
mov eax, dword [esi + 0x1648]
sub eax, 0
je 0x100b44fa
sub eax, 1
jne 0x100b4698
mov ecx, dword [0x10240c8c]
mov ecx, dword [ecx + 0x50]
call fcn.101788b0
mov ecx, dword [0x10469550]
lea eax, [esp + 0x24]
movss xmm3, dword [0x10215644]
push 0
push 0
movss xmm2, dword [ecx + 0x1988]
push 0x10206320
push ecx
mov ecx, dword [ecx + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10184970
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x28]
mulss xmm1, dword [0x1021523c]
movss xmm3, dword [esp + 0x18]
addss xmm0, dword [0x102152a4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10240c8c]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax + 0x50]
mulss xmm0, dword [0x1021523c]
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 0x100b44f0
test ecx, ecx
jne 0x100b44b3
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 [0x102154b4]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push 0x10206321
push 0x10206320
push edx
push edi
push eax
movups xmmword [esp + 0x54], xmm0
call fcn.10184b30
call fcn.10178960
jmp 0x100b4698
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x1c]
subss xmm0, dword [0x102153f8]
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 [0x102153f8]
push eax
lea eax, [esp + 0x3c]
push eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x1021542c]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x1021542c]
movss dword [esp + 0x44], xmm0
call fcn.10181e90
movss xmm3, dword [esp + 0x18]
lea eax, [esp + 0x30]
movaps xmm0, xmm3
addss xmm0, dword [0x10215400]
addss xmm3, dword [0x10215430]
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 [0x10215400]
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 [0x10215430]
movss dword [esp + 0x30], xmm0
call fcn.10181e90
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 [0x10215400]
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 [0x10215430]
push eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm0
call fcn.10181e90
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 [0x102153f8]
addss xmm1, dword [0x1021542c]
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.10181e90
mov eax, dword [esp + 0x54]
cmp eax, 7
jbe 0x100b46d0
mov edx, dword [esp + 0x40]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100b46c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b46e4
push ecx
push edx
call fcn.101b6ad2
add esp, 8
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret
call fcn.101bbc06
int3