Function at 0x100d7760
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 0x100e63a3
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 [0x100fbfc4]
push dword [0x100fbfc0]
call fcn.100da5d0
push 1
mov dword [ebp - 0x84], eax
mov eax, dword [0x100fbfc4]
push eax
push dword [0x100fbfc0]
mov dword [ebp - 0x74], eax
call fcn.100da5d0
mov edx, dword [ebp - 0x84]
mov ecx, dword [0x100fbfc4]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
cmp edx, dword [ebp - 0x74]
jne 0x100d782e
cmp eax, ecx
je 0x100d7c9b
cmp byte [0x1012a7ac], 0
je 0x100d7c9b
mov ecx, dword [0x100f5024]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x1012a7b8]
movss xmm1, dword [0x1012a7bc]
movss xmm2, dword [0x1012a7c0]
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 [0x1012a7cc]
mulss xmm1, dword [0x100e9dd8]
mulss xmm0, xmm0
mulss xmm1, dword [0x1012a7cc]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x10124ba4]
movaps xmm5, xmm0
mov eax, dword [0x100f5024]
add ecx, 0xffffffb4
mulss xmm5, dword [0x1012a7c4]
xor ecx, 0x1d780e1c
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100d7909
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x100e9b9c]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100e9b9c]
comiss xmm1, xmm0
jbe 0x100d7906
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x100e9db8]
lea edx, [ebp - 0x6c]
movss xmm2, dword [0x100e9db0]
andps xmm3, xmm5
movaps xmm0, xmm5
movss xmm4, dword [0x100e9bf0]
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 [0x1012a7b4]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [0x1012494c]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x18]
push eax
movss dword [ebp - 0x18], xmm0
call fcn.100d92c0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.10039220
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d79d4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d79ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d79ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
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.100b5690
add esp, 4
lea ecx, [ebp - 0x48]
push eax
call fcn.10039220
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d7a2f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7a25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7a25
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
add esp, 8
lea edx, [ebp - 0x94]
mov ecx, 0x1012a7b8
call fcn.100cca70
cmp dword [0x1012a7e4], 0x10
mov edx, 0x1012a7d0
xorps xmm0, xmm0
mov byte [ebp - 0x6d], al
cmovae edx, dword [0x1012a7d0]
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 0x100d7a70
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 0x100d7b92
movss xmm1, dword [ebp - 0x18]
comiss xmm1, xmm0
jbe 0x100d7b97
movd xmm0, dword [0x100f53d4]
mulss xmm1, dword [0x100e9b18]
mov ecx, dword [0x101248f8]
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 [0x101248f8]
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.100b5690
add esp, 4
mov byte [ebp - 4], 3
movd xmm0, dword [0x100f53d4]
cvtdq2ps xmm0, xmm0
push 0
push eax
push dword [0x100f54fc]
subss xmm0, dword [ebp - 0x74]
cvttss2si ecx, xmm0
push ecx
push 0x14
mov ecx, 0x10128264
call fcn.100cd660
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x100d7b92
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7b88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7b88
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
add esp, 8
movss xmm1, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], eax
je 0x100d7c65
cmp byte [ebp - 0x6d], 0
je 0x100d7c65
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100d7c65
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 0x100d7be0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xac]
call fcn.100d92c0
add esp, 4
push 2
push eax
mov byte [ebp - 4], 4
mov ecx, 0x10128234
cvttss2si eax, dword [ebp - 0x90]
push dword [0x100f54fc]
push eax
cvttss2si eax, dword [ebp - 0x94]
push eax
call fcn.100cd660
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x100d7c65
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7c5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7c5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x100d7c95
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7c8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d7ceb
push ecx
push edx
call fcn.100dac31
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x4c]
cmp esi, 0x10
jb 0x100d7cc8
mov ecx, dword [ebp - 0x48]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x100d7cbe
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d7ceb
push esi
push ecx
call fcn.100dac31
add esp, 8
cmp edi, 0x10
jb 0x100d7cfb
mov ecx, dword [ebp - 0x60]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x100d7cf1
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7cf1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ecx
call fcn.100dac31
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.100da7b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret