Function at 0x100b0d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102296ac]
push esi
push edi
mov edi, dword [0x102296a0]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x104e56ec]
cmp eax, dword [esi + 4]
jle 0x100b0f26
push 0x104e56ec
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e56ec], 0xffffffff
jne 0x100b0f26
cmp byte [0x101f292f], 0
mov eax, dword [0x10227c48]
movups xmm0, xmmword [0x101f291c]
mov ecx, dword [eax + 8]
mov eax, dword [0x101f292c]
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], eax
je 0x100b0f08
xor edx, edx
mov dword [esp + 8], edx
cmp edi, 2
jl 0x100b0ed4
movaps xmm0, xmmword [0x101ff830]
mov eax, 4
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffba0]
movaps xmm6, xmmword [0x101ff720]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x10], xmm0
movd xmm7, eax
mov eax, dword [esp + 0x10]
nop word [eax + eax]
movd xmm0, edx
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, 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, eax
lea eax, [edx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], xmm1
paddd xmm2, xmm4
mov eax, dword [esp + 0x10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x24]
pxor xmm1, xmm0
movd dword [esp + edx + 0x24], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b0dd0
mov dword [esp + 8], edx
cmp edx, 0x14
jge 0x100b0f08
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x14
jl 0x100b0ed4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x104e56ec
mov dword [0x104e52e8], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e56b0]
cmp eax, dword [esi + 4]
jle 0x100b1126
push 0x104e56b0
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e56b0], 0xffffffff
jne 0x100b1126
mov eax, dword [0x10227c48]
xor edx, edx
mov dword [esp + 8], edx
movups xmm0, xmmword [str.U_gZIVcP_G]
mov ecx, dword [eax + 8]
mov eax, dword [0x101f2b28]
mov dword [esp + 0x30], eax
mov ax, word [0x101f2b2c]
mov word [esp + 0x34], ax
mov al, byte [0x101f2b2e]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x36], al
movups xmmword [esp + 0x20], xmm0
cmp edi, 2
jl 0x100b10d4
movaps xmm0, xmmword [0x101ff830]
mov eax, 4
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffba0]
movaps xmm6, xmmword [0x101ff720]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x10], xmm0
movd xmm7, eax
mov eax, dword [esp + 0x10]
nop dword [eax]
movd xmm0, edx
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, 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, eax
lea eax, [edx + 4]
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x20]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x20], xmm1
paddd xmm2, xmm4
mov eax, dword [esp + 0x10]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x24]
pxor xmm1, xmm0
movd dword [esp + edx + 0x24], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b0fd0
mov dword [esp + 8], edx
cmp edx, 0x17
jge 0x100b1108
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x17
jl 0x100b10d4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x104e56b0
mov dword [0x104e56b4], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e565c]
cmp eax, dword [esi + 4]
jle 0x100b12f6
push 0x104e565c
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e565c], 0xffffffff
jne 0x100b12f6
mov eax, dword [0x10227c48]
xor edx, edx
cmp dword [0x102296a0], 2
movq xmm0, qword [0x101f29b4]
mov dword [esp + 8], edx
mov edi, dword [eax + 8]
mov eax, dword [0x101f29bc]
mov dword [esp + 0x18], eax
mov al, byte [0x101f29c0]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
jl 0x100b12a0
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 4
movaps xmm4, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [esp + 8], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x101ff830]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
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, dword [0x101f29b4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
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, dword [esp + 0x14]
pxor xmm1, xmm0
movd dword [esp + 0x14], xmm1
nop dword [eax]
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xd
jl 0x100b12a0
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e565c
mov dword [0x104e5658], eax
call fcn.1019d76a
mov edi, dword [0x102296a0]
add esp, 4
mov eax, dword [0x104e56d0]
cmp eax, dword [esi + 4]
jle 0x100b14b5
push 0x104e56d0
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e56d0], 0xffffffff
jne 0x100b14b5
mov eax, dword [0x10227c48]
xor edx, edx
movq xmm0, qword [str.U_gZIVcOQK]
mov dword [esp + 8], edx
mov esi, dword [eax + 8]
mov eax, dword [0x101f2b64]
mov dword [esp + 0x18], eax
mov al, byte [0x101f2b68]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1c], al
cmp edi, 2
jl 0x100b1465
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 4
movaps xmm4, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
mov dword [esp + 8], edx
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x101ff830]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
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, dword [str.U_gZIVcOQK]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff720]
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, dword [esp + 0x14]
pxor xmm1, xmm0
movd dword [esp + 0x14], xmm1
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xd
jl 0x100b1465
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e56d0
mov dword [0x104e5704], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10227c40]
cmp byte [eax + 0x1572], 0
jne 0x100b152e
cmp byte [eax + 0x1574], 0
je 0x100b152e
mov ecx, dword [0x104e56b4]
push 0x320
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x104e52e8]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x104e5658]
mov eax, dword [0x10227c40]
mov edx, dword [ecx]
push dword [eax + 0x1578]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x104e5704]
mov eax, dword [0x10227c40]
mov edx, dword [ecx]
push dword [eax + 0x157c]
mov eax, dword [edx + 0x40]
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x104e52e8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret