Function at 0x472806
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472f4a
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004650e0
push 0x188
call fcn.004bd170
mov dword [ebp - 0x28], eax
add esp, 4
mov dword [ebp - 4], 0
mov edi, eax
mov eax, 0
test edi, edi
je 0x472851
mov ecx, edi
call fcn.00407c30
mov dword [ebp - 4], 0xffffffff
push 0x21c
mov dword [ebx + 0x620], eax
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 4], 1
mov esi, eax
mov eax, 0
test esi, esi
je 0x472887
mov ecx, esi
call fcn.00448980
push str.uiprofile
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x12c8], eax
call fcn.00448a10
push 1
mov ecx, dword [ebx + 0x12c8]
push 0x4e549c
call fcn.00448a40
mov ecx, dword [ebx + 0x12c8]
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfc
call fcn.004bd170
mov dword [ebp - 0x28], eax
add esp, 4
mov dword [ebp - 4], 2
mov edi, eax
mov eax, 0
test edi, edi
je 0x4728e6
mov ecx, edi
call fcn.0044f100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x624]
mov dword [ebx + 0x1318], eax
call fcn.004287e0
lea ecx, [ebx + 0x624]
call fcn.00428590
mov eax, dword [ebx + 4]
mov ecx, ebx
push eax
call fcn.00473950
push 0x10
mov eax, dword [ebx + 4]
push 1
push 0x5622
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [ebx + 0x30c]
call fcn.00403690
cmp eax, 0x8878000a
jne 0x4729bf
push 0
mov eax, dword [ebx + 4]
push 0xf020
push 0x112
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0x100
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebx + 0x46c]
push 0x13d3
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10
lea ecx, [ebx + 0x3ac]
push ecx
lea eax, [ebp - 0x124]
push eax
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x14]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
mov ecx, dword [ebx + 4]
push 0
push 0x10
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
call fcn.004bd170
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4729e3
mov ecx, eax
call fcn.0043da30
jmp 0x4729e5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x12d0], eax
lea edi, [ebx + 0x12d4]
call fcn.0043da90
push 0
lea ecx, [ebp - 0x20]
push 0x3f800000
push 0xbf800000
call fcn.00450bc0
mov esi, eax
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebp - 0x20]
push 0x3f800000
lea edi, [ebx + 0x12e8]
push 0xbf800000
call fcn.00450bc0
mov esi, eax
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebp - 0x20]
push 0x3f800000
lea edi, [ebx + 0x12fc]
push 0
call fcn.00450bc0
mov esi, eax
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
push 0x4b0
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp - 4], 4
mov esi, eax
mov eax, 0
test esi, esi
je 0x472a88
mov ecx, esi
call fcn.004509e0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x1310], eax
test eax, eax
jne 0x472aa0
xor eax, eax
jmp 0x4729ae
push eax
mov ecx, dword [ebx + 0x10]
call fcn.004540b0
push 0x544
call fcn.004bd170
mov dword [ebp - 0x28], eax
add esp, 4
mov dword [ebp - 4], 5
mov esi, eax
mov eax, 0
test esi, esi
je 0x472ad2
mov ecx, esi
call fcn.0045fd30
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x1314], eax
test eax, eax
jne 0x472aea
xor eax, eax
jmp 0x4729ae
mov ecx, eax
call fcn.00460370
lea eax, [ebx + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 1
push 0x4e5498
push str.Startup
call edi
mov esi, eax
lea eax, [ebx + 0x3c]
push eax
push 0
push str.SubGameType
push str.Startup
call edi
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x472d5c
lea eax, [ebx + 0x3c]
push eax
push 0
push str.NumberAIBikes
push str.Startup
call edi
mov word [ebx + 0x107a], ax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x472c5f
lea eax, [ebx + 0x3c]
lea ecx, [ebp - 0x228]
mov word [ebx + 0x1072], 3
mov word [ebx + 0x1070], 0
push eax
push pe_nt_image_headers32
push ecx
lea esi, [ebx + 0x107f]
push str.NONE
push str.TrnFileName
push str.SuperCrossRace
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x428]
lea eax, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x27]
push esi
lea ecx, [ebp - 0x228]
push eax
push edx
push ecx
call fcn.004beb00
add esp, 0x14
mov ecx, dword [ebx + 0x620]
mov edi, str.excav01
nop
push str.TrakEdit_tracks
call fcn.00407c70
push 0x4e31ec
mov ecx, dword [ebx + 0x620]
push esi
call fcn.00407c90
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0x117f]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push pe_nt_image_headers32
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045b6b0
mov dword [ebp - 0x24], eax
add esp, 4
mov esi, eax
mov ecx, 0
mov dword [ebp - 4], 6
test esi, esi
je 0x472c22
push 1
mov ecx, esi
call fcn.00476360
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebx + 0x5f8], ecx
push eax
mov edi, dword [ecx]
call dword [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.00466230
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x472c5f
xor eax, eax
jmp 0x4729ae
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x472d50
xor edi, edi
lea eax, [ebx + 0x3c]
mov word [ebx + 0x1072], di
push eax
mov word [ebx + 0x1070], di
push pe_nt_image_headers32
lea ecx, [ebp - 0x228]
lea esi, [ebx + 0x107f]
push ecx
push str.NONE
push str.TrnFileName
push str.QuarryStuntEvent
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x428]
lea eax, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x27]
push esi
lea ecx, [ebp - 0x228]
push eax
push edx
push ecx
call fcn.004beb00
add esp, 0x14
mov ecx, dword [ebx + 0x620]
push str.teraformquarries
call fcn.00407c70
push 0x4e31ec
mov ecx, dword [ebx + 0x620]
push esi
call fcn.00407c90
push 0x78
call fcn.0045b6b0
mov dword [ebp - 0x10], eax
add esp, 4
mov esi, eax
mov ecx, 0
mov dword [ebp - 4], 7
test esi, esi
je 0x472d13
push 1
mov ecx, esi
call fcn.0047f8a0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebx + 0x5fc], ecx
push eax
mov edi, dword [ecx]
call dword [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.00466230
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x472d50
xor eax, eax
jmp 0x4729ae
mov ecx, ebx
call fcn.00466b70
jmp 0x472ecf
push 0x100
call fcn.0045b6b0
mov dword [ebp - 0x28], eax
add esp, 4
mov esi, eax
mov ecx, 0
mov dword [ebp - 4], 8
test esi, esi
je 0x472d89
push 1
mov ecx, esi
call fcn.004616a0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebx + 0x610], ecx
push eax
mov edi, dword [ecx]
call dword [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.00466230
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x472db9
xor eax, eax
jmp 0x4729ae
push 0x3ac
call fcn.0045b6b0
mov dword [ebp - 0x28], eax
add esp, 4
mov esi, eax
mov ecx, 0
mov dword [ebp - 4], 9
test esi, esi
je 0x472de6
push 1
mov ecx, esi
call fcn.00495600
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebx + 0x618], ecx
push eax
mov edi, dword [ecx]
call dword [edi + 0x1c]
push eax
mov ecx, ebx
call fcn.00466230
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x472e16
xor eax, eax
jmp 0x4729ae
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x472ecf
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x472ecf
push 0x866
mov ecx, dword [ebx + 0x610]
call fcn.00462b40
mov esi, dword [ebx + 0x318]
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00494c60
push eax
mov ecx, esi
call fcn.004946a0
lea eax, [ebx + 0x624]
lea ecx, [ebp - 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x472e81
or dl, dl
je 0x472e7d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x472e81
add eax, 2
add ecx, 2
or dl, dl
jne 0x472e61
xor eax, eax
jmp 0x472e86
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x472ecf
lea edi, [ebp - 0x34]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0x624]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x624]
call fcn.00428c50
test eax, eax
jne 0x472ecf
push 0xbbb
mov ecx, dword [ebx + 0x610]
call fcn.00462b40
mov ecx, ebx
call fcn.00473460
push 0
mov ecx, ebx
push str.AllowFreezeCamera
call fcn.00467530
mov dword [ebx + 0x1328], eax
jmp 0x4729a9