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

Disassembly:
sub esp, 0x6b8
push esi
push edi
mov esi, ecx
call fcn.00414510
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x13], 0
call fcn.005648e0
mov eax, dword [esp + 0x6c4]
xor edi, edi
push edi
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00564a80
cmp al, 1
jne 0x415290
push 0x300
lea ecx, [esp + 0x3c4]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 0
mov byte [esp + 0x3c8], 0
mov dword [esp + 0x3b0], edi
mov dword [esp + 0x3c4], edi
mov dword [esp + 0x3bc], edi
mov dword [esp + 0x3c0], edi
mov byte [esp + 0x3b4], al
call fcn.00564c00
test eax, eax
je 0x415287
push ebx
push ebp
lea ebp, [esi + 0x80]
lea ebx, [esi + 0x74]
lea edi, [esi + 0x450]
lea ecx, [esp + 0xb0]
call fcn.00564e10
push 0
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push esi
push 0x5b3190
lea ecx, [esp + 0xc4]
call fcn.00565470
test eax, eax
je 0x414afb
cmp byte [esp + 0x23], 0
jne 0x414ad5
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp byte [esp + 0x1b], 0
jne 0x414afb
fld dword [esi + 4]
fsub dword [0x5b318c]
fld dword [esi + 8]
fsub dword [str.33s_]
fld dword [esi]
fstp dword [esi + 0x24]
fxch st(1)
fstp dword [esi + 0x28]
fstp dword [esi + 0x2c]
push 0
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0xc]
push eax
push str.CameraTarget
lea ecx, [esp + 0xc4]
call fcn.00565470
test eax, eax
je 0x414b23
mov byte [esp + 0x23], 1
push 0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x18]
push eax
push str.TVOffset
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x24]
push eax
push str.MirrorPos
lea ecx, [esp + 0xc4]
call fcn.00565470
test eax, eax
je 0x414b6a
mov byte [esp + 0x1b], 1
push 0
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x34]
push eax
lea eax, [esi + 0x30]
push eax
push str.MirrorNorm
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea eax, [esi + 0x44]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3c]
push eax
push str.SteeringWheelAxis
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x48]
push eax
push str.FlowCenter
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea eax, [esi + 0x54]
push eax
push str.FrontWheelsInCockpit
lea ecx, [esp + 0xc4]
call fcn.005651f0
push 0
push 0
push 0
lea eax, [esi + 0x55]
push eax
push str.BodySparks
lea ecx, [esp + 0xc4]
call fcn.005651f0
push 0
push 0
push 0
lea eax, [esi + 0x56]
push eax
push str.RelativeTachometer
lea ecx, [esp + 0xc4]
call fcn.005651f0
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x58]
push eax
push str.WheelOffsets
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
push 0
push 0
lea eax, [esi + 0x68]
push eax
push 0x5b30dc
lea ecx, [esp + 0xc4]
call fcn.00565470
test eax, eax
je 0x414c64
fld dword [esi + 0x68]
fmul dword [0x5b30d8]
fstp dword [esi + 0x68]
push 0
push 0
push ebp
push ebx
lea eax, [esi + 0x7c]
push eax
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x6c]
push eax
push str.WiperRates
lea ecx, [esp + 0xd4]
call fcn.00565580
push 0
push 0
lea eax, [esi + 0x98]
push eax
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x94]
push eax
lea eax, [esi + 0x88]
push eax
lea eax, [esi + 0x90]
push eax
lea eax, [esi + 0x84]
push eax
push str.WiperAngles
lea ecx, [esp + 0xd4]
call fcn.00565580
push 0
lea eax, [esi + 0xa4]
push eax
lea eax, [esi + 0xa0]
push eax
lea eax, [esi + 0x9c]
push eax
push str.HeadMaxPos
lea ecx, [esp + 0xc4]
call fcn.00565470
push 0
lea eax, [esi + 0xb0]
push eax
lea eax, [esi + 0xac]
push eax
lea eax, [esi + 0xa8]
push eax
push str.HeadMaxOri
lea ecx, [esp + 0xc4]
call fcn.00565470
push str.Speedometer
lea edx, [esp + 0xb4]
push edx
lea ecx, [esi + 0xb4]
call fcn.004143b0
push str.Tachometer
lea eax, [esp + 0xb4]
push eax
lea ecx, [esi + 0x138]
call fcn.004143b0
push str.WaterTemp
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esi + 0x1bc]
call fcn.004143b0
push str.OilTemp
lea edx, [esp + 0xb4]
push edx
lea ecx, [esi + 0x240]
call fcn.004143b0
push str.OilPressure
lea eax, [esp + 0xb4]
push eax
lea ecx, [esi + 0x2c4]
call fcn.004143b0
lea ecx, [esp + 0xb0]
push str.FuelPressure
push ecx
lea ecx, [esi + 0x348]
call fcn.004143b0
push str.FuelLevel
lea edx, [esp + 0xb4]
push edx
lea ecx, [esi + 0x3cc]
call fcn.004143b0
push edi
push str.GearsFont
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x414de1
push edi
call fcn.0058b0cc
add esp, 4
lea eax, [esi + 0x470]
push eax
push str.GearsBackground
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x414e0c
lea eax, [esi + 0x470]
push eax
call fcn.0058b0cc
add esp, 4
push 0
push 0
lea eax, [esi + 0x494]
push eax
lea eax, [esi + 0x490]
push eax
push str.GearsScale
lea ecx, [esp + 0xc4]
call fcn.00565470
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
push str.GearsAlphaColor
lea ecx, [esp + 0xc4]
call fcn.00565360
test eax, eax
je 0x414e77
mov ecx, dword [esp + 0x24]
shl ecx, 8
add ecx, dword [esp + 0x10]
shl ecx, 8
add ecx, dword [esp + 0x14]
shl ecx, 8
add ecx, dword [esp + 0x1c]
mov dword [esi + 0x498], ecx
lea eax, [esi + 0x49c]
push eax
push str.SpeedFont
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x414ea2
lea eax, [esi + 0x49c]
push eax
call fcn.0058b0cc
add esp, 4
lea eax, [esi + 0x4bc]
push eax
push str.SpeedBackground
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x414ecd
lea eax, [esi + 0x4bc]
push eax
call fcn.0058b0cc
add esp, 4
push 0
push 0
lea eax, [esi + 0x4e0]
push eax
lea eax, [esi + 0x4dc]
push eax
push str.SpeedScale
lea ecx, [esp + 0xc4]
call fcn.00565470
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
push str.SpeedAlphaColor
lea ecx, [esp + 0xc4]
call fcn.00565360
test eax, eax
je 0x414f38
mov eax, dword [esp + 0x24]
shl eax, 8
add eax, dword [esp + 0x10]
shl eax, 8
add eax, dword [esp + 0x14]
shl eax, 8
add eax, dword [esp + 0x1c]
mov dword [esi + 0x4e4], eax
lea eax, [esi + 0x4e8]
push eax
push str.PlaceFont
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x414f63
lea eax, [esi + 0x4e8]
push eax
call fcn.0058b0cc
add esp, 4
lea eax, [esi + 0x508]
push eax
push str.PlaceBackground
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x414f8e
lea eax, [esi + 0x508]
push eax
call fcn.0058b0cc
add esp, 4
push 0
push 0
lea eax, [esi + 0x52c]
push eax
lea eax, [esi + 0x528]
push eax
push str.PlaceScale
lea ecx, [esp + 0xc4]
call fcn.00565470
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.PlaceAlphaColor
lea ecx, [esp + 0xc4]
call fcn.00565360
test eax, eax
je 0x414ff9
mov edx, dword [esp + 0x24]
shl edx, 8
add edx, dword [esp + 0x10]
shl edx, 8
add edx, dword [esp + 0x14]
shl edx, 8
add edx, dword [esp + 0x1c]
mov dword [esi + 0x530], edx
lea eax, [esi + 0x534]
push eax
push str.LapsFont
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x415024
lea eax, [esi + 0x534]
push eax
call fcn.0058b0cc
add esp, 4
lea eax, [esi + 0x554]
push eax
push str.LapsBackground
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x41504f
lea eax, [esi + 0x554]
push eax
call fcn.0058b0cc
add esp, 4
push 0
push 0
lea eax, [esi + 0x578]
push eax
lea eax, [esi + 0x574]
push eax
push str.LapsScale
lea ecx, [esp + 0xc4]
call fcn.00565470
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
push str.LapsAlphaColor
lea ecx, [esp + 0xc4]
call fcn.00565360
test eax, eax
je 0x4150ba
mov ecx, dword [esp + 0x24]
shl ecx, 8
add ecx, dword [esp + 0x10]
shl ecx, 8
add ecx, dword [esp + 0x14]
shl ecx, 8
add ecx, dword [esp + 0x1c]
mov dword [esi + 0x57c], ecx
lea eax, [esi + 0x580]
push eax
push str.LCDFont
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x4150e5
lea eax, [esi + 0x580]
push eax
call fcn.0058b0cc
add esp, 4
lea eax, [esi + 0x5a0]
push eax
push str.LCDBackground
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x415110
lea eax, [esi + 0x5a0]
push eax
call fcn.0058b0cc
add esp, 4
push 0
push 0
lea eax, [esi + 0x5c4]
push eax
lea eax, [esi + 0x5c0]
push eax
push str.LCDScale
lea ecx, [esp + 0xc4]
call fcn.00565470
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
push str.LCDAlphaColor
lea ecx, [esp + 0xc4]
call fcn.00565360
test eax, eax
je 0x41517b
mov eax, dword [esp + 0x24]
shl eax, 8
add eax, dword [esp + 0x10]
shl eax, 8
add eax, dword [esp + 0x14]
shl eax, 8
add eax, dword [esp + 0x1c]
mov dword [esi + 0x5c8], eax
lea eax, [esi + 0x5cc]
push eax
push str.AidsFont
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x4151a6
lea eax, [esi + 0x5cc]
push eax
call fcn.0058b0cc
add esp, 4
lea eax, [esi + 0x5ec]
push eax
push str.AidsBackground
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x4151d1
lea eax, [esi + 0x5ec]
push eax
call fcn.0058b0cc
add esp, 4
push 0
push 0
lea eax, [esi + 0x610]
push eax
lea eax, [esi + 0x60c]
push eax
push str.AidsScale
lea ecx, [esp + 0xc4]
call fcn.00565470
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.AidsAlphaColor
lea ecx, [esp + 0xc4]
call fcn.00565360
test eax, eax
je 0x41523c
mov edx, dword [esp + 0x24]
shl edx, 8
add edx, dword [esp + 0x10]
shl edx, 8
add edx, dword [esp + 0x14]
shl edx, 8
add edx, dword [esp + 0x1c]
mov dword [esi + 0x614], edx
lea eax, [esi + 0x618]
push eax
push 0x5b2f00
lea ecx, [esp + 0xb8]
call fcn.00565160
test eax, eax
je 0x415267
lea eax, [esi + 0x618]
push eax
call fcn.0058b0cc
add esp, 4
push 0x300
lea eax, [esp + 0x3cc]
push eax
lea ecx, [esp + 0x30]
call fcn.00564c00
test eax, eax
jne 0x414a91
pop ebp
pop ebx
lea ecx, [esp + 0x20]
call fcn.00563940
lea ecx, [esp + 0x20]
call fcn.00564980
pop edi
pop esi
add esp, 0x6b8
ret 4