Function at 0x100de3b0
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 0x10101d0e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x101180c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], edx
mov esi, ecx
mov dword [ebp - 0x108], esi
mov eax, dword [0x101c62f8]
xor edi, edi
mov dword [ebp - 0x148], edi
test al, 1
jne 0x100de434
or eax, 1
mov dword [0x101c62f8], eax
mov eax, dword [0x101c3390]
mov dword [0x101c62e8], eax
mov dword [0x101c62ec], edi
mov dword [0x101c62f0], edi
mov dword [0x101c62f4], edi
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x114], 4
lea eax, [ebp - 0x84]
movss dword [ebp - 0x110], xmm0
push 0
push eax
movss dword [ebp - 0x12c], xmm0
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x88], edi
xorps xmm0, xmm0
lea eax, [ebp - 0xdc]
movups xmmword [ebp - 0xa8], xmm0
push 0x30
push 0
push eax
movups xmmword [ebp - 0x98], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0xe0], edi
movups xmmword [ebp - 0x100], xmm0
movups xmmword [ebp - 0xf0], xmm0
cmp ecx, dword [0x10137e2c]
jne 0x100de516
movss xmm5, dword [0x10137e38]
movss xmm6, dword [0x10137e3c]
movss xmm7, dword [0x10137e40]
mov eax, dword [0x10138154]
mov ecx, dword [0x1013815c]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x11c], ecx
movss dword [ebp - 0x128], xmm5
movss dword [ebp - 0x124], xmm6
movss dword [ebp - 0x120], xmm7
jmp 0x100de733
mov eax, dword [0x101c34e8]
add eax, 0xffffffa3
xor eax, 0x5910728c
mov eax, dword [eax + ecx]
mov ecx, dword [0x101c31e8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x144], eax
test eax, eax
je 0x100defbb
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x100defbb
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], edi
mov esi, dword [ecx]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x28c]
mov ecx, esi
call edx
cmp dword [esi + 0x39e1], edi
je 0x100de6f3
mov eax, dword [0x101c3384]
mov eax, dword [esi + eax]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x100de6f3
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x100de6f3
cmp byte [eax + 0x109], 0
movss xmm1, dword [ebp - 0x110]
jne 0x100de615
mov eax, dword [0x101c3478]
add eax, 0xffffffbf
xor eax, 0x59107270
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100de615
mov eax, dword [0x101c34ec]
add eax, 0xffffffa2
xor eax, 0x5910728d
mov eax, dword [eax + ecx]
mov ecx, dword [0x101c31e8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100de6f3
movss xmm1, dword [ebp - 0x110]
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x101c34e0]
add ecx, 0xffffffa5
xor ecx, 0x5910728a
mov eax, dword [eax + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x100de6f3
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x134]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [str.333333]
comisd xmm0, xmm3
movsd qword [ebp - 0x20], xmm3
jbe 0x100de6f3
subsd xmm0, xmm3
movaps xmm4, xmm1
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x1010beb0]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1010be00]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100de6b7
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm2, dword [ebp - 0x134]
add esp, 8
movsd xmm3, qword [ebp - 0x20]
fstp dword [ebp - 0x40]
movss xmm4, dword [ebp - 0x40]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x1010be94]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x134], xmm0
movq xmm0, qword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x11c]
movq qword [ebp - 0x128], xmm0
movss xmm6, dword [ebp - 0x124]
movss xmm5, dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
movss xmm7, dword [ebp - 0x120]
movd xmm0, dword [ecx + 0xec]
movss xmm2, dword [esi + 8]
movss xmm3, dword [esi + 0xc]
subss xmm2, xmm5
movss xmm4, dword [esi + 0x10]
subss xmm3, xmm6
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
subss xmm4, xmm7
movss dword [ebp - 0x104], xmm0
movss xmm0, dword [ecx + 0xf8]
movss dword [ebp - 0x140], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.1002b1f0
addss xmm0, dword [0x1010bca4]
movss xmm1, dword [0x1010bdb0]
mov eax, dword [esi]
mov dword [0x101c62ec], eax
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x104]
comiss xmm0, dword [ebp - 0x110]
mulss xmm2, xmm1
mulss xmm3, xmm1
mulss xmm4, xmm1
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm4
jbe 0x100defbb
nop
movss xmm0, dword [ecx + 0x104]
lea eax, [ebp - 0xa8]
subss xmm0, dword [ebp - 0x12c]
push eax
push ecx
push dword [esi + 4]
lea edx, [ebp - 0x13c]
push dword [0x10137e2c]
mulss xmm2, xmm0
push ecx
mulss xmm3, xmm0
lea ecx, [ebp - 0x128]
mulss xmm4, xmm0
addss xmm2, xmm5
addss xmm3, xmm6
movss dword [ebp - 0x1c], xmm0
addss xmm4, xmm7
movss dword [ebp - 0x118], xmm2
movss dword [ebp - 0x13c], xmm2
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x138], xmm3
movss dword [ebp - 0x40], xmm4
movss dword [ebp - 0x134], xmm4
call fcn.100dd4e0
movss xmm0, dword [ebp - 0x7c]
add esp, 0x14
ucomiss xmm0, dword [0x1010bdb0]
lahf
test ah, 0x44
jnp 0x100defbb
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [0x1010bf24]
mov eax, dword [esi + 4]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x118]
test eax, eax
je 0x100de8ea
movss dword [ebp - 0x178], xmm0
lea edx, [ebp - 0x178]
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
push ecx
push eax
lea eax, [ebp - 0xa8]
addss xmm0, dword [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x128]
movss dword [ebp - 0x174], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x170], xmm0
call fcn.100ddfa0
add esp, 0x10
jmp 0x100deae2
movss dword [ebp - 0x184], xmm0
lea eax, [ebp - 0xa8]
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x184]
mov dword [ebp - 0x30], 0xc2700000
mov dword [ebp - 0x48], 0x101c62e8
addss xmm0, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x128]
movss dword [ebp - 0x180], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [0x101c6174]
movss dword [ebp - 0x17c], xmm0
test al, 1
jne 0x100deabc
or eax, 1
mov dword [0x101c6174], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x1010c6b0]
xorps xmm0, xmmword [0x1010c4f0]
mov dword [ebp - 0x158], 0x3171203
mov dword [ebp - 0x154], 0x1603621b
mov dword [ebp - 0x150], 0x14100315
mov byte [ebp - 0x14c], 0x23
movups xmmword [ebp - 0x168], xmm0
xor byte [ebp + eax - 0x168], 0x23
inc eax
cmp eax, 0x1d
jb 0x100de9a2
xorps xmm0, xmm0
mov dword [ebp - 0x18c], 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x188], 0
movups xmmword [ebp - 0x19c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100de9d7
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x19c]
call fcn.10034070
mov byte [ebp - 4], 1
mov eax, dword [0x101c319c]
test eax, eax
je 0x100dea05
mov esi, dword [eax + 0x50]
jmp 0x100dea07
xor esi, esi
mov eax, dword [0x101c3194]
test eax, eax
je 0x100dea18
mov edx, dword [eax + 0x18]
or edi, 4
jmp 0x100dea1d
or edi, 8
xor edx, edx
mov eax, edi
mov ecx, edi
and ecx, 0xfffffff7
test al, 8
lea eax, [ebp - 0x19c]
cmove ecx, edi
mov edi, ecx
and edi, 0xfffffffb
test cl, 4
push eax
cmove edi, ecx
lea ecx, [ebp - 0x16c]
push edx
mov edx, esi
mov dword [ebp - 0x148], edi
call fcn.1003e220
mov eax, dword [ebp - 0x16c]
add esp, 8
test eax, eax
je 0x100dea6c
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100dea67
xor eax, eax
jmp 0x100dea6c
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x188]
mov dword [0x101c6178], eax
cmp ecx, 0xf
jbe 0x100deaaf
mov edx, dword [ebp - 0x19c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100deaa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100deeed
push ecx
push edx
call fcn.100f842c
add esp, 8
mov esi, dword [ebp - 0x108]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x101c6178], 0
je 0x100deae2
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
push dword [ebp - 0x30]
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push 0x4600400b
call dword [0x101c6178]
add esp, 0x10
movss xmm1, dword [ebp - 0x7c]
mulss xmm1, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x11c]
addss xmm1, dword [ebp - 0x12c]
movss xmm0, dword [edi + 0x108]
movss dword [ebp - 0x1c], xmm1
mulss xmm1, dword [0x1010bcb4]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [ebp - 0x104]
mov ecx, dword [esi + 4]
movss dword [ebp - 0x104], xmm0
test ecx, ecx
je 0x100deb58
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x100debad
cmp eax, ecx
jne 0x100debad
mov esi, dword [ebp - 0x64]
cmp esi, 1
jl 0x100deb47
cmp esi, 7
jle 0x100deef3
cmp esi, 0xa
je 0x100deef3
mov esi, dword [ebp - 0x108]
jmp 0x100debad
cmp dword [ebp - 0x114], 4
mov ecx, dword [ebp - 0x130]
setne al
mov byte [ecx + 0xc], al
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x100deba2
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100deb9a
mov edi, dword [ebp - 0x64]
cmp edi, 1
jl 0x100deb91
cmp edi, 7
jle 0x100def5e
cmp edi, 0xa
je 0x100def5e
movss xmm0, dword [ebp - 0x104]
mov eax, dword [ebp - 0x130]
movss dword [eax + 4], xmm0
cmp byte [esi + 0x1c], 0
je 0x100defbb
mov ecx, dword [0x101c3228]
movsx edx, word [ebp - 0x68]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x1c]
mov edi, eax
comiss xmm0, dword [0x1010bfd0]
movss xmm1, dword [ebp - 0x140]
movss xmm0, dword [ebp - 0x110]
jbe 0x100debf6
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100defbb
movss xmm2, dword [0x1010bd0c]
comiss xmm2, dword [edi + 0x58]
ja 0x100defbb
mov al, byte [ebp - 0x66]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x114]
movzx esi, word [edi + 0x60]
shr al, 7
shr ecx, 3
and al, 1
and ecx, 0xffffff01
mov byte [ebp - 0x109], al
mov dword [ebp - 0x1c], ecx
test edx, edx
jne 0x100dec49
test al, al
jne 0x100dec49
test cl, cl
jne 0x100dec49
cmp esi, 0x47
je 0x100dec49
cmp esi, 0x59
jne 0x100defbb
comiss xmm0, xmm1
jae 0x100defbb
test edx, edx
jle 0x100defbb
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x9c]
call fcn.100dd610
add esp, 0xc
test al, al
jne 0x100deca3
mov ecx, dword [0x101c3200]
lea edx, [ebp - 0x3c]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x100defbb
mov ecx, dword [0x101c3228]
movsx edx, word [ebp - 0xc0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx edx, word [eax + 0x60]
mov ecx, edx
cmp esi, 0x47
je 0x100ded28
cmp esi, 0x59
je 0x100ded28
cmp byte [ebp - 0x109], 0
jne 0x100ded03
cmp byte [ebp - 0x1c], 0
jne 0x100ded03
movss xmm2, dword [eax + 0x58]
addss xmm2, dword [edi + 0x58]
movss xmm0, dword [0x1010bd14]
movss dword [ebp - 0x118], xmm0
movss xmm0, dword [0x1010be94]
mulss xmm2, dword [0x1010bd60]
jmp 0x100ded43
movss xmm0, dword [0x1010bd14]
movss xmm4, dword [0x1010bdb0]
movss dword [ebp - 0x118], xmm0
movaps xmm2, xmm4
movss xmm0, dword [0x1010be94]
jmp 0x100ded4b
movss xmm0, dword [0x1010be94]
movss xmm1, dword [0x1010bcf8]
movaps xmm2, xmm0
movss dword [ebp - 0x118], xmm1
movss xmm4, dword [0x1010bdb0]
cmp esi, ecx
jne 0x100ded6b
cmp ecx, 0x55
je 0x100ded68
cmp ecx, 0x57
je 0x100ded68
cmp edx, 0x4c
jne 0x100ded6b
movss xmm2, dword [0x1010be38]
jmp 0x100ded6b
movaps xmm2, xmm0
movss xmm1, dword [ebp - 0xf4]
sub esp, 8
movss xmm3, dword [ebp - 0xf0]
subss xmm3, dword [ebp - 0x98]
subss xmm1, dword [ebp - 0x9c]
movss xmm0, dword [ebp - 0xec]
subss xmm0, dword [ebp - 0x94]
divss xmm4, xmm2
mov dword [esp + 4], 0
mulss xmm3, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm3, xmm1
movss dword [esp], xmm4
addss xmm3, xmm0
movss dword [ebp - 0x12c], xmm3
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [ebp - 0x140]
movsd xmm1, qword [0x1010be50]
cvtps2pd xmm0, xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
push ecx
fstp dword [ebp - 0x48]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [ebp - 0x48]
add esp, 4
movss xmm2, dword [ebp - 0x118]
mulss xmm2, dword [ebp - 0x104]
fstp dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x1c]
mulss xmm1, dword [0x1010be94]
mulss xmm1, xmm0
mulss xmm0, dword [ebp - 0x12c]
addss xmm1, xmm2
mulss xmm0, dword [0x1010bcf4]
addss xmm1, xmm0
movss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm1, dword [ebp - 0x104]
add esp, 8
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
maxss xmm0, dword [ebp - 0x110]
subss xmm1, xmm0
movss xmm0, dword [0x1010bdb0]
comiss xmm0, xmm1
movss dword [ebp - 0x104], xmm1
ja 0x100defbb
movss xmm5, dword [ebp - 0xf4]
movss xmm6, dword [ebp - 0xf0]
movss xmm7, dword [ebp - 0xec]
dec dword [ebp - 0x114]
movss xmm4, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x148]
mov esi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x11c]
movss dword [ebp - 0x128], xmm5
movss dword [ebp - 0x124], xmm6
movss dword [ebp - 0x120], xmm7
jmp 0x100de7e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [0x101c3500]
movaps xmm1, xmm0
mov edx, dword [ebp - 0x144]
add eax, 0xffffff9d
movss xmm2, dword [edi + 0xf0]
xor eax, 0x59107292
cmp dword [eax + edx], 0x1f
mov eax, 0
cmove esi, eax
mov edx, esi
call fcn.100defe0
mov edi, dword [ebp - 0x130]
cmp dword [ebp - 0x114], 4
mov ecx, dword [ebp - 0x108]
setne al
mov byte [edi + 0xc], al
mov dword [edi + 8], esi
movss dword [edi + 4], xmm0
mov eax, dword [ecx + 4]
mov dword [edi], eax
jne 0x100def55
comiss xmm0, dword [ecx + 0x14]
setae al
jmp 0x100defbd
comiss xmm0, dword [ecx + 0x18]
setae al
jmp 0x100defbd
mov eax, dword [0x101c3500]
xor ecx, ecx
mov edx, dword [ebp - 0x144]
add eax, 0xffffff9d
mov esi, dword [ebp - 0x5c]
xor eax, 0x59107292
movss xmm1, dword [ebp - 0x104]
cmp dword [eax + edx], 0x1f
mov eax, dword [ebp - 0x11c]
cmove edi, ecx
mov ecx, esi
mov edx, edi
movss xmm2, dword [eax + 0xf0]
call fcn.100defe0
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x108]
cmp dword [ebp - 0x114], 4
mov dword [eax + 8], edi
movss dword [eax + 4], xmm0
mov dword [eax], esi
jmp 0x100def4a
xor al, al
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.100f7fb0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret