Function at 0x10193640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1034c744]
sub esp, 0x20
mov eax, dword [eax + 0x14]
push esi
push edi
cmp byte [eax], 0
je 0x10193a11
cmp byte [eax + 3], 0
je 0x10193a11
mov eax, dword [0x1034c74c]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
mov ecx, dword fs:[0x2c]
mov edi, eax
mov eax, dword [0x1034dcac]
mov edx, dword [ecx + eax*4]
mov ecx, dword [0x1035b434]
cmp ecx, dword [edx + 4]
jg 0x10193a17
mov esi, dword [0x1035b438]
mov ecx, edi
call fcn.1003b060
cmp dword ds:[eax], 9
je 0x10193a11
mov ecx, edi
call fcn.1003b060
cmp dword [eax], 8
je 0x10193a11
mov ecx, edi
call fcn.100230c0
test byte [eax], 1
jne 0x10193a11
mov eax, dword fs:[0x2c]
mov edi, dword [0x1034dcac]
mov ecx, dword ds:[eax + edi*4]
mov eax, dword [0x1035b418]
cmp eax, dword [ecx + 4]
jg 0x10193a51
mov eax, dword [0x1034c74c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
movss xmm0, dword [esp + 0x20]
sub esp, 8
subss xmm0, dword [0x1035aedc]
mov dword [esp + 4], 0x43b40000
movss dword [esp], xmm0
call fcn.100ebddf
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7177
movss xmm0, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esi + 0x24]
movss xmm2, dword [0x102fdfe4]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [0x1034c744]
fstp dword [esp + 0x14]
movss dword [0x1035aedc], xmm0
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xd0], 0
je 0x1019380e
movss xmm0, dword [0x102fdf98]
xorps xmm1, xmm1
test ecx, 0x200
je 0x101937cc
subss xmm1, xmm0
test ecx, 0x400
je 0x101937d8
addss xmm1, xmm0
test cl, 8
je 0x101937e7
mulss xmm1, dword [0x102fdd94]
jmp 0x101937fe
test cl, 0x10
je 0x101937fe
movaps xmm0, xmm1
movaps xmm1, xmm2
mulss xmm0, dword [0x102fdd94]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x20], xmm0
call fcn.1011be40
sub esp, 8
mov dword [esp + 0x20], eax
movss xmm0, dword [eax + 0xf0]
movss xmm1, dword [eax + 0xec]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100ebdff
fstp dword ds:[esp + 0x18]
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
sub esp, 8
movss xmm0, dword [0x102fdf24]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7560
movss xmm0, dword [0x102fdfe4]
add esp, 0x10
divss xmm0, dword [0x102fde74]
fstp dword [esp + 0x10]
mulss xmm0, dword [esp + 0x10]
comiss xmm0, dword [esp + 0x14]
jbe 0x10193922
mov eax, dword [esp + 0x18]
sub esp, 8
movss xmm1, dword [eax + 0xec]
movss xmm0, dword [eax + 0xf0]
mov dword [esp + 4], 0x43b40000
call fcn.100274a0
movss xmm1, dword [0x102fdfe4]
divss xmm1, dword [0x102fde74]
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp], xmm1
call fcn.100ebddf
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
movss dword [esp], xmm0
call fcn.100d7152
add esp, 4
test eax, eax
mov eax, dword [0x1035b41c]
movss xmm0, dword [eax + 0x28]
jne 0x10193909
xorps xmm0, xmmword [0x102fe3a0]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0xc]
movss dword [esp + 0x20], xmm0
jmp 0x10193958
movss xmm0, dword [esp + 0xc]
push ecx
movss dword [esp], xmm0
call fcn.100d7152
add esp, 4
test eax, eax
mov eax, dword [0x1035b41c]
je 0x10193947
mov eax, dword [eax + 0x28]
mov dword [esi + 0x1c], eax
jmp 0x10193958
movss xmm0, dword [eax + 0x28]
xorps xmm0, xmmword [0x102fe3a0]
movss dword [esi + 0x1c], xmm0
mov eax, dword fs:[0x2c]
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x18], xmm0
mov ecx, dword [eax + edi*4]
mov eax, dword [0x1035b434]
cmp eax, dword [ecx + 4]
jg 0x10193a96
movss xmm1, dword [0x102fde74]
sub esp, 8
divss xmm1, dword [0x102fdfe4]
mov esi, dword [0x1035b438]
movss xmm0, dword [esi + 0x10]
subss xmm0, dword [esp + 0x20]
mulss xmm0, xmm1
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7510
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x1c]
movsd qword [esp], xmm0
call fcn.100d74c0
movss xmm5, dword [esi + 0x18]
add esp, 8
movss xmm4, dword [esi + 0x1c]
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x14]
movaps xmm0, xmm4
mulss xmm4, dword [esp + 0x14]
fstp dword [esp + 0x18]
mulss xmm0, dword [esp + 0x18]
mulss xmm5, dword [esp + 0x18]
subss xmm2, xmm0
addss xmm5, xmm4
movss dword [esi + 0x18], xmm2
movss dword [esi + 0x1c], xmm5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1035b434
nop dword [eax]
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b434], 0xffffffff
jne 0x101936ac
push 0x1035b434
mov dword [0x1035b438], 0
call fcn.1009aeba
add esp, 4
jmp 0x101936ac
push 0x1035b418
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b418], 0xffffffff
jne 0x1019370c
mov eax, dword [0x1034c74c]
push str.cl_sidespeed
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x1035b418
mov dword [0x1035b41c], eax
call fcn.1009aeba
add esp, 4
jmp 0x1019370c
push 0x1035b434
nop dword [eax + eax]
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b434], 0xffffffff
jne 0x1019397e
push 0x1035b434
mov dword [0x1035b438], 0
call fcn.1009aeba
add esp, 4
jmp 0x1019397e