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

Disassembly:
push 0xffffffffffffffff
push 0x67c778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
xor ebx, ebx
push edi
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], bind
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 + 0x41], bl
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb8], ebx
push str.SlowMessage
mov dword [esp + 0x40], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov byte [esi + 0xac], bl
mov byte [esi + 0xad], bl
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], 0x3d4ccccd
mov dword [esi + 0xb8], ebx
mov byte [esi + 0xbc], bl
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.WrongWay_CountDown
mov dword [esi + 0x80], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.drift_multiplier_text
mov dword [esi + 0x84], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.SP_Trick_Point_02
mov dword [esi + 0x70], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.Comment_DATA
mov dword [esi + 0x6c], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.SpeedTrap_Speed_DATA
mov dword [esi + 0x88], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
mov dword [esi + 0x74], eax
push str.SpeedUnits
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
mov edi, dword [esi + 8]
push str.SP_DRIFT_TOTAL
mov dword [esi + 0x78], eax
call fcn.005906e0
add esp, 4
cmp edi, ebx
mov ebp, eax
je 0x49cad0
call fcn.004e5690
cmp eax, ebx
je 0x49cad0
push ebp
mov ecx, eax
call fcn.00593470
cmp eax, ebx
jne 0x49cae7
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49caed
mov ecx, dword [eax + 8]
push edi
push ebp
call fcn.0058a820
cmp eax, ebx
je 0x49caed
cmp dword [eax + 0x18], 2
je 0x49caef
xor eax, eax
mov edi, dword [esi + 8]
push str.Style_TotalDrift_Title
mov dword [esi + 0x64], eax
call fcn.005906e0
add esp, 4
cmp edi, ebx
mov ebp, eax
je 0x49cb1d
call fcn.004e5690
cmp eax, ebx
je 0x49cb1d
push ebp
mov ecx, eax
call fcn.00593470
cmp eax, ebx
jne 0x49cb34
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49cb3a
mov ecx, dword [eax + 8]
push edi
push ebp
call fcn.0058a820
cmp eax, ebx
je 0x49cb3a
cmp dword [eax + 0x18], 2
je 0x49cb3c
xor eax, eax
mov edi, dword [esi + 8]
push str.SP_Drift_Point
mov dword [esi + 0x68], eax
call fcn.005906e0
add esp, 4
cmp edi, ebx
mov ebp, eax
je 0x49cb6a
call fcn.004e5690
cmp eax, ebx
je 0x49cb6a
push ebp
mov ecx, eax
call fcn.00593470
cmp eax, ebx
jne 0x49cb81
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49cb87
mov ecx, dword [eax + 8]
push edi
push ebp
call fcn.0058a820
cmp eax, ebx
je 0x49cb87
cmp dword [eax + 0x18], 2
je 0x49cb89
xor eax, eax
mov edi, dword [esi + 8]
push str.SP_Drift_Title
mov dword [esi + 0x8c], eax
call fcn.005906e0
add esp, 4
cmp edi, ebx
mov ebp, eax
je 0x49cbba
call fcn.004e5690
cmp eax, ebx
je 0x49cbba
push ebp
mov ecx, eax
call fcn.00593470
cmp eax, ebx
jne 0x49cbd1
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49cbd7
mov ecx, dword [eax + 8]
push edi
push ebp
call fcn.0058a820
cmp eax, ebx
je 0x49cbd7
cmp dword [eax + 0x18], 2
je 0x49cbd9
xor eax, eax
mov ecx, dword [esi + 0x8c]
push ecx
mov dword [esi + 0x90], eax
call fcn.004e5900
mov edx, dword [esi + 0x90]
push edx
call fcn.004e5900
push str.DriftSpeed_Backing
call fcn.005906e0
add esp, 0xc
push eax
mov eax, esi
call fcn.004969f0
push str.Angle_degrees
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.3rdperson_driftometer
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.004969f0
push str.3rdperson_DriftAngle_Filler
mov dword [esi + 0x44], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.004969f0
push str.3rdperson_DriftAngle_Meter
mov dword [esi + 0x48], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.004969f0
push str.3rdperson_DriftAngle_Angle_degrees
mov dword [esi + 0x4c], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.004969f0
push str.90Degrees
mov dword [esi + 0x50], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.45Degrees
mov dword [esi + 0x54], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.0Degrees
mov dword [esi + 0x58], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
push str.Angle_Indicator_DATA
mov dword [esi + 0x5c], eax
call fcn.005906e0
add esp, 4
push eax
mov eax, esi
call fcn.00496990
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x88]
call fcn.00496820
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x8c]
call fcn.00496820
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x70]
call fcn.00496820
mov dword [esi + 0x9c], eax
xor eax, eax
inc eax
push eax
push str.CurrentSpeed_Trap_Backing_0_d
push 0x20
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.004e58e0
lea eax, [esp + 0x20]
push eax
call fcn.005906e0
mov edi, dword [esi + 8]
add esp, 0x10
cmp edi, ebx
mov dword [esp + 0x48], eax
je 0x49cd98
push 0x737cf4
mov eax, edi
call fcn.004e3110
cmp eax, ebx
je 0x49cd58
mov eax, dword [eax + 0x18]
cmp eax, ebx
jne 0x49cd84
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49cdd8
mov ebp, dword [eax + 8]
cmp ebp, ebx
je 0x49cd9d
push edi
lea ecx, [ebp + 0xdc]
call fcn.005907f0
cmp eax, ebx
jne 0x49cd84
push edi
mov ecx, ebp
call fcn.0058a7b0
cmp eax, ebx
je 0x49cd98
mov ecx, eax
cmp ecx, ebx
je 0x49cd98
mov edx, dword [esp + 0x48]
push edx
call fcn.00593470
cmp eax, ebx
jne 0x49cdaf
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49cdd8
mov ecx, dword [esp + 0x48]
push edi
push ecx
mov ecx, dword [eax + 8]
call fcn.0058a820
mov edi, eax
cmp edi, ebx
je 0x49cdd8
cmp dword [edi + 0x18], 1
jne 0x49cdd8
call fcn.00598270
cmp eax, ebx
je 0x49cdc9
mov dword [eax + 8], edi
jmp 0x49cdcb
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 + 0x10]
cmp eax, 3
jl 0x49cd13
push str.NextSpeeed_Trap_Indicator
call fcn.005906e0
mov ebp, dword [esi + 8]
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x48], eax
je 0x49ce54
push 0x737cf4
mov eax, ebp
call fcn.004e3110
cmp eax, ebx
je 0x49ce14
mov eax, dword [eax + 0x18]
cmp eax, ebx
jne 0x49ce40
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49ce77
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x49ce59
push ebp
lea ecx, [edi + 0xdc]
call fcn.005907f0
cmp eax, ebx
jne 0x49ce40
push ebp
mov ecx, edi
call fcn.0058a7b0
cmp eax, ebx
je 0x49ce54
mov ecx, eax
cmp ecx, ebx
je 0x49ce54
mov edx, dword [esp + 0x48]
push edx
call fcn.00593470
cmp eax, ebx
jne 0x49ce6b
mov eax, dword [0x72a5b8]
cmp eax, ebx
je 0x49ce77
mov ecx, dword [esp + 0x48]
push ebp
push ecx
mov ecx, dword [eax + 8]
call fcn.0058a820
mov edi, eax
cmp edi, ebx
je 0x49ce77
cmp dword [edi + 0x18], 2
je 0x49ce7b
xor edi, edi
jmp 0x49ce98
call fcn.00598270
cmp eax, ebx
je 0x49ce89
mov dword [eax + 8], edi
jmp 0x49ce8b
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 + 0x7c], edi
mov al, byte [0x77bec5]
push ebx
cmp al, bl
mov eax, dword [esi + 0x74]
push ebx
jne 0x49ceb0
push str._3.1f
jmp 0x49ceb5
push 0x6b8068
call fcn.004e58c0
add esp, 0xc
push ebx
push esi
call fcn.0049d260
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc