Function at 0x100c88e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101317dd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x101df84c], 0
je 0x100c8cc2
push 0x16
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push 0x1015fe0c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.10011990
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x101e9590
call fcn.100107b0
mov bl, byte [eax]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x100c8994
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c898a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c898a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
test bl, bl
je 0x100c8cc2
mov ecx, dword [0x101f5cd4]
mov eax, dword [0x101df848]
add ecx, 0xffffffa4
xor ecx, 0xea42ce28
mov eax, dword [ecx + eax]
mov ecx, dword [0x101f4698]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x100c8cc2
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x100c8cc2
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100c8cc2
cmp eax, 7
je 0x100c8cc2
cmp eax, 9
je 0x100c8cc2
mov ecx, dword [0x101f4694]
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [ebp - 0x4c]
mov edi, dword [0x101f5ca8]
mov esi, dword [0x101df848]
add edi, 0xffffffaf
mov eax, dword [ebp - 0x64]
xor edi, 0xea42ce1d
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
cdq
sub eax, edx
sar eax, 1
divss xmm1, dword [0x101dff8c]
movaps xmm0, xmm1
mulss xmm1, dword [edi + esi]
mulss xmm0, dword [edi + esi + 4]
cvttss2si edi, xmm1
cvttss2si ecx, xmm0
sub eax, ecx
mov dword [ebp - 0x44], eax
mov eax, ebx
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x60], edi
mov eax, dword [eax + 0x75c]
call eax
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x754]
mov dword [ebp - 0x38], eax
call dword [ebp - 0x38]
mov eax, dword [ebx]
mov ecx, ebx
fstp dword [ebp - 0x54]
mov eax, dword [eax + 0x6dc]
mov dword [ebp - 0x38], eax
call dword [ebp - 0x38]
movss xmm1, dword [0x10162728]
fstp dword [ebp - 0x50]
movss xmm0, dword [ebp - 0x50]
addss xmm0, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xff
mov dword [ebp - 0x38], 0x100
divss xmm1, xmm0
movss dword [ebp - 0x68], xmm1
push ecx
lea ecx, [ebp - 0x74]
call fcn.100d1920
mov dword [ebp - 0x1c], 0xf050a39
mov dword [ebp - 0x18], 0xe380604
mov word [ebp - 0x14], 0xf0e
lea esi, [eax + 1]
mov byte [ebp - 0x12], 0x6b
xor eax, eax
nop dword [eax]
xor byte [ebp + eax - 0x1c], 0x6b
inc eax
cmp eax, 0xb
jb 0x100c8b00
mov dword [ebp - 0x28], 0xf1f181d
xor eax, eax
mov dword [ebp - 0x24], 0x45090207
mov dword [ebp - 0x20], 0x6b07070f
xor byte [ebp + eax - 0x28], 0x6b
inc eax
cmp eax, 0xc
jb 0x100c8b22
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
call eax
movss xmm1, dword [0x10162728]
add esp, 4
call fcn.100c08c0
movss xmm1, dword [0x10162824]
movss dword [ebp - 0x3c], xmm0
call fcn.100c08c0
movss xmm1, dword [0x10162728]
movss dword [ebp - 0x58], xmm0
call fcn.100c08c0
movss xmm1, dword [0x10162824]
movss dword [ebp - 0x40], xmm0
call fcn.100c08c0
movss dword [ebp - 0x5c], xmm0
movd xmm0, dword [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [ebp - 0x40]
divss xmm0, dword [0x101dff8c]
mulss xmm1, dword [ebp - 0x50]
mulss xmm0, dword [0x101628f8]
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x3c], xmm0
addss xmm0, xmm1
mulss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x58]
call fcn.10004d40
mulss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x5c]
call fcn.10004d40
mulss xmm0, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x48]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm1, dword [ebp - 0x44]
mulss xmm1, dword [0x10162a04]
cvttss2si eax, xmm1
sub edi, eax
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
mulss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x5c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
mulss xmm0, dword [ebp - 0x40]
mov esi, ebx
mov ecx, dword [0x101f46a0]
movss xmm1, dword [ebp - 0x48]
addss xmm1, xmm0
mov edx, dword [ecx]
mulss xmm1, dword [ebp - 0x44]
mulss xmm1, dword [0x10162a04]
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x6c]
movaps xmm0, xmm1
sub esi, eax
mulss xmm0, xmm1
mulss xmm1, dword [0x10162908]
mulss xmm0, dword [0x10162938]
addss xmm0, xmm1
addss xmm0, dword [0x1016283c]
cvttss2si eax, xmm0
movzx eax, al
shl eax, 0x18
or eax, 0xffffff
push eax
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [0x101f46a0]
mov edx, dword [ecx]
lea eax, [edi + 1]
push eax
lea eax, [esi + 1]
push eax
mov eax, dword [edx + 0x40]
push edi
push esi
call eax
sub dword [ebp - 0x38], 1
mov edi, dword [ebp - 0x60]
jne 0x100c8ad7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
ret