Function at 0x100c6cd0
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 0x100d2a57
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x100e3008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0xf
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [0x1010ec78]
test al, 1
jne 0x100c6d55
or eax, 1
mov byte [0x1010ec7c], 0
mov dword [0x1010ec78], eax
mov eax, dword [0x100fd5a4]
mov esi, eax
mov ecx, dword [0x100fd5a8]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], ecx
cmp esi, ecx
je 0x100c6d7e
cmp dword [esi], 0
je 0x100c6d7e
add esi, 4
cmp esi, ecx
jne 0x100c6d72
cmp eax, ecx
je 0x100c6d94
cmp dword [eax], 1
je 0x100c6d8e
add eax, 4
cmp eax, ecx
jne 0x100c6d82
mov dword [ebp - 0x140], eax
cmp esi, ecx
jne 0x100c6da0
cmp eax, ecx
je 0x100c7630
cmp byte [0x1010e6f4], 0
je 0x100c7630
mov ecx, dword [0x100f5fb8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x1010e700]
movss xmm1, dword [0x1010e704]
movss xmm2, dword [0x1010e708]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
subss xmm2, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.1001b3a0
movss xmm2, dword [0x1010e714]
movaps xmm1, xmm2
mulss xmm0, xmm0
mulss xmm1, dword [0x100d7520]
mulss xmm1, xmm2
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x10109e84]
mov eax, dword [0x100f5fb8]
add ecx, 0xffffffb4
movss xmm3, dword [0x1010e70c]
xor ecx, 0x3a7c3d7
mulss xmm3, xmm0
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100c6e7b
movaps xmm2, xmm3
movd xmm0, eax
mulss xmm2, dword [0x100d733c]
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100d733c]
comiss xmm1, xmm0
jbe 0x100c6e78
addss xmm0, xmm0
movaps xmm2, xmm3
subss xmm2, xmm0
movaps xmm3, xmm2
movaps xmm0, xmm3
call fcn.1003b660
cvttss2si eax, xmm0
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov byte [ebp - 0x128], cl
mov dword [ebp - 0x12c], 0x66322e25
movss xmm0, dword [0x1010e6fc]
test eax, eax
cmovle eax, ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x114], eax
mov eax, dword [0x10109c6c]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x18]
push eax
movss dword [ebp - 0x18], xmm0
call fcn.100c8660
mov edi, eax
add esp, 4
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x100c6f02
mov ecx, eax
call fcn.10020a40
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100c6f38
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c6f2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c6f2e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
lea eax, [ebp - 0x114]
mov word [ebp - 0x124], 0x6925
push eax
lea edx, [ebp - 0x124]
mov byte [ebp - 0x122], 0
lea ecx, [ebp - 0x60]
call fcn.100a3800
mov edi, eax
add esp, 4
lea eax, [ebp - 0x30]
cmp eax, edi
je 0x100c6f92
mov ecx, eax
call fcn.10020a40
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100c6fc8
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c6fbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c6fbe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov edx, dword [0x10109e30]
mov eax, dword [0x100f5fb8]
add edx, 0xffffffc9
mov ecx, dword [ebp - 0x114]
xor edx, 0x3a7c3c2
mov edi, dword [0x10109204]
cmp ecx, dword [edx + eax]
lea edx, [ebp - 0x160]
mov ecx, 0x1010e700
cmovl edi, dword [0x1010909c]
mov dword [ebp - 0x12c], edi
call fcn.100bdf70
xorps xmm1, xmm1
mov byte [ebp - 0x11d], al
cmp esi, dword [ebp - 0x13c]
je 0x100c7558
cmp dword [0x1010e738], 0x10
mov ecx, 0x1010e724
mov dword [ebp - 0x138], 0xcac794c2
cmovae ecx, dword [0x1010e724]
xor eax, eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x134], 0xd6c9c2c7
mov word [ebp - 0x130], 0x9481
mov byte [ebp - 0x12e], 0xe7
nop dword [eax]
xor byte [ebp + eax - 0x138], 0xe7
inc eax
cmp eax, 0xb
jb 0x100c7060
push 0x98
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x110]
call fcn.10025180
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 2
mov dword [ebp - 0x180], eax
mov esi, eax
mov dword [ebp - 0x17c], 2
mov edi, 2
mov ecx, esi
call fcn.1001b8d0
add esi, 0xc
sub edi, 1
jne 0x100c70b0
push dword [ebp - 0x17c]
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x148], 0x10025700
push dword [ebp - 0x180]
mov dword [ebp - 0x14c], eax
lea edx, [ebp - 0x138]
movq xmm0, qword [ebp - 0x14c]
lea eax, [ebp - 0x18]
movq qword [ebp - 0x178], xmm0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0x10041440
movq xmm0, qword [ebp - 0x14c]
mov dword [ebp - 0x170], fcn.10025720
movq qword [ebp - 0x16c], xmm0
mov dword [ebp - 0x164], 0x100415d0
call fcn.100232d0
add esp, 8
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10c]
push eax
call fcn.10025300
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x110], 0x100d55d8
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0x10c]
call fcn.10021140
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x124]
mov word [ebp - 0x124], 0x6925
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x122], 0
call fcn.100a3800
add esp, 4
mov byte [ebp - 4], 4
movss xmm0, dword [0x100d7400]
comiss xmm0, dword [ebp - 0x18]
mov dword [ebp - 0x11c], 0xff0aac87
jbe 0x100c71e7
mov dword [ebp - 0x11c], 0xff6ec8c8
movss xmm0, dword [0x100d73ec]
comiss xmm0, dword [ebp - 0x18]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x12c]
jbe 0x100c7211
mov dword [ebp - 0x11c], 0xff1120c0
mov esi, dword [ebp - 0x11c]
cmp byte [0x1010e6f4], 0
je 0x100c74c9
cmp byte [0x1010e6d1], 0
jne 0x100c74c9
cmp byte [0x1010e6d2], 0
jne 0x100c74c9
movss xmm0, dword [ebp - 0x18]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100c7277
push 0
lea eax, [ebp - 0x60]
push eax
push ecx
mov eax, esp
mov ecx, 0x1010c354
push 0xb
push 6
mov dword [eax], 0x7d000000
call fcn.100be4f0
push 0
lea eax, [ebp - 0x60]
mov ecx, 0x1010c354
push eax
push esi
push 0xa
push 5
call fcn.100be4f0
mov ecx, dword [0x10109e30]
mov eax, dword [0x100f5fb8]
add ecx, 0xffffffc9
mov edx, dword [ebp - 0x114]
xor ecx, 0x3a7c3c2
cmp dword [ecx + eax], edx
jg 0x100c73a0
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x41544146
lea ecx, [ebp - 0x158]
mov word [ebp - 0x118], 0x4c
call fcn.100236a0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 5
push 0x1f
push 6
mov ecx, 0x1010c354
mov dword [eax], 0x7d000000
call fcn.100be4f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x100c731c
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c7312
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c7312
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x41544146
lea ecx, [ebp - 0x158]
mov word [ebp - 0x118], 0x4c
call fcn.100236a0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 6
push 0x1e
push 5
mov ecx, 0x1010c354
mov dword [eax], 0xff1120c0
call fcn.100be4f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x100c74c9
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c74bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c74bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edx, 1
jle 0x100c74c9
lea eax, [ebp - 0x78]
mov dword [ebp - 0x11c], 0x6925202d
push eax
lea edx, [ebp - 0x11c]
mov word [ebp - 0x118], 0x5048
lea ecx, [ebp - 0x158]
mov byte [ebp - 0x116], 0
call fcn.1003ffa0
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 7
push 0x1f
push 5
mov ecx, 0x1010c354
mov dword [eax], 0x7d000000
call fcn.100be4f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x100c7439
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c742f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c742f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
lea eax, [ebp - 0x78]
mov dword [ebp - 0x11c], 0x6925202d
push eax
lea edx, [ebp - 0x11c]
mov word [ebp - 0x118], 0x5048
lea ecx, [ebp - 0x158]
mov byte [ebp - 0x116], 0
call fcn.1003ffa0
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 8
push 0x1e
push 6
mov ecx, 0x1010c354
mov dword [eax], 0xff98ffff
call fcn.100be4f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x100c74c9
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c74bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c74bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x100c7503
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c74f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c74f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x100c754f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c7545
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c7545
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov al, byte [ebp - 0x11d]
xorps xmm1, xmm1
mov esi, dword [ebp - 0x13c]
cmp dword [ebp - 0x140], esi
je 0x100c75f7
test al, al
je 0x100c75f7
movss xmm0, dword [ebp - 0x18]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x15c]
movss xmm1, dword [ebp - 0x160]
jbe 0x100c75bc
push 2
lea eax, [ebp - 0x48]
mov ecx, 0x1010a634
push eax
push dword [0x1010909c]
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.100be4f0
movss xmm0, dword [ebp - 0x15c]
movss xmm1, dword [ebp - 0x160]
mov ecx, dword [0x10109e24]
mov eax, dword [0x100f5fb8]
add ecx, 0xffffffcc
xor ecx, 0x3a7c3bf
cmp dword [ecx + eax], 0
jne 0x100c75f7
push 2
lea eax, [ebp - 0x30]
mov ecx, 0x1010a634
push eax
cvttss2si eax, xmm0
push edi
add eax, dword [0x1010a63c]
push eax
cvttss2si eax, xmm1
push eax
call fcn.100be4f0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x100c762d
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c7623
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c7623
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x100c7675
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c766b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c766b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
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.100c9377
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret