Function at 0x100c9a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1025ab04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push edi
lea edi, [eax + 8]
mov dword [ebp - 0x24], eax
mov byte [eax + 0xcac99], 0
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x100c9f82
mov eax, dword [0x1026188c]
cmp byte [eax + 0x18], 0
jne 0x100c9a9d
cmp byte [eax + 0x19], 0
je 0x100c9a9d
cmp dword [eax + 0x1c], 0
jg 0x100c9a9d
cmp dword [eax + 4], 1
jne 0x100c9a9d
mov ecx, dword [eax + 0x28]
jmp 0x100c9a9f
xor ecx, ecx
mov eax, dword [0x10192020]
sub eax, ecx
push esi
push eax
call fcn.10063ba0
mov esi, dword [edi]
add esp, 4
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [esi + 0x14]
andps xmm0, xmmword [0x101687a0]
comiss xmm0, dword [0x1016869c]
jbe 0x100c9ad7
push esi
mov ecx, edi
jmp 0x100c9f78
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, dword [0x1016870c]
lahf
test ah, 0x44
jnp 0x100c9f81
mov edx, dword [esi + 0x20]
test edx, edx
je 0x100c9f81
cmp dword [esi + 8], 0xffffffff
jne 0x100c9f81
cmp byte [esi], 0
je 0x100c9f81
cmp byte [esi + 1], 0
je 0x100c9f81
mov ecx, dword [0x1025ba74]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x100c9f6f
mov ecx, dword [edi]
mov edx, dword [ecx + 0x278]
mov ecx, edi
call edx
test al, al
je 0x100c9f6f
cmp dword [esi + 0x50], edi
jne 0x100c9f6f
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x1025bac0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100c9f6f
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x24]
movq xmm0, qword [esi + 0x30]
push 0
mov dword [ebp - 0x34], eax
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
push dword [esi + 0x50]
push eax
push ecx
call fcn.100d58f0
add esp, 0x18
test al, al
jne 0x100c9c6f
movss xmm0, dword [esi + 0x40]
lea eax, [ebp - 0x1c]
subss xmm0, dword [esi + 0x28]
push eax
cvtps2pd xmm7, xmm0
movss xmm0, dword [esi + 0x3c]
subss xmm0, dword [esi + 0x24]
mulsd xmm7, xmm7
cvtps2pd xmm6, xmm0
movss xmm0, dword [esi + 0x44]
subss xmm0, dword [esi + 0x2c]
mulsd xmm6, xmm6
cvtps2pd xmm4, xmm0
movss xmm0, dword [esi + 0x34]
addsd xmm6, xmm7
subss xmm0, dword [esi + 0x28]
mulsd xmm4, xmm4
cvtps2pd xmm5, xmm0
movss xmm0, dword [esi + 0x30]
addsd xmm6, xmm4
subss xmm0, dword [esi + 0x24]
mulsd xmm5, xmm5
cvtps2pd xmm3, xmm0
movss xmm0, dword [esi + 0x38]
subss xmm0, dword [esi + 0x2c]
mulsd xmm3, xmm3
mov esi, dword [0x102618bc]
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm3, xmm5
sqrtsd xmm0, xmm6
mulsd xmm2, xmm2
cvtpd2ps xmm1, xmm0
addsd xmm3, xmm2
xorps xmm0, xmm0
sqrtsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100c9c63
mov ecx, 0x102562e8
call fcn.1004f680
push 0
push 1
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100f4da0
lea ecx, [ebp - 0x1c]
call fcn.10043cb0
jmp 0x100c9f6f
mov ecx, 0x10256308
call fcn.100502c0
jmp 0x100c9c47
mov eax, dword [0x1025bc0c]
test al, 1
jne 0x100c9c8c
or eax, 1
mov dword [0x1025bc0c], eax
mov eax, dword [0x1025bc04]
mov dword [0x1025bc08], eax
jmp 0x100c9c91
mov eax, dword [0x1025bc08]
cmp dword [eax + edi], 0
jne 0x100c9e4f
mov eax, dword [0x1025bc14]
test al, 1
jne 0x100c9cb8
or eax, 1
mov dword [0x1025bc14], eax
mov eax, dword [0x1025bc00]
mov dword [0x1025bc10], eax
jmp 0x100c9cbd
mov eax, dword [0x1025bc10]
cmp dword [eax + edi], 0
jle 0x100c9e4f
cmp byte [esi + 0xe900], 0
je 0x100c9e12
cmp byte [0x10256320], 0
mov eax, dword [0x102618bc]
mov dword [ebp - 0x28], eax
je 0x100c9d48
cmp byte [0x10256321], 0
jne 0x100c9d96
mov byte [0x10256321], 1
xor edi, edi
nop dword [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x10256338]
xor edx, dword [0x1025633c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [edi + 0x10256322], al
inc edi
cmp edi, 0x10
jb 0x100c9d00
jmp 0x100c9d96
xor edi, edi
nop word [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x10256338]
xor edx, dword [0x1025633c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [edi + 0x10256322], al
inc edi
cmp edi, 0x10
jb 0x100c9d50
push 0xf
push 0x10256322
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.10045f20
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push 0
push 1
push eax
call fcn.100f4da0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x100c9e3d
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c9df6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c9df6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101041fa
mov eax, dword [esi + 0x20]
add esp, 8
mov edx, dword [ebp - 0x24]
inc dword [edx + eax*4 + 0x13fc]
jmp 0x100c9f72
mov edi, dword [0x102618bc]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x10256340
call fcn.1004fa00
push 0
push 1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.100f4da0
lea ecx, [ebp - 0x1c]
call fcn.10043cb0
mov eax, dword [esi + 0x20]
mov edx, dword [ebp - 0x24]
inc dword [edx + eax*4 + 0x13fc]
jmp 0x100c9f72
cmp byte [0x10256360], 0
mov edi, dword [0x102618bc]
je 0x100c9ebc
cmp byte [0x10256361], 0
jne 0x100c9f06
mov byte [0x10256361], 1
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x10256378]
xor edx, dword [0x1025637c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + str.MI_f], al
inc esi
cmp esi, 0x14
jb 0x100c9e74
jmp 0x100c9f06
xor esi, esi
nop
xor edx, edx
mov eax, esi
xor eax, dword [0x10256378]
xor edx, dword [0x1025637c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x20], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
mov dword [ebp - 0x2c], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + str.MI_f], al
inc esi
cmp esi, 0x14
jb 0x100c9ec0
push 0x13
push str.MI_f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
call fcn.10045f20
push 0
push 1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.100f4da0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x100c9f6f
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c9f65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c9f65
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101041fa
add esp, 8
mov edx, dword [ebp - 0x24]
push dword [edx + 8]
lea ecx, [edx + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.100c96f0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10104522
mov esp, ebp
pop ebp
ret