Function at 0x100c8b00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [0x103d8bec]
mov ebp, ecx
mov dword [esp + 0x14], edx
xor edx, edx
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x18], ebp
mov eax, dword [edi + 0x1bdc]
mov esi, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + esi*4 - 4]
call fcn.10144db0
mov ebx, eax
cmp dword [edi + 0x1c10], ebx
jne 0x100c8b4a
mov dword [edi + 0x1c14], ebx
cmp dword [edi + 0x1c4c], ebx
jne 0x100c8b59
mov byte [edi + 0x1c50], 1
mov esi, dword [edi + 0x1bdc]
xor edx, edx
add esi, 0xc0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push dword [eax + ecx*4 - 4]
mov ecx, ebp
call fcn.10144db0
mov ebp, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x10], eax
cmp ecx, ebp
jne 0x100c8bac
inc ecx
test ebp, ebp
je 0x100c8b94
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, ebp
jmp 0x100c8b99
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100b4680
mov edi, dword [0x103d8bec]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov eax, dword [edi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1bdc]
cmp byte [eax + 0x8f], 0
jne 0x100c8c16
movss xmm1, dword [edi + 0x159c]
movss xmm0, dword [eax + 0xf8]
addss xmm1, xmm1
addss xmm1, dword [edi + 0x1978]
maxss xmm0, xmm1
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [eax + 0x104]
maxss xmm0, dword [edi + 0x159c]
movss dword [eax + 0x104], xmm0
mov ecx, dword [esp + 0x18]
xor edx, edx
push 1
call fcn.1015f900
movss xmm1, dword [0x101eb6e4]
movss xmm0, dword [esp + 0x1c]
call fcn.10150ed0
mov eax, dword [0x103d8bec]
cmp dword [eax + 0x1c10], ebx
jne 0x100c8da0
movss xmm0, dword [0x101eb334]
mov ecx, 0x17
call fcn.10145c60
mov edx, eax
mov ecx, 0x15
call fcn.10145d40
cmp byte [str.3_Z_], 0
mov eax, dword [0x101e2aac]
mov dword [esp + 0x10], eax
je 0x100c8d2c
xor ebx, ebx
cmp dword [0x10215510], 2
jl 0x100c8d04
movaps xmm3, xmmword [0x101eb860]
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x101ebc20]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x101ebc20]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movaps xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x101eb8c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.0000000000000000]
movd xmm0, eax
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
jmp 0x100c8d2c
mov eax, 0x5397829d
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esp + ebx + 0x10], cl
inc ebx
cmp ebx, 4
jl 0x100c8d04
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push 1
push 0
call fcn.10160730
mov esi, dword [0x103d8bec]
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1ce0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
xor ecx, ecx
movups xmmword [esi + eax*8 + 0x1624], xmm0
dec dword [esi + 0x1cd8]
mov byte [esi + 0x1c1d], 1
call fcn.101478e0
test al, al
jne 0x100c8d85
cmp byte [esi + 0x420], cl
jne 0x100c8d92
mov ecx, dword [esp + 0x14]
call fcn.100c1090
test al, al
je 0x100c8df3
call fcn.10147850
mov byte [0x103d8ae0], 1
jmp 0x100c8df3
mov eax, dword [esp + 0x14]
mov ecx, 0x42
mov edx, dword [esp + 0x24]
push 1
push 0
cmp dword [eax + 0x1c], 0x67
cmovb ecx, dword [eax + 0x1c]
lea eax, [ecx + ecx*2]
mov ecx, dword [eax*4 + 0x101df638]
call fcn.10160730
mov esi, dword [0x103d8bec]
test al, al
je 0x100c8df3
mov byte [0x103d8ae0], 1
mov ecx, ebx
mov eax, dword [esi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov edx, dword [esi + 0x1bdc]
call fcn.10147780
mov eax, dword [esi + 0x1bdc]
pop edi
pop esi
pop ebp
dec dword [eax + 0xc0]
pop ebx
add esp, 0x10
ret 4