Function at 0x100ab170
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 0x100c10de
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x100d0040]
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 - 0x120], edx
mov esi, ecx
mov dword [ebp - 0x104], esi
mov eax, dword [0x100f87b8]
xor edi, edi
mov dword [ebp - 0x134], edi
test al, 1
jne 0x100ab1fa
or eax, 1
mov dword [0x100f87b8], eax
mov eax, dword [0x100f35a8]
mov dword [0x100f87a4], eax
mov dword [0x100f87a8], edi
mov dword [0x100f87ac], edi
mov dword [0x100f87b0], edi
mov dword [0x100f87b4], edi
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x100], 4
lea eax, [ebp - 0x74]
movss dword [ebp - 0xf4], xmm0
push 0
push eax
movss dword [ebp - 0x11c], xmm0
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], 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 [0x100f3594]
add esp, 0xc
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd0], edi
movups xmmword [ebp - 0xe0], xmm0
cmp byte [ecx + eax], 0
je 0x100ab2d9
movss xmm5, dword [0x100d00b4]
movss xmm6, dword [0x100d00b8]
movss xmm7, dword [0x100d00bc]
mov eax, dword [0x100d0128]
mov ecx, dword [0x100d0130]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x108], ecx
movss dword [ebp - 0x118], xmm5
movss dword [ebp - 0x114], xmm6
movss dword [ebp - 0x110], xmm7
jmp 0x100ab50f
mov eax, dword [0x100f36b4]
add eax, 0xffffffa4
xor eax, 0x8563de5
mov eax, dword [eax + ecx]
mov ecx, dword [0x100f340c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100abde5
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov dword [ebp - 0x108], eax
test eax, eax
je 0x100abde5
mov edi, dword [ebp - 0x104]
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov edi, dword [edi]
push eax
mov ecx, dword [edi]
mov edx, dword [ecx + 0x28c]
mov ecx, edi
call edx
cmp dword [edi + 0x39e1], 0
je 0x100ab4c9
mov eax, dword [0x100f3598]
mov edi, dword [edi + eax]
test edi, edi
je 0x100ab4c9
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x100ab4c9
cmp byte [edi + 0x109], 0
movss xmm1, dword [ebp - 0xf4]
jne 0x100ab3e2
mov eax, dword [0x100f3644]
add eax, 0xffffffc0
xor eax, 0x8563dc9
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100ab3e2
mov eax, dword [0x100f36b8]
add eax, 0xffffffa3
xor eax, 0x8563de6
mov eax, dword [eax + ecx]
mov ecx, dword [0x100f340c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100ab4c9
movss xmm1, dword [ebp - 0xf4]
mov ecx, dword [0x100f36ac]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa6
xor ecx, 0x8563de3
mov eax, dword [ecx + eax]
test eax, eax
je 0x100ab4c9
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x128]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [str.333333]
comisd xmm0, xmm3
movsd qword [ebp - 0x148], xmm3
jbe 0x100ab4c9
subsd xmm0, xmm3
movaps xmm4, xmm1
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100c5bbc]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100c5b88]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100ab48d
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 - 0x128]
add esp, 8
movsd xmm3, qword [ebp - 0x148]
fstp dword [ebp - 0x124]
movss xmm4, dword [ebp - 0x124]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100c5ba8]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x128], xmm0
movq xmm0, qword [ebp - 0x130]
mov eax, dword [ebp - 0x128]
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
movq qword [ebp - 0x118], xmm0
movss xmm6, dword [ebp - 0x114]
movss xmm5, dword [ebp - 0x118]
mov dword [ebp - 0x110], eax
movss xmm7, dword [ebp - 0x110]
movd xmm0, dword [ecx + 0xec]
movss xmm1, dword [0x100c5bb8]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [esi + 8]
movss dword [ebp - 0xf8], xmm0
subss xmm2, xmm5
movss xmm0, dword [ecx + 0xf8]
divss xmm1, xmm0
movss xmm3, dword [esi + 0xc]
maxss xmm1, dword [ebp - 0xf4]
movss xmm4, dword [esi + 0x10]
subss xmm3, xmm6
movss dword [ebp - 0x124], xmm0
subss xmm4, xmm7
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [ebp - 0x144], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm0, xmm1
call fcn.10020470
addss xmm0, dword [0x100c5aa8]
movss xmm1, dword [0x100c5b6c]
mov eax, dword [esi]
mov dword [0x100f87a8], eax
mov dword [0x100f87b4], 0
divss xmm1, xmm0
movss xmm0, dword [ebp - 0xf8]
comiss xmm0, dword [ebp - 0xf4]
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 0x100abde5
movss xmm0, dword [ecx + 0x104]
subss xmm0, dword [ebp - 0x11c]
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 - 0x10c], xmm0
addss xmm4, xmm7
movss dword [ebp - 0x13c], xmm2
subss xmm2, xmm5
movaps xmm0, xmm3
movss dword [ebp - 0x34], xmm3
subss xmm0, xmm6
movaps xmm1, xmm4
movss dword [ebp - 0x38], 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 - 0xf4]
lahf
test ah, 0x44
jp 0x100ab685
mov byte [ebp - 0x19b], 0
mov ecx, dword [0x100f3424]
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 0x100f87a4
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [0x100c5c04]
mov eax, dword [esi + 4]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x13c]
test eax, eax
je 0x100ab790
movss dword [ebp - 0x130], xmm0
lea edx, [ebp - 0x130]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
push ecx
push eax
lea eax, [ebp - 0x98]
addss xmm0, dword [ebp - 0x34]
push eax
push ecx
lea ecx, [ebp - 0x118]
movss dword [ebp - 0x12c], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x128], xmm0
call fcn.100aad60
add esp, 0x10
jmp 0x100ab990
movss dword [ebp - 0x178], xmm0
lea eax, [ebp - 0x98]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x24], 0xc2700000
mov dword [ebp - 0x40], 0x100f87a4
addss xmm0, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x118]
movss dword [ebp - 0x174], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [0x100f86e4]
movss dword [ebp - 0x170], xmm0
test al, 1
jne 0x100ab96a
or eax, 1
mov dword [0x100f86e4], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c6a30]
xorps xmm0, xmmword [0x100c6690]
mov dword [ebp - 0x158], 0xd9cdc8d9
mov dword [ebp - 0x154], 0xccd9b8c1
mov dword [ebp - 0x150], 0xcecad9cf
mov byte [ebp - 0x14c], 0xf9
movups xmmword [ebp - 0x168], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x168], 0xf9
inc eax
cmp eax, 0x1d
jb 0x100ab850
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ab885
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.10026800
mov byte [ebp - 4], 1
mov eax, dword [0x100f33cc]
test eax, eax
je 0x100ab8b3
mov esi, dword [eax + 0x50]
jmp 0x100ab8b5
xor esi, esi
mov eax, dword [0x100f33c4]
test eax, eax
je 0x100ab8c6
mov edx, dword [eax + 0x18]
or edi, 4
jmp 0x100ab8cb
or edi, 8
xor edx, edx
mov eax, edi
mov ecx, edi
and ecx, 0xfffffff7
test al, 8
lea eax, [ebp - 0x190]
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 - 0x134], edi
call fcn.100206c0
mov eax, dword [ebp - 0x16c]
add esp, 8
test eax, eax
je 0x100ab91a
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100ab915
xor eax, eax
jmp 0x100ab91a
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x17c]
mov dword [0x100f86e8], eax
cmp ecx, 0xf
jbe 0x100ab95d
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ab953
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100abd81
push ecx
push edx
call fcn.100b8a97
add esp, 8
mov esi, dword [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x100f86e8], 0
je 0x100ab990
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
push dword [ebp - 0x24]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x4600400b
call dword [0x100f86e8]
add esp, 0x10
movss xmm1, dword [ebp - 0x6c]
ucomiss xmm1, dword [0x100c5b6c]
lahf
test ah, 0x44
jnp 0x100abde5
mulss xmm1, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x108]
addss xmm1, dword [ebp - 0x11c]
movss xmm0, dword [edi + 0x108]
movss dword [ebp - 0x10c], xmm1
mulss xmm1, dword [0x100c5ab0]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [ebp - 0xf8]
mov ecx, dword [esi + 4]
movss dword [ebp - 0xf8], xmm0
test ecx, ecx
je 0x100aba84
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100abadb
cmp eax, ecx
jne 0x100abadb
mov edx, dword [ebp - 0x54]
cmp edx, 1
jl 0x100aba14
cmp edx, 7
jle 0x100aba1d
cmp edx, 0xa
jne 0x100abadb
mov eax, dword [0x100f36cc]
movaps xmm1, xmm0
mov esi, dword [ebp - 0x138]
add eax, 0xffffff9e
movss xmm2, dword [edi + 0xf0]
xor eax, 0x8563deb
cmp dword [eax + esi], 0x1f
mov eax, 0
cmove edx, eax
call fcn.100aa270
mov ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x100], 4
mov esi, dword [ebp - 0x104]
setne al
mov byte [ecx + 0xc], al
mov dword [ecx + 8], edx
movss dword [ecx + 4], xmm0
mov eax, dword [esi + 4]
mov dword [ecx], eax
jne 0x100abd87
comiss xmm0, dword [esi + 0x14]
setae al
jmp 0x100abde7
mov edi, dword [ebp - 0x100]
cmp edi, 4
mov ecx, dword [ebp - 0x120]
setne al
mov byte [ecx + 0xc], al
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x100abad0
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100abac8
mov edx, dword [ebp - 0x54]
cmp edx, 1
jl 0x100ababf
cmp edx, 7
jle 0x100abd90
cmp edx, 0xa
je 0x100abd90
movss xmm0, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x120]
movss dword [eax + 4], xmm0
cmp byte [esi + 0x1c], 0
je 0x100abde5
mov ecx, dword [0x100f3448]
movsx edx, word [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x10c]
mov edi, eax
comiss xmm0, dword [0x100c5ca4]
movss xmm1, dword [ebp - 0x124]
movss xmm0, dword [ebp - 0xf4]
jbe 0x100abb27
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100abde5
movss xmm2, dword [0x100c5ae4]
comiss xmm2, dword [edi + 0x58]
ja 0x100abde5
mov al, byte [ebp - 0x56]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x100]
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 - 0x10c], ecx
test edx, edx
jne 0x100abb7d
test al, al
jne 0x100abb7d
test cl, cl
jne 0x100abb7d
cmp esi, 0x47
je 0x100abb7d
cmp esi, 0x59
jne 0x100abde5
comiss xmm0, xmm1
jae 0x100abde5
test edx, edx
jle 0x100abde5
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.100aa3d0
add esp, 0xc
test al, al
jne 0x100abbd7
mov ecx, dword [0x100f3424]
lea edx, [ebp - 0x30]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x100abde5
mov ecx, dword [0x100f3448]
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 0x100abc3c
cmp esi, 0x59
je 0x100abc3c
cmp byte [ebp - 0xf9], 0
jne 0x100abc22
cmp byte [ebp - 0x10c], 0
jne 0x100abc22
movss xmm3, dword [eax + 0x58]
addss xmm3, dword [edi + 0x58]
mulss xmm3, dword [0x100c5b3c]
jmp 0x100abc2a
movss xmm3, dword [0x100c5b6c]
movss xmm4, dword [0x100c5af0]
movss xmm0, dword [0x100c5ba8]
jmp 0x100abc4f
movss xmm0, dword [0x100c5ba8]
movss xmm4, dword [0x100c5ad8]
movaps xmm3, xmm0
cmp esi, ecx
jne 0x100abc6f
cmp ecx, 0x55
je 0x100abc6c
cmp ecx, 0x57
je 0x100abc6c
cmp edx, 0x4c
jne 0x100abc6f
movss xmm3, dword [0x100c5ba4]
jmp 0x100abc6f
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.10020470
movss xmm2, dword [0x100c5b6c]
divss xmm2, xmm3
mulss xmm4, dword [ebp - 0xf8]
maxss xmm2, dword [ebp - 0xf4]
movss dword [ebp - 0x11c], xmm0
mulss xmm0, xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x100c5ad4]
mulss xmm1, dword [0x100c5ba8]
mulss xmm0, xmm2
mulss xmm1, dword [ebp - 0x144]
addss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xf8]
maxss xmm1, dword [ebp - 0xf4]
subss xmm0, xmm1
movss xmm1, dword [0x100c5b6c]
comiss xmm1, xmm0
movss dword [ebp - 0xf8], xmm0
ja 0x100abde5
dec dword [ebp - 0x100]
movss xmm4, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x20]
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
movss dword [ebp - 0x118], xmm5
movss dword [ebp - 0x114], xmm6
movss dword [ebp - 0x110], xmm7
jmp 0x100ab5e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
comiss xmm0, dword [esi + 0x18]
setae al
jmp 0x100abde7
mov eax, dword [0x100f36cc]
mov ecx, dword [ebp - 0x138]
add eax, 0xffffff9e
movss xmm1, dword [ebp - 0xf8]
xor eax, 0x8563deb
cmp dword [eax + ecx], 0x1f
mov eax, 0
mov ecx, dword [ebp - 0x4c]
cmove edx, eax
mov eax, dword [ebp - 0x108]
movss xmm2, dword [eax + 0xf0]
call fcn.100aa270
mov eax, dword [ebp - 0x120]
cmp edi, 4
mov dword [eax + 8], edx
movss dword [eax + 4], xmm0
mov dword [eax], ecx
jmp 0x100aba72
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.100b861c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret