Function at 0x100d0c00
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebf6e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x100fc040]
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 - 0x128], edx
mov esi, ecx
mov dword [ebp - 0x114], esi
mov eax, dword [0x10131e10]
xor edi, edi
mov dword [ebp - 0x11c], edi
test al, 1
jne 0x100d0c8a
or eax, 1
mov dword [0x10131e10], eax
mov eax, dword [0x1012bb40]
mov dword [0x10131de8], eax
mov dword [0x10131dec], edi
mov dword [0x10131df0], edi
mov dword [0x10131df4], edi
mov dword [0x10131df8], edi
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x120], 4
lea eax, [ebp - 0x8c]
movss dword [ebp - 0x110], xmm0
push 0
push eax
movss dword [ebp - 0x13c], xmm0
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x90], edi
xorps xmm0, xmm0
lea eax, [ebp - 0xe4]
movups xmmword [ebp - 0xb0], xmm0
push 0x30
push 0
push eax
movups xmmword [ebp - 0xa0], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [0x1012bb2c]
add esp, 0xc
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xe8], edi
movups xmmword [ebp - 0xf8], xmm0
cmp byte [ecx + eax], 0
je 0x100d0d6f
movss xmm5, dword [0x100fc0b0]
movss xmm6, dword [0x100fc0b4]
movss xmm7, dword [0x100fc0b8]
mov eax, dword [0x100fc400]
mov ecx, dword [0x100fc408]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x124], ecx
movss dword [ebp - 0x138], xmm5
movss dword [ebp - 0x134], xmm6
movss dword [ebp - 0x130], xmm7
jmp 0x100d0fa4
mov eax, dword [0x1012bc74]
add eax, 0xffffff9e
xor eax, 0x41820705
mov eax, dword [eax + ecx]
mov ecx, dword [0x1012b958]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x140], eax
test eax, eax
je 0x100d1898
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov dword [ebp - 0x124], eax
test eax, eax
je 0x100d1898
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], 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 0x100d0f5e
mov eax, dword [0x1012bb30]
mov edi, dword [esi + eax]
test edi, edi
je 0x100d0f58
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x100d0f58
cmp byte [edi + 0x109], 0
jne 0x100d0e5f
mov eax, dword [0x1012bbec]
add eax, 0xffffffc0
xor eax, 0x418206e2
movss xmm0, dword [eax + ecx]
ucomiss xmm0, dword [ebp - 0x110]
lahf
test ah, 0x44
jp 0x100d0e5f
mov eax, dword [0x1012bc78]
add eax, 0xffffff9d
xor eax, 0x41820706
mov eax, dword [eax + ecx]
mov ecx, dword [0x1012b958]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100d0f58
mov esi, dword [edi + 0x60]
mov ecx, esi
mov eax, dword [0x1012bb50]
push str.head_0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, esi
call dword [0x1012bb54]
movss xmm2, dword [ebp - 0x24]
addss xmm2, dword [0x100f1248]
movss xmm3, dword [ebp - 0x150]
comiss xmm3, xmm2
movss dword [ebp - 0x24], xmm2
jbe 0x100d0f58
movss xmm4, dword [ebp - 0x110]
movaps xmm0, xmm3
subss xmm0, xmm2
subss xmm0, dword [0x100f12ac]
mulss xmm0, dword [0x100f117c]
comiss xmm0, xmm4
jb 0x100d0f26
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 xmm3, dword [ebp - 0x150]
add esp, 8
movss xmm2, dword [ebp - 0x24]
fstp dword [ebp - 0x144]
movss xmm4, dword [ebp - 0x144]
movaps xmm0, xmm4
subss xmm2, xmm3
mulss xmm0, xmm4
movaps xmm1, xmm0
addss xmm0, xmm0
mulss xmm1, dword [0x100f1280]
mulss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x150], xmm1
mov edi, dword [ebp - 0x11c]
movq xmm0, qword [ebp - 0x158]
mov eax, dword [ebp - 0x150]
mov esi, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x124]
movq qword [ebp - 0x138], xmm0
movss xmm6, dword [ebp - 0x134]
movss xmm5, dword [ebp - 0x138]
mov dword [ebp - 0x130], eax
movss xmm7, dword [ebp - 0x130]
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x100d1898
test ecx, ecx
je 0x100d1898
mov eax, dword [ebp - 0x128]
movss xmm1, dword [0x100f12a8]
mov dword [eax + 4], 0xbf800000
movd xmm0, dword [ecx + 0xec]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [esi + 8]
movss dword [ebp - 0x10c], xmm0
subss xmm2, xmm5
movss xmm0, dword [ecx + 0xf8]
divss xmm1, xmm0
movss xmm3, dword [esi + 0xc]
maxss xmm1, dword [ebp - 0x110]
movss xmm4, dword [esi + 0x10]
subss xmm3, xmm6
movss dword [ebp - 0x144], xmm0
subss xmm4, xmm7
movss dword [ebp - 0x148], xmm1
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, xmm1
call fcn.100298f0
addss xmm0, dword [0x100f111c]
movss xmm1, dword [0x100f1220]
mov eax, dword [esi]
mov dword [0x10131dec], eax
mov dword [0x10131df8], 0
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x10c]
comiss xmm0, dword [ebp - 0x110]
mulss xmm2, xmm1
mulss xmm3, xmm1
mulss xmm4, xmm1
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm3
movss dword [ebp - 0x18], xmm4
jbe 0x100d1898
nop dword [eax]
nop word [eax + eax]
movss xmm0, dword [ecx + 0x104]
subss xmm0, dword [ebp - 0x13c]
mov dword [ebp - 0x1c4], 0
mov byte [ebp - 0x19b], 1
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
addss xmm2, xmm5
addss xmm3, xmm6
movss dword [ebp - 0x12c], xmm0
addss xmm4, xmm7
movss dword [ebp - 0x14c], xmm2
subss xmm2, xmm5
movaps xmm0, xmm3
movss dword [ebp - 0x4c], xmm3
subss xmm0, xmm6
movaps xmm1, xmm4
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x1d0], xmm2
subss xmm1, xmm7
mulss xmm2, xmm2
movss dword [ebp - 0x1cc], xmm0
mulss xmm0, xmm0
movss dword [ebp - 0x1c8], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
ucomiss xmm2, dword [ebp - 0x110]
lahf
test ah, 0x44
jp 0x100d1145
mov byte [ebp - 0x19b], 0
mov ecx, dword [0x1012b970]
lea edx, [ebp - 0xb0]
push edx
mov dword [ebp - 0x1a0], 0
lea edx, [ebp - 0x1e0]
mov byte [ebp - 0x19c], 1
movss dword [ebp - 0x1e0], xmm5
movss dword [ebp - 0x1dc], xmm6
movss dword [ebp - 0x1d8], xmm7
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b0], 0
mov eax, dword [ecx]
push 0x10131de8
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [0x100f1314]
mov eax, dword [esi + 4]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x14c]
test eax, eax
je 0x100d1244
movss dword [ebp - 0x38], xmm0
lea edx, [ebp - 0x38]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
push ecx
push eax
lea eax, [ebp - 0xb0]
addss xmm0, dword [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x138]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x30], xmm0
call fcn.100d07f0
add esp, 0x10
jmp 0x100d1430
movss dword [ebp - 0x2c], xmm0
lea eax, [ebp - 0xb0]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], 0xc2700000
mov dword [ebp - 0x58], 0x10131de8
addss xmm0, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x138]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
mov eax, dword [0x10131990]
movss dword [ebp - 0x24], xmm0
test al, 1
jne 0x100d140a
or eax, 1
mov dword [0x10131990], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100f1a20]
xorps xmm0, xmmword [0x100f1880]
mov dword [ebp - 0x174], 0xe1a1f0e
mov dword [ebp - 0x170], 0x1b0e6f16
mov dword [ebp - 0x16c], 0x191d0e18
mov byte [ebp - 0x168], 0x2e
movups xmmword [ebp - 0x184], xmm0
xor byte [ebp + eax - 0x184], 0x2e
inc eax
cmp eax, 0x1d
jb 0x100d12f0
xorps xmm0, xmm0
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x150], 0
movups xmmword [ebp - 0x164], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1325
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.10032850
mov byte [ebp - 4], 1
mov eax, dword [0x1012b90c]
test eax, eax
je 0x100d1353
mov esi, dword [eax + 0x50]
jmp 0x100d1355
xor esi, esi
mov eax, dword [0x1012b904]
test eax, eax
je 0x100d1366
mov edx, dword [eax + 0x18]
or edi, 4
jmp 0x100d136b
or edi, 8
xor edx, edx
mov eax, edi
mov ecx, edi
and ecx, 0xfffffff7
test al, 8
lea eax, [ebp - 0x164]
cmove ecx, edi
mov edi, ecx
and edi, 0xfffffffb
test cl, 4
push eax
cmove edi, ecx
lea ecx, [ebp - 0x188]
push edx
mov edx, esi
mov dword [ebp - 0x11c], edi
call fcn.10029b40
mov eax, dword [ebp - 0x188]
add esp, 8
test eax, eax
je 0x100d13ba
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100d13b5
xor eax, eax
jmp 0x100d13ba
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x150]
mov dword [0x10131994], eax
cmp ecx, 0xf
jbe 0x100d13fd
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d13f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d182c
push ecx
push edx
call fcn.100e2296
add esp, 8
mov esi, dword [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10131994], 0
je 0x100d1430
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
push dword [ebp - 0x3c]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0x4600400b
call dword [0x10131994]
add esp, 0x10
movss xmm1, dword [ebp - 0x84]
ucomiss xmm1, dword [0x100f1220]
lahf
test ah, 0x44
jnp 0x100d1898
mulss xmm1, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x124]
addss xmm1, dword [ebp - 0x13c]
movss xmm0, dword [edi + 0x108]
movss dword [ebp - 0x12c], xmm1
mulss xmm1, dword [0x100f112c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [ebp - 0x10c]
mov ecx, dword [esi + 4]
movss dword [ebp - 0x10c], xmm0
test ecx, ecx
je 0x100d1529
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100d1580
cmp eax, ecx
jne 0x100d1580
mov esi, dword [ebp - 0x6c]
cmp esi, 1
jl 0x100d14b7
cmp esi, 7
jle 0x100d14c0
cmp esi, 0xa
jne 0x100d1580
mov eax, dword [0x1012bc8c]
movaps xmm1, xmm0
mov edx, dword [ebp - 0x140]
add eax, 0xffffff98
movss xmm2, dword [edi + 0xf0]
xor eax, 0x4182070b
cmp dword [eax + edx], 0x1f
mov eax, 4
cmove esi, eax
mov edx, esi
call fcn.100cfdc0
mov edx, dword [ebp - 0x128]
cmp dword [ebp - 0x120], 4
mov ecx, dword [ebp - 0x114]
setne al
mov byte [edx + 0xc], al
mov dword [edx + 8], esi
movss dword [edx + 4], xmm0
mov eax, dword [ecx + 4]
mov dword [edx], eax
jne 0x100d1832
comiss xmm0, dword [ecx + 0x14]
setae al
jmp 0x100d189a
mov edi, dword [ebp - 0x120]
cmp edi, 4
mov ecx, dword [ebp - 0x128]
setne al
mov byte [ecx + 0xc], al
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100d1575
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100d156d
mov esi, dword [ebp - 0x6c]
cmp esi, 1
jl 0x100d1564
cmp esi, 7
jle 0x100d183b
cmp esi, 0xa
je 0x100d183b
movss xmm0, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x128]
movss dword [eax + 4], xmm0
mov ecx, dword [ebp - 0x114]
cmp byte [ecx + 0x1c], 0
je 0x100d1898
mov ecx, dword [0x1012b994]
movsx edx, word [ebp - 0x70]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x12c]
mov edi, eax
comiss xmm0, dword [0x100f13c8]
movss xmm1, dword [ebp - 0x144]
movss xmm0, dword [ebp - 0x110]
jbe 0x100d15d2
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100d1898
movss xmm2, dword [0x100f116c]
comiss xmm2, dword [edi + 0x58]
ja 0x100d1898
mov al, byte [ebp - 0x6e]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x120]
movzx esi, word [edi + 0x60]
shr al, 7
shr ecx, 3
and al, 1
and ecx, 0xffffff01
mov byte [ebp - 0x115], al
mov dword [ebp - 0x12c], ecx
test edx, edx
jne 0x100d1628
test al, al
jne 0x100d1628
test cl, cl
jne 0x100d1628
cmp esi, 0x47
je 0x100d1628
cmp esi, 0x59
jne 0x100d1898
comiss xmm0, xmm1
jae 0x100d1898
test edx, edx
jle 0x100d1898
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xa4]
call fcn.100cff30
add esp, 0xc
test al, al
jne 0x100d1682
mov ecx, dword [0x1012b970]
lea edx, [ebp - 0x48]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x100d1898
mov ecx, dword [0x1012b994]
movsx edx, word [ebp - 0xc8]
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 0x100d16e7
cmp esi, 0x59
je 0x100d16e7
cmp byte [ebp - 0x115], 0
jne 0x100d16cd
cmp byte [ebp - 0x12c], 0
jne 0x100d16cd
movss xmm3, dword [eax + 0x58]
addss xmm3, dword [edi + 0x58]
mulss xmm3, dword [0x100f11cc]
jmp 0x100d16d5
movss xmm3, dword [0x100f1220]
movss xmm4, dword [0x100f1178]
movss xmm0, dword [0x100f1280]
jmp 0x100d16fa
movss xmm0, dword [0x100f1280]
movss xmm4, dword [0x100f1154]
movaps xmm3, xmm0
cmp esi, ecx
jne 0x100d171a
cmp ecx, 0x55
je 0x100d1717
cmp ecx, 0x57
je 0x100d1717
cmp edx, 0x4c
jne 0x100d171a
movss xmm3, dword [0x100f126c]
jmp 0x100d171a
movaps xmm3, xmm0
movss xmm5, dword [ebp - 0xfc]
movss xmm6, dword [ebp - 0xf8]
movaps xmm2, xmm5
subss xmm2, dword [ebp - 0xa4]
movss xmm7, dword [ebp - 0xf4]
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0xa0]
movaps xmm1, xmm7
subss xmm1, dword [ebp - 0x9c]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.100298f0
movss xmm2, dword [0x100f1220]
divss xmm2, xmm3
mulss xmm4, dword [ebp - 0x10c]
maxss xmm2, dword [ebp - 0x110]
movss dword [ebp - 0x13c], xmm0
mulss xmm0, xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x100f1150]
mulss xmm1, dword [0x100f1280]
mulss xmm0, xmm2
mulss xmm1, dword [ebp - 0x148]
addss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x10c]
maxss xmm1, dword [ebp - 0x110]
subss xmm0, xmm1
movss xmm1, dword [0x100f1220]
comiss xmm1, xmm0
movss dword [ebp - 0x10c], xmm0
ja 0x100d1898
dec dword [ebp - 0x120]
movss xmm4, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x20]
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x124]
movss dword [ebp - 0x138], xmm5
movss dword [ebp - 0x134], xmm6
movss dword [ebp - 0x130], xmm7
jmp 0x100d10a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
comiss xmm0, dword [ecx + 0x18]
setae al
jmp 0x100d189a
mov eax, dword [0x1012bc8c]
mov ecx, 4
mov edx, dword [ebp - 0x140]
add eax, 0xffffff98
movss xmm1, dword [ebp - 0x10c]
xor eax, 0x4182070b
cmp dword [eax + edx], 0x1f
mov eax, dword [ebp - 0x124]
cmove esi, ecx
mov ecx, dword [ebp - 0x64]
mov edx, esi
movss xmm2, dword [eax + 0xf0]
call fcn.100cfdc0
mov eax, dword [ebp - 0x128]
cmp edi, 4
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 8], esi
movss dword [eax + 4], xmm0
jmp 0x100d1517
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.100e1e1c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret