Function at 0x512cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6b8
push esi
mov esi, ecx
lea ecx, [esp + 0x48]
call fcn.00563850
xor eax, eax
push eax
mov dword [esp + 0x3a8], eax
mov dword [esp + 0x3bc], eax
mov dword [esp + 0x3b4], eax
mov dword [esp + 0x3b8], eax
mov eax, dword [esp + 0x6c4]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 0
mov byte [esp + 0x3c4], 0
mov byte [esp + 0x3b0], 1
call fcn.00564080
test al, al
jne 0x512d24
lea ecx, [esp + 0x48]
call fcn.00563e80
or eax, 0xffffffff
pop esi
add esp, 0x6b8
ret 4
push 0x300
lea ecx, [esp + 0x3c0]
push ecx
lea ecx, [esp + 0x50]
call fcn.00563b00
test eax, eax
je 0x5132e5
push ebx
push ebp
push edi
jmp 0x512d50
lea ecx, [esp + 0xb0]
call fcn.00564e10
test eax, eax
jne 0x5132c4
lea edx, [esp + 0x3c8]
push str._PHYSICAL_
push edx
call fcn.00588710
add esp, 8
test eax, eax
je 0x5132c4
push 0x300
lea eax, [esp + 0x3cc]
push eax
lea ecx, [esp + 0x5c]
call fcn.00563b00
test eax, eax
je 0x5132c4
nop
lea ecx, [esp + 0xb0]
call fcn.00564e10
cmp eax, 1
je 0x5132c4
test eax, eax
jne 0x5132a6
push eax
push eax
push eax
push esi
push str.RadiusAdd
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea ecx, [esi + 4]
push ecx
push str.RadiusMult
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea edx, [esi + 8]
push edx
push str.RadiusMax
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea eax, [esi + 0xc]
push eax
push str.Engine
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea ecx, [esi + 0x10]
push ecx
push str.AeroDiv
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea edx, [esi + 0x14]
push edx
push str.AeroMin
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea eax, [esi + 0x18]
push eax
push str.VertMult
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea ecx, [esi + 0x1c]
push ecx
push str.FrontWingDetach
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea edx, [esi + 0x20]
push edx
push str.FrontWingRandom
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea eax, [esi + 0x2c]
push eax
lea ecx, [esi + 0x28]
push ecx
lea edx, [esi + 0x24]
push edx
push str.FrontWingPos
lea ecx, [esp + 0xc4]
call fcn.00565470
lea eax, [esi + 0x3c]
push eax
lea ecx, [esi + 0x38]
push ecx
lea edx, [esi + 0x34]
push edx
lea eax, [esi + 0x30]
push eax
push str.FrontWingMassInertia
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea ecx, [esi + 0x48]
push ecx
lea edx, [esi + 0x44]
push edx
lea eax, [esi + 0x40]
push eax
push str.FrontWingCollParams
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea ecx, [esi + 0x4c]
push ecx
push str.RearWingDetach
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea edx, [esi + 0x50]
push edx
push str.RearWingRandom
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea eax, [esi + 0x5c]
push eax
lea ecx, [esi + 0x58]
push ecx
lea edx, [esi + 0x54]
push edx
push str.RearWingPos
lea ecx, [esp + 0xc4]
call fcn.00565470
lea eax, [esi + 0x6c]
push eax
lea ecx, [esi + 0x68]
push ecx
lea edx, [esi + 0x64]
push edx
lea eax, [esi + 0x60]
push eax
push str.RearWingMassInertia
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea ecx, [esi + 0x78]
push ecx
lea edx, [esi + 0x74]
push edx
lea eax, [esi + 0x70]
push eax
push str.RearWingCollParams
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
lea ecx, [esi + 0x80]
push ecx
lea edx, [esi + 0x7c]
push edx
push str.TireCutDull
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
lea eax, [esi + 0x88]
push eax
lea ecx, [esi + 0x84]
push ecx
push str.TireCutSharp
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea edx, [esi + 0x8c]
push edx
push str.WheelBend
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea eax, [esi + 0x90]
push eax
push str.WheelDetach
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea ecx, [esi + 0x94]
push ecx
push str.WheelRandom
lea ecx, [esp + 0xc4]
call fcn.00565470
xor ebx, ebx
lea edi, [esi + 0xa0]
push ebx
lea edx, [esp + 0x18]
push str.Wheel_dMassInertia
push edx
call fcn.00589571
add esp, 0xc
lea eax, [edi + 4]
push eax
push edi
lea ecx, [edi - 4]
push ecx
lea edx, [edi - 8]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc4]
call fcn.00565470
push ebx
lea ecx, [esp + 0x18]
push str.Wheel_dCollParams
push ecx
call fcn.00589571
add esp, 0xc
push 0
lea edx, [edi + 0x10]
push edx
lea eax, [edi + 0xc]
push eax
lea ecx, [edi + 8]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc4]
call fcn.00565470
add ebx, 1
add edi, 0x1c
cmp ebx, 4
jl 0x513043
lea eax, [esi + 0x108]
push eax
push str.FLSuspIns
lea ecx, [esp + 0xb8]
call fcn.00565160
lea ecx, [esi + 0x128]
push ecx
push str.FRSuspIns
lea ecx, [esp + 0xb8]
call fcn.00565160
lea edx, [esi + 0x148]
push edx
push str.RLSuspIns
lea ecx, [esp + 0xb8]
call fcn.00565160
lea eax, [esi + 0x168]
push eax
push str.RRSuspIns
lea ecx, [esp + 0xb8]
call fcn.00565160
lea ecx, [esi + 0x1b8]
xor ebp, ebp
lea edi, [esi + 0x280]
lea ebx, [esi + 0x1ec]
mov dword [esp + 0x10], ecx
lea esp, [esp]
push ebp
lea edx, [esp + 0x18]
push str.Part_dDetach
push edx
call fcn.00589571
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 0
add eax, 0xffffffd0
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.00565470
push ebp
lea edx, [esp + 0x18]
push str.Part_dRandom
push edx
call fcn.00589571
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.00565470
push ebp
lea edx, [esp + 0x18]
push str.Part_dPos
push edx
call fcn.00589571
add esp, 0xc
push 0
lea eax, [ebx + 4]
push eax
push ebx
lea ecx, [ebx - 4]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc4]
call fcn.00565470
push ebp
lea eax, [esp + 0x18]
push str.Part_dMassInertia
push eax
call fcn.00589571
add esp, 0xc
lea ecx, [edi + 4]
push ecx
push edi
lea edx, [edi - 4]
push edx
lea eax, [edi - 8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.00565470
push ebp
lea edx, [esp + 0x18]
push str.Part_dCollParams
push edx
call fcn.00589571
add esp, 0xc
push 0
lea eax, [edi + 0x10]
push eax
lea ecx, [edi + 0xc]
push ecx
lea edx, [edi + 8]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc4]
call fcn.00565470
add dword [esp + 0x10], 4
add ebp, 1
add ebx, 0xc
add edi, 0x1c
cmp ebp, 0xc
jl 0x513130
push 0
lea ecx, [esi + 0x3c8]
push ecx
push str.RadiatorCoverInstance
lea ecx, [esp + 0xbc]
call fcn.00565d50
push 0
lea edx, [esi + 0x3e8]
push edx
push str.DeactivateInstance
lea ecx, [esp + 0xbc]
call fcn.00565d50
push 0
lea eax, [esi + 0x408]
push eax
push str.ActivateInstance
lea ecx, [esp + 0xbc]
call fcn.00565d50
push 0
push 0
push 0
lea ecx, [esi + 0x428]
push ecx
push 0x61d1a4
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0x300
lea edx, [esp + 0x3cc]
push edx
lea ecx, [esp + 0x5c]
call fcn.00563b00
test eax, eax
jne 0x512da0
push 0x300
lea eax, [esp + 0x3cc]
push eax
lea ecx, [esp + 0x5c]
call fcn.00563b00
test eax, eax
jne 0x512d50
pop edi
pop ebp
pop ebx
lea ecx, [esp + 0x48]
call fcn.00563940
lea ecx, [esp + 0x48]
call fcn.00563e80
xor eax, eax
pop esi
add esp, 0x6b8
ret 4