Function at 0x1001d240
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov eax, dword fs:[0x2c]
mov edx, dword [0x10132a40]
movaps xmm0, xmmword [0x1012ca80]
push ebx
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x101384a0]
push esi
push edi
lea edi, [ebx + 1]
movups xmmword [esp + 0x30], xmm0
cmp eax, dword [edx + 4]
jle 0x1001d2b8
push 0x101384a0
call fcn.100d6f44
add esp, 4
cmp dword [0x101384a0], 0xffffffff
jne 0x1001d2b8
mov ecx, dword [0x10132a78]
push str.sv_gravity
mov eax, dword [ecx]
call dword [eax + 0x44]
push 0x101384a0
mov dword [0x10138498], eax
call fcn.100d6ef3
add esp, 4
mov ecx, dword [0x10138498]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov eax, dword [0x10132a9c]
fmul dword [0x1012c7b0]
mov ecx, dword [0x10132ac8]
movss xmm6, dword [eax + 0x20]
lea eax, [esp + 0x124]
push eax
fstp dword [esp + 0x50]
movss dword [esp + 0x2c], xmm6
call fcn.10004950
mov esi, eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax + 0xc]
comiss xmm0, xmm1
movss xmm2, dword [eax + 0x10]
jbe 0x1001d31a
mulss xmm1, dword [0x1012c77c]
jmp 0x1001d322
mulss xmm1, dword [0x1012c784]
mov ecx, dword [eax + 0x30]
subss xmm1, dword [0x1012c7c8]
and ecx, edi
test dword [eax + 0x30], 0x800
je 0x1001d341
mov edi, ecx
neg edi
sbb edi, edi
add edi, 3
movss xmm0, dword [esp + edi*4 + 0x30]
mulss xmm0, dword [0x1012c98c]
mulss xmm2, dword [0x1012c780]
addss xmm0, dword [0x1012c958]
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.100d7b20
movaps xmm6, xmm0
mov eax, dword [0x10132f60]
movss xmm0, dword [0x1012c91c]
movaps xmm3, xmm6
mov edi, dword [0x10132ac8]
movaps xmm1, xmm6
shufps xmm3, xmm6, 0xe
shufps xmm1, xmm6, 1
movaps xmm2, xmm3
xorps xmm6, xmmword [0x1012cb90]
shufps xmm2, xmm3, 1
mulss xmm2, xmm1
mulss xmm3, xmm1
movaps xmm1, xmm6
mulss xmm1, xmm0
movaps xmm7, xmm2
mulss xmm7, xmm0
movaps xmm4, xmm3
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm6, xmm0
addss xmm7, dword [esi]
addss xmm4, dword [esi + 4]
addss xmm1, dword [esi + 8]
movups xmmword [esp + 0x50], xmm2
movss dword [esp + 0x1c], xmm7
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x20], xmm1
movups xmmword [esp + 0x30], xmm3
movups xmmword [esp + 0x60], xmm6
test eax, eax
jne 0x1001d44d
mov edx, 0xe80c2f78
mov ecx, 0x10111b09
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113e5
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
movups xmm6, xmmword [esp + 0x60]
mov dword [0x10132f60], eax
movups xmm3, xmmword [esp + 0x30]
movss xmm7, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x18]
movups xmm2, xmmword [esp + 0x50]
addss xmm2, dword [edi + eax]
addss xmm3, dword [edi + eax + 4]
addss xmm6, dword [edi + eax + 8]
movss xmm5, dword [esp + 0x28]
xorps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movups xmmword [esp + 0x50], xmm2
movups xmmword [esp + 0x30], xmm3
movups xmmword [esp + 0x60], xmm6
nop dword [eax]
movss xmm2, dword [esp + 0x50]
movaps xmm1, xmm3
mulss xmm2, xmm5
movaps xmm0, xmm6
mov eax, dword [0x10132ac8]
mulss xmm1, xmm5
mov dword [esp + 0x74], eax
movaps xmm3, xmm2
mulss xmm0, xmm5
mov dword [esp + 0x80], 0
addss xmm3, xmm7
movss xmm5, dword [esp + 0x20]
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0xe4], xmm1
mulss xmm2, xmm2
mov dword [esp + 0x7c], 0
movss dword [esp + 0x2c], xmm3
movaps xmm3, xmm1
addss xmm3, xmm4
mulss xmm1, xmm1
mov dword [esp + 0x78], 0
movss dword [esp + 0xe8], xmm0
mov dword [esp + 0x8c], 0
addss xmm2, xmm1
mov dword [esp + 0x88], 0
movss dword [esp + 0x24], xmm3
movaps xmm3, xmm0
mulss xmm0, xmm0
addss xmm3, xmm5
mov dword [esp + 0x84], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
addss xmm2, xmm0
mov dword [esp + 0x90], 0
movss dword [esp + 0x14], xmm3
mov dword [esp + 0x70], vtable.trace_filter.0
mov dword [esp + 0xec], 0
mov byte [esp + 0x115], 1
ucomiss xmm2, dword [0x1012c718]
lahf
test ah, 0x44
jp 0x1001d58a
mov byte [esp + 0x115], 0
mov ecx, dword [0x10132a98]
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x74]
mov dword [esp + 0x10c], 0
push edx
mov dword [esp + 0x10c], 0
lea edx, [esp + 0xd8]
mov dword [esp + 0x108], 0
mov byte [esp + 0x11c], 1
mov dword [esp + 0x100], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
movss dword [esp + 0xd8], xmm7
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0xe0], xmm5
mov dword [esp + 0xe4], 0
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x14]
movss xmm5, dword [esp + 0xa4]
movss xmm7, dword [0x1012c844]
ucomiss xmm5, xmm7
lahf
test ah, 0x44
jnp 0x1001d730
movss xmm2, dword [esp + 0x90]
movss xmm3, dword [esp + 0x94]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x50]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x30]
movups xmm6, xmmword [esp + 0x60]
movss xmm4, dword [esp + 0x98]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm6
addss xmm1, xmm0
movss xmm0, dword [0x1012ca04]
mulss xmm4, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm4, xmm1
subss xmm0, xmm5
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm4, xmm6
addss xmm2, dword [esp + 0x50]
addss xmm3, dword [esp + 0x30]
mulss xmm4, dword [0x1012c7f8]
mulss xmm2, dword [0x1012c7f8]
mulss xmm3, dword [0x1012c7f8]
movaps xmm6, xmm4
movss dword [esp + 0x50], xmm2
mulss xmm2, xmm5
movss dword [esp + 0x30], xmm3
mulss xmm3, xmm5
mulss xmm4, xmm5
movups xmmword [esp + 0x60], xmm6
movss xmm6, dword [esp + 0x28]
mulss xmm0, xmm6
mulss xmm2, xmm6
addss xmm0, dword [esp + 0x10]
mulss xmm3, xmm6
addss xmm2, dword [esp + 0x1c]
mulss xmm4, xmm6
addss xmm3, dword [esp + 0x18]
movss dword [esp + 0x10], xmm0
addss xmm4, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x14], xmm4
mov edi, dword [0x10132ac8]
mov edx, 0xe80c2f78
mov ecx, 0x101114dd
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov ecx, dword [0x10132a94]
mov edx, dword [eax + edi]
mov eax, dword [ecx]
and edx, 0xfff
push edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
jne 0x1001d78b
movss xmm2, dword [0x1012c844]
mov cl, 1
jmp 0x1001d839
mov eax, dword [0x10132a84]
test eax, eax
jne 0x1001d7c2
mov edx, 0xe80c2f78
mov ecx, 0x10111441
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x10111459
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132a84], eax
movsx eax, word [edi + eax]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x1001d7ce
jmp dword [eax*4 + 0x1001d9ac]
movss xmm1, dword [esp + 0x10]
comiss xmm1, dword [0x1012c8a8]
movss xmm2, dword [0x1012c844]
jbe 0x1001d837
mov cl, 1
jmp 0x1001d839
movss xmm0, dword [esp + 0xb0]
movss xmm2, dword [0x1012c844]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001d81c
movss xmm0, dword [esp + 0x98]
comiss xmm0, dword [0x1012c814]
ja 0x1001d82b
movss xmm1, dword [esp + 0x10]
comiss xmm1, dword [0x1012c8d0]
jbe 0x1001d837
mov cl, 1
jmp 0x1001d839
movss xmm2, dword [0x1012c844]
xor cl, cl
movss xmm4, dword [esp + 0xa4]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1001d84f
mov dl, 1
jmp 0x1001d851
xor dl, dl
mov eax, ebx
inc ebx
cmp eax, 0x1f4
jae 0x1001d9a7
movss xmm0, dword [esp + 0x1c]
lea eax, [eax + eax*4]
mulss xmm4, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x28]
movss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x24]
movaps xmm7, xmm1
movss xmm3, dword [esp + 0x14]
movss dword [eax*8 + 0x101335c0], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [eax*8 + 0x101335c4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax*8 + 0x101335c8], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [eax*8 + 0x101335cc], xmm1
movss dword [eax*8 + 0x101335d0], xmm2
movss dword [eax*8 + 0x101335d4], xmm3
movss dword [eax*8 + 0x101335d8], xmm0
movss xmm0, dword [esp + 0x94]
mulss xmm4, xmm5
movss dword [eax*8 + 0x101335dc], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [eax*8 + 0x101335e0], xmm0
mov byte [eax*8 + 0x101335e4], 1
mov byte [eax*8 + 0x101335e5], dl
mov byte [eax*8 + 0x101335e6], cl
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x20], xmm3
movups xmm6, xmmword [esp + 0x60]
subss xmm6, xmm4
movups xmmword [esp + 0x60], xmm6
test cl, cl
jne 0x1001d971
movss xmm3, dword [esp + 0x10]
movaps xmm4, xmm2
addss xmm3, xmm5
movss dword [esp + 0x10], xmm3
movups xmm3, xmmword [esp + 0x30]
cmp ebx, 0x1f4
jl 0x1001d480
mov byte [0x10133179], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x1f4
jge 0x1001d963
lea eax, [ebx + ebx*4]
lea eax, [eax*8 + 0x101335e4]
cmp ebx, 0x1f4
jae 0x1001d9a7
mov byte [eax], 0
inc ebx
add eax, 0x28
cmp eax, 0x10138404
jl 0x1001d983
pop edi
pop esi
mov byte [0x10133179], 1
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001dc00
aad 0xd7
add dword [eax], edx
aad 0xd7
add dword [eax], edx
aad 0xd7
add dword [eax], edx
invalid