Function at 0x1006cbc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076e50
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x10092c98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x100702ff
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x43b40000
push 4
push eax
mov dword [ebp - 0x110], 0x43a50000
call fcn.10021cd0
push 0x2000
push esi
push str.M2Ext
call fcn.10008e20
add esp, 0x14
test al, al
je 0x100702fa
push dword [0x1009481c]
push dword [0x1009294c]
call fcn.100123d0
sub esp, 8
movss xmm0, dword [eax + 0x94]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.WIP_FPS__3.1f_Key__s_0x_02x
call fcn.10058870
add esp, 0x14
cmp dword [0x10094724], 0x101
jne 0x1006cc8f
push dword [0x100947c0]
call fcn.1005eea0
mov dword [0x1009294c], eax
add esp, 4
mov eax, dword [0x100947bc]
mov dword [0x1009481c], eax
call fcn.10054560
call fcn.100132c0
fmul dword [0x10079270]
push ecx
fstp dword [esp]
call fcn.1001d5e0
push 0
push str.tabs
call fcn.10046d80
add esp, 0xc
test al, al
je 0x100702f5
push 0
push 0
push str.Main
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006ea88
call fcn.10070be0
test eax, eax
je 0x1006de1e
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006de1e
push str.timescale
call fcn.1001d410
call fcn.100132c0
fstp dword [ebp - 0x10c]
movss xmm0, dword [ebp - 0x10c]
mulss xmm0, dword [0x10079270]
subss xmm0, dword [0x100792b4]
movss dword [esp], xmm0
call fcn.1001d5e0
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x3dcccccd
push 0x10092948
push str.sfts
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006cd8b
movss xmm0, dword [0x10092948]
movss dword [ebp - 0x10c], xmm0
call fcn.10071080
test eax, eax
je 0x1006cd8b
call fcn.10071080
movss xmm0, dword [ebp - 0x10c]
movss dword [eax + 0x30], xmm0
call fcn.1001cef0
push dword [0x100937e8]
call fcn.1006b9f0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Reset_Time
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006cdfa
mov dword [0x10092948], 0x3f800000
call fcn.10071080
test eax, eax
je 0x1006cdfa
call fcn.10071080
mov dword [eax + 0x30], 0x3f800000
call fcn.1001ce00
mov eax, dword [0x100937cc]
cmp dword [0x10094824], eax
je 0x1006ce16
mov dword [0x10094824], eax
mov dword [0x10094820], eax
push str.savegame
call fcn.1001d410
call fcn.100132c0
fstp dword [ebp - 0x10c]
movss xmm0, dword [ebp - 0x10c]
mulss xmm0, dword [0x10079270]
subss xmm0, dword [0x100792b4]
movss dword [esp], xmm0
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x10094820
push str.sisid
call fcn.1004eb00
call fcn.1001cef0
push 1
push 0x10078474
push str.game.game:SaveGame___
call fcn.1006ba60
add esp, 0x1c
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Save_Game.
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006cece
push dword [0x10094820]
push str.game.game:SaveGame__i_
call fcn.10071540
add esp, 8
call fcn.1001ce00
call fcn.10054560
mov eax, dword fs:[0x2c]
mov edi, dword [0x10098d00]
mov edi, dword [eax + edi*4]
mov dword [ebp - 0x124], edi
call fcn.10070be0
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x1006cf13
mov eax, dword [ecx]
test eax, eax
je 0x1006cf13
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x1006cf13
push 0x10094828
call eax
call fcn.10070be0
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x1006cf5f
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
test eax, eax
jne 0x1006cf58
push 0xc
call fcn.100741d4
add esp, 4
mov dword [ebp - 0x110], eax
test eax, eax
je 0x1006cf5f
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x1006cf5f
push 0x10094834
call eax
movss xmm0, dword [0x10094830]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1009482c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x10094828]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Pos___4.3f__4.3f__4.3f
call fcn.10058870
movss xmm0, dword [0x1009483c]
add esp, 4
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x10094838]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x10094834]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Dir___4.3f__4.3f__4.3f
call fcn.10058870
mov esi, dword [0x1ac1a94]
add esp, 0x1c
test esi, esi
je 0x1006d0ab
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1006d0ab
movss xmm0, dword [eax + 0x34]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Time___f
movsd qword [ebp - 0x114], xmm0
call fcn.10058870
movsd xmm0, qword [str.333333]
lea eax, [ebp - 0xb0]
push 0
push str._.10f
push eax
lea eax, [ebp - 0x130]
movsd qword [ebp - 0x130], xmm0
movsd xmm0, qword [0x1008a898]
push eax
lea eax, [ebp - 0x114]
movsd qword [ebp - 0xb0], xmm0
push eax
push 9
push str.gametime
call fcn.10055370
add esp, 0x28
test al, al
je 0x1006d0ab
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x120], eax
test eax, eax
je 0x1006d0ab
movsd xmm0, qword [ebp - 0x114]
cvtpd2ps xmm0, xmm0
mov byte [eax + 0x3c], 1
mov dword [ebp - 0x11c], 0x1370ef0
movss dword [ebp - 0x10c], xmm0
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
call dword [ebp - 0x11c]
cmp dword [0x1cbfeac], 0
je 0x1006d0ee
cmp dword [0x1cbfeb0], 0
je 0x1006d0ee
movss xmm0, dword [0x1cbfeb0]
sub esp, 0x10
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1cbfeac]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Rain___f_Snow___f
call fcn.10058870
add esp, 0x14
mov eax, dword [0x10098c7c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1006d104
push 0x10094840
call fcn.100718f0
movss xmm0, dword [0x10094848]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x10094844]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x10094840]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Cam___4.3f__4.3f__4.3f
call fcn.10058870
call fcn.10070be0
mov eax, dword [eax + 0x118]
mov al, byte [eax + 0xe8]
mov byte [0x1009484c], al
call fcn.10054560
push 0x1009484c
push str.Invulnerable
call fcn.10047de0
add esp, 0x24
test al, al
je 0x1006d18a
call fcn.10070be0
mov ecx, dword [eax + 0x118]
mov al, byte [0x1009484c]
mov byte [ecx + 0xe8], al
mov eax, dword [0x10098c7c]
mov al, byte [eax + 0xf5]
mov byte [0x1009484d], al
call fcn.10054560
push 0x1009484d
push str.Free_Fly
call fcn.10047de0
movzx ecx, byte [0x100937d1]
test al, al
mov edx, 1
mov dword [esp + 4], 0xbf800000
cmovne ecx, edx
mov dword [esp], 0
mov byte [0x100937d1], cl
call fcn.10020650
push dword [0x10093820]
call fcn.1006b9f0
call fcn.10054560
push 0x1009484e
push str.Police
call fcn.10047de0
add esp, 0x14
cmp byte [0x1009484e], 0
je 0x1006d4ba
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006d4ba
call fcn.10071290
fstp dword [ebp - 0x11c]
call fcn.10054560
movss xmm0, dword [0x10092950]
lea eax, [ebp - 0x11c]
push 0
push str._.3f
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
push str.Density
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006d277
movss xmm0, dword [ebp - 0x11c]
push ecx
movss dword [esp], xmm0
call fcn.100712a0
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x41200000
mov dword [esp], 0
push 0x10092950
push str.Density_Max
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006d2bc
movss xmm0, dword [0x10092950]
push ecx
movss dword [esp], xmm0
call fcn.100712c0
add esp, 4
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Despawn
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006d2ed
call fcn.10071270
call fcn.100712e0
test al, al
push 0x1009484f
push str.cbtr
sete byte [0x1009484f]
call fcn.10047de0
add esp, 8
test al, al
je 0x1006d321
movzx eax, byte [0x1009484f]
push eax
call fcn.10071350
add esp, 4
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.Time_dilation_disabled
call fcn.100587a0
push 0x10092954
push str.cbst
call fcn.10047de0
add esp, 0x14
test al, al
je 0x1006d389
mov al, byte [0x10092954]
test al, al
jne 0x1006d36b
call fcn.10071270
mov al, byte [0x10092954]
movzx eax, al
push eax
call fcn.10071420
movzx eax, byte [0x10092954]
push eax
push str.setpolice___i
call fcn.1006aea0
add esp, 0xc
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.Enable___Disable_police
call fcn.100587a0
push 0x10094850
push str.cknow
call fcn.10047de0
add esp, 0x14
test al, al
je 0x1006d412
mov ecx, dword [0x10098c7c]
call fcn.100638f0
test eax, eax
je 0x1006d412
mov ecx, dword [0x10098c7c]
call fcn.100638f0
cmp dword [eax + 4], 0
je 0x1006d412
call fcn.100710a0
mov ecx, dword [0x10098c7c]
test al, al
sete byte [0x10094850]
call fcn.100638f0
push 0
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
movzx eax, byte [0x10094850]
push eax
push ecx
call fcn.100713a0
add esp, 0xc
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.Wanted_Vehicle
call fcn.100587a0
call fcn.100710a0
push 0x10094851
push str.pknow
mov byte [0x10094850], al
call fcn.10047de0
add esp, 0x14
test al, al
je 0x1006d48c
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006d48c
call fcn.100710c0
test al, al
sete byte [0x10094851]
xor ecx, ecx
test al, al
jne 0x1006d483
call fcn.10070be0
mov eax, dword [eax + 0x118]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.100713c0
add esp, 4
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.Wanted_Player
call fcn.100587a0
add esp, 0xc
call fcn.100710c0
mov byte [0x10094851], al
movss xmm0, dword [0x1aa92b8]
movss dword [0x10094854], xmm0
movss xmm0, dword [0x1aa92c0]
movss dword [0x10094858], xmm0
call fcn.10054560
push 0x1009485c
push str.Traffic
call fcn.10047de0
add esp, 8
cmp byte [0x1009485c], 0
je 0x1006d7d6
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006d7d6
mov eax, dword [0x10094860]
push 0
mov dword [ebp - 0xa8], 0x1007c324
mov dword [ebp - 0xa4], 0x1008a3d4
mov dword [ebp - 0xa0], 0x1008a3d8
mov dword [ebp - 0x9c], 0x1008a3dc
mov dword [ebp - 0x98], 0x1008a3e0
mov dword [ebp - 0x94], 0x1008a3e4
mov dword [ebp - 0x90], 0x1008a3e8
mov dword [ebp - 0x8c], 0x1008a3ec
mov dword [ebp - 0x88], 0x1008a3f0
mov dword [ebp - 0x84], 0x1008a3f4
mov dword [ebp - 0x80], 0x1008a3f8
mov dword [ebp - 0x7c], 0x1008a3fc
mov dword [ebp - 0x78], 0x1008a400
mov dword [ebp - 0x74], 0x1008a404
mov dword [ebp - 0x70], 0x1008a408
mov dword [ebp - 0x6c], 0x1008a40c
mov dword [ebp - 0x68], 0x1008a410
mov dword [ebp - 0x64], 0x1008a414
mov dword [ebp - 0x60], 0x1008a418
mov dword [ebp - 0x5c], 0x1008a41c
mov dword [ebp - 0x58], 0x1008a420
mov dword [ebp - 0x54], 0x1008a424
push dword [ebp + eax*4 - 0xa8]
push str.bcose
call fcn.100464f0
add esp, 0xc
test al, al
je 0x1006d659
xor esi, esi
nop dword [eax]
cmp dword [0x10094860], esi
lea eax, [ebp - 0x114]
push eax
push 0
sete byte [ebp - 0x11c]
mov dword [ebp - 0x114], 0
push dword [ebp - 0x11c]
mov dword [ebp - 0x110], 0
push dword [ebp + esi*4 - 0xa8]
call fcn.10053fd0
mov ecx, dword [0x10094860]
add esp, 0x10
test al, al
cmovne ecx, esi
cmp byte [ebp - 0x11c], 0
mov dword [0x10094860], ecx
je 0x1006d64e
call fcn.10021460
inc esi
cmp esi, 0x16
jl 0x1006d5f0
call fcn.1004e470
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Open
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006d6c8
mov eax, dword [0x10094860]
push 0xa
push 0
push dword [ebp + eax*4 - 0xa8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov esi, eax
push esi
call fcn.10071400
push esi
push str.open_season___i
call fcn.1006aea0
add esp, 0x18
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Close
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006d710
call fcn.100713e0
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x44fa0000
mov dword [esp], 0
push 0x10094854
push str.stsnsc
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006d74f
movss xmm0, dword [0x10094854]
movss dword [0x1aa92b8], xmm0
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.No_Ambient_Radius
call fcn.100587a0
add esp, 0xc
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x44fa0000
mov dword [esp], 0
push 0x10094858
push str.sfnar
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006d7b2
movss xmm0, dword [0x10094858]
movss dword [0x1aa92c0], xmm0
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.Far_Ambient_Radius
call fcn.100587a0
add esp, 0xc
call fcn.10054560
push 0x10094864
push str.Inventory
call fcn.10047de0
add esp, 8
cmp byte [0x10094864], 0
je 0x1006dda4
call fcn.10070be0
test eax, eax
je 0x1006dda4
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006dda4
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006dda4
call fcn.10070be0
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa0], 0
je 0x1006dda4
call fcn.10070be0
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xac], 0
je 0x1006dda4
call fcn.10070be0
mov eax, dword [eax + 0x118]
mov eax, dword [eax + 0xac]
mov esi, dword [eax + 0x170]
call fcn.10070be0
mov eax, dword [eax + 0x118]
mov eax, dword [eax + 0xac]
push dword [eax + 0x3b4]
push esi
push str.Selected_Weapon__d___d_
call fcn.10058870
push dword [0x10092958]
push str.Table_Name____s
call fcn.10058870
push 0
push 0x64
push 1
push 0x1009295c
push str.wpnid
call fcn.1004eb00
add esp, 0x28
test al, al
je 0x1006d92a
mov ecx, dword [0x1009295c]
mov eax, 2
mov edx, dword [0x10093880]
cmp ecx, eax
mov edi, dword [0x1009387c]
cmovl ecx, eax
mov dword [0x10092958], 0x1007c324
sub edx, edi
sar edx, 2
lea eax, [edx + 1]
cmp ecx, eax
cmova ecx, eax
xor eax, eax
mov dword [0x1009295c], ecx
test edx, edx
je 0x1006d924
nop
cmp ecx, 1
jle 0x1006d90c
mov esi, dword [edi + eax*4]
cmp ecx, dword [esi]
je 0x1006d913
inc eax
cmp eax, edx
jb 0x1006d900
jmp 0x1006d924
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x1006d91e
mov esi, dword [esi]
mov dword [0x10092958], esi
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Weapon
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006daa4
call fcn.10070be0
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa4], 0
je 0x1006daa4
mov eax, dword [0x1009295c]
mov dword [ebp - 0x10c], 0x1f4
mov dword [ebp - 0x120], eax
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006d9be
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006d9be
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x10c]
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
call dword [0x10098a94]
mov al, byte [0x1009295c]
mov byte [ebp - 0x10c], al
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006daa4
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006daa4
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], eax
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
call dword [0x10098ac4]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x1006daa4
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006da4e
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006da4e
mov dword [ebp - 0x10c], eax
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x10c]
call dword [0x10098ad8]
mov eax, dword [0x1009295c]
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x120], 1
mov dword [ebp - 0x11c], eax
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006daa4
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006daa4
mov dword [ebp - 0x124], eax
push dword [ebp - 0x10c]
push dword [ebp - 0x120]
push dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
call dword [0x10098a90]
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x10078508
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006dbe9
mov eax, dword [0x1009295c]
mov dword [ebp - 0x10c], eax
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006db31
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006db31
mov dword [ebp - 0x11c], 0x943080
mov dword [ebp - 0x120], eax
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
call dword [ebp - 0x11c]
mov al, byte [0x1009295c]
add al, 0xa
mov byte [ebp - 0x10c], al
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006dbe9
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006dbe9
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], eax
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
call dword [0x10098ac4]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x1006dbe9
mov eax, dword [0x1009295c]
add eax, 0xa
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x120], 1
mov dword [ebp - 0x11c], eax
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006dbe9
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006dbe9
mov dword [ebp - 0x124], eax
push dword [ebp - 0x10c]
push dword [ebp - 0x120]
push dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
call dword [0x10098a90]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Remove
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006dd0b
mov al, byte [0x1009295c]
mov byte [ebp - 0x10c], al
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006dd0b
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006dd0b
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], eax
push dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x120]
call dword [0x10098ac4]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x1006dd0b
mov eax, dword [0x1009295c]
mov dword [ebp - 0x128], eax
call fcn.10070be0
mov esi, dword [eax + 0x118]
test esi, esi
je 0x1006dd0b
cmp dword [esi + 0xa0], 0
je 0x1006dd0b
mov eax, dword [esi + 0xb0]
mov byte [ebp - 0x115], 0
test eax, eax
je 0x1006dced
mov dword [ebp - 0x124], 0x4311e0
mov dword [ebp - 0x120], 1
mov byte [ebp - 0x10c], 1
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x10c]
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
call dword [ebp - 0x124]
mov byte [ebp - 0x115], al
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x10c], eax
push dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10c]
call dword [0x10098a98]
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Select
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006dda4
mov eax, dword [0x1009295c]
mov byte [ebp - 0x128], 0
mov byte [ebp - 0x10c], 1
mov dword [ebp - 0x120], eax
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006dda4
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006dda4
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x128]
push dword [ebp - 0x10c]
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
call dword [0x10098a90]
mov eax, dword [0x1009486c]
cmp eax, dword [edi + 4]
jg 0x1007031a
call fcn.10054560
push 0x10094870
push str.Minimap
call fcn.10047de0
add esp, 8
cmp byte [0x10094870], 0
je 0x1006de1e
call fcn.10070be0
test eax, eax
je 0x1006de1e
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006de1e
push 0
push 0x10078430
push 0xa
push 0
push 0x10094868
push str.rdrc
call fcn.10055340
mov ecx, dword [0x1009383c]
add esp, 0x18
test al, al
cmovne ecx, dword [0x10094868]
mov dword [0x1009383c], ecx
call fcn.10070be0
test eax, eax
je 0x1006ea83
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006ea83
mov ecx, dword [0x10098c7c]
call fcn.100638f0
test eax, eax
je 0x1006ea83
call fcn.10054560
push 0x10094871
push str.Speedometer
call fcn.10047de0
add esp, 8
cmp byte [0x10094871], 0
je 0x1006dfe9
call fcn.10054560
push 0x100937bd
push str.Enable
call fcn.10047de0
call fcn.100132c0
fmul dword [0x10079270]
add esp, 4
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x100937c0
push str.XYZAB
call fcn.1004eb00
add esp, 0x10
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push dword [0x100937c0]
push 0x1008a4e0
call fcn.100587a0
push 0
push 0x64
push 1
push 0x100937c4
push 0x100784f8
call fcn.1004eb00
add esp, 0x1c
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push dword [0x100937c4]
push 0x1008a4e0
call fcn.100587a0
movzx eax, byte [0x100937bb]
mov ecx, dword [0x100937b8]
mov dword [ebp - 0xb8], eax
movzx eax, byte [0x100937ba]
mov dword [ebp - 0xb4], eax
push 0
movzx eax, ch
push 0x10078430
mov dword [ebp - 0xb0], eax
movzx eax, cl
push 0xff
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb8]
push 0
push eax
push str.spdcl
call fcn.10055310
add esp, 0x28
test al, al
je 0x1006dfa9
mov al, byte [ebp - 0xac]
mov byte [ebp - 0x124], al
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0x123], al
mov al, byte [ebp - 0xb4]
mov byte [ebp - 0x122], al
mov al, byte [ebp - 0xb8]
mov byte [ebp - 0x121], al
mov eax, dword [ebp - 0x124]
mov dword [0x100937b8], eax
call fcn.1001cef0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Save
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006dfdf
call fcn.10060ed0
call fcn.10054560
call fcn.10052820
call fcn.10054560
push 0x10094872
push str.Vehicle
call fcn.10047de0
add esp, 8
cmp byte [0x10094872], 0
je 0x1006ea83
mov ecx, dword [0x10098c7c]
call fcn.100638f0
test eax, eax
je 0x1006ea83
mov ecx, dword [0x10098c7c]
call fcn.100638f0
mov ecx, dword [0x10098c7c]
push 0
mov esi, dword [eax + 4]
call fcn.100638f0
mov ecx, eax
call fcn.10072f90
mov ecx, dword [0x10098c7c]
push 1
fstp dword [0x10094874]
call fcn.100638f0
mov ecx, eax
call fcn.10072f90
mov ecx, dword [0x10098c7c]
push 0x1009488c
push 0x10094880
fstp dword [0x10094878]
call fcn.100638f0
mov ecx, eax
call fcn.10072fe0
mov ecx, dword [0x10098c7c]
call fcn.100638f0
mov ecx, eax
call fcn.10073150
mov dword [0x1009487c], eax
mov al, byte [esi + 0x8e0]
mov byte [0x10094898], al
mov al, byte [esi + 0x8e1]
mov byte [0x10094899], al
mov al, byte [esi + 0x8e2]
mov byte [0x1009489a], al
mov al, byte [esi + 0x8e3]
mov byte [0x1009489b], al
mov al, byte [esi + 0x8e4]
mov byte [0x1009489c], al
mov al, byte [esi + 0x8e5]
mov byte [0x1009489d], al
call fcn.100132c0
fmul dword [0x10079270]
push ecx
fstp dword [esp]
call fcn.1001d5e0
push 0xffffffffffffffff
push 0x1b
push 0x10092960
push 0x100948a0
push str.cwhl
call fcn.1004cb90
add esp, 0x18
test al, al
jne 0x1006e116
cmp byte [0x100948a4], al
je 0x1006e1bd
mov eax, dword [0x100948a0]
lea ecx, [ebp - 0xf0]
push dword [eax*4 + 0x10092960]
call fcn.1005db60
mov ecx, dword [0x10098c7c]
mov eax, dword [0x100929cc]
mov dword [ecx + 0x84], eax
lea eax, [ebp - 0xf0]
mov byte [ecx + 0x80], 1
add ecx, 0x68
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x1006e173
cmp dword [ebp - 0xdc], 0x10
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.1005cca0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006e1b6
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e1ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006e1ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073de4
add esp, 8
mov byte [0x100948a4], 0
push 1
push 0x10078474
push str.Wheel_Index
call fcn.1006ba60
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x100800b8
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e22d
mov eax, dword [0x100948a0]
mov ecx, 0x1a
sub eax, 1
mov byte [0x100948a4], 1
cmovs eax, ecx
mov dword [0x100948a0], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x100800bc
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e28a
mov eax, dword [0x100948a0]
xor ecx, ecx
inc eax
mov byte [0x100948a4], 1
cmp eax, 0x1a
cmovg eax, ecx
mov dword [0x100948a0], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
add esp, 4
mov dword [esp], 0x41f00000
call fcn.1001d5e0
push 0
push 0x10078430
push 2
push 0xffffffffffffffff
push 0x100929cc
push str.slindex
call fcn.10055340
call fcn.1001cef0
push str.painting
call fcn.1001d410
call fcn.100132c0
fmul dword [0x10079270]
add esp, 0x1c
fstp dword [esp]
call fcn.1001d5e0
push 0xffffffffffffffff
push 9
push 0x100929d0
push 0x100948a8
push str.cpnt
call fcn.1004cb90
add esp, 0x18
test al, al
jne 0x1006e31a
cmp byte [0x100948ac], al
je 0x1006e3b9
mov eax, dword [0x100948a8]
lea ecx, [ebp - 0xf0]
push dword [eax*4 + 0x100929d0]
call fcn.1005db60
mov esi, dword [0x10098c7c]
lea ecx, [esi + 0x98]
mov dword [ebp - 4], 1
lea eax, [ebp - 0xf0]
cmp ecx, eax
je 0x1006e368
cmp dword [ebp - 0xdc], 0x10
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.1005cca0
mov byte [esi + 0x95], 1
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006e3b2
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e3a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006e3a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073de4
add esp, 8
mov byte [0x100948ac], 0
call fcn.1001cef0
push 1
push 0x10078474
push str.Painting
call fcn.1006ba60
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x100800b8
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e42e
mov eax, dword [0x100948a8]
mov ecx, 8
sub eax, 1
mov byte [0x100948ac], 1
cmovs eax, ecx
mov dword [0x100948a8], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x100800bc
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e48b
mov eax, dword [0x100948a8]
xor ecx, ecx
inc eax
mov byte [0x100948ac], 1
cmp eax, 8
cmovg eax, ecx
mov dword [0x100948a8], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push dword [0x100948a8]
push 0x10078430
call fcn.100587a0
add esp, 0x10
call fcn.1001ce00
mov ecx, dword [0x10098c7c]
call fcn.100638f0
mov ecx, eax
call fcn.10073060
fstp dword [0x100948b0]
call fcn.100132c0
fmul dword [0x10079270]
push ecx
fstp dword [esp]
call fcn.1001d5e0
add esp, 4
push 1
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0
push 0x100948b0
push str.engdmg
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006e538
movss xmm0, dword [0x100948b0]
push ecx
mov ecx, dword [0x10098c7c]
movss dword [esp], xmm0
call fcn.100638f0
mov ecx, eax
call fcn.100732e0
call fcn.1001cef0
push dword [0x100937f4]
call fcn.1006b9f0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
push str.Engine
call fcn.10058870
call fcn.100132c0
fmul dword [0x10079270]
add esp, 8
fstp dword [esp]
call fcn.1001d5e0
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0
push 0x100948b4
push str.fdmg
call fcn.100552e0
call fcn.1001cef0
push dword [0x100937f0]
call fcn.1006b9f0
add esp, 0x14
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Damage
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e616
mov eax, dword [0x10098c7c]
movss xmm0, dword [0x100948b4]
mov byte [eax + 0x89], 1
movss dword [eax + 0x8c], xmm0
mov ecx, dword [0x10098c7c]
call fcn.100638f0
mov ecx, eax
call fcn.10073040
fstp dword [0x100948b8]
call fcn.100132c0
fmul dword [0x10079270]
push ecx
fstp dword [esp]
call fcn.1001d5e0
add esp, 4
push 1
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
push 0x100948b8
push str.dirt
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006e694
movss xmm0, dword [0x100948b8]
push ecx
mov ecx, dword [0x10098c7c]
movss dword [esp], xmm0
call fcn.100638f0
mov ecx, eax
call fcn.100732c0
call fcn.1001cef0
push dword [0x100937ec]
call fcn.1006b9f0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Repair
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e6f0
mov eax, dword [0x10098c7c]
mov byte [eax + 0x88], 1
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
push 0x100929f4
push str.trans
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006e73f
movss xmm0, dword [0x100929f4]
push ecx
mov ecx, dword [0x10098c7c]
movss dword [esp], xmm0
call fcn.100638f0
mov ecx, eax
call fcn.100733b0
push 1
push 0x10078474
push str.Transparency
call fcn.1006ba60
call fcn.100132c0
fmul dword [0x10079270]
add esp, 8
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x10078430
push 3
push 0
push 0x1009487c
push str.itng
call fcn.10055340
add esp, 0x1c
test al, al
je 0x1006e798
mov ecx, dword [0x10098c7c]
mov eax, dword [0x1009487c]
mov dword [ecx + 0x90], eax
call fcn.1001cef0
push dword [0x1009380c]
call fcn.1006b9f0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
push str.Tuning
call fcn.10058870
push 0
push 0x10094880
push str.sclpri
call fcn.10048cb0
add esp, 0x18
test al, al
je 0x1006e7fa
mov ecx, dword [0x10098c7c]
push 0x1009488c
push 0x10094880
call fcn.100638f0
mov ecx, eax
call fcn.10073250
push ecx
mov dword [esp], 0xbf800000
call fcn.1000c690
fadd dword [0x1008a8a0]
push ecx
fstp dword [esp]
call fcn.10020650
push 0
push 0x10078474
push str.Color_Primary
call fcn.1006ba60
push 0
push 0x1009488c
push str.sclsec
call fcn.10048cb0
add esp, 0x20
test al, al
je 0x1006e85b
mov ecx, dword [0x10098c7c]
push 0x1009488c
push 0x10094880
call fcn.100638f0
mov ecx, eax
call fcn.10073250
push ecx
mov dword [esp], 0xbf800000
call fcn.1000c690
fadd dword [0x1008a8a0]
push ecx
fstp dword [esp]
call fcn.10020650
push 0
push 0x10078474
push str.Color_Secondary
call fcn.1006ba60
movss xmm0, dword [0x10094878]
add esp, 0x14
push 0
push str._.3f
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
push 0x10094874
push str.fuel
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006e8e0
movss xmm0, dword [0x10094874]
push ecx
mov ecx, dword [0x10098c7c]
movss dword [esp], xmm0
call fcn.100638f0
mov ecx, eax
call fcn.10073210
push 1
push 0x10078474
push str.Fuel
call fcn.1006ba60
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
movss xmm0, dword [0x10094878]
subss xmm0, dword [0x10094874]
mulss xmm0, dword [0x1008a888]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.__.2f
call fcn.10058870
call fcn.100132c0
fmul dword [0x10079270]
add esp, 8
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0
push 0
push 7
push 0x10094898
push str.plate
call fcn.1004f080
add esp, 0x1c
test al, al
je 0x1006e97d
mov ecx, dword [0x10098c7c]
push 0x10094898
call fcn.100638f0
mov ecx, eax
call fcn.10073370
call fcn.1001cef0
push 1
push 0x10078474
push str.Plate_Text
call fcn.1006ba60
call fcn.100132c0
fmul dword [0x10079270]
add esp, 8
fstp dword [esp]
call fcn.1001d5e0
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
push 0x100929f8
push str.stspd
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006e9f0
mov eax, dword [0x10098c7c]
movss xmm0, dword [0x100929f8]
movss dword [eax + 0xb0], xmm0
call fcn.1001cef0
mov esi, dword [0x10093814]
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x10078474
call fcn.10058870
push 0
call fcn.10015950
add esp, 0x10
test al, al
je 0x1006ea5f
call fcn.1000c020
push ecx
mov dword [esp], 0x43e10000
call fcn.1001da30
push esi
call fcn.1005eed0
push eax
push str.Pressed
push str._s_Key___s_
call fcn.10058870
add esp, 0x14
call fcn.1001d160
call fcn.10010730
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.Racing
call fcn.10058870
add esp, 0xc
call fcn.1004e600
push 0
push 0
push str.Script
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006ebe3
cmp byte [0x100988c0], 0
mov byte [0x100937d2], 1
jne 0x1006eac5
push 0x100948c0
call fcn.1006bce0
add esp, 4
mov byte [0x100988c0], 1
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Execute
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006eb30
sub esp, 0x18
mov ecx, 0x100948c0
mov edx, esp
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006eb12
sub ecx, esi
push ecx
push 0x100948c0
mov ecx, edx
call fcn.1005b640
call fcn.10071440
add esp, 0x18
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.Save
mov dword [ebp - 0x110], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006eb80
push 0x100948c0
call fcn.1006c310
add esp, 4
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push str.pcuserscript_script.lua
call fcn.10058870
push 0
push 0
push 0x400
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0xbf800000
push eax
push 0x4000
push 0x100948c0
push str.source
mov dword [ebp - 0x110], 0xbf800000
call fcn.10052350
add esp, 0x28
call fcn.1004e600
jmp 0x1006ebea
mov byte [0x100937d2], 0
push 0
push 0
push str.Settings
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006eefe
push 0x100947c5
push 0x100783f8
call fcn.10047de0
push 0x100937bf
push str.HdGraphicsMode
call fcn.10047de0
call fcn.10054560
push dword [0x100937d4]
call fcn.1005eed0
push eax
push str.Key_ShowCursor
push str.Key__s__s
call fcn.10058870
push dword [0x100937d8]
call fcn.1005eed0
push eax
push str.Key_Window_Main
push str.Key__s__s
call fcn.10058870
push dword [0x100937e8]
call fcn.1005eed0
push eax
push str.Key_Game_SlowTime
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100937ec]
call fcn.1005eed0
push eax
push str.Key_Car_Repair
push str.Key__s__s
call fcn.10058870
push dword [0x100937f0]
call fcn.1005eed0
push eax
push str.Key_Car_Damage
push str.Key__s__s
call fcn.10058870
push dword [0x100937f4]
call fcn.1005eed0
push eax
push str.Key_Car_MotorDamage
push str.Key__s__s
call fcn.10058870
push dword [0x100937f8]
call fcn.1005eed0
push eax
push str.Key_Car_TurnRight
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100937fc]
call fcn.1005eed0
push eax
push str.Key_Car_TurnLeft
push str.Key__s__s
call fcn.10058870
push dword [0x10093800]
call fcn.1005eed0
push eax
push str.Key_Car_Wiper
push str.Key__s__s
call fcn.10058870
push dword [0x10093804]
call fcn.1005eed0
push eax
push str.Key_Car_Light
push str.Key__s__s
call fcn.10058870
push dword [0x10093808]
call fcn.1005eed0
push eax
push str.Key_Car_Freeze
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x1009380c]
call fcn.1005eed0
push eax
push str.Key_Car_Tuning
push str.Key__s__s
call fcn.10058870
push dword [0x10093810]
call fcn.1005eed0
push eax
push str.Key_Car_Engine
push str.Key__s__s
call fcn.10058870
push dword [0x10093814]
call fcn.1005eed0
push eax
push str.Key_Car_SetSpeed
push str.Key__s__s
call fcn.10058870
push dword [0x100937dc]
call fcn.1005eed0
push eax
push str.Key_Car_Create
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100937e0]
call fcn.1005eed0
push eax
push str.Key_Car_PageUp
push str.Key__s__s
call fcn.10058870
push dword [0x100937e4]
call fcn.1005eed0
push eax
push str.Key_Car_PageDown
push str.Key__s__s
call fcn.10058870
push dword [0x10093818]
call fcn.1005eed0
push eax
push str.Key_Car_Free
push str.Key__s__s
call fcn.10058870
push dword [0x1009381c]
call fcn.1005eed0
push eax
push str.Key_Ped_Free
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x10093820]
call fcn.1005eed0
push eax
push str.Key_Fly_Enable
push str.Key__s__s
call fcn.10058870
push dword [0x10093824]
call fcn.1005eed0
push eax
push str.Key_Fly_Forward
push str.Key__s__s
call fcn.10058870
push dword [0x10093828]
call fcn.1005eed0
push eax
push str.Key_Fly_Backward
push str.Key__s__s
call fcn.10058870
push dword [0x1009382c]
call fcn.1005eed0
push eax
push str.Key_Fly_RotLeft
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x10093830]
call fcn.1005eed0
push eax
push str.Key_Fly_RotRight
push str.Key__s__s
call fcn.10058870
push dword [0x10093834]
call fcn.1005eed0
push eax
push str.Key_Fly_Up
push str.Key__s__s
call fcn.10058870
push dword [0x10093838]
call fcn.1005eed0
push eax
push str.Key_Fly_Down
push str.Key__s__s
call fcn.10058870
add esp, 0x30
call fcn.1004e600
push 0
push 0
push str.Create
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006fd08
call fcn.10070be0
test eax, eax
je 0x1006fd03
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006fd03
push 0x100988c1
push str.Create_Vehicle
call fcn.10047de0
add esp, 8
cmp byte [0x100988c1], 0
je 0x1006f3c6
mov esi, dword [0x10093874]
lea eax, [ebp - 0x114]
sub esi, dword [0x10093870]
push eax
sar esi, 2
push str.Create
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
call fcn.10047400
push 1
push str._Keys
push dword [0x100937e4]
mov byte [0x100988e6], al
push dword [0x100937e0]
push dword [0x100937dc]
call fcn.1006b960
add esp, 0x1c
cmp byte [0x100988e6], 0
jne 0x1006efdb
movzx eax, byte [0x100937dc]
push 0xfa
push eax
call fcn.1006ae60
add esp, 8
test al, al
je 0x1006f188
cmp byte [0x100988c4], 0
je 0x1006f188
push 0
call fcn.10062a40
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xd8], xmm0
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov edx, eax
mov byte [ebp - 0xd8], 0
mov ecx, edx
mov dword [ebp - 4], 2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f025
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.1005cca0
push 9
push str.sdscars_
lea ecx, [ebp - 0xd8]
call fcn.1005cb50
mov ecx, 0x100988c4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f055
sub ecx, edx
push ecx
push 0x100988c4
lea ecx, [ebp - 0xd8]
call fcn.1005cb50
push 4
push str..sds
lea ecx, [ebp - 0xd8]
call fcn.1005cb50
cmp dword [ebp - 0xc4], 0x10
lea edi, [ebp - 0xd8]
cmovae edi, dword [ebp - 0xd8]
push edi
call fcn.10062970
add esp, 4
test al, al
jne 0x1006f0c2
mov eax, dword [0x10098c7c]
push edi
push str.file_not_found___s
push 0xfa0
push dword [eax + 0xc]
call fcn.10068140
add esp, 0x10
jmp 0x1006f176
mov ecx, 0x100988c4
mov dword [ebp - 0xb0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
movups xmmword [ebp - 0xc0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f0e8
sub ecx, edx
push ecx
push 0x100988c4
lea ecx, [ebp - 0xc0]
call fcn.1005b640
mov eax, dword [0x10098c7c]
lea ecx, [eax + 0x4c]
mov byte [eax + 0x64], 1
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x1006f136
cmp dword [ebp - 0xac], 0x10
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.1005cca0
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x1006f176
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f16c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f16c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073de4
add esp, 8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.1005b780
push 1
push 0x1008a6b8
push str.Destroy
call fcn.1006ba60
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x10092a00
push str.destroy
call fcn.10047de0
add esp, 0x10
test al, al
je 0x1006f1ed
mov ecx, dword [0x10098c7c]
cmp byte [ecx + 0x65], 0
sete al
mov byte [ecx + 0x65], al
mov eax, dword [0x10098c7c]
movzx eax, byte [eax + 0x65]
push eax
push str.set_destroy___i
call fcn.1006aea0
add esp, 8
push 1
push 0x10078474
push str.EngineOn
call fcn.1006ba60
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x10092a01
push str.engineon
call fcn.10047de0
add esp, 0x10
test al, al
je 0x1006f239
mov ecx, dword [0x10098c7c]
mov al, byte [0x10092a01]
mov byte [ecx + 0x66], al
push 1
push 0x10078474
push str.SetCar
call fcn.1006ba60
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x100988e5
push str.setcar
call fcn.10047de0
add esp, 0x10
test al, al
je 0x1006f285
mov ecx, dword [0x10098c7c]
mov al, byte [0x100988e5]
mov byte [ecx + 0x67], al
push 0x4000
push 1
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push str.crtveh
mov dword [ebp - 0x110], 0
call fcn.1000b5f0
add esp, 0x10
xor edi, edi
test esi, esi
je 0x1006f364
nop
mov eax, dword [0x10093870]
mov esi, dword [eax + edi*4]
add esi, 8
cmp dword [esi + 0x14], 0x10
jb 0x1006f2d3
mov esi, dword [esi]
cmp dword [0x100929fc], edi
lea eax, [ebp - 0x114]
push eax
sete al
mov dword [ebp - 0x114], 0
push 2
movzx eax, al
push eax
push esi
mov dword [ebp - 0x110], 0
call fcn.10053fd0
add esp, 0x10
test al, al
je 0x1006f320
push esi
push 0x100988c4
mov dword [0x100929fc], edi
call fcn.10068be0
add esp, 8
jmp 0x1006f355
cmp byte [0x100988e4], 0
je 0x1006f355
cmp edi, dword [0x100929fc]
jne 0x1006f355
push esi
push 0x100988c4
mov byte [0x100988e4], 0
call fcn.10068be0
add esp, 4
mov dword [esp], 0x3f000000
call fcn.10021fe0
add esp, 4
mov esi, dword [ebp - 0x128]
inc edi
cmp edi, esi
jb 0x1006f2c0
movzx eax, byte [0x100937e0]
push 0x64
push eax
call fcn.1006ae60
add esp, 8
test al, al
je 0x1006f390
mov eax, dword [0x100929fc]
test eax, eax
jle 0x1006f390
dec eax
mov byte [0x100988e4], 1
mov dword [0x100929fc], eax
movzx eax, byte [0x100937e4]
push 0x64
push eax
call fcn.1006ae60
add esp, 8
test al, al
je 0x1006f3c1
mov ecx, dword [0x100929fc]
lea eax, [esi - 1]
cmp ecx, eax
jge 0x1006f3c1
inc ecx
mov byte [0x100988e4], 1
mov dword [0x100929fc], ecx
call fcn.1000fba0
call fcn.10054560
mov eax, dword [0x10098d00]
mov ecx, dword fs:[0x2c]
mov edi, dword [0x10093860]
sub edi, dword [0x1009385c]
sar edi, 2
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x100988f8]
mov dword [ebp - 0x110], edi
cmp eax, dword [ecx + 4]
jg 0x10070350
push 1
push 0x100988f0
push str.Change_Ped
call fcn.100528f0
call fcn.10054560
push 0
push 0x100988f0
push str.Create_Ped
call fcn.100528f0
add esp, 0x18
call fcn.10054560
cmp dword [0x100988f0], 0
jne 0x1006f569
cmp dword [0x10092a28], 0x10
mov eax, 0x10092a14
cmovae eax, dword [0x10092a14]
push eax
push 0x100784f0
call fcn.10058870
call fcn.100132c0
fmul dword [0x10079270]
add esp, 4
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x10092a04
push str.Table
call fcn.1004eb00
add esp, 0x18
test al, al
je 0x1006f4d1
mov eax, dword [0x10092a04]
test eax, eax
jns 0x1006f49c
mov eax, 0x12e
jmp 0x1006f4a6
xor ecx, ecx
cmp eax, 0x12e
cmovg eax, ecx
push eax
mov dword [0x10092a04], eax
lea eax, [ebp - 0x108]
push eax
call fcn.10070bf0
add esp, 8
mov ecx, 0x10092a14
push eax
call fcn.10068ee0
lea ecx, [ebp - 0x108]
call fcn.1005b780
push 0
push 0x10092a08
push str.Weapon
call fcn.1004ead0
add esp, 0xc
test al, al
je 0x1006f51a
mov eax, dword [0x10092a08]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x10092a08], eax
mov eax, dword [0x10092a0c]
test eax, eax
jns 0x1006f50b
mov dword [0x10092a0c], ecx
jmp 0x1006f51a
mov ecx, 0x1f4
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10092a0c], eax
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x10092a10
push str.Health
call fcn.1004ea80
add esp, 0x18
test al, al
je 0x1006f55f
xorps xmm0, xmm0
comiss xmm0, dword [0x10092a10]
jbe 0x1006f55f
mov dword [0x10092a10], 0
call fcn.1001cef0
call fcn.10054560
call fcn.10052820
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
push str.Change_Create
mov dword [ebp - 0x12c], 0
call fcn.10047400
push 1
push 0x10078474
push dword [0x100937e4]
mov byte [0x100988f4], al
push dword [0x100937e0]
push dword [0x100937dc]
call fcn.1006b960
add esp, 0x1c
cmp byte [0x100988f4], 0
jne 0x1006f5df
movzx eax, byte [0x100937dc]
push 0xfa
push eax
call fcn.1006ae60
add esp, 8
test al, al
je 0x1006f8fb
mov esi, dword [0x100988e8]
test esi, esi
js 0x1006f8fb
cmp esi, edi
jae 0x1006f8fb
mov eax, dword [0x1009385c]
mov esi, dword [eax + esi*4]
mov dword [ebp - 0x124], esi
cmp dword [esi + 0x14], 0x10
jb 0x1006f611
mov eax, dword [esi]
mov dword [ebp - 0x124], eax
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x1006f61c
mov esi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0xf
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10062b00
add esp, 8
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x1006f697
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f68d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f68d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073de4
add esp, 8
lea eax, [ebp - 0x108]
mov dword [ebp - 0xb0], 0
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.1005c060
push dword [ebp - 0x124]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.10068f20
push esi
lea ecx, [ebp - 0xd8]
call fcn.10068f20
push 4
push str..sds
lea ecx, [ebp - 0xd8]
call fcn.1005cb50
mov edx, dword [ebp - 0xc8]
xor eax, eax
test edx, edx
je 0x1006f726
cmp dword [ebp - 0xc4], 0x10
lea ecx, [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xd8]
cmp byte [eax + ecx], 0x2f
jne 0x1006f721
mov byte [eax + ecx], 0x5c
inc eax
cmp eax, edx
jb 0x1006f703
cmp dword [ebp - 0xc4], 0x10
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
mov dword [ebp - 0x128], eax
call fcn.10062970
add esp, 4
test al, al
jne 0x1006f772
push dword [ebp - 0x128]
mov eax, dword [0x10098c7c]
push str.file_not_found___s
push 0xfa0
push dword [eax + 0xc]
call fcn.10068140
add esp, 0x10
jmp 0x1006f8de
push esi
lea ecx, [ebp - 0xf0]
call fcn.1005db60
push dword [ebp - 0x124]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.1005db60
mov eax, dword [0x10092a04]
cmp dword [0x100988f0], 0
movss xmm0, dword [0x10092a10]
mov esi, dword [0x10098c7c]
mov dword [ebp - 0x128], eax
setne al
movss dword [ebp - 0x10c], xmm0
mov byte [esi + 0xb5], al
lea ecx, [esi + 0xb8]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
cmp ecx, eax
je 0x1006f7f2
cmp dword [ebp - 0xac], 0x10
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.1005cca0
lea ecx, [esi + 0xd0]
lea eax, [ebp - 0xf0]
cmp ecx, eax
je 0x1006f81c
cmp dword [ebp - 0xdc], 0x10
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.1005cca0
movss xmm0, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x128]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], 0x10092a08
movss dword [esi + 0xf0], xmm0
mov byte [esi + 0xb4], 1
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x1006f883
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f879
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f8ce
push ecx
push edx
call fcn.10073de4
add esp, 8
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov byte [ebp - 4], 8
cmp ecx, 0x10
jb 0x1006f8de
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f8d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f8d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10073de4
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.1005b780
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0xffffffff
call fcn.1005b780
push 0x4000
push 1
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
push str.clit2
mov dword [ebp - 0x12c], 0
call fcn.1000b5f0
add esp, 0x10
xor esi, esi
test edi, edi
je 0x1006fc33
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [0x1009385c]
lea ecx, [ebp - 0xf0]
push dword [eax + esi*4]
call fcn.1005c060
mov eax, dword [0x1009385c]
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0xc
mov eax, dword [eax + esi*4]
add eax, 0x18
push eax
call fcn.1005c060
mov edx, dword [ebp - 0xf8]
mov eax, 0x7fffffff
sub eax, dword [ebp - 0xe0]
mov byte [ebp - 4], 0xd
cmp eax, edx
jb 0x1007038d
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
mov edi, dword [ebp - 0xf0]
lea ecx, [ebp - 0x108]
cmovae eax, edi
mov dword [ebp - 0xc8], 0
cmp dword [ebp - 0xf4], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x108]
setae byte [ebp - 0x115]
cmovae ecx, eax
mov dword [ebp - 0x11c], eax
add edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x12c], ecx
mov ecx, 0xf
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x124], eax
movups xmmword [ebp - 0xd8], xmm0
cmp edx, ecx
jbe 0x1006fa75
mov ecx, edx
or ecx, 0xf
mov dword [ebp - 0x120], ecx
cmp ecx, 0x7fffffff
jbe 0x1006fa2c
mov eax, 0x7fffffff
jmp 0x1006fa4a
cmp ecx, 0x16
mov dword [ebp - 0x128], 0x16
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x120]
cmovae eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0xd8]
inc eax
push eax
call fcn.1005bb20
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xe0]
mov dword [ebp - 0xc8], edx
push dword [ebp - 0x134]
mov dword [ebp - 0xc4], ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0xf8]
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0xe0]
push dword [ebp - 0x12c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x10c]
mov byte [eax + ecx], 0
cmp dword [ebp - 0xc4], 0x10
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0xe
cmovae ecx, dword [ebp - 0xd8]
cmp dword [0x100988e8], esi
push eax
sete al
mov dword [ebp - 0xb0], 0
push 2
movzx eax, al
push eax
push ecx
mov dword [ebp - 0xac], 0
call fcn.10053fd0
add esp, 0x28
test al, al
je 0x1006fb18
mov dword [0x100988e8], esi
jmp 0x1006fb40
cmp byte [0x100988ec], 0
je 0x1006fb40
cmp esi, dword [0x100988e8]
jne 0x1006fb40
push ecx
mov byte [0x100988ec], 0
mov dword [esp], 0x3f000000
call fcn.10021fe0
add esp, 4
mov ecx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x1006fb7e
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006fb74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e1a6
push ecx
push edx
call fcn.10073de4
add esp, 8
cmp byte [ebp - 0x115], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov byte [ebp - 4], 0xc
je 0x1006fbe7
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x11c]
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x1006fbdd
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x11c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1006e1a6
mov eax, dword [ebp - 0x11c]
push ecx
push eax
call fcn.10073de4
add esp, 8
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1006fc24
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1006fc1a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e1a6
push ecx
push edi
call fcn.10073de4
add esp, 8
mov edi, dword [ebp - 0x110]
inc esi
cmp esi, edi
jb 0x1006f940
mov al, byte [0x100937e0]
mov byte [ebp - 0x115], al
call fcn.100123d0
movzx ecx, byte [ebp - 0x115]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10c], ecx
cmp byte [ecx + eax + 0xae4], 0
je 0x1006fc99
call esi
mov ecx, dword [ebp - 0x10c]
cmp dword [ecx*4 + 0x10094320], eax
jae 0x1006fc99
call esi
mov ecx, dword [ebp - 0x10c]
add eax, 0x64
mov dword [ecx*4 + 0x10094320], eax
mov eax, dword [0x100988e8]
test eax, eax
jle 0x1006fc99
dec eax
mov byte [0x100988ec], 1
mov dword [0x100988e8], eax
mov al, byte [0x100937e4]
mov byte [ebp - 0x115], al
call fcn.100123d0
movzx ecx, byte [ebp - 0x115]
mov dword [ebp - 0x10c], ecx
cmp byte [ecx + eax + 0xae4], 0
je 0x1006fcfe
call esi
mov ecx, dword [ebp - 0x10c]
cmp dword [ecx*4 + 0x10094320], eax
jae 0x1006fcfe
call esi
mov ecx, dword [ebp - 0x10c]
add eax, 0x64
mov dword [ecx*4 + 0x10094320], eax
lea eax, [edi - 1]
mov ecx, dword [0x100988e8]
cmp ecx, eax
jae 0x1006fcfe
inc ecx
mov byte [0x100988ec], 1
mov dword [0x100988e8], ecx
call fcn.1000fba0
call fcn.1004e600
push 0
push 0
push str.Debug
call fcn.10047170
add esp, 0xc
test al, al
je 0x100702f0
call fcn.10054560
push 0x100947c6
push str.Memory
call fcn.10047de0
call fcn.10054560
push 0
push str.InventoryItems
call fcn.100486c0
add esp, 0x10
test al, al
je 0x1006feac
call fcn.10070be0
cmp dword [eax + 0x118], 0
je 0x1006feac
call fcn.10070be0
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa4], 0
je 0x1006feac
mov eax, dword [0x10093880]
xor ecx, ecx
mov edx, dword [0x1009387c]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x11c], ecx
test eax, eax
je 0x1006feac
nop dword [eax + eax]
mov eax, dword [edx + ecx*4]
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 4]
jb 0x1006fdae
mov edi, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x110], cl
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006fe05
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006fe05
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x110]
mov ecx, dword [ebp - 0x12c]
call dword [0x10098ac4]
mov dword [ebp - 0x10c], eax
mov esi, dword [ebp - 0x10c]
jmp 0x1006fe07
xor esi, esi
call fcn.10070be0
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006fe35
cmp dword [eax + 0xa4], 0
je 0x1006fe35
test esi, esi
je 0x1006fe35
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x120], eax
jmp 0x1006fe3f
mov dword [ebp - 0x120], 0
lea eax, [ebp - 0x115]
test esi, esi
push eax
push str.item
setne byte [ebp - 0x115]
call fcn.10047de0
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push edi
push dword [ebp - 0x120]
push dword [ebp - 0x134]
push str._i_Category__i_Name__s
call fcn.100587a0
mov eax, dword [0x10093880]
add esp, 0x18
mov ecx, dword [ebp - 0x11c]
mov edx, dword [0x1009387c]
inc ecx
sub eax, edx
mov dword [ebp - 0x11c], ecx
sar eax, 2
cmp ecx, eax
jb 0x1006fda0
push 0
push str.Style_Editor
call fcn.100486c0
add esp, 8
test al, al
je 0x1006fedf
push 0
push 0x100988fc
push str.Style_Editor
call fcn.10008e20
push 0
call fcn.10003b90
add esp, 0x10
call fcn.1000f610
push 0
push str.CarParts
call fcn.100486c0
add esp, 8
test al, al
je 0x100700f9
mov ecx, dword [0x10098c7c]
call fcn.100638f0
mov esi, eax
test esi, esi
je 0x100700f9
mov ecx, dword [esi + 4]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov eax, dword [ecx + 0xc8]
mov edi, dword [ecx + 0xcc]
sub edi, eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0xb0]
shr edi, 2
push eax
push str.SetOnPart
call fcn.10047400
add esp, 8
test al, al
je 0x1006ff6c
mov ecx, dword [0x10098900]
test ecx, ecx
js 0x1006ff6c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006ff6c
push 1
push ecx
mov ecx, esi
call fcn.10073480
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
push eax
push str.SetOffPart
mov dword [ebp - 0xac], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006ffca
mov ecx, dword [0x10098900]
test ecx, ecx
js 0x1006ffca
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006ffca
push 0
push ecx
mov ecx, esi
call fcn.10073480
push 0x4000
push 1
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
push eax
push str.bcprt
mov dword [ebp - 0xac], 0
call fcn.1000b5f0
add esp, 0x10
xor esi, esi
test edi, edi
je 0x1007009f
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x10070096
push dword [eax + 4]
call fcn.100676a0
push eax
push esi
lea eax, [ebp - 0x50]
push str._02d__s
push eax
call fcn.100052a0
cmp dword [0x10098900], esi
lea eax, [ebp - 0x13c]
push eax
sete al
mov dword [ebp - 0x13c], 0
movzx eax, al
push 2
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x138], 0
push eax
call fcn.10053fd0
add esp, 0x24
test al, al
je 0x1007006e
mov dword [0x10098900], esi
jmp 0x10070096
cmp byte [0x100988fd], 0
je 0x10070096
cmp esi, dword [0x10098900]
jne 0x10070096
push ecx
mov byte [0x100988fd], 0
mov dword [esp], 0x3f000000
call fcn.10021fe0
add esp, 4
inc esi
cmp esi, edi
jb 0x10070003
push dword [0x100937e0]
call fcn.10015bb0
add esp, 4
test al, al
je 0x100700c7
mov eax, dword [0x10098900]
test eax, eax
jle 0x100700c7
dec eax
mov byte [0x100988fd], 1
mov dword [0x10098900], eax
push dword [0x100937e4]
call fcn.10015bb0
add esp, 4
test al, al
je 0x100700f4
mov ecx, dword [0x10098900]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100700f4
inc ecx
mov byte [0x100988fd], 1
mov dword [0x10098900], ecx
call fcn.1000fba0
push 0
push str.CM2SlotManager
call fcn.100486c0
add esp, 8
test al, al
je 0x100702eb
call fcn.10073530
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
je 0x100702eb
mov ecx, esi
call fcn.10073580
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x124], edi
call fcn.10073590
push edi
push str.SlotDescSize__i
mov dword [ebp - 0x10c], eax
call fcn.100587a0
push dword [ebp - 0x10c]
push str.SlotManager__s
call fcn.100587a0
xor edi, edi
add esp, 0x10
mov dword [ebp - 0x11c], edi
cmp dword [ebp - 0x124], edi
jbe 0x100702eb
push edi
mov ecx, esi
call fcn.10073550
mov esi, eax
test esi, esi
je 0x10070212
movzx ecx, word [esi]
mov edx, 0x10078465
add ecx, dword [ebp - 0x10c]
cmovne edx, ecx
push edx
push str.SlotDesc__s
call fcn.100587a0
movzx eax, word [esi + 2]
push eax
push str.MaxSlots__d
call fcn.100587a0
movzx eax, word [esi + 4]
push eax
push str.SlotType__d
call fcn.100587a0
movzx eax, word [esi + 6]
push eax
push str.UnkS______d
call fcn.100587a0
movzx eax, word [esi + 8]
push eax
push str.Unk1______d
call fcn.100587a0
movzx eax, word [esi + 0xa]
push eax
push str.Unk2______d
call fcn.100587a0
movzx eax, word [esi + 0xc]
push eax
push str.Unk3______d
call fcn.100587a0
movzx eax, word [esi + 0xe]
push eax
push str.Unk4______d
call fcn.100587a0
add esp, 0x40
call fcn.100559d0
mov esi, dword [ebp - 0x120]
mov ecx, esi
push edi
call fcn.10073540
mov edx, eax
test edx, edx
je 0x100702d8
push dword [edx + 0x1a8]
mov esi, dword [edx + 0x40]
lea ecx, [edx + 0x18]
test ecx, ecx
mov eax, 0x10078465
push str.Slot______i
cmovne eax, ecx
mov ecx, 0x10078465
mov dword [ebp - 0x110], eax
lea eax, [edx + 0x74]
test eax, eax
cmovne ecx, eax
lea eax, [edx + 0x184]
xor edi, edi
mov dword [ebp - 0x12c], ecx
test eax, eax
cmovne edi, eax
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x134], eax
call fcn.100587a0
push dword [ebp - 0x110]
push str.Name______s
call fcn.100587a0
push dword [ebp - 0x12c]
push str.SDS_______s
call fcn.100587a0
push edi
push str.Unk_______p
call fcn.100587a0
push esi
push str.Type______i
call fcn.100587a0
push dword [ebp - 0x134]
push str.RefCount__i
call fcn.100587a0
push 0x10078465
call fcn.100587a0
mov edi, dword [ebp - 0x11c]
add esp, 0x34
mov esi, dword [ebp - 0x120]
inc edi
mov dword [ebp - 0x11c], edi
cmp edi, dword [ebp - 0x124]
jb 0x10070173
call fcn.1004e600
call fcn.1004e480
call fcn.1001cef0
call fcn.1000f610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073dd6
mov esp, ebp
pop ebp
ret
push 0x1009486c
call fcn.10073d00
add esp, 4
cmp dword [0x1009486c], 0xffffffff
jne 0x1006ddb5
mov eax, dword [0x1009383c]
push 0x1009486c
mov dword [0x10094868], eax
call fcn.10073cb6
add esp, 4
jmp 0x1006ddb5
push 0x100988f8
call fcn.10073d00
add esp, 4
cmp dword [0x100988f8], 0xffffffff
jne 0x1006f400
push 0x10077330
call fcn.10073bb8
push 0x100988f8
mov dword [ebp - 4], 0xffffffff
call fcn.10073cb6
add esp, 8
jmp 0x1006f400
call fcn.1005bb10
int3