Function at 0x100b6900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [0x10241574]
push esi
push edi
cmp dword [eax], 0
je 0x100b6ff7
mov eax, dword [0x1023fc88]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100b6ff7
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [0x1023fc88]
push edx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x100b6fe2
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
mov edx, dword [edx + 8]
call edx
xorps xmm0, xmm0
mov edx, dword [eax + 8]
mov ecx, edx
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b6990
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.10027d90
movups xmm0, xmmword [str.bXVWZLQQ43____4G]
mov ax, word [0x1020736c]
mov word [esp + 0x50], ax
movups xmmword [esp + 0x40], xmm0
test ah, ah
je 0x100b6b30
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x18], edx
jl 0x100b6b00
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x44]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop
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, 4
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 [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x40]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x40], 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, 4
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 [0x10214a50]
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 0x100b6a00
mov dword [esp + 0x18], edx
cmp edx, 0x12
jge 0x100b6b30
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x40], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0x12
jl 0x100b6b00
cmp dword [esp + 0x74], 0xf
lea eax, [esp + 0x60]
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x28]
cmova eax, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
push eax
call fcn.100ba060
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x74]
cmp eax, 0xf
jbe 0x100b6b92
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100b6b88
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b700b
push ecx
push esi
call fcn.101b5a93
add esp, 8
cmp byte [esp + 0x17], 0
je 0x100b6fe2
mov eax, dword [0x1023fc80]
mov ecx, dword fs:[0x2c]
mov al, byte [eax + 0x1931]
mov byte [esp + 0x17], al
mov eax, dword [0x10240d9c]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x104682d4]
cmp eax, dword [esi + 4]
jle 0x100b6c06
push 0x104682d4
call fcn.101b5d2d
add esp, 4
cmp dword [0x104682d4], 0xffffffff
jne 0x100b6c06
mov edx, 0xc60bf9f2
mov ecx, 0x10205525
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x104682d4
mov dword [0x104682d0], eax
call fcn.101b5cdc
add esp, 4
mov eax, dword [0x104682d0]
mov cl, byte [esp + 0x17]
mov byte [eax + edi], cl
mov eax, dword [0x1046831c]
cmp eax, dword [esi + 4]
jle 0x100b6c61
push 0x1046831c
call fcn.101b5d2d
add esp, 4
cmp dword [0x1046831c], 0xffffffff
jne 0x100b6c5d
mov edx, 0xc60bf9f2
mov ecx, 0x102054c1
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x1046831c
mov dword [0x104682d8], eax
call fcn.101b5cdc
add esp, 4
mov cl, byte [esp + 0x17]
mov eax, dword [0x104682d8]
mov byte [eax + edi], cl
mov eax, dword [0x104682e0]
cmp eax, dword [esi + 4]
jle 0x100b6cb8
push 0x104682e0
call fcn.101b5d2d
add esp, 4
cmp dword [0x104682e0], 0xffffffff
jne 0x100b6cb4
mov edx, 0xc60bf9f2
mov ecx, 0x102054f5
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x104682e0
mov dword [0x104682e8], eax
call fcn.101b5cdc
add esp, 4
mov cl, byte [esp + 0x17]
mov eax, dword [0x104682e8]
movups xmm0, xmmword [str.DhUVPS____7_t__G]
mov byte [eax + edi], cl
mov eax, dword [0x1023fc88]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov ax, word [0x10207254]
mov word [esp + 0x50], ax
movups xmmword [esp + 0x40], xmm0
test ah, ah
je 0x100b6e62
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x18], edx
jl 0x100b6e32
movaps xmm0, xmmword [0x10214a90]
lea edi, [esp + 0x44]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d20]
movaps xmm5, xmmword [0x102149b0]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
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, 4
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 [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x40]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x40], 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, 4
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 [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edi + edx]
xorps xmm1, xmm0
movd dword [edi + edx], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b6d30
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edx
cmp edx, 0x12
jge 0x100b6e62
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x40], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0x12
jl 0x100b6e32
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, eax
mov dword [esp + 0x1c], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
call edx
cmp byte [esp + 0x17], 0
fstp st(0)
je 0x100b6fe2
mov ecx, dword [0x1023fc80]
mov eax, dword [0x104682f0]
movss xmm0, dword [ecx + 0x1934]
movss dword [esp + 0x18], xmm0
cmp eax, dword [esi + 4]
jle 0x100b6ef1
push 0x104682f0
call fcn.101b5d2d
add esp, 4
cmp dword [0x104682f0], 0xffffffff
jne 0x100b6eeb
mov edx, 0xc60bf9f2
mov ecx, 0x1020558d
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x104682f0
mov dword [0x10468318], eax
call fcn.101b5cdc
add esp, 4
movss xmm0, dword [esp + 0x18]
mov eax, dword [0x10468318]
movss dword [eax + edi], xmm0
mov eax, dword [0x104682c8]
cmp eax, dword [esi + 4]
jle 0x100b6f4c
push 0x104682c8
call fcn.101b5d2d
add esp, 4
cmp dword [0x104682c8], 0xffffffff
jne 0x100b6f46
mov edx, 0xc60bf9f2
mov ecx, 0x10205559
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x104682c8
mov dword [0x10468328], eax
call fcn.101b5cdc
add esp, 4
movss xmm0, dword [esp + 0x18]
mov eax, dword [0x10468328]
movss dword [eax + edi], xmm0
mov eax, dword [0x1023fc80]
movss xmm0, dword [eax + 0x193c]
mov eax, dword [0x104682ec]
movss dword [esp + 0x18], xmm0
cmp eax, dword [esi + 4]
jle 0x100b6fba
push 0x104682ec
call fcn.101b5d2d
add esp, 4
cmp dword [0x104682ec], 0xffffffff
jne 0x100b6fb4
mov edx, 0xc60bf9f2
mov ecx, 0x102055c1
call fcn.1007d630
mov ecx, eax
call fcn.100ce850
push 0x104682ec
mov dword [0x10468334], eax
call fcn.101b5cdc
add esp, 4
movss xmm0, dword [esp + 0x18]
mov eax, dword [0x10468334]
mov ecx, dword [esp + 0x1c]
push ecx
movss dword [eax + edi], xmm0
mov eax, dword [0x1023fc80]
mov edx, dword [ecx]
movss xmm0, dword [eax + 0x1938]
mov eax, dword [edx + 0x3c]
movss dword [esp], xmm0
call eax
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x800
jl 0x100b6947
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
call fcn.101babc6
int3