Function at 0x10016600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10313d29
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], eax
call fcn.100cdad0
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [edi]
call fcn.100cdad0
movss xmm0, dword [eax + 0x80]
mov eax, dword [0x1060b5e0]
mov dword [ebp - 0x2c], eax
movss dword [ebp - 0x68], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 0xaa8]
test eax, eax
jne 0x10016683
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm3, xmm3
jmp 0x100166ab
movq xmm0, qword [eax + 0x138]
mov eax, dword [eax + 0x140]
movq qword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebp - 0x14]
mov eax, dword [edi]
test eax, eax
jne 0x100166b9
xorps xmm4, xmm4
xorps xmm5, xmm5
jmp 0x100166de
movq xmm0, qword [eax + 0x138]
mov eax, dword [eax + 0x140]
movq qword [ebp - 0x1c], xmm0
movss xmm5, dword [ebp - 0x18]
movss xmm4, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
movss xmm0, dword [ebp - 0x14]
subss xmm1, xmm5
mov byte [esi + 0x484c], 0
subss xmm2, xmm4
subss xmm3, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm1, xmm2
addss xmm1, xmm3
comiss xmm1, dword [0x1041f118]
jbe 0x10016755
mov edx, dword [edi]
mov ecx, esi
mov eax, dword [edx + 0x114]
mov dword [esi + 0x4834], eax
mov eax, dword [edx + 0x118]
mov dword [esi + 0x4838], eax
mov eax, dword [edx + 0x11c]
mov dword [esi + 0x483c], eax
mov word [esi + 0x50a4], 0
mov dword [esi + 0x50a8], 0xffffffff
push dword [edi]
call fcn.10015f40
jmp 0x1001789b
cmp dword [ebp - 0x48], 0
jne 0x100167ac
mov ecx, dword [edi]
mov eax, dword [ecx + 0x114]
mov dword [esi + 0x4834], eax
mov eax, dword [ecx + 0x118]
mov dword [esi + 0x4838], eax
mov eax, dword [ecx + 0x11c]
mov ecx, esi
mov dword [esi + 0x483c], eax
mov word [esi + 0x50a4], 0x100
mov dword [esi + 0x50a8], 0xffffffff
push dword [edi]
call fcn.10015f40
push 0
push esi
push dword [edi]
call fcn.10018810
jmp 0x1001789b
mov ecx, dword [esi]
inc dword [esi + 0x50a8]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
cmp byte [esi + 0x4830], 0
jne 0x10016809
mov ecx, dword [ebp - 0x48]
cmp byte [ecx + 0x4830], 0
jne 0x10016809
mov edx, dword [ebp - 0x2c]
movss xmm1, dword [esi + 0x5064]
ucomiss xmm1, dword [edx + eax*4 + 0xb0c]
lahf
test ah, 0x44
jnp 0x10016809
comiss xmm1, dword [ecx + 0x5054]
jbe 0x10016809
movss xmm0, dword [esi + 0x5054]
comiss xmm0, xmm1
jb 0x10016809
mov byte [esi + 0x50a4], 1
mov ecx, dword [edi]
call fcn.100c7cf0
mov ecx, dword [edi]
movss xmm0, dword [eax]
mov eax, dword [ebp - 0x48]
subss xmm0, dword [eax + 0x5054]
mov eax, dword [0x1060b290]
andps xmm0, xmmword [0x1041f450]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x1041ed50]
cvttss2si eax, xmm0
mov dword [ebp - 0x2c], eax
call fcn.100c7cf0
mov ecx, dword [ebp - 0x48]
movss xmm2, dword [0x1041ed50]
movss xmm0, dword [eax]
subss xmm0, dword [ecx + 0x5054]
mov eax, dword [0x1060b290]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm2
cvttss2si edx, xmm0
mov dword [esi + 0x50ac], edx
cmp edx, 0x11
jle 0x10016889
mov dword [esi + 0x50ac], 1
mov edx, 1
cmp edx, 1
jge 0x1001689d
mov dword [esi + 0x50ac], 1
mov edx, 1
cmp dword [ebp - 0x2c], 0x11
movq xmm0, qword [esi + 0x4834]
mov eax, dword [esi + 0x483c]
movss xmm4, dword [0x1041edc4]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
jg 0x10016d3c
movss xmm5, dword [esi + 0x4b0c]
movss xmm3, dword [ecx + 0x4b0c]
movaps xmm1, xmm5
ucomiss xmm1, xmm3
mov dword [ebp - 0x2c], edx
lahf
test ah, 0x44
jnp 0x10016937
movss xmm0, dword [ecx + 0x4b08]
ucomiss xmm0, dword [esi + 0x4b08]
mov dword [ebp - 0x2c], edx
lahf
test ah, 0x44
jp 0x10016937
comiss xmm3, xmm1
jbe 0x10016905
addss xmm1, xmm4
mov eax, dword [0x1060b290]
subss xmm1, xmm3
divss xmm1, dword [eax + 0x20]
addss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [ebp - 0x2c], eax
mov eax, edx
cmp dword [ebp - 0x2c], 0x11
jg 0x1001693a
cmp dword [ebp - 0x2c], edx
jle 0x1001693a
cvttss2si eax, xmm1
mov dword [esi + 0x50ac], eax
jmp 0x1001693a
mov eax, dword [ebp - 0x2c]
cmp eax, 0x11
jle 0x1001694e
mov dword [esi + 0x50ac], 1
mov eax, 1
cmp eax, 1
jge 0x10016962
mov dword [esi + 0x50ac], 1
mov eax, 1
test byte [esi + 0x508c], 1
movaps xmm1, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm2, dword [esi + 0x4840]
subss xmm2, dword [ecx + 0x4840]
divss xmm1, xmm0
mulss xmm2, xmm1
movss dword [ebp - 0x4c], xmm2
jne 0x10016c04
movss xmm3, dword [esi + 0x4844]
movaps xmm2, xmm4
movss xmm0, dword [esi + 0x4848]
subss xmm3, dword [ecx + 0x4844]
subss xmm0, dword [ecx + 0x4848]
subss xmm2, dword [esi + 0x4b00]
mulss xmm3, xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm2, xmm1
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x2c], xmm0
jbe 0x10016ae9
movss xmm0, dword [ecx + 0x4b08]
ucomiss xmm0, dword [esi + 0x4b08]
lahf
test ah, 0x44
jp 0x10016ae9
mov eax, dword [ecx + 0x4af8]
cmp eax, dword [esi + 0x4af8]
jne 0x10016ae9
mulss xmm2, dword [0x1041ed3c]
addss xmm2, dword [0x1041ed54]
comiss xmm2, xmm1
movss dword [ebp - 0x30], xmm2
jbe 0x10016ae9
mov ecx, dword [edi]
call fcn.100c8f90
movss xmm4, dword [ebp - 0x30]
xorps xmm1, xmm1
mulss xmm4, dword [eax]
comiss xmm4, xmm1
jbe 0x10016ae9
movss xmm3, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x4c]
movaps xmm5, xmm3
movaps xmm0, xmm2
mulss xmm5, xmm3
mov dword [ebp - 0x20], 0
mulss xmm0, xmm2
movaps xmm6, xmm3
mulss xmm6, xmm3
addss xmm5, xmm0
movss dword [ebp - 0x30], xmm5
sqrtss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm1
jbe 0x10016ae9
mov dword [ebp - 0x20], 0
movss dword [ebp - 0x38], xmm5
sqrtss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x20], xmm0
movss xmm1, dword [0x1041edc4]
divss xmm1, xmm4
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
divss xmm2, xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x4c], xmm2
mulss xmm0, xmm2
addss xmm0, xmm6
movss dword [ebp - 0x38], xmm0
sqrtss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x20], xmm0
mulss xmm1, dword [ebp - 0x20]
divss xmm3, xmm1
movss dword [ebp - 0x38], xmm3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104c14e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x106111cc]
cmp eax, dword [ecx + 4]
jg 0x100178b8
mov ecx, dword [0x106111f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
movd xmm1, dword [esi + 0x50ac]
mov eax, dword [0x1060b290]
cvtdq2ps xmm1, xmm1
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
mulss xmm0, dword [0x1041ed50]
mulss xmm1, dword [eax + 0x20]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
subss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x4c]
mov ecx, dword [edi]
movss dword [esi + 0x4838], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [esi + 0x4834], xmm2
movss dword [esi + 0x483c], xmm0
call fcn.100c05a0
mov ecx, dword [esi + 0x4834]
mov dword [eax], ecx
mov ecx, dword [esi + 0x4838]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x483c]
mov dword [eax + 8], ecx
cmp dword [esi + 0x50ac], 1
jg 0x10016d55
mov ecx, dword [edi]
mov eax, dword [esi + 0x4834]
mov dword [ecx + 0x114], eax
mov eax, dword [esi + 0x4838]
mov dword [ecx + 0x118], eax
mov eax, dword [esi + 0x483c]
mov dword [ecx + 0x11c], eax
call fcn.100c05a0
mov ecx, dword [esi + 0x4834]
push dword [edi]
mov dword [eax], ecx
mov ecx, dword [esi + 0x4838]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x483c]
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.10015f40
push dword [ebp - 0x48]
push esi
push dword [edi]
call fcn.10018810
jmp 0x1001789b
movss xmm0, dword [esi + 0x4844]
subss xmm0, dword [ecx + 0x4844]
mulss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, dword [esi + 0x49f0]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x2c], xmm1
jb 0x10016c47
comiss xmm1, dword [esi + 0x49e8]
jb 0x10016c47
xorps xmm2, xmm2
xorps xmm0, xmm0
jmp 0x10016b5b
movss xmm3, dword [esi + 0x4b00]
comiss xmm3, xmm1
jbe 0x10016b5b
comiss xmm4, xmm3
jbe 0x10016b5b
comiss xmm5, dword [ecx + 0x4b0c]
jbe 0x10016b5b
mov ecx, dword [edi]
call fcn.100cc130
test eax, eax
je 0x10016ca7
mov ecx, eax
call fcn.100c8f90
sub esp, 8
movss xmm0, dword [eax]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
fstp dword [ebp - 0x30]
movss xmm2, dword [ebp - 0x30]
add esp, 8
jmp 0x10016caf
movss xmm2, dword [0x1041f058]
movss xmm1, dword [0x1041edc4]
xorps xmm0, xmm0
movaps xmm3, xmm1
subss xmm3, dword [esi + 0x4b00]
mulss xmm3, dword [0x1041ed40]
comiss xmm3, xmm0
jbe 0x10016b51
comiss xmm1, xmm3
jbe 0x10016b51
addss xmm3, dword [0x1041ed54]
mulss xmm3, xmm2
comiss xmm3, xmm0
jbe 0x10016b51
movss xmm4, dword [ebp - 0x54]
movss xmm2, dword [ebp - 0x4c]
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm0, xmm4
mov dword [ebp - 0x20], 0
mulss xmm1, xmm2
addss xmm1, xmm0
movss dword [ebp - 0x54], xmm1
sqrtss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x20]
divss xmm0, xmm3
mulss xmm2, xmm0
mulss xmm0, xmm4
jmp 0x10016b5b
movss xmm0, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x1c]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x18]
jmp 0x10016b5b
movss xmm1, dword [0x1041ed50]
xorps xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [esi + 0x4984]
comiss xmm1, xmm0
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0
jbe 0x10016db3
test byte [esi + 0x508c], 1
mov eax, dword [ebp - 0x48]
je 0x10016d8f
test byte [eax + 0x508c], 1
jne 0x10016db3
mulss xmm0, dword [esi + 0x4980]
movss xmm1, dword [esi + 0x5054]
subss xmm1, xmm0
comiss xmm1, dword [eax + 0x5054]
movss dword [ebp - 0x4c], xmm1
setae byte [ebp - 0x41]
mov al, byte [esi + 0x508c]
mov ecx, dword fs:[0x2c]
and al, 1
mov byte [ebp - 0x39], al
mov eax, dword [0x104c14e0]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x106111d4]
mov dword [ebp - 0x6c], ecx
cmp eax, dword [ecx + 4]
jg 0x100179aa
mov eax, dword [0x1060b290]
mov ecx, dword [edi]
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [eax + 0x10]
mov eax, dword [ecx + 0x104]
movss dword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], eax
call fcn.100cdad0
mov edx, dword [0x1060b290]
mov ecx, eax
movss xmm1, dword [0x1041edc4]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0x70]
cmp eax, dword [edx + 4]
jne 0x10016e3d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ecx + 0x70], eax
mov edx, dword [0x1060b290]
movss xmm2, dword [edx + 0x10]
movss xmm0, dword [ecx + 0x6c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10016e5f
subss xmm2, xmm1
movss dword [ecx + 0x6c], xmm2
mov edx, dword [0x1060b290]
mov eax, dword [edx + 0x20]
mov dword [edx + 0x14], eax
mov ecx, dword [edi]
call fcn.100c7cf0
movss xmm0, dword [eax]
mov eax, dword [0x1060b290]
movss dword [eax + 0x10], xmm0
mov ecx, dword [edi]
call fcn.100c8080
and dword [eax], 0xffffefff
mov ecx, dword [edi]
call fcn.100c05a0
mov ecx, dword [esi + 0x4834]
mov dword [eax], ecx
mov ecx, dword [esi + 0x4838]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x483c]
mov dword [eax + 8], ecx
mov eax, dword [0x106111f0]
mov ecx, dword [edi]
mov al, byte [eax]
mov byte [ebp - 0x31], al
call fcn.100cdad0
lea ecx, [ebp - 0x3b4]
mov esi, eax
call fcn.10017a30
mov ecx, 0xd2
lea edi, [ebp - 0x3b4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x40]
mov eax, dword [edi]
mov eax, dword [eax + 0x2990]
movups xmm0, xmmword [eax + 0x150]
movups xmmword [esi + 0x4b50], xmm0
movups xmm0, xmmword [eax + 0x160]
movups xmmword [esi + 0x4b60], xmm0
movups xmm0, xmmword [eax + 0x170]
movups xmmword [esi + 0x4b70], xmm0
movq xmm0, qword [eax + 0x180]
movq qword [esi + 0x4b80], xmm0
movss xmm0, dword [esi + 0x4b7c]
mov ecx, dword [edi]
movss dword [ebp - 0x54], xmm0
call fcn.100cdad0
movss xmm0, dword [ebp - 0x54]
movss dword [eax + 0x98], xmm0
movss xmm0, dword [esi + 0x4b70]
mov ecx, dword [edi]
movss dword [ebp - 0x54], xmm0
call fcn.100cdad0
movss xmm0, dword [ebp - 0x54]
movss dword [eax + 0x9c], xmm0
mov ecx, dword [edi]
call fcn.100cd9c0
mov ecx, dword [edi]
movss dword [ebp - 0x38], xmm0
mulss xmm0, dword [0x1041ed50]
movss dword [ebp - 0x30], xmm0
call fcn.100cd630
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x290]
call eax
sub esp, 8
movss xmm1, dword [eax + 4]
subss xmm1, dword [ebp - 0x38]
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov eax, dword [ebp - 0x2c]
add esp, 8
fstp dword [eax + 0x80]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x380]
call eax
mov ecx, dword [edi]
call fcn.100cd630
lea edx, [esi + 0x1830]
mov byte [eax], 0
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 0
mov ecx, dword [edi]
call fcn.10016370
mov eax, dword [edi]
mov eax, dword [eax + 0x2990]
movups xmm0, xmmword [eax + 0x150]
movups xmmword [esi + 0x4b88], xmm0
movups xmm0, xmmword [eax + 0x160]
movups xmmword [esi + 0x4b98], xmm0
movups xmm0, xmmword [eax + 0x170]
movups xmmword [esi + 0x4ba8], xmm0
movq xmm0, qword [eax + 0x180]
movq qword [esi + 0x4bb8], xmm0
mov ecx, dword [edi]
call fcn.100cdad0
mov ecx, 0xd2
lea esi, [ebp - 0x3b4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x40]
movss xmm0, dword [esi + 0x49e8]
comiss xmm0, dword [0x1041ec1c]
jbe 0x1001713e
cmp byte [0x1060edca], 0
je 0x1001713e
mov edi, dword [ebp - 0x50]
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x290]
call eax
sub esp, 8
movss xmm0, dword [eax + 4]
subss xmm0, dword [ebp - 0x30]
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov eax, dword [ebp - 0x2c]
add esp, 8
fstp dword [eax + 0x80]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x380]
call eax
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 0
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x2990]
movups xmm0, xmmword [eax + 0x150]
movups xmmword [esi + 0x4bc0], xmm0
movups xmm0, xmmword [eax + 0x160]
movups xmmword [esi + 0x4bd0], xmm0
movups xmm0, xmmword [eax + 0x170]
movups xmmword [esi + 0x4be0], xmm0
movq xmm0, qword [eax + 0x180]
movq qword [esi + 0x4bf0], xmm0
mov ecx, dword [edi]
call fcn.100cdad0
mov ecx, 0xd2
lea esi, [ebp - 0x3b4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x50]
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x290]
call eax
movss xmm0, dword [ebp - 0x38]
sub esp, 8
addss xmm0, dword [eax + 4]
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov eax, dword [ebp - 0x2c]
add esp, 8
fstp dword [eax + 0x80]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x380]
call eax
mov ecx, dword [edi]
call fcn.100cd630
lea edx, [esi + 0x3030]
mov byte [eax], 0
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 0
mov ecx, dword [edi]
call fcn.10016370
mov eax, dword [edi]
mov eax, dword [eax + 0x2990]
movups xmm0, xmmword [eax + 0x150]
movups xmmword [esi + 0x4bf8], xmm0
movups xmm0, xmmword [eax + 0x160]
movups xmmword [esi + 0x4c08], xmm0
movups xmm0, xmmword [eax + 0x170]
movups xmmword [esi + 0x4c18], xmm0
movq xmm0, qword [eax + 0x180]
movq qword [esi + 0x4c28], xmm0
mov ecx, dword [edi]
call fcn.100cdad0
mov ecx, 0xd2
lea esi, [ebp - 0x3b4]
mov edi, eax
xorps xmm1, xmm1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x40]
movss xmm0, dword [esi + 0x49e8]
comiss xmm0, xmm1
jbe 0x1001730b
cmp byte [0x1060edca], 0
je 0x1001730b
mov edi, dword [ebp - 0x50]
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x290]
call eax
movss xmm0, dword [ebp - 0x30]
sub esp, 8
addss xmm0, dword [eax + 4]
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov eax, dword [ebp - 0x2c]
add esp, 8
fstp dword [eax + 0x80]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x380]
call eax
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 0
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x2990]
movups xmm0, xmmword [eax + 0x150]
movups xmmword [esi + 0x4c30], xmm0
movups xmm0, xmmword [eax + 0x160]
movups xmmword [esi + 0x4c40], xmm0
movups xmm0, xmmword [eax + 0x170]
movups xmmword [esi + 0x4c50], xmm0
movq xmm0, qword [eax + 0x180]
movq qword [esi + 0x4c60], xmm0
mov ecx, dword [edi]
call fcn.100cdad0
mov ecx, 0xd2
lea esi, [ebp - 0x3b4]
mov edi, eax
xorps xmm1, xmm1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x40]
movss xmm0, dword [esi + 0x49e8]
comiss xmm0, xmm1
mov edi, dword [ebp - 0x50]
jbe 0x100173d9
cmp byte [0x1060edca], 0
je 0x100173d9
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x290]
call eax
sub esp, 8
movss xmm0, dword [eax + 4]
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov eax, dword [ebp - 0x2c]
add esp, 8
fstp dword [eax + 0x80]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x380]
call eax
mov ecx, dword [edi]
call fcn.100cd630
mov byte [eax], 0
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x2990]
movups xmm0, xmmword [eax + 0x150]
movups xmmword [esi + 0x4c68], xmm0
movups xmm0, xmmword [eax + 0x160]
movups xmmword [esi + 0x4c78], xmm0
movups xmm0, xmmword [eax + 0x170]
movups xmmword [esi + 0x4c88], xmm0
movq xmm0, qword [eax + 0x180]
movq qword [esi + 0x4c98], xmm0
mov ecx, dword [edi]
call fcn.100cdad0
movss xmm0, dword [ebp - 0x68]
lea esi, [ebp - 0x3b4]
mov edi, eax
mov ecx, 0xd2
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x18]
mov esi, dword [ebp - 0x40]
push ecx
mov ecx, dword [0x1060b4ec]
movss dword [esp], xmm0
push dword [ebp - 0x48]
push esi
push dword [edi]
push eax
call fcn.1018f4c0
push ecx
mov ecx, dword [edi]
call fcn.100cdf30
mov eax, dword [0x106111f0]
mov cl, byte [ebp - 0x31]
movss xmm0, dword [ebp - 0x60]
mov byte [eax], cl
mov eax, dword [0x1060b290]
mov ecx, dword [ebp - 0x58]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x1060b290]
movss xmm0, dword [ebp - 0x64]
movss dword [eax + 0x14], xmm0
mov eax, dword [edi]
mov dword [eax + 0x104], ecx
mov eax, 1
mov ecx, dword [esi + 0x50ac]
mov dword [ebp - 0x2c], eax
cmp ecx, eax
jl 0x1001789b
nop word [eax + eax]
movss xmm2, dword [esi + 0x505c]
movd xmm3, eax
mov eax, dword [0x1060b290]
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ebp - 0x48]
addss xmm0, dword [eax + 0x5054]
movss xmm1, dword [eax + 0x505c]
subss xmm2, xmm1
movss dword [ebp - 0x40], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [edi]
divss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
movss dword [ebp - 0x58], xmm2
call fcn.100c4200
movss xmm0, dword [ebp - 0x58]
movd xmm6, dword [ebp - 0x2c]
cvtdq2ps xmm6, xmm6
mov ecx, dword [edi]
movss dword [eax], xmm0
movd xmm0, dword [esi + 0x50ac]
movss xmm2, dword [0x1041edc4]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x48]
movss xmm1, dword [eax + 0x4834]
divss xmm2, xmm0
movss xmm4, dword [esi + 0x4834]
movss xmm3, dword [eax + 0x4838]
subss xmm4, xmm1
movss xmm5, dword [eax + 0x483c]
movss xmm0, dword [esi + 0x483c]
subss xmm0, xmm5
mulss xmm4, xmm2
mulss xmm0, xmm2
mulss xmm4, xmm6
mulss xmm0, xmm6
addss xmm4, xmm1
movss xmm1, dword [esi + 0x4838]
subss xmm1, xmm3
addss xmm0, xmm5
movss dword [ecx + 0x114], xmm4
mulss xmm1, xmm2
movss xmm2, dword [0x1041edc4]
movss dword [ecx + 0x11c], xmm0
mulss xmm1, xmm6
addss xmm1, xmm3
movss dword [ecx + 0x118], xmm1
movd xmm0, dword [esi + 0x50ac]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0x4834]
divss xmm2, xmm0
movss xmm0, dword [esi + 0x4834]
subss xmm0, xmm1
movss xmm3, dword [eax + 0x4838]
movss xmm4, dword [eax + 0x483c]
mulss xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm1
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [esi + 0x4838]
subss xmm0, xmm3
mulss xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm3
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [esi + 0x483c]
subss xmm0, xmm4
mulss xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm4
movss dword [ebp - 0x60], xmm0
call fcn.100c05a0
movss xmm0, dword [ebp - 0x58]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x60]
cmp byte [ebp - 0x41], 0
movss dword [eax + 8], xmm0
mov eax, dword [0x1060b290]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0x10], xmm0
je 0x10017657
cmp byte [ebp - 0x42], 0
jne 0x10017657
comiss xmm0, dword [ebp - 0x4c]
jb 0x10017649
mov byte [ebp - 0x42], 1
mov byte [ebp - 0x39], 1
jmp 0x10017657
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x508c]
and al, 1
mov byte [ebp - 0x39], al
mov edx, dword [edi]
mov ecx, dword [edx + 0x104]
mov eax, ecx
and ecx, 0xfffffffe
or eax, 1
cmp byte [ebp - 0x39], 0
cmovne ecx, eax
mov dword [edx + 0x104], ecx
mov ecx, dword [edi]
call fcn.100c7cf0
mov ecx, dword [edi]
movss xmm0, dword [eax]
movss dword [ebp - 0x54], xmm0
call fcn.100c7cf0
movss xmm0, dword [ebp - 0x40]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi + 0x50ac]
jne 0x10017860
mov ecx, dword [ebp - 0x6c]
mov eax, dword [0x106111f4]
cmp eax, dword [ecx + 4]
jg 0x100179e8
mov eax, dword [0x1060b290]
mov ecx, dword [edi]
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + 0x10]
mov eax, dword [ecx + 0x104]
movss dword [ebp - 0x64], xmm0
mov dword [ebp - 0x68], eax
call fcn.100cdad0
mov ecx, dword [0x1060b290]
movss xmm1, dword [0x1041edc4]
mov dword [ebp - 0x58], eax
mov edx, dword [eax + 0x70]
cmp edx, dword [ecx + 4]
jne 0x10017711
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si edx, xmm0
mov dword [eax + 0x70], edx
mov ecx, dword [0x1060b290]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [ecx + 0x10]
lahf
test ah, 0x44
jp 0x1001773b
mov ecx, dword [ebp - 0x58]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ecx + 0x70], eax
mov ecx, dword [0x1060b290]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x14], eax
mov ecx, dword [edi]
call fcn.100c7cf0
movss xmm0, dword [eax]
mov eax, dword [0x1060b290]
movss dword [eax + 0x10], xmm0
xorps xmm0, xmm0
mov eax, dword [0x106111bc]
mov ecx, dword [edi]
movss dword [ebp - 0x40], xmm0
mov al, byte [eax]
mov byte [ebp - 0x59], al
call fcn.100cd630
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [edi]
call fcn.100cd9c0
cmp byte [ebp - 0x14], 0
mov byte [ebp - 0x31], 0
je 0x100177a5
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x40], xmm0
jmp 0x100177a9
mov byte [ebp - 0x31], 1
mov ecx, dword [edi]
call fcn.100cdad0
mov ecx, dword [edi]
call fcn.100cd630
cmp byte [ebp - 0x31], 0
mov byte [eax], 1
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 1
jne 0x10017801
movss xmm0, dword [ebp - 0x40]
sub esp, 8
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov ecx, dword [edi]
add esp, 8
fstp dword [ebp - 0x58]
call fcn.100cdad0
movss xmm0, dword [ebp - 0x58]
movss dword [eax + 0x80], xmm0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x380]
call eax
mov ecx, dword [edi]
call fcn.100cd630
push ecx
mov byte [eax], 0
mov eax, dword [0x1060b5e0]
mov byte [eax + 0x5518], 0
mov ecx, dword [edi]
call fcn.100cdf30
mov eax, dword [0x106111bc]
mov cl, byte [ebp - 0x59]
movss xmm0, dword [ebp - 0x64]
mov byte [eax], cl
mov eax, dword [0x1060b290]
mov ecx, dword [ebp - 0x68]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x1060b290]
movss xmm0, dword [ebp - 0x60]
movss dword [eax + 0x14], xmm0
mov eax, dword [edi]
mov dword [eax + 0x104], ecx
jmp 0x10017867
push dword [edi]
call fcn.10017c20
mov ecx, dword [edi]
call fcn.100c7cf0
movss xmm0, dword [ebp - 0x54]
movss dword [eax], xmm0
mov eax, dword [0x1060b290]
movss xmm0, dword [ebp - 0x38]
movss dword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x50ac]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ecx
jle 0x10017470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret 8
push 0x106111cc
call fcn.102bba07
add esp, 4
cmp dword [0x106111cc], 0xffffffff
jne 0x10016b09
mov dword [ebp - 4], 0
cmp byte [0x10439050], 0
jne 0x10017954
mov byte [0x10439050], 1
xor edi, edi
jmp 0x100178f0
xor edx, edx
mov eax, edi
xor eax, dword [0x10439060]
xor edx, dword [0x10439064]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x30], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x30], eax
mov ecx, edx
mov eax, dword [ebp - 0x30]
shrd eax, ecx, 7
xor dword [ebp - 0x30], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x30]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x30]
xor cl, byte [edi + str.k_n_]
mov byte [edi + str.k_n_], cl
inc edi
cmp edi, 0xb
jb 0x100178f0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x50]
jmp 0x10017954
push ecx
push 0x1043905b
push str.k_n_
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
mov ecx, dword [0x1060b27c]
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
lea ecx, [ebp - 0x28]
mov dword [0x106111f8], eax
call fcn.10019dd0
push 0x106111cc
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 4
jmp 0x10016b09
push 0x106111d4
call fcn.102bba07
add esp, 4
cmp dword [0x106111d4], 0xffffffff
jne 0x10016de1
mov eax, dword [0x1060b5e0]
push 0x106111d4
mov eax, dword [eax + 0x6f20]
mov eax, dword [eax]
mov dword [0x106111f0], eax
call fcn.102bb9b6
add esp, 4
jmp 0x10016de1
push 0x106111f4
call fcn.102bba07
add esp, 4
cmp dword [0x106111f4], 0xffffffff
jne 0x100176b7
mov eax, dword [0x1060b5e0]
push 0x106111f4
mov eax, dword [eax + 0x6f20]
mov eax, dword [eax]
mov dword [0x106111bc], eax
call fcn.102bb9b6
add esp, 4
jmp 0x100176b7