Function at 0x100b57f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp esi, 2
je 0x100b5812
cmp esi, 6
jne 0x100b5be8
mov eax, dword [0x1022bebc]
cmp dword [eax], 0
jne 0x100b5839
mov dword [0x10453a08], 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101a0143
add esp, 0x34
ret
mov edi, dword [0x10229c78]
xorps xmm0, xmm0
add edi, 0x1650
sub esp, 0x18
mov edx, esp
mov ecx, edi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea ebx, [ecx + 1]
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b5863
sub ecx, ebx
push ecx
push edi
mov ecx, edx
call fcn.10027e90
call fcn.100b5fe0
test al, al
je 0x100b588c
mov ebp, dword [0x10229c78]
add ebp, 0x1650
jmp 0x100b58a5
mov eax, dword [0x1022bebc]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
push eax
call fcn.100b5c10
mov ebp, eax
test ebp, ebp
je 0x100b5be8
cmp esi, 2
jne 0x100b5b28
mov ecx, dword [0x1022bebc]
mov ecx, dword [ecx]
call fcn.100b2d70
movq xmm0, qword [str._PPZGJYZ_U__]
movq qword [esp + 0x14], xmm0
mov eax, dword [eax]
mov dword [0x10453a08], eax
mov eax, dword [0x10229c80]
mov esi, dword [eax + 0x48]
mov eax, dword [0x101f59f8]
mov dword [esp + 0x1c], eax
mov ax, word [0x101f59fc]
mov word [esp + 0x20], ax
test ah, ah
je 0x100b5a38
xor ebx, ebx
cmp dword [0x1022b6e0], 2
jl 0x100b5a10
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 [str._PPZGJYZ_U__]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], 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 + 0x18]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movd dword [esp + 0x18], 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 + 0x14], cl
inc ebx
cmp ebx, 0xe
jl 0x100b5a10
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x24], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b5a57
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.10027e90
cmp dword [esp + 0x38], 0x10
lea edx, [esp + 0x24]
mov eax, dword [esi]
mov ecx, esi
cmovae edx, dword [esp + 0x24]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x38]
mov edi, eax
cmp ecx, 0x10
jb 0x100b5abf
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b5ab5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b5bfb
push ecx
push edx
call fcn.101a043c
add esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], 0
test edi, edi
je 0x100b5b37
mov eax, dword [edi]
mov ecx, edi
push 0
push 0xffffffffffffffff
push ebp
mov eax, dword [eax + 0x20]
push 0
call eax
cmp eax, 0xffffffff
je 0x100b5be8
mov eax, dword [0x10229c74]
mov ecx, ebp
mov eax, dword [eax + 0xa4]
call eax
mov edx, dword [edi]
mov esi, eax
push 0
push 0xffffffffffffffff
mov ecx, edi
push dword [esi + 8]
mov edx, dword [edx + 0x20]
push 0
call edx
mov eax, dword [edi]
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [esi + 0xc]
mov eax, dword [eax + 0x20]
push 0
call eax
jmp 0x100b5b37
cmp esi, 6
jne 0x100b5b37
mov esi, dword [0x10453a08]
test esi, esi
jne 0x100b5b49
mov eax, dword [0x10229c80]
push ebp
mov ecx, dword [eax + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov ecx, dword [0x1022bebc]
push esi
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
call edx
mov eax, dword [0x10229c80]
mov ecx, dword [0x1022b6ec]
mov edi, dword [eax + 0x18]
mov eax, dword [0x1022bebc]
mov ebx, dword [eax]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x104539c0]
cmp eax, dword [ecx + 4]
jle 0x100b5bc5
push 0x104539c0
call fcn.101a0794
add esp, 4
cmp dword [0x104539c0], 0xffffffff
jne 0x100b5bc5
mov edx, 0xc60bf9f2
mov ecx, 0x101f3dc1
call fcn.1007e710
mov ecx, eax
call fcn.100d2ad0
push 0x104539c0
mov dword [0x10453a04], eax
call fcn.101a074a
add esp, 4
mov eax, dword [0x10453a04]
mov ecx, edi
mov edx, dword [eax + ebx]
mov eax, dword [edi]
push edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100b5be8
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x12c]
call eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a0143
add esp, 0x34
ret
call fcn.101a56c6
int3