Function at 0x1018fe60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1022867c]
push ebx
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1051c3b4]
cmp eax, dword [esi + 4]
jle 0x1018ff12
push 0x1051c3b4
call fcn.1019bffa
add esp, 4
cmp dword [0x1051c3b4], 0xffffffff
jne 0x1018ff12
mov eax, dword [0x10226cb0]
movq xmm0, qword [str.VSQjBNH:]
push edi
mov edi, dword [eax + 8]
mov ax, word [0x101fa058]
movq qword [esp + 0xc], xmm0
mov word [esp + 0x14], ax
test ah, ah
je 0x1018fef1
xor ebx, ebx
nop
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xa
jl 0x1018fed0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051c3b4
mov dword [0x1051c3b0], eax
call fcn.1019bfa6
add esp, 4
pop edi
mov eax, dword [0x1051c3b8]
cmp eax, dword [esi + 4]
jle 0x1018ffa1
push 0x1051c3b8
call fcn.1019bffa
add esp, 4
cmp dword [0x1051c3b8], 0xffffffff
jne 0x1018ffa1
mov eax, dword [0x10226cb0]
movq xmm0, qword [str.VSQj_X:]
mov esi, dword [eax + 8]
mov ax, word [0x101fa068]
movq qword [esp + 8], xmm0
mov word [esp + 0x10], ax
test ah, ah
je 0x1018ff81
xor ebx, ebx
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x31
xor byte [esp + ebx + 8], cl
inc ebx
cmp ebx, 0xa
jl 0x1018ff60
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x1051c3b8
mov dword [0x1051c3bc], eax
call fcn.1019bfa6
add esp, 4
mov ecx, dword [0x1051c3b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
pop esi
pop ebx
cmp eax, 6
ja case.default.0x1018ffd6
jmp dword [eax*4 + 0x1019012c]
mov ecx, dword [0x1051c3bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 3
ja case.default.0x1018ffd6
jmp dword [eax*4 + 0x10190148]
mov eax, 1
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 2
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 3
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 4
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov ecx, dword [0x1051c3bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
sub eax, 0
je 0x10190075
sub eax, 1
je 0x10190061
sub eax, 1
jne case.default.0x1018ffd6
mov eax, 7
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 6
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 5
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 8
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 9
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov ecx, dword [0x1051c3bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
sub eax, 0
je 0x101900dc
sub eax, 1
jne case.default.0x1018ffd6
mov eax, 0xb
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 0xa
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 0xc
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov eax, 0xd
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
xor ecx, esp
call fcn.1019ba64
add esp, 0x10
ret