Function at 0x100d18c0
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 0x100ebfbe
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 - 0x11c], edx
mov esi, ecx
mov dword [ebp - 0xf8], esi
mov eax, dword [0x10131de4]
xor edi, edi
mov dword [ebp - 0x130], edi
test al, 1
jne 0x100d194a
or eax, 1
mov dword [0x10131de4], eax
mov eax, dword [0x1012bb40]
mov dword [0x10131dfc], eax
mov dword [0x10131e00], edi
mov dword [0x10131e04], edi
mov dword [0x10131e08], edi
mov dword [0x10131e0c], edi
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x104], 4
lea eax, [ebp - 0x74]
movss dword [ebp - 0x100], xmm0
push 0
push eax
movss dword [ebp - 0x118], xmm0
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x78], edi
xorps xmm0, xmm0
lea eax, [ebp - 0xcc]
movups xmmword [ebp - 0x98], xmm0
push 0x30
push 0
push eax
movups xmmword [ebp - 0x88], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [0x1012bb2c]
add esp, 0xc
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd0], edi
movups xmmword [ebp - 0xe0], xmm0
cmp byte [ecx + eax], 0
je 0x100d1a0e
mov eax, dword [0x100fc400]
mov ecx, dword [0x100fc408]
movss xmm5, dword [0x100fc0b0]
movss xmm6, dword [0x100fc0b4]
movss xmm7, dword [0x100fc0b8]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x108], ecx
jmp 0x100d1a6f
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 - 0x120], eax
test eax, eax
je 0x100d24bd
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov ecx, eax
mov dword [ebp - 0x108], ecx
test ecx, ecx
je 0x100d24bd
mov esi, dword [ebp - 0xf8]
movss xmm5, dword [esi + 0x20]
movss xmm6, dword [esi + 0x24]
movss xmm7, dword [esi + 0x28]
movss xmm1, dword [0x100f12a8]
movss dword [ebp - 0x10c], xmm7
movss dword [ebp - 0x110], xmm6
movss dword [ebp - 0x114], xmm5
movd xmm0, dword [ecx + 0xec]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [esi + 8]
movss dword [ebp - 0xf4], xmm0
subss xmm2, xmm5
movss xmm0, dword [ecx + 0xf8]
divss xmm1, xmm0
movss xmm3, dword [esi + 0xc]
maxss xmm1, dword [ebp - 0x100]
movss xmm4, dword [esi + 0x10]
subss xmm3, xmm6
movss dword [ebp - 0x12c], xmm0
subss xmm4, xmm7
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [ebp - 0x134], xmm1
movaps xmm1, xmm3
mulss xmm1, 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 [0x10131e00], eax
mov eax, dword [0x100fc0a4]
divss xmm1, xmm0
mov dword [0x10131e0c], eax
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, dword [ebp - 0x100]
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 0x100d24bd
nop dword [eax + eax]
movss xmm0, dword [ecx + 0x104]
subss xmm0, dword [ebp - 0x118]
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 - 0x124], xmm0
addss xmm4, xmm7
movss dword [ebp - 0x128], xmm2
subss xmm2, xmm5
movaps xmm0, xmm3
movss dword [ebp - 0x38], xmm3
subss xmm0, xmm6
movaps xmm1, xmm4
movss dword [ebp - 0x34], 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 - 0x100]
lahf
test ah, 0x44
jp 0x100d1c05
mov byte [ebp - 0x19b], 0
mov ecx, dword [0x1012b970]
lea edx, [ebp - 0x98]
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 0x10131dfc
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 - 0x128]
test eax, eax
je 0x100d1d10
movss dword [ebp - 0x164], xmm0
lea edx, [ebp - 0x164]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
push ecx
push eax
lea eax, [ebp - 0x98]
addss xmm0, dword [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x114]
movss dword [ebp - 0x160], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x15c], xmm0
call fcn.100d07f0
add esp, 0x10
jmp 0x100d1f10
movss dword [ebp - 0x170], xmm0
lea eax, [ebp - 0x98]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x24], 0xc2700000
mov dword [ebp - 0x40], 0x10131dfc
addss xmm0, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x114]
movss dword [ebp - 0x16c], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [0x10131990]
movss dword [ebp - 0x168], xmm0
test al, 1
jne 0x100d1eea
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 - 0x144], 0xe1a1f0e
mov dword [ebp - 0x140], 0x1b0e6f16
mov dword [ebp - 0x13c], 0x191d0e18
mov byte [ebp - 0x138], 0x2e
movups xmmword [ebp - 0x154], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x154], 0x2e
inc eax
cmp eax, 0x1d
jb 0x100d1dd0
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x174], 0
movups xmmword [ebp - 0x188], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1e05
sub ecx, edx
lea eax, [ebp - 0x154]
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.10032850
mov byte [ebp - 4], 1
mov eax, dword [0x1012b90c]
test eax, eax
je 0x100d1e33
mov esi, dword [eax + 0x50]
jmp 0x100d1e35
xor esi, esi
mov eax, dword [0x1012b904]
test eax, eax
je 0x100d1e46
mov edx, dword [eax + 0x18]
or edi, 4
jmp 0x100d1e4b
or edi, 8
xor edx, edx
mov eax, edi
mov ecx, edi
and ecx, 0xfffffff7
test al, 8
lea eax, [ebp - 0x188]
cmove ecx, edi
mov edi, ecx
and edi, 0xfffffffb
test cl, 4
push eax
cmove edi, ecx
lea ecx, [ebp - 0x158]
push edx
mov edx, esi
mov dword [ebp - 0x130], edi
call fcn.10029b40
mov eax, dword [ebp - 0x158]
add esp, 8
test eax, eax
je 0x100d1e9a
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100d1e95
xor eax, eax
jmp 0x100d1e9a
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x174]
mov dword [0x10131994], eax
cmp ecx, 0xf
jbe 0x100d1edd
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1ed3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d244d
push ecx
push edx
call fcn.100e2296
add esp, 8
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10131994], 0
je 0x100d1f10
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
push dword [ebp - 0x24]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x4600400b
call dword [0x10131994]
add esp, 0x10
movss xmm1, dword [ebp - 0x6c]
mulss xmm1, dword [ebp - 0x124]
mov edi, dword [ebp - 0x108]
addss xmm1, dword [ebp - 0x118]
movss xmm0, dword [edi + 0x108]
movss dword [ebp - 0x34], xmm1
mulss xmm1, dword [0x100f112c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [ebp - 0xf4]
mov ecx, dword [esi + 4]
movaps xmm1, xmm0
movss dword [ebp - 0xf4], xmm1
test ecx, ecx
je 0x100d1ff2
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100d215c
cmp eax, ecx
jne 0x100d215c
mov esi, dword [ebp - 0x54]
cmp esi, 1
jl 0x100d1f83
cmp esi, 7
jle 0x100d1f8c
cmp esi, 0xa
jne 0x100d2156
mov eax, dword [0x1012bc8c]
mov edx, dword [ebp - 0x120]
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 - 0x11c]
cmp dword [ebp - 0x104], 4
mov ecx, dword [ebp - 0xf8]
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 0x100d2453
comiss xmm0, dword [ecx + 0x14]
setae al
jmp 0x100d24bf
mov edi, dword [ebp - 0x104]
cmp edi, 4
mov ecx, dword [ebp - 0x11c]
setne al
mov byte [ecx + 0xc], al
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x100d2036
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100d2036
mov esi, dword [ebp - 0x54]
cmp esi, 1
jl 0x100d202d
cmp esi, 7
jle 0x100d245c
cmp esi, 0xa
je 0x100d245c
mov eax, dword [ebp - 0x108]
mov edx, dword [0x100fc0a4]
movss xmm4, dword [ebp - 0xf4]
mulss xmm4, dword [0x100f12ac]
movss xmm1, dword [eax + 0xf0]
mov eax, dword [0x1012bc08]
movss xmm5, dword [0x100f11cc]
add eax, 0xffffffb9
xor eax, 0x418206ea
mov cl, byte [eax + edx]
mov eax, dword [0x1012bc1c]
add eax, 0xffffffb4
xor eax, 0x418206ef
mov esi, dword [eax + edx]
test cl, cl
je 0x100d208a
mulss xmm4, xmm5
mov eax, dword [0x1012bc00]
movd xmm3, esi
add eax, 0xffffffbb
cvtdq2ps xmm3, xmm3
xor eax, 0x418206e8
mov al, byte [eax + edx]
comiss xmm3, dword [ebp - 0x100]
jbe 0x100d2101
test al, al
jne 0x100d20b2
test cl, cl
je 0x100d2101
test cl, cl
je 0x100d20d0
movss xmm0, dword [0x100f1190]
movss xmm2, dword [0x100f1284]
movss xmm5, dword [0x100f1170]
jmp 0x100d20db
movss xmm2, dword [0x100f126c]
movaps xmm0, xmm5
mulss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm1, xmm4
subss xmm0, xmm1
mulss xmm0, xmm5
comiss xmm0, xmm3
jbe 0x100d20fe
mulss xmm2, xmm3
movaps xmm1, xmm4
subss xmm1, xmm2
movaps xmm4, xmm1
movss xmm3, dword [0x100f13e0]
movaps xmm0, xmm4
movss xmm1, dword [0x100f13d8]
andps xmm3, xmm4
xorps xmm0, xmm3
mov eax, dword [ebp - 0x11c]
cmpltss xmm0, xmm1
movaps xmm2, xmm4
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x100f1220]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
movss dword [eax + 4], xmm2
mov esi, dword [ebp - 0xf8]
movss xmm2, dword [esi + 8]
movss xmm0, dword [esi + 0xc]
subss xmm0, dword [ebp - 0x110]
subss xmm2, dword [ebp - 0x114]
movss xmm1, dword [esi + 0x10]
subss xmm1, dword [ebp - 0x10c]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.100298f0
movss xmm1, dword [ebp - 0x34]
comiss xmm1, xmm0
ja 0x100d24b9
cmp byte [esi + 0x1c], 0
je 0x100d24bd
mov ecx, dword [0x1012b994]
movsx edx, word [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x34]
mov edi, eax
comiss xmm0, dword [0x100f13c8]
movss xmm1, dword [ebp - 0x12c]
movss xmm0, dword [ebp - 0x100]
jbe 0x100d21f3
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100d24bd
movss xmm2, dword [0x100f116c]
comiss xmm2, dword [edi + 0x58]
ja 0x100d24bd
mov al, byte [ebp - 0x56]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x104]
movzx esi, word [edi + 0x60]
shr al, 7
shr ecx, 3
and al, 1
and ecx, 0xffffff01
mov byte [ebp - 0xf9], al
mov dword [ebp - 0x124], ecx
test edx, edx
jne 0x100d2249
test al, al
jne 0x100d2249
test cl, cl
jne 0x100d2249
cmp esi, 0x47
je 0x100d2249
cmp esi, 0x59
jne 0x100d24bd
comiss xmm0, xmm1
jae 0x100d24bd
test edx, edx
jle 0x100d24bd
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x8c]
call fcn.100cff30
add esp, 0xc
test al, al
jne 0x100d22a3
mov ecx, dword [0x1012b970]
lea edx, [ebp - 0x30]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x100d24bd
mov ecx, dword [0x1012b994]
movsx edx, word [ebp - 0xb0]
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 0x100d2308
cmp esi, 0x59
je 0x100d2308
cmp byte [ebp - 0xf9], 0
jne 0x100d22ee
cmp byte [ebp - 0x124], 0
jne 0x100d22ee
movss xmm3, dword [eax + 0x58]
addss xmm3, dword [edi + 0x58]
mulss xmm3, dword [0x100f11cc]
jmp 0x100d22f6
movss xmm3, dword [0x100f1220]
movss xmm4, dword [0x100f1178]
movss xmm0, dword [0x100f1280]
jmp 0x100d231b
movss xmm0, dword [0x100f1280]
movss xmm4, dword [0x100f1154]
movaps xmm3, xmm0
cmp esi, ecx
jne 0x100d233b
cmp ecx, 0x55
je 0x100d2338
cmp ecx, 0x57
je 0x100d2338
cmp edx, 0x4c
jne 0x100d233b
movss xmm3, dword [0x100f126c]
jmp 0x100d233b
movaps xmm3, xmm0
movss xmm5, dword [ebp - 0xe4]
movss xmm6, dword [ebp - 0xe0]
movaps xmm2, xmm5
subss xmm2, dword [ebp - 0x8c]
movss xmm7, dword [ebp - 0xdc]
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0x88]
movaps xmm1, xmm7
subss xmm1, dword [ebp - 0x84]
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 - 0xf4]
maxss xmm2, dword [ebp - 0x100]
movss dword [ebp - 0x118], xmm0
mulss xmm0, xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x100f1150]
mulss xmm1, dword [0x100f1280]
mulss xmm0, xmm2
mulss xmm1, dword [ebp - 0x134]
addss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xf4]
maxss xmm1, dword [ebp - 0x100]
subss xmm0, xmm1
movss xmm1, dword [0x100f1220]
comiss xmm1, xmm0
movss dword [ebp - 0xf4], xmm0
ja 0x100d24bd
dec dword [ebp - 0x104]
movss xmm4, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x20]
mov edi, dword [ebp - 0x130]
mov esi, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x108]
movss dword [ebp - 0x114], xmm5
movss dword [ebp - 0x110], xmm6
movss dword [ebp - 0x10c], xmm7
jmp 0x100d1b60
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 0x100d24bf
mov eax, dword [0x1012bc8c]
mov ecx, 4
mov edx, dword [ebp - 0x120]
add eax, 0xffffff98
movss xmm1, dword [ebp - 0xf4]
xor eax, 0x4182070b
cmp dword [eax + edx], 0x1f
mov eax, dword [ebp - 0x108]
cmove esi, ecx
mov ecx, dword [ebp - 0x4c]
mov edx, esi
movss xmm2, dword [eax + 0xf0]
call fcn.100cfdc0
mov eax, dword [ebp - 0x11c]
cmp edi, 4
mov dword [eax], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [eax + 8], esi
movss dword [eax + 4], xmm0
jmp 0x100d1fe0
mov al, 1
jmp 0x100d24bf
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