Function at 0x1002fa20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102bbeed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push esi
mov dword [ebp - 0x10], ecx
mov eax, dword [0x10433778]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x107facb8]
cmp eax, dword [edx + 8]
jle 0x1002fab7
push 0x107facb8
call fcn.102b89ed
add esp, 4
cmp dword [0x107facb8], 0xffffffff
jne 0x1002fab7
mov dword [ebp - 4], 0
mov ecx, 0x1043f540
call fcn.10261970
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x34], eax
push str.sv_maxspeed
mov ecx, dword [ebp - 0x14]
call dword [ebp - 0x34]
mov dword [0x107fac94], eax
mov dword [ebp - 4], 0xffffffff
push 0x107facb8
call fcn.102b89a3
add esp, 4
mov ecx, dword [0x10433778]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x107facb0]
cmp ecx, dword [eax + 8]
jle 0x1002fb2e
push 0x107facb0
call fcn.102b89ed
add esp, 4
cmp dword [0x107facb0], 0xffffffff
jne 0x1002fb2e
mov dword [ebp - 4], 1
mov ecx, 0x1043f540
call fcn.10261970
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x38], ecx
push str.sv_stepsize
mov ecx, dword [ebp - 0x18]
call dword [ebp - 0x38]
mov dword [0x107facac], eax
mov dword [ebp - 4], 0xffffffff
push 0x107facb0
call fcn.102b89a3
add esp, 4
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
mov ecx, dword [ebp + 8]
call fcn.1000f520
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1000a5e0
mov ecx, dword [ebp + 8]
call fcn.1000d680
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.1000a5e0
mov ecx, dword [ebp + 8]
call fcn.10027600
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx + 0x1c], edx
lea ecx, [ebp - 0xa4]
call fcn.1000a8c0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.1000bb80
mov ecx, 0x1043f540
call fcn.10261970
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x3c], edx
push 0x102ddf08
mov ecx, dword [ebp - 0x1c]
call dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
call eax
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
mov ecx, 0x1043f540
movss dword [ebp - 0x44], xmm0
call fcn.10261e80
movss xmm0, dword [ebp - 0x44]
mulss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x103350e4]
mov ecx, dword [ebp - 0x10]
movss dword [ecx + 0x74], xmm0
mov ecx, 0x1043f540
call fcn.10261970
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x48], ecx
push str.sv_jump_impulse
mov ecx, dword [ebp - 0x24]
call dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x30]
call edx
mov eax, dword [ebp - 0x10]
fstp dword [eax + 0x78]
mov ecx, dword [0x107facac]
mov edx, dword [ecx]
mov ecx, dword [0x107facac]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [ebp - 0x10]
fstp dword [ecx + 0x7c]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.1000a5e0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.1000a5e0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x98], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x9c], 0x10430f34
mov ecx, dword [ebp + 8]
call fcn.1000d5d0
mov esi, dword [eax]
and esi, 1
mov ecx, dword [ebp + 8]
call fcn.1000d5d0
mov ecx, dword [eax]
and ecx, 0xf8
or esi, ecx
mov ecx, dword [ebp + 8]
call fcn.1000d5d0
mov edx, dword [eax]
shr edx, 1
and edx, 1
shl edx, 1
or esi, edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xa0], esi
push 0x112
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001f2d0
add esp, 8
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 8]
call dword [ebp - 0x4c]
fstp dword [ebp - 0x50]
mov edx, dword [0x107fac94]
mov eax, dword [edx]
mov ecx, dword [0x107fac94]
mov edx, dword [eax + 0x30]
call edx
push ecx
fstp dword [esp]
push ecx
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
add esp, 8
mov eax, dword [ebp - 0x10]
fstp dword [eax + 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4