Function at 0x100d6a80
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 0x100e5493
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x100f5008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
mov edi, 0xf
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], edi
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0
mov esi, edi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x48], 0
push 0
mov byte [ebp - 4], 1
push dword [0x100fb9c0]
push dword [0x100fb9bc]
call fcn.100d9900
push 1
mov dword [ebp - 0x84], eax
mov eax, dword [0x100fb9c0]
push eax
push dword [0x100fb9bc]
mov dword [ebp - 0x74], eax
call fcn.100d9900
mov edx, dword [ebp - 0x84]
mov ecx, dword [0x100fb9c0]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
cmp edx, dword [ebp - 0x74]
jne 0x100d6b4e
cmp eax, ecx
je 0x100d6fbb
cmp byte [0x10129214], 0
je 0x100d6fbb
mov ecx, dword [0x100f5024]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x10129220]
movss xmm1, dword [0x10129224]
movss xmm2, dword [0x10129228]
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.1001da00
movss xmm1, dword [0x10129234]
mulss xmm1, dword [0x100e9da4]
mulss xmm0, xmm0
mulss xmm1, dword [0x10129234]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x1012361c]
movaps xmm5, xmm0
mov eax, dword [0x100f5024]
add ecx, 0xffffffb4
mulss xmm5, dword [0x1012922c]
xor ecx, 0x920a48ff
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100d6c29
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x100e9b6c]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100e9b6c]
comiss xmm1, xmm0
jbe 0x100d6c26
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x100e9d84]
lea edx, [ebp - 0x6c]
movss xmm2, dword [0x100e9d7c]
andps xmm3, xmm5
movaps xmm0, xmm5
movss xmm4, dword [0x100e9bc4]
xorps xmm0, xmm3
mov dword [ebp - 0x6c], 0x66322e25
cmpltss xmm0, xmm2
mov byte [ebp - 0x68], 0
movaps xmm1, xmm5
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 [0x1012921c]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [0x101233ac]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x18]
push eax
movss dword [ebp - 0x18], xmm0
call fcn.100d85e0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.100375a0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d6cf4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6cea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d6cea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d9f61
add esp, 8
lea eax, [ebp - 0x64]
mov word [ebp - 0x6c], 0x6925
push eax
lea edx, [ebp - 0x6c]
mov byte [ebp - 0x6a], 0
lea ecx, [ebp - 0x30]
call fcn.100b27e0
add esp, 4
lea ecx, [ebp - 0x48]
push eax
call fcn.100375a0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d6d4f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6d45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d6d45
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d9f61
add esp, 8
lea edx, [ebp - 0x94]
mov ecx, 0x10129220
call fcn.100ca750
cmp dword [0x1012924c], 0x10
mov edx, 0x10129238
xorps xmm0, xmm0
mov byte [ebp - 0x6d], al
cmovae edx, dword [0x10129238]
mov ecx, edx
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d6d90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10026020
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x74]
je 0x100d6eb2
movss xmm1, dword [ebp - 0x18]
comiss xmm1, xmm0
jbe 0x100d6eb7
movd xmm0, dword [0x100f53d4]
mulss xmm1, dword [0x100e9ae8]
mov ecx, dword [0x10123358]
cvtdq2ps xmm0, xmm0
push 0xff00ff00
mov eax, dword [ecx]
mulss xmm1, xmm0
mov eax, dword [eax + 0x38]
subss xmm0, xmm1
movss dword [ebp - 0x74], xmm1
cvttss2si esi, xmm0
call eax
mov ecx, dword [0x10123358]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
cvttss2si eax, dword [ebp - 0x74]
add eax, esi
push eax
push 0x12
push esi
push 0
call edx
cvttss2si eax, dword [ebp - 0x18]
lea edx, [ebp - 0x6c]
mov word [ebp - 0x6c], 0x6925
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x6a], 0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
call fcn.100b27e0
add esp, 4
mov byte [ebp - 4], 3
movd xmm0, dword [0x100f53d4]
cvtdq2ps xmm0, xmm0
push 0
push eax
push dword [0x10106d2c]
subss xmm0, dword [ebp - 0x74]
cvttss2si ecx, xmm0
push ecx
push 0x14
mov ecx, 0x10126ccc
call fcn.100cb340
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x100d6eb2
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6ea8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d6ea8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d9f61
add esp, 8
movss xmm1, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], eax
je 0x100d6f85
cmp byte [ebp - 0x6d], 0
je 0x100d6f85
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100d6f85
mov dword [ebp - 0x80], 0xeee1e3ee
xor eax, eax
mov dword [ebp - 0x7c], 0x82898c96
mov word [ebp - 0x78], 0xca9d
mov byte [ebp - 0x76], 0xac
nop dword [eax]
xor byte [ebp + eax - 0x80], 0xac
inc eax
cmp eax, 0xb
jb 0x100d6f00
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xac]
call fcn.100d85e0
add esp, 4
push 2
push eax
mov byte [ebp - 4], 4
mov ecx, 0x10126c9c
cvttss2si eax, dword [ebp - 0x90]
push dword [0x10106d2c]
push eax
cvttss2si eax, dword [ebp - 0x94]
push eax
call fcn.100cb340
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x100d6f85
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6f7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d6f7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d9f61
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d6fb5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d6fab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d700b
push ecx
push edx
call fcn.100d9f61
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x4c]
cmp esi, 0x10
jb 0x100d6fe8
mov ecx, dword [ebp - 0x48]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x100d6fde
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d700b
push esi
push ecx
call fcn.100d9f61
add esp, 8
cmp edi, 0x10
jb 0x100d701b
mov ecx, dword [ebp - 0x60]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x100d7011
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7011
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ecx
call fcn.100d9f61
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.100d9ae6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret