Function at 0x10015600
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a1d2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 1
lea esi, [edi + 0x180]
mov eax, dword [esi + 0x14]
mov ecx, esi
push eax
mov dword [ebp - 0x58], eax
call fcn.1000fb70
test al, al
jne 0x100156a2
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 [ebp - 0x58]
and eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x10]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x84]
call fcn.1000fd90
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 4]
inc ecx
mov byte [ebp - 0x51], 1
mov dword [esi + 0x14], ecx
cmp edx, 0xffffffff
je 0x100156db
mov eax, dword [esi + 8]
sub eax, edx
inc eax
jmp 0x100156dd
xor eax, eax
cmp ecx, eax
jl 0x100156ec
mov dword [esi + 0x14], 0
mov byte [ebp - 0x51], 0
mov eax, dword [esi + 0x14]
mov ecx, esi
push eax
mov dword [ebp - 0x58], eax
call fcn.1000fb70
test al, al
jne 0x10015715
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]
and eax, dword [ebp - 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x10]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.1000fd90
cmp byte [ebp - 0x51], 0
mov byte [ebp - 4], 2
je 0x10015904
push 0xf0
call fcn.10028e12
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10017a50
mov esi, dword [ebp - 0x5c]
mov edi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], edi
mov dword [edi + 0x50], 1
or dword [edi + 0x4c], 0x200
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
js 0x100158c4
cmp eax, 1
jle 0x10015825
cmp eax, 2
jne 0x100158c4
cmp byte [0x1008c787], 0
jne 0x100157f7
movaps xmm0, xmmword [0x100552d0]
mov eax, 8
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x100552e0]
paddd xmm0, xmmword [0x100552d0]
movups xmmword [ebp - 0x40], xmm0
nop
mov dword [ebp + eax*4 - 0x50], eax
inc eax
cmp eax, 0xf
jl 0x100157c0
mov eax, 0xf
lea edx, [ebp - 0x50]
xor esi, esi
test eax, eax
je 0x100157ed
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 0x100157d8
mov esi, dword [ebp - 0x5c]
mov byte [0x1008c787], 1
mov eax, dword [esi]
mov ecx, 0x10051170
cmp dword [eax + 0x1c], 0
je 0x10015807
mov ecx, dword [eax + 0x10]
cmp dword [ebp - 0x60], 0
mov eax, 0x10051170
push str.___c._846_V
cmovne eax, dword [ebp - 0x6c]
push ecx
push eax
push str._s_branches_forks__s__s
jmp 0x100158b8
cmp byte [0x1008c787], 0
jne 0x1001588f
movaps xmm0, xmmword [0x100552d0]
mov eax, 8
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x100552e0]
paddd xmm0, xmmword [0x100552d0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp + eax*4 - 0x50], eax
inc eax
cmp eax, 0xf
jl 0x10015851
mov eax, 0xf
lea edx, [ebp - 0x50]
xor esi, esi
test eax, eax
je 0x10015885
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 0x10015870
mov esi, dword [ebp - 0x5c]
mov byte [0x1008c787], 1
mov eax, dword [esi]
mov ecx, 0x10051170
cmp dword [eax + 0x1c], 0
je 0x1001589f
mov ecx, dword [eax + 0x10]
cmp dword [ebp - 0x60], 0
mov eax, 0x10051170
push str.___c._846_V
cmovne eax, dword [ebp - 0x6c]
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 0x100158d0
add ecx, 0xfffffffe
jmp 0x100158d3
or ecx, 0xffffffff
test ecx, ecx
js 0x100158f0
mov eax, dword [edi + 0x70]
mov dl, byte [eax + ecx]
cmp dl, 0x2f
je 0x100158e7
cmp dl, 0x5c
jne 0x100158eb
mov byte [eax + ecx], 0x2f
sub ecx, 1
jns 0x100158d7
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x158]
push eax
push dword [ecx + 0x10]
call fcn.10008680
jmp 0x10015925
mov ecx, dword [edi]
xor eax, eax
sub esp, 8
mov dword [edi + 0x194], 0
mov byte [edi + 0x17], 1
cmp byte [ecx + 8], al
setne al
push eax
call fcn.10013940
cmp dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
jl 0x10015950
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x10015949
push eax
call fcn.1002f05f
add esp, 4
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
jl 0x1001596d
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1001596d
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 - 0x14]
xor ecx, ebp
call fcn.100288b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4