Function at 0x100bb4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov ecx, 0x1044418c
push edi
call fcn.100bbd00
mov ecx, esi
call fcn.100b51b0
mov ecx, esi
call fcn.100b4770
cmp esi, 1
jne case.0x100bbc92.0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102296ac]
mov edi, dword [0x102296a0]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x104e4f74]
cmp eax, dword [esi + 4]
jle 0x100bb6ea
push 0x104e4f74
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e4f74], 0xffffffff
jne 0x100bb6ea
mov eax, dword [0x10227c48]
xor ebx, ebx
movq xmm0, qword [str._VLfNPQM_7D]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x101f2978]
mov dword [esp + 0x18], eax
mov ax, word [0x101f297c]
mov word [esp + 0x1c], ax
mov al, byte [0x101f297e]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1e], al
cmp edi, 2
jl 0x100bb6a0
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 4
movaps xmm3, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
psrld xmm0, xmm5
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]
movd xmm0, dword [str._VLfNPQM_7D]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101ff830]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
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]
movd xmm0, dword [esp + 0x14]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101ff830]
pxor xmm1, xmm0
movd dword [esp + 0x14], xmm1
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 0xf
jl 0x100bb6a0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x104e4f74
mov dword [0x104e56e8], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e56b8]
cmp eax, dword [esi + 4]
jle 0x100bb89a
push 0x104e56b8
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e56b8], 0xffffffff
jne 0x100bb89a
cmp byte [0x101f2ab7], 0
mov eax, dword [0x10227c48]
mov edx, dword [str.Dh_v_IPE_XVH]
mov ecx, dword [eax + 8]
mov eax, dword [0x101f2ab4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
je 0x100bb87c
xor ebx, ebx
cmp edi, 2
jl 0x100bb850
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 4
movaps xmm4, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
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, edx
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 [0x101f2ab4]
pxor xmm1, xmm0
movd dword [esp + 0x14], xmm1
jmp 0x100bb87c
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 8
jl 0x100bb850
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
mov eax, dword [eax + 0x3c]
call eax
push 0x104e56b8
mov dword [0x104e52e0], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e5678]
cmp eax, dword [esi + 4]
jle 0x100bba5a
push 0x104e5678
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e5678], 0xffffffff
jne 0x100bba5a
mov eax, dword [0x10227c48]
xor ebx, ebx
movq xmm0, qword [str.U_gZIVcXP__D]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x101f2b54]
mov dword [esp + 0x18], eax
mov ax, word [0x101f2b58]
mov word [esp + 0x1c], ax
mov al, byte [0x101f2b5a]
movq qword [esp + 0x10], xmm0
mov byte [esp + 0x1e], al
cmp edi, 2
jl 0x100bba10
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 4
movaps xmm4, xmmword [0x101ffba0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
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_gZIVcXP__D]
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
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 0xf
jl 0x100bba10
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x104e5678
mov dword [0x104e56a8], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e56e4]
cmp eax, dword [esi + 4]
jle 0x100bbc38
push 0x104e56e4
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e56e4], 0xffffffff
jne 0x100bbc38
cmp byte [0x101f292f], 0
mov eax, dword [0x10227c48]
movups xmm0, xmmword [0x101f291c]
mov esi, dword [eax + 8]
mov eax, dword [0x101f292c]
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], eax
je 0x100bbc18
xor ebx, ebx
cmp edi, 2
jl 0x100bbbf0
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
mov ecx, dword [esp + 0x10]
movd xmm7, 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
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 + 0x28]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x28], 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, 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 + 0x2c]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x2c], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100bbaf1
cmp ebx, 0x14
jge 0x100bbc18
nop dword [eax]
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + ebx + 0x28], cl
inc ebx
cmp ebx, 0x14
jl 0x100bbbf0
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e56e4
mov dword [0x104e56fc], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [0x104e56e8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x104e52e0]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x104e56a8]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x104e56fc]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10227c40]
cmp byte [eax + 0x18f8], 0
je case.0x100bbc92.0
mov ecx, dword [eax + 0x18fc]
add eax, 0x18fc
cmp ecx, 3
ja case.0x100bbc92.0
jmp dword [ecx*4 + 0x100bbce4]
mov ecx, eax
call fcn.100cae00
jmp 0x100bbca5
mov al, byte [eax + 0x20]
test al, al
je case.0x100bbc92.0
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
test ecx, ecx
je case.0x100bbc92.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x100bbc92.0
mov eax, dword [0x10227c3c]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xa9], 0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret