Function at 0x100d2f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x54
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x10227c40]
push edi
lea ecx, [ecx + 0x3348]
call fcn.100cad40
test al, al
je 0x100d3859
mov cl, byte [esi + 0x5c]
test cl, cl
sete al
mov byte [esi + 0x5c], al
test cl, cl
je 0x100d2fd3
mov eax, dword [0x10227c48]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x9c]
call eax
movss xmm1, dword [0x104e1efc]
xorps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x100d2ff6
movss xmm0, dword [0x101ff140]
comiss xmm0, xmm1
jbe 0x100d2ff6
subss xmm0, xmm1
jmp 0x100d2ff9
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102296ac]
mov edi, dword [0x102296a0]
movss dword [0x104e1efc], xmm0
mov esi, dword [eax + ecx*4]
mov eax, dword [0x104e57f4]
mov dword [esp + 0x14], esi
cmp eax, dword [esi + 4]
jle 0x100d3202
push 0x104e57f4
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e57f4], 0xffffffff
jne 0x100d3202
mov eax, dword [0x10227c48]
movups xmm0, xmmword [0x101f47f0]
mov esi, dword [eax + 8]
mov ax, word [0x101f4800]
mov word [esp + 0x2c], ax
movups xmmword [esp + 0x1c], xmm0
test ah, ah
je 0x100d31de
xor ebx, ebx
cmp edi, 2
jl 0x100d31b4
movaps xmm0, xmmword [0x101ff810]
mov eax, 5
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffc10]
movaps xmm6, xmmword [0x101ff730]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
movd xmm7, eax
nop
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x1c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x1c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x20], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100d30b0
cmp ebx, 0x12
jge 0x100d31de
mov eax, 0xa0a0a0a1
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, 0x33
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x1c], cl
inc ebx
cmp ebx, 0x12
jl 0x100d31b4
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e57f4
mov dword [0x104e5834], eax
call fcn.1019d76a
mov esi, dword [esp + 0x18]
add esp, 4
mov ecx, dword [0x104e5834]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x104e582c]
cmp eax, dword [esi + 4]
jle 0x100d3402
push 0x104e582c
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e582c], 0xffffffff
jne 0x100d3402
cmp byte [0x101f4ee7], 0
mov eax, dword [0x10227c48]
movups xmm0, xmmword [0x101f4ed4]
mov esi, dword [eax + 8]
mov eax, dword [str.02G]
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x2c], eax
je 0x100d33de
xor ebx, ebx
cmp edi, 2
jl 0x100d33b4
movaps xmm0, xmmword [0x101ff810]
mov eax, 5
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffc10]
movaps xmm6, xmmword [0x101ff730]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x1c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x1c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x20]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x20], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100d32b0
cmp ebx, 0x14
jge 0x100d33de
mov eax, 0xa0a0a0a1
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, 0x33
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x1c], cl
inc ebx
cmp ebx, 0x14
jl 0x100d33b4
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e582c
mov dword [0x104e5814], eax
call fcn.1019d76a
mov esi, dword [esp + 0x18]
add esp, 4
mov al, byte [0x101f62ec]
xor ebx, ebx
movq xmm0, qword [str.ytbrjpw_]
mov byte [esp + 0x24], al
movq qword [esp + 0x1c], xmm0
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x1c], cl
inc ebx
cmp ebx, 9
jl 0x100d3420
mov ecx, dword [0x104e5814]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x104e57f8]
cmp eax, dword [esi + 4]
jle 0x100d3642
push 0x104e57f8
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e57f8], 0xffffffff
jne 0x100d3642
cmp byte [0x101f4ee7], 0
mov eax, dword [0x10227c48]
movups xmm0, xmmword [0x101f4ed4]
mov esi, dword [eax + 8]
mov eax, dword [str.02G]
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x58], eax
je 0x100d361e
xor ebx, ebx
cmp edi, 2
jl 0x100d35f4
movaps xmm0, xmmword [0x101ff810]
mov eax, 5
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffc10]
movaps xmm6, xmmword [0x101ff730]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x48]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x48], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x4c]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x4c], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100d34f0
cmp ebx, 0x14
jge 0x100d361e
mov eax, 0xa0a0a0a1
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, 0x33
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x48], cl
inc ebx
cmp ebx, 0x14
jl 0x100d35f4
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e57f8
mov dword [0x104e5848], eax
call fcn.1019d76a
mov esi, dword [esp + 0x18]
add esp, 4
mov al, byte [0x101f62ec]
xor ebx, ebx
movq xmm0, qword [str.ytbrjpw_]
mov byte [esp + 0x38], al
movq qword [esp + 0x30], xmm0
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 9
jl 0x100d3660
mov ecx, dword [0x104e5848]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x104e5838]
cmp eax, dword [esi + 4]
jle 0x100d384a
push 0x104e5838
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e5838], 0xffffffff
jne 0x100d384a
cmp byte [0x101f5dcf], 0
mov eax, dword [0x10227c48]
mov ecx, dword [0x101f5dc8]
mov edx, dword [0x101f5dcc]
mov esi, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
je 0x100d382a
xor ebx, ebx
cmp edi, 2
jl 0x100d3800
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 5
movaps xmm4, xmmword [0x101ffc10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x101ff810]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff730]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ff700]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff730]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
pxor xmm1, xmm0
movd dword [esp + 0x18], xmm1
jmp 0x100d382a
mov eax, 0xa0a0a0a1
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, 0x33
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x14], cl
inc ebx
cmp ebx, 8
jl 0x100d3800
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e5838
mov dword [0x104e584c], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [0x104e584c]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret