Function at 0x100c7f70
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10193230
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, ecx
push 1
lea ecx, [esp + 0x54]
call fcn.1005eca0
push 0
push 0x1800
lea esi, [esp + 0x60]
mov dword [esp + 0x84], 0
call fcn.10005ca0
xor eax, eax
lea edx, [esp + 0x50]
call fcn.1005f330
mov ebx, dword [esp + 0x5c]
mov ebp, ebx
add ebx, 0x2000
lea ecx, [esp + 0x2c]
lea eax, [ebx + 0x2000]
push ecx
mov dword [esp + 0x1c], eax
call fcn.10060580
mov esi, dword [esp + 0x84]
mov byte [esp + 0x7c], 1
mov edi, dword [edi + 8]
push 0
push edi
mov dword [esp + 0x1c], edi
call fcn.10009380
test edi, edi
mov edx, dword [esp + 0x30]
jbe 0x100c8059
lea ecx, [ecx]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 0x1f
neg eax
or eax, 0x80000000
xor eax, ecx
mov ecx, eax
and ecx, 0x7ff
add dword [ebp + ecx*4], 1
lea ecx, [ebp + ecx*4]
mov ecx, eax
shr ecx, 0xb
and ecx, 0x7ff
add dword [ebx + ecx*4], 1
lea ecx, [ebx + ecx*4]
mov ecx, dword [esp + 0x18]
shr eax, 0x16
add dword [ecx + eax*4], 1
lea eax, [ecx + eax*4]
add edx, 4
sub edi, 1
jne 0x100c8010
mov ecx, dword [esp + 0x18]
mov edi, ebp
xor esi, esi
sub edi, ebx
xor edx, edx
sub ecx, ebx
mov dword [esp + 0x1c], esi
mov eax, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x800
jmp 0x100c8084
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + eax]
add ecx, edx
add edx, 0xffffffff
mov dword [edi + eax], edx
mov edi, dword [esp + 0x1c]
mov edx, ecx
mov ecx, dword [eax]
add ecx, edi
add edi, 0xffffffff
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + eax]
add ecx, esi
add esi, 0xffffffff
mov dword [edi + eax], esi
add eax, 4
sub dword [esp + 0x20], 1
mov esi, ecx
jne 0x100c8080
mov edi, dword [esp + 0x14]
test edi, edi
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x30]
mov esi, dword [eax + 4]
jbe 0x100c8102
mov ecx, dword [edx]
mov eax, ecx
shr eax, 0x1f
neg eax
or eax, 0x80000000
xor ecx, eax
mov eax, ecx
and eax, 0x7ff
add dword [ebp + eax*4], 1
mov eax, dword [ebp + eax*4]
add edx, 4
sub edi, 1
mov dword [esi + eax*4], ecx
jne 0x100c80d3
mov edi, dword [esp + 0x14]
test edi, edi
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0x30]
jbe 0x100c8136
mov ecx, dword [edx]
mov eax, ecx
shr eax, 0xb
and eax, 0x7ff
add dword [ebx + eax*4], 1
mov eax, dword [ebx + eax*4]
add edx, 4
sub edi, 1
mov dword [esi + eax*4], ecx
jne 0x100c8114
mov edi, dword [esp + 0x14]
test edi, edi
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x30]
mov ebp, dword [edx + 4]
jbe 0x100c8179
mov edx, dword [esp + 0x18]
lea esp, [esp]
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x16
add dword [edx + eax*4], 1
mov ebx, dword [edx + eax*4]
mov eax, ecx
shr eax, 0x1f
sub eax, 1
or eax, 0x80000000
xor eax, ecx
add esi, 4
sub edi, 1
mov dword [ebp + ebx*4], eax
jne 0x100c8150
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], vtable.ebs_FloatArr.0
mov dword [esp + 0x40], vtable.ebs_FloatArr.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x44], vtable.ebs_FloatArr.2.0
lea ecx, [esp + 0x48]
call fcn.1005e680
xor esi, esi
cmp byte [esp + 0x3d], 0
mov dword [esp + 0x2c], vtable.ert_TmplArr_float_.0
je 0x100c81c8
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x100c81c8
push eax
call fcn.10178e5d
add esp, 4
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x41], 0
mov dword [esp + 0x4c], vtable.ert_RefCounter.0
mov dword [esp + 0x80], 0xffffffff
call fcn.10001b50
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret