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

Disassembly:
sub esp, 0xaac
mov eax, dword [str.Misc]
push ebx
mov ebx, ecx
mov dword [ebx + 0x4c0], eax
mov eax, dword [ebx]
mov cl, byte [0x603400]
push esi
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], ebx
mov byte [esp + 0x49c], 0
mov byte [esp + 0x7b4], 0
mov dword [esp + 0x79c], esi
mov dword [esp + 0x7b0], esi
mov dword [esp + 0x7a8], esi
mov dword [esp + 0x7ac], esi
mov byte [esp + 0x7a0], 1
mov byte [esp + 0x35c], 0
mov byte [esp + 0x2dc], 0
mov byte [esp + 0x29c], 0
mov byte [esp + 0xdc], 0
mov byte [esp + 0x9c], 0
mov byte [esp + 0x21c], 0
mov byte [esp + 0x31c], 0
mov byte [esp + 0x25c], 0
mov byte [esp + 0x5c], 0
mov byte [ebx + 0x4c4], cl
jne 0x4d84cb
mov eax, 0x5ad73f
push 0x5bc5f8
push eax
call fcn.0058b491
add esp, 8
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x4d852a
cmp dword [0xa1a2c8], 1
jl 0x4d851c
push 0x1d2
push str...Source_setup.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
mov eax, dword [ebx]
cmp eax, esi
jne 0x4d8509
mov eax, 0x5ad73f
push eax
push str.Could_not_open__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0xaac
ret 4
push ebp
push edi
push eax
lea edx, [esp + 0x7c0]
push 0x300
push edx
call fcn.0058a8ef
add esp, 0xc
test eax, eax
je 0x4d8cb0
lea ebx, [ebx]
lea ecx, [esp + 0x4a4]
call fcn.00564e10
lea eax, [esp + 0x364]
push eax
push str.HDVehicle
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea ecx, [esp + 0x2e4]
push ecx
push str.HeadPhysics
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea edx, [esp + 0x2a4]
push edx
push str.Sounds
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [esp + 0xe4]
push eax
push str.Graphics
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea ecx, [esp + 0xa4]
push ecx
push str.Spinner
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea edx, [esp + 0x224]
push edx
push str.Upgrades
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [esp + 0x264]
push eax
push str.AIUpgradeClass
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea ecx, [esp + 0x324]
push ecx
push str.Cockpit
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x40]
push eax
push str.GenString
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea edx, [esp + 0x64]
push edx
push str.Cameras
lea ecx, [esp + 0x4ac]
call fcn.00565160
push 0
push 0
push 0
lea eax, [ebx + 0x4b8]
push eax
push str.BaseVehiclePrice
lea ecx, [esp + 0x4b8]
call fcn.00565360
push 0
push 0
push 0
lea eax, [ebx + 0x4bc]
push eax
push str.UnlockExperience
lea ecx, [esp + 0x4b8]
call fcn.00565360
lea eax, [ebx + 0x70]
push eax
push str.Number
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea esi, [ebx + 0x78]
push esi
push str.Team
lea ecx, [esp + 0x4ac]
call fcn.00565160
test eax, eax
je 0x4d86dc
cmp byte [ebx + 0xb8], 0
lea edx, [ebx + 0xb8]
jne 0x4d86dc
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4d86d0
lea eax, [ebx + 0xb8]
push eax
push str.PitGroup
lea ecx, [esp + 0x4ac]
call fcn.00565160
mov edx, str.Driver
lea ecx, [esp + 0x7bc]
call fcn.00567b10
test eax, eax
je 0x4d8755
lea edi, [ebx + 0xf8]
push edi
push str.Driver
lea ecx, [esp + 0x4ac]
call fcn.00565160
xor eax, eax
lea esi, [eax + 1]
push esi
lea eax, [esp + 0x5c]
push str.Driver_d
push eax
call fcn.00589571
add esp, 0xc
push edi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x4ac]
call fcn.00565160
mov eax, esi
add edi, 0x40
cmp eax, 4
jl 0x4d8723
lea eax, [ebx + 0x1f8]
push eax
push str.Description
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x238]
push eax
push str.Engine
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x278]
push eax
push str.Manufacturer
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea esi, [ebx + 0x2b8]
push esi
push str.Classes
lea ecx, [esp + 0x4ac]
call fcn.00565160
test eax, eax
je 0x4d891f
lea ecx, [esp + 0x38]
call fcn.0056b630
mov edx, dword [str.___t_n]
mov al, byte [0x60222c]
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], al
call fcn.0058e21b
mov edi, eax
add esp, 8
test edi, edi
je 0x4d8836
or ebp, 0xffffffff
push 8
call fcn.00588cb9
mov esi, eax
add esp, 4
test esi, esi
je 0x4d8813
push edi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], ebp
call fcn.00566e70
jmp 0x4d8815
xor esi, esi
push 1
push esi
lea ecx, [esp + 0x40]
call fcn.00406b80
lea edx, [esp + 0x14]
push edx
push 0
call fcn.0058e21b
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d87f0
cmp dword [esp + 0x48], 0
mov byte [ebx + 0x2b8], 0
jle 0x4d8916
jmp 0x4d8850
lea ecx, [esp + 0x38]
xor ebp, ebp
call fcn.004d3080
mov esi, eax
test esi, esi
je 0x4d889d
test ebp, ebp
je 0x4d888c
mov eax, dword [esi]
test eax, eax
mov ecx, eax
jne 0x4d8872
mov ecx, 0x5ad73f
mov eax, dword [ebp]
test eax, eax
jne 0x4d887e
mov eax, 0x5ad73f
push ecx
push eax
call fcn.00588ead
add esp, 8
test eax, eax
jle 0x4d888e
mov ebp, esi
lea ecx, [esp + 0x38]
call fcn.004155b0
mov esi, eax
test esi, esi
jne 0x4d8861
cmp byte [ebx + 0x2b8], 0
lea edi, [ebx + 0x2b8]
je 0x4d88c3
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4d88b0
mov ax, word [0x5ae2e4]
mov word [edi], ax
mov eax, dword [ebp]
test eax, eax
jne 0x4d88cf
mov eax, 0x5ad73f
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4d88d1
lea edi, [ebx + 0x2b8]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4d88e7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x40]
call fcn.004098b0
cmp dword [esp + 0x48], 0
jg 0x4d8850
lea ecx, [esp + 0x38]
call fcn.00406be0
lea eax, [ebx + 0x4c0]
push eax
push str.Category
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x5c0]
push eax
push str.FullTeamName
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x640]
push eax
push str.TeamFounded
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x650]
push eax
push str.TeamHeadquarters
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x690]
push eax
push str.TeamStarts
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x6a0]
push eax
push str.TeamPoles
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x6b0]
push eax
push str.TeamWins
lea ecx, [esp + 0x4ac]
call fcn.00565160
lea eax, [ebx + 0x6c0]
push eax
push str.TeamWorldChampionships
lea ecx, [esp + 0x4ac]
call fcn.00565160
push 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
push str.Color
lea ecx, [esp + 0x4b8]
call fcn.00565360
test eax, eax
je 0x4d8a23
mov ecx, dword [esp + 0x34]
or ecx, 0xffffff00
shl ecx, 8
or ecx, dword [esp + 0x2c]
shl ecx, 8
or ecx, dword [esp + 0x30]
mov dword [ebx + 0x6d0], ecx
lea edx, [esp + 0x3a4]
push edx
push str.DefaultLivery
lea ecx, [esp + 0x4ac]
call fcn.00565160
test eax, eax
je 0x4d8a53
lea eax, [esp + 0x3a4]
push eax
lea ecx, [ebx + 0x6d4]
call fcn.00566e70
lea ecx, [esp + 0x3a4]
push ecx
push str.PitcrewLivery
lea ecx, [esp + 0x4ac]
call fcn.00565160
test eax, eax
je 0x4d8a83
lea edx, [esp + 0x3a4]
push edx
lea ecx, [ebx + 0x6f0]
call fcn.00566e70
mov edx, str.Extra
lea ecx, [esp + 0x7bc]
call fcn.00567b10
test eax, eax
je 0x4d8b44
xor esi, esi
lea edi, [ebx + 0x75c]
lea ebp, [ebx + 0x70c]
lea ebx, [ebx]
push esi
lea eax, [esp + 0x3c]
push str.Extra_d
push eax
call fcn.00589571
add esp, 0xc
lea ecx, [esp + 0x3a4]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x4ac]
call fcn.00565160
test eax, eax
je 0x4d8aef
lea eax, [esp + 0x3a4]
push eax
mov ecx, ebp
call fcn.00566e70
lea eax, [esp + 0x38]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4d8af6
mov ecx, dword [str.TexStage]
mov edx, dword [0x60327c]
push 0
push 0
mov dword [eax], ecx
mov cl, byte [0x603280]
push 0
mov dword [eax + 4], edx
push edi
lea edx, [esp + 0x48]
mov byte [eax + 8], cl
push edx
lea ecx, [esp + 0x4b8]
call fcn.00565360
add esi, 1
add edi, 4
add ebp, 8
cmp esi, 0xa
jl 0x4d8ab0
lea eax, [esp + 0x3a4]
push eax
push str.TrackLivery
lea ecx, [esp + 0x4ac]
call fcn.00565160
test eax, eax
je 0x4d8c8e
lea ecx, [esp + 0x3a4]
push 0x5fc8a0
push ecx
call fcn.00588710
mov edi, eax
xor ebp, ebp
add esp, 8
cmp edi, ebp
jne 0x4d8bc2
cmp dword [0xa1a2c8], 1
jl 0x4d8c8e
push 0x24d
push str...Source_setup.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
mov ecx, ebx
call fcn.004968f0
push eax
push str.Format_is:_TrackLivery__trackname___liveryname___in_file___s_
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
jmp 0x4d8c8e
push 0x2c
call fcn.00588cb9
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x4d8bf0
or eax, 0xffffffff
mov dword [esi], ebp
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], eax
call fcn.0056b630
jmp 0x4d8bf2
xor esi, esi
cmp byte [esp + 0x3a4], 0x20
lea ecx, [esp + 0x3a4]
jne 0x4d8c0b
add ecx, 1
cmp byte [ecx], 0x20
je 0x4d8c03
cmp edi, ecx
mov eax, edi
jbe 0x4d8c24
mov dl, byte [eax]
cmp dl, 0x20
je 0x4d8c1d
cmp dl, 0x2c
jne 0x4d8c24
sub eax, 1
cmp eax, ecx
ja 0x4d8c11
push ecx
mov ecx, esi
mov byte [eax + 1], 0
call fcn.00566e70
cmp byte [edi + 1], 0x20
lea eax, [edi + 1]
jne 0x4d8c48
lea esp, [esp]
add eax, 1
cmp byte [eax], 0x20
je 0x4d8c40
mov ecx, eax
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4d8c50
sub ecx, edi
add ecx, eax
cmp ecx, eax
jbe 0x4d8c73
mov dl, byte [ecx]
cmp dl, 0x20
je 0x4d8c6c
test dl, dl
jne 0x4d8c73
sub ecx, 1
cmp ecx, eax
ja 0x4d8c61
mov byte [ecx + 1], 0
push eax
lea ecx, [esi + 8]
call fcn.00566e70
push 1
push esi
lea ecx, [ebx + 0x6dc]
call fcn.00468c10
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x7c0]
push 0x300
push eax
call fcn.0058a8ef
add esp, 0xc
test eax, eax
jne 0x4d8550
lea eax, [ebx + 0x4c0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d8cc0
sub eax, edx
je 0x4d8ce6
push 0x100
lea eax, [ebx + 0x4c0]
push 0x5fc8a0
push eax
call fcn.00588820
add esp, 0xc
push 0x100
lea esi, [ebx + 0x78]
lea eax, [ebx + 0x4c0]
push esi
push eax
call fcn.00588820
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0058b205
lea eax, [ebx + 0x1f8]
add esp, 0x10
cmp byte [eax], 0
jne 0x4d8d26
push esi
lea edx, [ebx + 0x70]
push edx
push str._.4s__.50s
push eax
call fcn.00589571
add esp, 0x10
mov edx, dword [esp + 0xac0]
lea ecx, [ebx + 0x2b8]
call fcn.004d32a0
test al, al
jne 0x4d8d4c
pop edi
pop ebp
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0xaac
ret 4
mov ecx, ebx
call fcn.004d6440
mov ecx, dword [ebx]
test ecx, ecx
jne 0x4d8d5e
mov ecx, 0x5ad73f
lea edx, [esp + 0x124]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4d8d65
lea eax, [esp + 0x124]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d8d80
sub eax, edx
test eax, eax
jle 0x4d8db7
lea eax, [esp + eax + 0x123]
lea ecx, [esp + 0x124]
cmp eax, ecx
jb 0x4d8db7
cmp byte [eax], 0x5c
je 0x4d8db7
mov byte [eax], 0
sub eax, 1
lea edx, [esp + 0x124]
cmp eax, edx
jae 0x4d8da1
mov ebp, dword [esp + 0x1c]
mov edi, 1
push edi
lea esi, [ebp + 8]
push esi
lea eax, [esp + 0x12c]
push eax
push str..HDV
lea ecx, [esp + 0x374]
push ecx
mov ecx, 0xa185a4
mov bl, 1
call fcn.004d1c80
test eax, eax
jne 0x4d8e7c
mov ecx, dword [0xa185a8]
lea eax, [ecx - 1]
test eax, eax
jl 0x4d8e33
cmp eax, ecx
jge 0x4d8e33
mov edx, dword [0xa185ac]
mov eax, dword [edx + eax*4]
test eax, eax
je 0x4d8e33
mov eax, dword [eax + 8]
test eax, eax
mov ecx, eax
jne 0x4d8e1a
mov ecx, 0x5ad73f
mov eax, dword [esi]
test eax, eax
jne 0x4d8e25
mov eax, 0x5ad73f
push ecx
push eax
call fcn.00588ead
add esp, 8
test eax, eax
je 0x4d8e7e
mov ecx, ebp
call fcn.004d3ad0
test al, al
jne 0x4d8e7e
xor bl, bl
cmp dword [0xa1a2c8], edi
jl 0x4d8e7e
push 0x29f
push str...Source_setup.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
mov eax, dword [esi]
test eax, eax
jne 0x4d8e67
mov eax, 0x5ad73f
push eax
push str.May_have_failed_to_find_HDV_references_for__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
jmp 0x4d8e7e
xor bl, bl
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d8e85
sub eax, edx
jne 0x4d8eaf
mov eax, dword [str.default.cam]
mov ecx, dword [0x6031e0]
mov edx, dword [0x6031e4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
push edi
lea esi, [ebp + 0x38]
push esi
lea eax, [esp + 0x12c]
push eax
push 0x602d04
lea ecx, [esp + 0x74]
push ecx
mov ecx, 0xa185a4
call fcn.004d1c80
test eax, eax
jne 0x4d8eea
test bl, bl
je 0x4d8eea
mov ecx, ebp
call fcn.004d11f0
test eax, eax
jne 0x4d8eea
mov byte [esp + 0x13], 1
jmp 0x4d8f36
cmp dword [0xa1a2c8], edi
mov byte [esp + 0x13], 0
jl 0x4d8f36
push 0x2b4
push str...Source_setup.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
mov eax, dword [ebp]
test eax, eax
jne 0x4d8f17
mov eax, 0x5ad73f
mov ecx, dword [esi]
test ecx, ecx
jne 0x4d8f22
mov ecx, 0x5ad73f
push eax
push ecx
push str.Couldnt_find_cam_file_or_load_cam_file__s_for_vehicle__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0x10
push edi
lea edx, [ebp + 0x10]
push edx
lea eax, [esp + 0x12c]
push eax
push str..INI
lea ecx, [esp + 0x2f4]
push ecx
mov ecx, 0xa185a4
call fcn.004d1c80
test eax, eax
je 0x4d8f63
mov byte [esp + 0x13], 0
push edi
lea edx, [ebp + 0x18]
push edx
lea eax, [esp + 0x12c]
push eax
push str..SFX
lea ecx, [esp + 0x2b4]
push ecx
mov ecx, 0xa185a4
call fcn.004d1c80
test eax, eax
je 0x4d8f90
mov byte [esp + 0x13], 0
push 1
lea edi, [ebp + 0x28]
push edi
lea edx, [esp + 0x12c]
push edx
push str..GEN
lea eax, [esp + 0xf4]
push eax
mov ecx, 0xa185a4
call fcn.004d1c80
test eax, eax
jne 0x4d8fc4
mov ecx, ebp
call fcn.004d3870
test al, al
jne 0x4d8fc9
mov byte [esp + 0x13], 0
lea eax, [esp + 0xa4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d8fd3
sub eax, edx
jne 0x4d8ff5
mov cl, byte [esp + eax + 0xe4]
mov byte [esp + eax + 0xa4], cl
add eax, 1
test cl, cl
jne 0x4d8fe0
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.00588ead
add esp, 8
test eax, eax
jne 0x4d9024
mov eax, dword [edi]
test eax, eax
jne 0x4d901c
mov eax, 0x5ad73f
lea ecx, [ebp + 0x30]
jmp 0x4d9099
push 1
lea esi, [ebp + 0x30]
push esi
lea eax, [esp + 0x12c]
push eax
push str..GEN
lea ecx, [esp + 0xb4]
push ecx
mov ecx, 0xa185a4
call fcn.004d1c80
test eax, eax
je 0x4d909f
cmp dword [0xa1a2c8], 1
jl 0x4d908c
push 0x2e2
push str...Source_setup.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0xa8]
push eax
push str.Could_not_find_special_spinner_GEN_file__s__defaulting_to_normal_GEN_file__s
push 0xa1a2c8
call fcn.004f3d30
add esp, 0x10
mov eax, dword [edi]
test eax, eax
jne 0x4d9097
mov eax, 0x5ad73f
mov ecx, esi
push eax
call fcn.00566e70
push 1
mov ebx, ebp
lea ebp, [ebx + 0x50]
push ebp
lea ecx, [esp + 0x12c]
push ecx
push str..INI
lea edx, [esp + 0x234]
push edx
mov ecx, 0xa185a4
call fcn.004d1c80
push 1
lea eax, [ebx + 0x20]
push eax
lea ecx, [esp + 0x12c]
push ecx
push str..INI
lea edx, [esp + 0x334]
push edx
mov ecx, 0xa185a4
call fcn.004d1c80
mov eax, dword [ebx + 0x6d4]
or edi, 0xffffffff
test eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
jne 0x4d9109
mov eax, 0x5ad73f
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x12c]
push edx
push 0x5d0be4
push eax
mov ecx, 0xa185a4
call fcn.004d1c80
mov ecx, 0xa185b4
call fcn.004d3080
mov esi, eax
test esi, esi
je 0x4d9173
mov eax, dword [esi]
test eax, eax
mov ecx, eax
jne 0x4d9145
mov ecx, 0x5ad73f
mov eax, dword [ebp]
test eax, eax
jne 0x4d9151
mov eax, 0x5ad73f
push ecx
push eax
call fcn.00588ead
add esp, 8
test eax, eax
je 0x4d91f7
mov ecx, 0xa185b4
call fcn.004155b0
mov esi, eax
test esi, esi
jne 0x4d9138
push 0x58
call fcn.00588cb9
mov esi, eax
add esp, 4
test esi, esi
je 0x4d91bf
or eax, 0xffffffff
lea edi, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], eax
lea ecx, [edi + 0x14]
mov dword [edi], 0
mov dword [edi + 4], eax
call fcn.0056b630
lea ecx, [edi + 0x28]
call fcn.0056b630
lea ecx, [edi + 0x3c]
call fcn.0056b630
mov ecx, edi
call fcn.004f55e0
or edi, 0xffffffff
jmp 0x4d91c1
xor esi, esi
mov eax, dword [ebp]
test eax, eax
jne 0x4d91cd
mov eax, 0x5ad73f
push eax
mov ecx, esi
call fcn.00566e70
mov eax, dword [ebp]
test eax, eax
jne 0x4d91e1
mov eax, 0x5ad73f
push eax
lea ecx, [esi + 8]
call fcn.004f5610
push 1
push esi
mov ecx, 0xa185b4
call fcn.00468c10
add esi, 8
mov dword [ebx + 0x58], esi
lea esi, [ebx + 0x5c]
mov ecx, esi
call fcn.004ba090
mov ecx, dword [ebx + 0x58]
lea eax, [esp + 0x264]
push eax
call fcn.004f4bf0
test eax, eax
je 0x4d9226
add eax, 8
push eax
mov ecx, esi
call fcn.004f54c0
cmp dword [ebx + 0x4b8], edi
jne 0x4d923a
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx + 8]
mov dword [ebx + 0x4b8], edx
cmp dword [ebx + 0x4bc], edi
jne 0x4d924e
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x4bc], ecx
cmp byte [esp + 0x13], 0
jne 0x4d92ac
cmp dword [0xa1a2c8], 1
jl 0x4d9290
push 0x312
push str...Source_setup.cpp
mov ecx, 0xa1a2c8
call fcn.004f3e00
mov eax, dword [ebx]
test eax, eax
jne 0x4d927d
mov eax, 0x5ad73f
push eax
push str.Not_using_vehicle__s_because_one_or_more_important_references_could_not_be_found
push 0xa1a2c8
call fcn.004f3d30
add esp, 0xc
mov edx, dword [esp + 0x24]
push edx
call fcn.0058881a
add esp, 4
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xaac
ret 4
mov eax, dword [esp + 0x24]
push eax
call fcn.0058881a
add esp, 4
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0xaac
ret 4