Function at 0x10009e88
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d68f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x1009d640]
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 - 0x90], ecx
mov ecx, dword [0x1009dc24]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
jne 0x10009efa
mov ecx, dword [0x1009dc24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1000a69e
mov ecx, dword [0x1009dc24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1009dc2c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
movaps xmm0, xmmword [0x10084930]
xor ecx, ecx
mov esi, eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x98], esi
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x88], 1
call fcn.1007a2ac
lea ecx, [ebp - 0x7c]
call fcn.1007a2ac
lea ecx, [ebp - 0xa4]
call fcn.1007a2ac
lea ecx, [ebp - 0xf0]
call fcn.1007a2ac
lea ecx, [ebp - 0x128]
call fcn.1007a2ac
lea ecx, [ebp - 0xc8]
call fcn.1007a2ac
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100e7624]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100a7f24]
cmp eax, dword [ecx + 4]
jg 0x1000a6be
mov ecx, dword [0x100a7f20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x94], eax
call dword [ebp - 0x94]
mov eax, dword [0x1009dc30]
mov ecx, esi
fmul dword [0x100848f8]
movss xmm0, dword [eax + 0x20]
lea eax, [ebp - 0xe0]
push eax
fstp dword [ebp - 0xe4]
movss dword [ebp - 0x84], xmm0
call fcn.100034ad
mov esi, eax
lea edi, [ebp - 0xf0]
lea ecx, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
mov ecx, dword [ebp - 0x80]
lea edi, [ebp - 0x128]
xorps xmm1, xmm1
movss dword [ebp - 0x80], xmm1
lea esi, [ecx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ecx + 0xc]
lea edi, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0xc8]
comiss xmm1, xmm0
jbe 0x1000a02f
mulss xmm0, dword [0x10084908]
jmp 0x1000a037
mulss xmm0, dword [0x1008490c]
subss xmm0, dword [0x10084918]
mov eax, dword [ecx + 0x30]
and eax, 1
test dword [ecx + 0x30], 0x800
movss dword [ebp - 0xc8], xmm0
je 0x1000a05f
neg eax
sbb eax, eax
add eax, 3
jmp 0x1000a065
mov eax, dword [ebp - 0x88]
movss xmm0, dword [ebp + eax*4 - 0x138]
lea eax, [ebp - 0x7c]
mulss xmm0, dword [0x10084904]
push eax
lea eax, [ebp - 0xc8]
push eax
addss xmm0, dword [0x100848fc]
mulss xmm0, dword [0x10084928]
movss dword [ebp - 0x88], xmm0
call fcn.10075854
movss xmm1, dword [0x1008491c]
movss xmm0, dword [ebp - 0x74]
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x78]
mulss xmm0, xmm1
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x7c]
mulss xmm0, xmm1
push ecx
lea ecx, [ebp - 0xb0]
movss dword [esp], xmm0
call fcn.1007a286
movss xmm0, dword [ebp - 0xa8]
lea ecx, [ebp - 0xbc]
addss xmm0, dword [ebp - 0xe8]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm0, dword [ebp - 0xec]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xb0]
addss xmm0, dword [ebp - 0xf0]
movss dword [esp], xmm0
call fcn.1007a286
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
lea ecx, [ebp - 0xb0]
call fcn.1000cddf
movss xmm1, dword [ebp - 0x88]
lea ecx, [ebp - 0xbc]
movss xmm0, dword [ebp - 0x74]
sub esp, 0xc
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x78]
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x7c]
mulss xmm0, xmm1
movss dword [esp], xmm0
call fcn.1007a286
mov ecx, dword [ebp - 0x98]
call fcn.100098ce
push eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10002242
mov esi, eax
lea edi, [ebp - 0x7c]
lea ecx, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
lea ecx, [ebp - 0xbc]
call fcn.1000cddf
movss xmm1, dword [ebp - 0x84]
movss xmm0, dword [ebp - 0x74]
lea ecx, [ebp - 0xb0]
mulss xmm0, xmm1
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x78]
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x7c]
mulss xmm0, xmm1
movss dword [esp], xmm0
call fcn.1007a286
movss xmm0, dword [ebp - 0xa8]
lea ecx, [ebp - 0xbc]
addss xmm0, dword [ebp - 0x9c]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm0, dword [ebp - 0xa0]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xb0]
addss xmm0, dword [ebp - 0xa4]
movss dword [esp], xmm0
call fcn.1007a286
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
lea ecx, [ebp - 0xb0]
call fcn.1000cddf
lea ecx, [ebp - 0x70]
call fcn.10002078
lea ecx, [ebp - 0x1a0]
call fcn.1000202d
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xf8], 0x100848c4
push eax
call fcn.10003957
mov ecx, dword [0x1009dc38]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x1a0]
push 0x200400b
push edx
call dword [eax + 0x14]
movss xmm0, dword [ebp - 0x44]
ucomiss xmm0, dword [0x10084674]
lahf
test ah, 0x44
jnp 0x1000a4fd
movss xmm1, dword [0x1008492c]
lea ecx, [ebp - 0x110]
movss xmm0, dword [ebp - 0x50]
sub esp, 0xc
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x54]
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm1
movss dword [esp], xmm0
call fcn.1007a286
sub esp, 0xc
lea esi, [ebp - 0x58]
mov edi, esp
lea ecx, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1007a32c
push ecx
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
lea eax, [ebp - 0x144]
movss dword [esp], xmm0
lea ecx, [ebp - 0x110]
push eax
call fcn.100021bc
movss xmm0, dword [ebp - 0x74]
lea ecx, [ebp - 0x104]
sub esp, 0xc
addss xmm0, dword [eax + 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.1007a286
lea esi, [ebp - 0x104]
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
lea ecx, [ebp - 0x144]
call fcn.1000cddf
lea ecx, [ebp - 0x110]
call fcn.1000cddf
movss xmm3, dword [0x10084900]
lea ecx, [ebp - 0xe0]
movss xmm0, dword [ebp - 0x74]
sub esp, 0xc
movss xmm1, dword [ebp - 0x78]
movss xmm2, dword [ebp - 0x7c]
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm3
movss dword [ebp - 0x74], xmm0
mulss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x78], xmm1
mulss xmm1, dword [ebp - 0x44]
movss dword [ebp - 0x7c], xmm2
mulss xmm2, dword [ebp - 0x44]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1007a286
movss xmm0, dword [ebp - 0x84]
lea eax, [ebp - 0x134]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0xe0]
push eax
call fcn.100021bc
movss xmm0, dword [ebp - 0x9c]
sub esp, 0xc
addss xmm0, dword [eax + 8]
movss dword [esp + 8], xmm0
lea ecx, [ebp - 0x11c]
movss xmm0, dword [ebp - 0xa0]
addss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xa4]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.1007a286
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x11c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
lea ecx, [ebp - 0x134]
call fcn.1000cddf
lea ecx, [ebp - 0xe0]
call fcn.1000cddf
movss xmm0, dword [0x10084674]
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x80]
mulss xmm0, dword [ebp - 0x84]
addss xmm1, xmm0
movss dword [ebp - 0x80], xmm1
jmp 0x1000a502
movss xmm1, dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
push ecx
mov ecx, dword [ebp - 0x98]
movss dword [esp], xmm1
call fcn.10002d83
mov ecx, dword [ebp - 0x90]
push eax
call fcn.10009b17
movss xmm0, dword [ebp - 0x44]
ucomiss xmm0, dword [0x10084674]
mov byte [ebp - 0x94], al
lahf
test ah, 0x44
jnp 0x1000a53f
mov al, 1
jmp 0x1000a541
xor al, al
push dword [ebp - 0x94]
lea esi, [ebp - 0x58]
sub esp, 0xc
lea ecx, [ebp - 0x1f0]
mov edi, esp
push 1
movsd dword es:[edi], dword [esi]
push eax
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xd4]
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100099e7
push 0xa
pop ecx
mov esi, eax
lea edi, [ebp - 0x1c8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x8c]
push ecx
inc ecx
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x90]
call fcn.10009afb
push 0xa
pop ecx
mov edi, eax
lea esi, [ebp - 0x1c8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1f0]
call fcn.100020f9
movss xmm1, dword [ebp - 0x44]
lea esi, [ebp - 0xd4]
mulss xmm1, dword [ebp - 0xe4]
lea edi, [ebp - 0xa4]
lea ecx, [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0x74]
mulss xmm1, dword [ebp - 0x84]
movsd dword es:[edi], dword [esi]
subss xmm0, xmm1
movsd dword es:[edi], dword [esi]
movss dword [ebp - 0x74], xmm0
call fcn.100020d6
lea ecx, [ebp - 0x70]
call fcn.100020f9
cmp byte [ebp - 0x94], 0
jne 0x1000a630
cmp dword [ebp - 0x8c], 0x1f4
movss xmm0, dword [ebp - 0x80]
movss xmm1, dword [ebp - 0x84]
addss xmm0, xmm1
movss dword [ebp - 0x80], xmm0
jl 0x1000a1d7
jmp 0x1000a652
mov esi, dword [ebp - 0x8c]
mov edi, 0x1f4
jmp 0x1000a64e
mov ecx, dword [ebp - 0x90]
push esi
call fcn.10009afb
inc esi
mov byte [eax + 0x24], 0
cmp esi, edi
jl 0x1000a63d
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0xc8]
mov byte [eax + 0x4e20], 1
call fcn.1000cddf
lea ecx, [ebp - 0x128]
call fcn.1000cddf
lea ecx, [ebp - 0xf0]
call fcn.1000cddf
lea ecx, [ebp - 0xa4]
call fcn.1000cddf
lea ecx, [ebp - 0x7c]
call fcn.1000cddf
lea ecx, [ebp - 0xd4]
call fcn.1000cddf
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.1007b173
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edi, 0x100a7f24
push edi
call fcn.1007b2f8
cmp dword [0x100a7f24], 0xffffffff
pop ecx
jne 0x10009f9c
mov ecx, dword [0x1009dc34]
push str.sv_gravity
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push edi
mov dword [0x100a7f20], eax
call fcn.1007b2a7
pop ecx
jmp 0x10009f9c