Function at 0x100148b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a08a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov eax, dword [esi + 0x194]
lea ecx, [esi + 0x180]
push eax
mov dword [ebp - 0x50], eax
call fcn.1000fb70
test al, al
jne 0x1001490f
push 0x13c
mov edx, str.D:_build_partners_boostmaster_rungoldsrc_clientpublic_tier1_utlqueue.h
mov ecx, str.Assertion_failed_IsValidIndex_idx_
call fcn.10003340
add esp, 4
mov eax, dword [esi + 0x180]
and eax, dword [ebp - 0x50]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x190]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000fd90
push 0xf0
mov dword [ebp - 4], 0
call fcn.10028e12
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10017a50
mov edi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x50], edi
mov dword [edi + 0x50], 1
or dword [edi + 0x4c], 0x200
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
js 0x10014abc
cmp eax, 1
jle 0x10014a1d
cmp eax, 2
jne 0x10014abc
cmp byte [0x1008c787], 0
jne 0x100149ef
movaps xmm0, xmmword [0x100552d0]
mov eax, 8
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x100552e0]
paddd xmm0, xmmword [0x100552d0]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp + eax*4 - 0x4c], eax
inc eax
cmp eax, 0xf
jl 0x100149b1
mov eax, 0xf
lea edx, [ebp - 0x4c]
xor esi, esi
test eax, eax
je 0x100149e5
nop dword [eax]
mov ecx, dword [edx]
inc esi
mov al, cl
add edx, 4
add al, 0x48
xor byte [ecx + str.___c._846_V], al
cmp esi, 0xf
jne 0x100149d0
mov esi, dword [ebp - 0x54]
mov byte [0x1008c787], 1
mov eax, dword [esi]
mov ecx, 0x10051170
cmp dword [eax + 0x30], 0
je 0x100149ff
mov ecx, dword [eax + 0x24]
cmp dword [ebp - 0x58], 0
mov eax, 0x10051170
push str.___c._846_V
cmovne eax, dword [ebp - 0x64]
push ecx
push eax
push str._s_branches_forks__s__s
jmp 0x10014ab0
cmp byte [0x1008c787], 0
jne 0x10014a87
movaps xmm0, xmmword [0x100552d0]
mov eax, 8
movups xmmword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x100552e0]
paddd xmm0, xmmword [0x100552d0]
movups xmmword [ebp - 0x3c], xmm0
nop dword [eax]
mov dword [ebp + eax*4 - 0x4c], eax
inc eax
cmp eax, 0xf
jl 0x10014a50
mov eax, 0xf
lea edx, [ebp - 0x4c]
xor esi, esi
test eax, eax
je 0x10014a7d
mov ecx, dword [edx]
inc esi
mov al, cl
add edx, 4
add al, 0x48
xor byte [ecx + str.___c._846_V], al
cmp esi, 0xf
jne 0x10014a68
mov esi, dword [ebp - 0x54]
mov byte [0x1008c787], 1
mov eax, dword [esi]
mov ecx, 0x10051170
cmp dword [eax + 0x1c], 0
je 0x10014a97
mov ecx, dword [eax + 0x10]
cmp dword [ebp - 0x58], 0
mov eax, 0x10051170
push str.___c._846_V
cmovne eax, dword [ebp - 0x64]
push ecx
push eax
push str._s_branches__s__s
lea eax, [edi + 0x6c]
push eax
call fcn.100101a0
add esp, 0x14
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x10014ac8
add ecx, 0xfffffffe
jmp 0x10014acb
or ecx, 0xffffffff
test ecx, ecx
js 0x10014ae9
nop
mov eax, dword [edi + 0x70]
mov dl, byte [eax + ecx]
cmp dl, 0x2f
je 0x10014ae0
cmp dl, 0x5c
jne 0x10014ae4
mov byte [eax + ecx], 0x2f
sub ecx, 1
jns 0x10014ad0
lea eax, [ebp - 0x50]
lea ecx, [esi + 0x158]
push eax
push dword [ecx + 0x10]
call fcn.10008680
cmp dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
jl 0x10014b18
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10014b18
push eax
call fcn.1002f05f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100288b6
mov esp, ebp
pop ebp
ret