Function at 0x100a7170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8403
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x100d99c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov esi, 0xf
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
push 0
push dword [0x100ce0a8]
mov byte [ebp - 4], 1
push dword [0x100ce0a4]
call fcn.100adb90
push 1
mov dword [ebp - 0x84], eax
mov eax, dword [0x100ce0a8]
push eax
push dword [0x100ce0a4]
mov dword [ebp - 0x88], eax
call fcn.100adb90
mov edx, dword [ebp - 0x84]
mov ecx, dword [0x100ce0a8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
cmp edx, dword [ebp - 0x88]
jne 0x100a7234
cmp eax, ecx
je 0x100a75dd
cmp byte [edi + 0x249c], 0
je 0x100a75dd
mov ecx, dword [0x100c712c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm1, dword [edi + 0x24ac]
movss xmm0, dword [edi + 0x24a8]
movss xmm2, dword [edi + 0x24b0]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
subss xmm2, dword [eax + 8]
movss xmm3, dword [edi + 0x24bc]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [0x100bdc38]
addss xmm0, xmm2
mulss xmm1, xmm3
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x100f6c64]
movaps xmm5, xmm0
mov eax, dword [0x100c712c]
add ecx, 0xffffffb4
mulss xmm5, dword [edi + 0x24b4]
xor ecx, 0x920a48ff
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100a7305
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x100bb564]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100bb564]
comiss xmm1, xmm0
jbe 0x100a7302
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x100bc358]
movaps xmm0, xmm5
movss xmm2, dword [0x100bc354]
andps xmm3, xmm5
xorps xmm0, xmm3
movss xmm4, dword [0x100bb590]
cmpltss xmm0, xmm2
mov dword [ebp - 0x70], 0x66322e25
movaps xmm1, xmm5
mov byte [ebp - 0x6c], 0
xor eax, eax
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm5
cmpnless xmm0, xmm3
andps xmm0, xmm4
subss xmm1, xmm0
movss xmm0, dword [edi + 0x24a4]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x68], eax
mov eax, dword [0x100f69fc]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
movss dword [ebp - 0x14], xmm0
push eax
call fcn.100a5a70
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x100a73c5
mov ecx, eax
call fcn.1001f960
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x64]
call fcn.1001f960
lea eax, [ebp - 0x68]
mov word [ebp - 0x70], 0x6925
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 0x6e], 0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10087650
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x100a741d
mov ecx, eax
call fcn.1001f960
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x64]
call fcn.1001f960
lea eax, [ebp - 0x4c]
push eax
lea eax, [edi + 0x24a8]
push eax
call fcn.1009fc30
lea edx, [edi + 0x24c0]
mov byte [ebp - 0x71], al
add esp, 8
cmp dword [edx + 0x14], 0x10
jb 0x100a7449
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7463
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.1001d5b0
mov eax, dword [ebp - 0x84]
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, dword [ebp - 0x88]
je 0x100a754f
comiss xmm1, xmm0
jbe 0x100a754f
movd xmm0, dword [0x100c74dc]
mulss xmm1, dword [0x100bdbc4]
push 0xff00ff00
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
subss xmm0, xmm1
movss dword [ebp - 0x84], xmm1
cvttss2si eax, xmm1
cvttss2si ecx, xmm0
push eax
push 0x12
push ecx
push 0
call fcn.100a0dc0
cvttss2si eax, dword [ebp - 0x14]
mov word [ebp - 0x70], 0x6925
mov byte [ebp - 0x6e], 0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10087650
add esp, 0x20
movd xmm0, dword [0x100c74dc]
cvtdq2ps xmm0, xmm0
push 0
push eax
mov byte [ebp - 4], 3
push dword [0x100d9968]
subss xmm0, dword [ebp - 0x84]
cvttss2si ecx, xmm0
push ecx
push 0x14
mov ecx, 0x100fa5e8
call fcn.100a1120
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.1001f960
movss xmm1, dword [ebp - 0x14]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x90], eax
je 0x100a75d2
cmp byte [ebp - 0x71], 0
je 0x100a75d2
comiss xmm1, xmm0
jbe 0x100a75d2
mov dword [ebp - 0x80], 0xeee1e3ee
xor eax, eax
mov dword [ebp - 0x7c], 0x82898c96
mov word [ebp - 0x78], 0xca9d
mov byte [ebp - 0x76], 0xac
xor byte [ebp + eax - 0x80], 0xac
inc eax
cmp eax, 0xb
jb 0x100a7582
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100a5a70
add esp, 0xc
push 2
push eax
cvttss2si eax, dword [ebp - 0x48]
mov ecx, 0x100fa5b8
mov byte [ebp - 4], 4
push dword [0x100d9968]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
call fcn.100a1120
lea ecx, [ebp - 0xa8]
call fcn.1001f960
lea ecx, [ebp - 0x64]
call fcn.1001f960
mov esi, dword [ebp - 0x18]
cmp esi, 0x10
jb 0x100a760c
mov edx, dword [ebp - 0x2c]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7602
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7632
push ecx
push edx
call fcn.100ae001
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x100a7642
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7638
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a7638
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100ae001
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ae337
mov esp, ebp
pop ebp
ret