Function at 0x100d7ad0
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 0x100e66f3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x100f6008]
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 [0x100fcfc4]
push dword [0x100fcfc0]
call fcn.100da940
push 1
mov dword [ebp - 0x84], eax
mov eax, dword [0x100fcfc4]
push eax
push dword [0x100fcfc0]
mov dword [ebp - 0x74], eax
call fcn.100da940
mov edx, dword [ebp - 0x84]
mov ecx, dword [0x100fcfc4]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
cmp edx, dword [ebp - 0x74]
jne 0x100d7b9e
cmp eax, ecx
je 0x100d800b
cmp byte [0x1012b7ac], 0
je 0x100d800b
mov ecx, dword [0x100f6024]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x1012b7b8]
movss xmm1, dword [0x1012b7bc]
movss xmm2, dword [0x1012b7c0]
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.1001e310
movss xmm1, dword [0x1012b7cc]
mulss xmm1, dword [0x100eada8]
mulss xmm0, xmm0
mulss xmm1, dword [0x1012b7cc]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x10125ba4]
movaps xmm5, xmm0
mov eax, dword [0x100f6024]
add ecx, 0xffffffb4
mulss xmm5, dword [0x1012b7c4]
xor ecx, 0x1d780e1c
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100d7c79
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x100eab64]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100eab64]
comiss xmm1, xmm0
jbe 0x100d7c76
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x100ead88]
lea edx, [ebp - 0x6c]
movss xmm2, dword [0x100ead80]
andps xmm3, xmm5
movaps xmm0, xmm5
movss xmm4, dword [0x100eabb8]
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 [0x1012b7b4]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [0x1012594c]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x18]
push eax
movss dword [ebp - 0x18], xmm0
call fcn.100d9630
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.10039020
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d7d44
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7d3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7d3a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
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.100b5760
add esp, 4
lea ecx, [ebp - 0x48]
push eax
call fcn.10039020
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d7d9f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7d95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7d95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
add esp, 8
lea edx, [ebp - 0x94]
mov ecx, 0x1012b7b8
call fcn.100ccd40
cmp dword [0x1012b7e4], 0x10
mov edx, 0x1012b7d0
xorps xmm0, xmm0
mov byte [ebp - 0x6d], al
cmovae edx, dword [0x1012b7d0]
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 0x100d7de0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.10027260
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x74]
je 0x100d7f02
movss xmm1, dword [ebp - 0x18]
comiss xmm1, xmm0
jbe 0x100d7f07
movd xmm0, dword [0x100f63d4]
mulss xmm1, dword [0x100eaae0]
mov ecx, dword [0x101258f8]
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 [0x101258f8]
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.100b5760
add esp, 4
mov byte [ebp - 4], 3
movd xmm0, dword [0x100f63d4]
cvtdq2ps xmm0, xmm0
push 0
push eax
push dword [0x100f64fc]
subss xmm0, dword [ebp - 0x74]
cvttss2si ecx, xmm0
push ecx
push 0x14
mov ecx, 0x10129264
call fcn.100cd930
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x100d7f02
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7ef8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7ef8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
add esp, 8
movss xmm1, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], eax
je 0x100d7fd5
cmp byte [ebp - 0x6d], 0
je 0x100d7fd5
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100d7fd5
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 0x100d7f50
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xac]
call fcn.100d9630
add esp, 4
push 2
push eax
mov byte [ebp - 4], 4
mov ecx, 0x10129234
cvttss2si eax, dword [ebp - 0x90]
push dword [0x100f64fc]
push eax
cvttss2si eax, dword [ebp - 0x94]
push eax
call fcn.100cd930
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x100d7fd5
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7fcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7fcb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d8005
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7ffb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d805b
push ecx
push edx
call fcn.100dafa1
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x4c]
cmp esi, 0x10
jb 0x100d8038
mov ecx, dword [ebp - 0x48]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x100d802e
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d805b
push esi
push ecx
call fcn.100dafa1
add esp, 8
cmp edi, 0x10
jb 0x100d806b
mov ecx, dword [ebp - 0x60]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x100d8061
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d8061
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ecx
call fcn.100dafa1
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.100dab26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret