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

Disassembly:
push 0xffffffffffffffff
push 0x776688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], connect
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x48], bl
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
push str.SlowMessage
mov dword [esp + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x94], bl
mov byte [esi + 0x95], bl
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
call fcn.00504ff0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6b0e
call fcn.00440f10
cmp eax, ebx
je 0x4f6aff
mov dword [eax + 8], edi
jmp 0x4f6b01
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push 0xb8387a0b
push edi
mov dword [esi + 0x6c], edi
call fcn.0050c4a0
push str.WrongWay_CountDown
call fcn.00504ff0
mov edx, dword [esi + 8]
push eax
push edx
call fcn.005376a0
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x4f6b56
call fcn.00440f10
cmp eax, ebx
je 0x4f6b47
mov dword [eax + 8], edi
jmp 0x4f6b49
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.Comment_DATA
mov dword [esi + 0x70], edi
call fcn.00504ff0
push eax
mov eax, dword [esi + 8]
push eax
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6b93
call fcn.00440f10
cmp eax, ebx
je 0x4f6b84
mov dword [eax + 8], edi
jmp 0x4f6b86
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.SpeedUnits
mov dword [esi + 0x74], edi
call fcn.00504ff0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6bd0
call fcn.00440f10
cmp eax, ebx
je 0x4f6bc1
mov dword [eax + 8], edi
jmp 0x4f6bc3
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [esi + 0x68], edi
mov edi, dword [esi + 8]
push str.SP_Drift_Point
call fcn.00504ff0
push eax
push edi
call fcn.005376a0
mov edi, dword [esi + 8]
push str.SP_Drift_Title
mov dword [esi + 0x78], eax
call fcn.00504ff0
push eax
push edi
call fcn.005376a0
mov edx, dword [esi + 0x78]
push edx
mov dword [esi + 0x7c], eax
call fcn.0050c5a0
mov eax, dword [esi + 0x7c]
push eax
call fcn.0050c5a0
push str.DriftSpeed_Backing
call fcn.00504ff0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.005376f0
mov edi, eax
add esp, 0x2c
cmp edi, ebx
je 0x4f6c4d
call fcn.00440f10
cmp eax, ebx
je 0x4f6c3e
mov dword [eax + 8], edi
jmp 0x4f6c40
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.3rdperson_driftometer
call fcn.00504ff0
mov edx, dword [esi + 8]
push eax
push edx
call fcn.005376f0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6c87
call fcn.00440f10
cmp eax, ebx
je 0x4f6c78
mov dword [eax + 8], edi
jmp 0x4f6c7a
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.3rdperson_DriftAngle_Meter
mov dword [esi + 0x4c], edi
call fcn.00504ff0
push eax
mov eax, dword [esi + 8]
push eax
call fcn.005376f0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6cc4
call fcn.00440f10
cmp eax, ebx
je 0x4f6cb5
mov dword [eax + 8], edi
jmp 0x4f6cb7
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.3rdperson_DriftAngle_Angle_degrees
mov dword [esi + 0x50], edi
call fcn.00504ff0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.005376f0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6d01
call fcn.00440f10
cmp eax, ebx
je 0x4f6cf2
mov dword [eax + 8], edi
jmp 0x4f6cf4
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.90Degrees
mov dword [esi + 0x54], edi
call fcn.00504ff0
mov edx, dword [esi + 8]
push eax
push edx
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6d3e
call fcn.00440f10
cmp eax, ebx
je 0x4f6d2f
mov dword [eax + 8], edi
jmp 0x4f6d31
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.45Degrees
mov dword [esi + 0x58], edi
call fcn.00504ff0
push eax
mov eax, dword [esi + 8]
push eax
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6d7b
call fcn.00440f10
cmp eax, ebx
je 0x4f6d6c
mov dword [eax + 8], edi
jmp 0x4f6d6e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.0Degrees
mov dword [esi + 0x5c], edi
call fcn.00504ff0
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6db8
call fcn.00440f10
cmp eax, ebx
je 0x4f6da9
mov dword [eax + 8], edi
jmp 0x4f6dab
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.Angle_Indicator_DATA
mov dword [esi + 0x60], edi
call fcn.00504ff0
mov edx, dword [esi + 8]
push eax
push edx
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6df5
call fcn.00440f10
cmp eax, ebx
je 0x4f6de6
mov dword [eax + 8], edi
jmp 0x4f6de8
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
push str.Angle_degrees
mov dword [esi + 0x64], edi
call fcn.00504ff0
push eax
mov eax, dword [esi + 8]
push eax
call fcn.005376a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4f6e32
call fcn.00440f10
cmp eax, ebx
je 0x4f6e23
mov dword [eax + 8], edi
jmp 0x4f6e25
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
mov eax, dword [esp + 0x58]
cmp dword [eax*4 + 0x8900ac], ebx
je 0x4f6f02
push eax
mov ecx, 0x89e7a0
call fcn.005ed700
mov ecx, dword [0x890080]
push eax
call fcn.005f0bb0
mov eax, dword [eax + 0x10]
push 1
lea ecx, [eax + 0x10]
call fcn.005b5070
lea ecx, [eax + 0x1f0]
call fcn.00457af0
fcomp qword [0x786e60]
push 1
fnstsw ax
test ah, 0x41
jne 0x4f6ec7
mov ecx, dword [esi + 0x64]
push str.Turbo
push ecx
call fcn.0051cc00
push 1
push str.Turbo
push edi
call fcn.0051cc00
push str.Drift_Angle_Backing1
call fcn.00504ff0
mov edx, dword [esi + 8]
push eax
push edx
call fcn.005376f0
mov edi, eax
add esp, 0x24
cmp edi, ebx
je 0x4f6f02
call fcn.00440f10
cmp eax, ebx
je 0x4f6ef3
mov dword [eax + 8], edi
jmp 0x4f6ef5
mov eax, dword [esi + 0x64]
push str.NoTurbo
push eax
call fcn.0051cc00
push 1
push str.NoTurbo
push edi
call fcn.0051cc00
push str.Drift_Angle_Backing3
call fcn.00504ff0
mov ecx, dword [esi + 8]
push eax
push ecx
jmp 0x4f6eab
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
mov eax, dword [esi + 0x74]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0050c870
add esp, 8
mov ecx, eax
call fcn.00505070
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x78]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0050c870
add esp, 8
mov ecx, eax
call fcn.00505070
mov dword [esi + 0x84], eax
mov eax, 1
lea ebp, [eax + 1]
push ebp
push str.CurrentSpeed_Trap_Backing_0_d
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.0050c500
lea edx, [esp + 0x34]
push edx
call fcn.00504ff0
push eax
mov eax, dword [esi + 8]
push eax
call fcn.005376f0
mov edi, eax
add esp, 0x1c
cmp edi, ebx
je 0x4f6f92
call fcn.00440f10
cmp eax, ebx
je 0x4f6f83
mov dword [eax + 8], edi
jmp 0x4f6f85
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [esi + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], esi
mov eax, ebp
cmp eax, 3
jl 0x4f6f43
mov ecx, dword [esp + 0x44]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8