Function at 0x100bd060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1022b6ec]
push ebx
push esi
mov bl, cl
mov esi, dword [eax + edx*4]
mov eax, dword [0x1051ed18]
push edi
mov byte [esp + 0x1b], bl
cmp eax, dword [esi + 4]
jle 0x100bd0c6
push 0x1051ed18
call fcn.101a0794
add esp, 4
cmp dword [0x1051ed18], 0xffffffff
jne 0x100bd0c6
push 0x101cca20
call fcn.101a0422
push 0x1051ed18
call fcn.101a074a
add esp, 8
mov eax, dword [0x10229c78]
mov edi, dword [0x1022b6e0]
mov dl, byte [0x104539dd]
mov cl, byte [eax + 0x1641]
test cl, cl
jne 0x100bd0ee
cmp byte [eax + 0x1766], 0
je 0x100bd29c
test dl, dl
jne 0x100bd28c
mov eax, dword [0x10229c80]
movq xmm0, qword [0x101dd4a8]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101dd4b0]
mov dword [esp + 0x44], eax
mov ax, word [0x101dd4b4]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bd270
xor ebx, ebx
cmp edi, 2
jl 0x100bd240
movaps xmm2, xmmword [0x102025e0]
mov eax, 4
movaps xmm3, xmmword [0x10202aa0]
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 [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [0x101dd4a8]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], 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 [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [esp + 0x40]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movd dword [esp + 0x40], xmm1
nop dword [eax + eax]
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bd240
mov bl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x10229148
mov eax, dword [eax + 0xc]
call eax
mov byte [0x104539dd], 1
jmp 0x100bd2bb
test cl, cl
jne 0x100bd298
cmp byte [eax + 0x1766], cl
je 0x100bd29c
test bl, bl
je 0x100bd2c0
test dl, dl
je 0x100bd2c0
mov eax, dword [0x10229c80]
push 0x10229148
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x104539dd], 0
mov eax, dword [0x10229c78]
mov ecx, dword [0x1051ecf0]
cmp ecx, dword [esi + 4]
jle 0x100bd300
push 0x1051ecf0
call fcn.101a0794
add esp, 4
cmp dword [0x1051ecf0], 0xffffffff
jne 0x100bd2fb
push 0x101cca10
call fcn.101a0422
push 0x1051ecf0
call fcn.101a074a
add esp, 8
mov eax, dword [0x10229c78]
mov cl, byte [eax + 0x1641]
mov dl, byte [0x104539dc]
test cl, cl
jne 0x100bd31d
cmp byte [eax + 0x1766], 0
je 0x100bd4c8
test dl, dl
jne 0x100bd4b8
mov eax, dword [0x10229c80]
movq xmm0, qword [0x101dd4a8]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101dd4b0]
mov dword [esp + 0x44], eax
mov ax, word [0x101dd4b4]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bd49c
xor ebx, ebx
cmp edi, 2
jl 0x100bd470
movaps xmm2, xmmword [0x102025e0]
mov eax, 4
movaps xmm4, xmmword [0x10202aa0]
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 [str.2222222222222222777777777777777788888888888888889999999999999999]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101dd4a8]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], 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 [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x40]
pxor xmm1, xmm0
movd dword [esp + 0x40], xmm1
nop
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bd470
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x10229154
mov eax, dword [eax + 0xc]
call eax
mov byte [0x104539dc], 1
jmp 0x100bd4e7
test cl, cl
jne 0x100bd4c4
cmp byte [eax + 0x1766], cl
je 0x100bd4c8
test bl, bl
je 0x100bd4ec
test dl, dl
je 0x100bd4ec
mov eax, dword [0x10229c80]
push 0x10229154
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x104539dc], 0
mov eax, dword [0x10229c78]
mov ecx, dword [0x1051ecd4]
cmp ecx, dword [esi + 4]
jle 0x100bd52c
push 0x1051ecd4
call fcn.101a0794
add esp, 4
cmp dword [0x1051ecd4], 0xffffffff
jne 0x100bd527
push 0x101cca00
call fcn.101a0422
push 0x1051ecd4
call fcn.101a074a
add esp, 8
mov eax, dword [0x10229c78]
mov dl, byte [eax + 0x14f1]
mov cl, byte [0x104539d4]
test dl, dl
jne 0x100bd549
cmp byte [eax + 0x14d2], 0
je 0x100bd722
test cl, cl
jne 0x100bd716
mov eax, dword [0x10229c80]
movups xmm0, xmmword [str.B_ULSEg_UTHNJZ0A_PPZD]
mov esi, dword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100bd6e8
xor ebx, ebx
cmp edi, 2
jl 0x100bd6c0
movaps xmm0, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x102025e0]
xor ecx, ecx
movaps xmm3, xmmword [0x10202aa0]
movaps xmm6, xmmword [0x10202660]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x10202710]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x3c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x3c], 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 [0x10202710]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x40]
pxor xmm1, xmm0
movd dword [esp + ecx + 0x40], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100bd5c0
jmp 0x100bd6e8
mov eax, 0x4d4873ed
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0x10
jl 0x100bd6c0
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0x10229144
mov eax, dword [eax + 0xc]
mov ecx, esi
call eax
mov byte [0x104539d4], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x100bd729
cmp byte [eax + 0x14d2], dl
jne 0x100bd729
cmp byte [esp + 0x1b], 0
je 0x100bd748
test cl, cl
je 0x100bd748
mov eax, dword [0x10229c80]
push 0x10229144
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x104539d4], 0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret