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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073fe1
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1008d470]
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 0x1006e08c
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0x43960000
push 4
push eax
mov dword [ebp - 0xd4], 0x43fa0000
call fcn.10020300
push 0x2000
push esi
push str.M2Ext
call fcn.10007450
add esp, 0x14
test al, al
je 0x1006e087
push dword [0x1008efe4]
push dword [0x1008d144]
call fcn.10010a00
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.10056e60
add esp, 0x14
cmp dword [0x1008eeec], 0x101
jne 0x1006af1f
push dword [0x1008ef88]
call fcn.1005d4c0
mov dword [0x1008d144], eax
add esp, 4
mov eax, dword [0x1008ef84]
mov dword [0x1008efe4], eax
call fcn.10052b50
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
push 0
push str.tabs
call fcn.10045380
add esp, 0xc
test al, al
je 0x1006e082
push 0
push 0
push str.Main
call fcn.10045770
add esp, 0xc
test al, al
je 0x1006c34f
call fcn.1006ea10
test eax, eax
je 0x1006b762
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006b762
push str.timescale
call fcn.1001ba30
call fcn.100118f0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
mulss xmm0, dword [0x10076238]
subss xmm0, dword [0x1007627c]
movss dword [esp], xmm0
call fcn.1001bc00
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x3dcccccd
push 0x1008d140
push str.sfts
call fcn.100538d0
add esp, 0x18
test al, al
je 0x1006b01b
movss xmm0, dword [0x1008d140]
movss dword [ebp - 0xcc], xmm0
call fcn.1006eeb0
test eax, eax
je 0x1006b01b
call fcn.1006eeb0
movss xmm0, dword [ebp - 0xcc]
movss dword [eax + 0x30], xmm0
call fcn.1001b510
push dword [0x1008dfac]
call fcn.10069c80
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Reset_Time
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006b08a
mov dword [0x1008d140], 0x3f800000
call fcn.1006eeb0
test eax, eax
je 0x1006b08a
call fcn.1006eeb0
mov dword [eax + 0x30], 0x3f800000
call fcn.1001b420
mov eax, dword [0x1008df9c]
cmp dword [0x1008efec], eax
je 0x1006b0a6
mov dword [0x1008efec], eax
mov dword [0x1008efe8], eax
push str.savegame
call fcn.1001ba30
call fcn.100118f0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
mulss xmm0, dword [0x10076238]
subss xmm0, dword [0x1007627c]
movss dword [esp], xmm0
call fcn.1001bc00
push 0
push 0x64
push 1
push 0x1008efe8
push str.sisid
call fcn.1004d0f0
call fcn.1001b510
push 1
push 0x10075464
push str.game.game:SaveGame___
call fcn.10069cf0
add esp, 0x1c
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Save_Game.
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006b15e
push dword [0x1008efe8]
push str.game.game:SaveGame__i_
call fcn.1006f210
add esp, 8
call fcn.1001b420
call fcn.10052b50
mov eax, dword fs:[0x2c]
mov esi, dword [0x100934d8]
mov esi, dword [eax + esi*4]
call fcn.1006ea10
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x1006b199
mov eax, dword [ecx]
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x1006b199
push 0x1008eff0
call eax
call fcn.1006ea10
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x1006b1e5
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
test eax, eax
jne 0x1006b1de
push 0xc
call fcn.10071e94
add esp, 4
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x1006b1e5
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x1006b1e5
push 0x1008effc
call eax
mov dword [ebp - 0xcc], 0x1008f008
call fcn.1006ea10
mov eax, dword [eax + 0x118]
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x1006b228
mov eax, dword [eax]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x1006b228
push dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0xe0]
movss xmm0, dword [0x1008eff8]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1008eff4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1008eff0]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Pos___4.3f__4.3f__4.3f
call fcn.10056e60
movss xmm0, dword [0x1008f004]
add esp, 4
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1008f000]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1008effc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Dir___4.3f__4.3f__4.3f
call fcn.10056e60
movss xmm0, dword [0x1008f014]
cvtps2pd xmm0, xmm0
push ecx
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [0x1008f010]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1008f00c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1008f008]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Rot___4.3f__4.3f__4.3f__4.3f
call fcn.10056e60
mov eax, dword [0x10093454]
add esp, 0x24
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1006b30d
push 0x1008f018
call fcn.1006f5c0
movss xmm0, dword [0x1008f020]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1008f01c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1008f018]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Cam___4.3f__4.3f__4.3f
call fcn.10056e60
call fcn.1006ea10
mov eax, dword [eax + 0x118]
mov al, byte [eax + 0xe8]
mov byte [0x1008f024], al
call fcn.10052b50
push 0x1008f024
push str.Invulnerable
call fcn.100463e0
add esp, 0x24
test al, al
je 0x1006b393
call fcn.1006ea10
mov ecx, dword [eax + 0x118]
mov al, byte [0x1008f024]
mov byte [ecx + 0xe8], al
mov eax, dword [0x10093454]
mov al, byte [eax + 0xf5]
mov byte [0x1008f025], al
call fcn.10052b50
push 0x1008f025
push str.Toggle_NoClip
call fcn.100463e0
movzx ecx, byte [0x1008dfa1]
test al, al
mov edx, 1
cmovne ecx, edx
mov byte [0x1008dfa1], cl
call fcn.10052b50
push 0x1008f026
push str.Police
call fcn.100463e0
add esp, 0x10
cmp byte [0x1008f026], 0
je 0x1006b523
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006b523
call fcn.10052b50
push 0x1008f027
push str.cknow
call fcn.100463e0
add esp, 8
test al, al
je 0x1006b471
mov ecx, dword [0x10093454]
call fcn.10061fe0
test eax, eax
je 0x1006b471
mov ecx, dword [0x10093454]
call fcn.10061fe0
cmp dword [eax + 4], 0
je 0x1006b471
call fcn.1006eed0
mov ecx, dword [0x10093454]
test al, al
sete byte [0x1008f027]
call fcn.10061fe0
push 0
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
movzx eax, byte [0x1008f027]
push eax
push ecx
call fcn.1006f0d0
add esp, 0xc
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push str.Wanted_Vehicle
call fcn.10056d90
call fcn.1006eed0
push 0x1008f028
push str.pknow
mov byte [0x1008f027], al
call fcn.100463e0
add esp, 0x14
test al, al
je 0x1006b4eb
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006b4eb
call fcn.1006eef0
test al, al
sete byte [0x1008f028]
xor ecx, ecx
test al, al
jne 0x1006b4e2
call fcn.1006ea10
mov eax, dword [eax + 0x118]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.1006f0f0
add esp, 4
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push str.Wanted_Player
call fcn.10056d90
add esp, 0xc
call fcn.1006eef0
mov byte [0x1008f028], al
call fcn.10052b50
call fcn.10050e10
mov eax, dword [0x1008f030]
cmp eax, dword [esi + 4]
jg 0x1006e0a7
mov eax, dword [0x1008f038]
cmp eax, dword [esi + 4]
jg 0x1006e0dd
mov eax, dword [0x1008f040]
cmp eax, dword [esi + 4]
jg 0x1006e113
mov eax, dword [0x1008f048]
cmp eax, dword [esi + 4]
jg 0x1006e149
call fcn.10052b50
push 0x1008f04c
push str.Radar
call fcn.100463e0
add esp, 8
cmp byte [0x1008f04c], 0
je 0x1006b762
call fcn.1006ea10
test eax, eax
je 0x1006b762
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006b762
push str.radarclor0
call fcn.1001ba30
call fcn.100118f0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
mulss xmm0, dword [0x10076238]
subss xmm0, dword [0x1007627c]
movss dword [esp], xmm0
call fcn.1001bc00
push 0
push 0x10075420
push 0xa
push 0xfffffffffffffff6
push 0x1008f02c
push str.rdrc
call fcn.10053930
mov ecx, dword [0x1008e00c]
test al, al
cmovne ecx, dword [0x1008f02c]
mov dword [0x1008e00c], ecx
call fcn.1001b420
push str.radarclor1
call fcn.1001ba30
call fcn.100118f0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
add esp, 0x1c
mulss xmm0, dword [0x10076238]
subss xmm0, dword [0x1007627c]
movss dword [esp], xmm0
call fcn.1001bc00
push 0
push 0x10075420
push 0xa
push 0xfffffffffffffff6
push 0x1008f034
push str.rdrc
call fcn.10053930
mov ecx, dword [0x1008e010]
test al, al
cmovne ecx, dword [0x1008f034]
mov dword [0x1008e010], ecx
call fcn.1001b420
push str.radarclor2
call fcn.1001ba30
call fcn.100118f0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
add esp, 0x1c
mulss xmm0, dword [0x10076238]
subss xmm0, dword [0x1007627c]
movss dword [esp], xmm0
call fcn.1001bc00
push 0
push 0x10075420
push 0xa
push 0xfffffffffffffff6
push 0x1008f03c
push str.rdrc
call fcn.10053930
mov ecx, dword [0x1008e014]
test al, al
cmovne ecx, dword [0x1008f03c]
mov dword [0x1008e014], ecx
call fcn.1001b420
push str.radarclor3
call fcn.1001ba30
call fcn.100118f0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
add esp, 0x1c
mulss xmm0, dword [0x10076238]
subss xmm0, dword [0x1007627c]
movss dword [esp], xmm0
call fcn.1001bc00
push 0
push 0x10075420
push 0xa
push 0xfffffffffffffff6
push 0x1008f044
push str.rdrc
call fcn.10053930
mov ecx, dword [0x1008e018]
add esp, 0x1c
test al, al
cmovne ecx, dword [0x1008f044]
mov dword [0x1008e018], ecx
call fcn.1001b420
call fcn.1006ea10
test eax, eax
je 0x1006c34a
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006c34a
mov ecx, dword [0x10093454]
call fcn.10061fe0
test eax, eax
je 0x1006c34a
call fcn.10052b50
push 0x1008f04d
push str.Speedometer
call fcn.100463e0
add esp, 8
cmp byte [0x1008f04d], 0
je 0x1006b912
call fcn.10052b50
push 0x1008df8d
push str.Enable
call fcn.100463e0
call fcn.100118f0
fmul dword [0x10076238]
add esp, 4
fstp dword [esp]
call fcn.1001bc00
push 0
push 0x64
push 1
push 0x1008df90
push str.XYZAB
call fcn.1004d0f0
add esp, 0x10
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push dword [0x1008df90]
push 0x10086e88
call fcn.10056d90
push 0
push 0x64
push 1
push 0x1008df94
push 0x100754d8
call fcn.1004d0f0
add esp, 0x1c
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push dword [0x1008df94]
push 0x10086e88
call fcn.10056d90
movzx eax, byte [0x1008df8b]
mov ecx, dword [0x1008df88]
mov dword [ebp - 0x60], eax
movzx eax, byte [0x1008df8a]
mov dword [ebp - 0x5c], eax
push 0
movzx eax, ch
push 0x10075420
mov dword [ebp - 0x58], eax
movzx eax, cl
push 0xff
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push 0
push eax
push str.spdcl
call fcn.10053900
add esp, 0x28
test al, al
je 0x1006b8d2
mov al, byte [ebp - 0x54]
mov byte [ebp - 0xe4], al
mov al, byte [ebp - 0x58]
mov byte [ebp - 0xe3], al
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0xe2], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0xe1], al
mov eax, dword [ebp - 0xe4]
mov dword [0x1008df88], eax
call fcn.1001b510
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Save_Setting
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 8
test al, al
je 0x1006b908
call fcn.1005f710
call fcn.10052b50
call fcn.10050e10
call fcn.10052b50
push 0x1008f04e
push str.Vehicle
call fcn.100463e0
add esp, 8
cmp byte [0x1008f04e], 0
je 0x1006c34a
mov ecx, dword [0x10093454]
call fcn.10061fe0
test eax, eax
je 0x1006c34a
mov ecx, dword [0x10093454]
call fcn.10061fe0
mov ecx, dword [0x10093454]
push 0
mov esi, dword [eax + 4]
call fcn.10061fe0
mov ecx, eax
call fcn.10070c80
mov ecx, dword [0x10093454]
push 1
fstp dword [0x1008f050]
call fcn.10061fe0
mov ecx, eax
call fcn.10070c80
mov ecx, dword [0x10093454]
push 0x1008f068
push 0x1008f05c
fstp dword [0x1008f054]
call fcn.10061fe0
mov ecx, eax
call fcn.10070cd0
mov ecx, dword [0x10093454]
call fcn.10061fe0
mov ecx, eax
call fcn.10070e40
mov dword [0x1008f058], eax
mov al, byte [esi + 0x8e0]
mov byte [0x1008f074], al
mov al, byte [esi + 0x8e1]
mov byte [0x1008f075], al
mov al, byte [esi + 0x8e2]
mov byte [0x1008f076], al
mov al, byte [esi + 0x8e3]
mov byte [0x1008f077], al
mov al, byte [esi + 0x8e4]
mov byte [0x1008f078], al
mov al, byte [esi + 0x8e5]
mov byte [0x1008f079], al
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
push 0xffffffffffffffff
push 0x1b
push 0x1008d148
push 0x1008f07c
push str.cwhl
call fcn.1004b180
add esp, 0x18
test al, al
jne 0x1006ba3f
cmp byte [0x1008f080], al
je 0x1006bae6
mov eax, dword [0x1008f07c]
lea ecx, [ebp - 0x98]
push dword [eax*4 + 0x1008d148]
call fcn.10066f80
mov ecx, dword [0x10093454]
mov eax, dword [0x1008d1b4]
mov dword [ecx + 0x84], eax
lea eax, [ebp - 0x98]
mov byte [ecx + 0x80], 1
add ecx, 0x68
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x1006ba9c
cmp dword [ebp - 0x84], 0x10
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.1005b290
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006badf
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006bad5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006bad5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10071aa4
add esp, 8
mov byte [0x1008f080], 0
push 1
push 0x10075464
push str.Wheel_Index
call fcn.10069cf0
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0x1007d078
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006bb56
mov eax, dword [0x1008f07c]
mov ecx, 0x1a
sub eax, 1
mov byte [0x1008f080], 1
cmovs eax, ecx
mov dword [0x1008f07c], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0x1007d07c
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006bbb3
mov eax, dword [0x1008f07c]
xor ecx, ecx
inc eax
mov byte [0x1008f080], 1
cmp eax, 0x1a
cmovg eax, ecx
mov dword [0x1008f07c], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
add esp, 4
mov dword [esp], 0x41f00000
call fcn.1001bc00
push 0
push 0x10075420
push 2
push 0xffffffffffffffff
push 0x1008d1b4
push str.slindex
call fcn.10053930
call fcn.1001b510
push str.painting
call fcn.1001ba30
call fcn.100118f0
fmul dword [0x10076238]
add esp, 0x1c
fstp dword [esp]
call fcn.1001bc00
push 0xffffffffffffffff
push 9
push 0x1008d1b8
push 0x1008f084
push str.cpnt
call fcn.1004b180
add esp, 0x18
test al, al
jne 0x1006bc43
cmp byte [0x1008f088], al
je 0x1006bce2
mov eax, dword [0x1008f084]
lea ecx, [ebp - 0x98]
push dword [eax*4 + 0x1008d1b8]
call fcn.10066f80
mov esi, dword [0x10093454]
lea ecx, [esi + 0x98]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x1006bc91
cmp dword [ebp - 0x84], 0x10
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.1005b290
mov byte [esi + 0x95], 1
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006bcdb
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006bcd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006bcd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10071aa4
add esp, 8
mov byte [0x1008f088], 0
call fcn.1001b510
push 1
push 0x10075464
push str.Painting
call fcn.10069cf0
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0x1007d078
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006bd57
mov eax, dword [0x1008f084]
mov ecx, 8
sub eax, 1
mov byte [0x1008f088], 1
cmovs eax, ecx
mov dword [0x1008f084], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0x1007d07c
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006bdb4
mov eax, dword [0x1008f084]
xor ecx, ecx
inc eax
mov byte [0x1008f088], 1
cmp eax, 8
cmovg eax, ecx
mov dword [0x1008f084], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push dword [0x1008f084]
push 0x10075420
call fcn.10056d90
add esp, 0x10
call fcn.1001b420
mov ecx, dword [0x10093454]
call fcn.10061fe0
mov ecx, eax
call fcn.10070d50
fstp dword [0x1008f08c]
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
add esp, 4
push 1
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0
push 0x1008f08c
push str.engdmg
call fcn.100538d0
add esp, 0x18
test al, al
je 0x1006be61
movss xmm0, dword [0x1008f08c]
push ecx
mov ecx, dword [0x10093454]
movss dword [esp], xmm0
call fcn.10061fe0
mov ecx, eax
call fcn.10070fd0
call fcn.1001b510
push dword [0x1008dfb8]
call fcn.10069c80
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.1001ec70
push str.Engine
call fcn.10056e60
call fcn.100118f0
fmul dword [0x10076238]
add esp, 8
fstp dword [esp]
call fcn.1001bc00
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0
push 0x1008f090
push str.fdmg
call fcn.100538d0
call fcn.1001b510
push dword [0x1008dfb4]
call fcn.10069c80
add esp, 0x14
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Damage
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006bf3f
mov eax, dword [0x10093454]
movss xmm0, dword [0x1008f090]
mov byte [eax + 0x89], 1
movss dword [eax + 0x8c], xmm0
mov ecx, dword [0x10093454]
call fcn.10061fe0
mov ecx, eax
call fcn.10070d30
fstp dword [0x1008f094]
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
add esp, 4
push 1
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
push 0x1008f094
push str.dirt
call fcn.100538d0
add esp, 0x18
test al, al
je 0x1006bfbd
movss xmm0, dword [0x1008f094]
push ecx
mov ecx, dword [0x10093454]
movss dword [esp], xmm0
call fcn.10061fe0
mov ecx, eax
call fcn.10070fb0
call fcn.1001b510
push dword [0x1008dfb0]
call fcn.10069c80
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Repair
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006c019
mov eax, dword [0x10093454]
mov byte [eax + 0x88], 1
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
push 0
push 0x10075420
push 3
push 0
push 0x1008f058
push str.itng
call fcn.10053930
add esp, 0x1c
test al, al
je 0x1006c05f
mov ecx, dword [0x10093454]
mov eax, dword [0x1008f058]
mov dword [ecx + 0x90], eax
call fcn.1001b510
push dword [0x1008dfd0]
call fcn.10069c80
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.1001ec70
push str.Tuning
call fcn.10056e60
push 0
push 0x1008f05c
push str.sclpri
call fcn.100472b0
add esp, 0x18
test al, al
je 0x1006c0c1
mov ecx, dword [0x10093454]
push 0x1008f068
push 0x1008f05c
call fcn.10061fe0
mov ecx, eax
call fcn.10070f40
push ecx
mov dword [esp], 0xbf800000
call fcn.1000acc0
fadd dword [0x100872e8]
push ecx
fstp dword [esp]
call fcn.1001ec70
push 0
push 0x10075464
push str.Color_Primary
call fcn.10069cf0
push 0
push 0x1008f068
push str.sclsec
call fcn.100472b0
add esp, 0x20
test al, al
je 0x1006c122
mov ecx, dword [0x10093454]
push 0x1008f068
push 0x1008f05c
call fcn.10061fe0
mov ecx, eax
call fcn.10070f40
push ecx
mov dword [esp], 0xbf800000
call fcn.1000acc0
fadd dword [0x100872e8]
push ecx
fstp dword [esp]
call fcn.1001ec70
push 0
push 0x10075464
push str.Color_Secondary
call fcn.10069cf0
movss xmm0, dword [0x1008f054]
add esp, 0x14
push 0
push str._.3f
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
push 0x1008f050
push str.fuel
call fcn.100538d0
add esp, 0x18
test al, al
je 0x1006c1a7
movss xmm0, dword [0x1008f050]
push ecx
mov ecx, dword [0x10093454]
movss dword [esp], xmm0
call fcn.10061fe0
mov ecx, eax
call fcn.10070f00
push 1
push 0x10075464
push str.Fuel
call fcn.10069cf0
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
movss xmm0, dword [0x1008f054]
subss xmm0, dword [0x1008f050]
mulss xmm0, dword [0x100872e4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.__.2f
call fcn.10056e60
call fcn.100118f0
fmul dword [0x10076238]
add esp, 8
fstp dword [esp]
call fcn.1001bc00
push 0
push 0
push 0
push 7
push 0x1008f074
push str.plate
call fcn.1004d670
add esp, 0x1c
test al, al
je 0x1006c244
mov ecx, dword [0x10093454]
push 0x1008f074
call fcn.10061fe0
mov ecx, eax
call fcn.10071070
call fcn.1001b510
push 1
push 0x10075464
push str.Plate_Text
call fcn.10069cf0
call fcn.100118f0
fmul dword [0x10076238]
add esp, 8
fstp dword [esp]
call fcn.1001bc00
add esp, 4
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
push 0x1008d1dc
push str.stspd
call fcn.100538d0
add esp, 0x18
test al, al
je 0x1006c2b7
mov eax, dword [0x10093454]
movss xmm0, dword [0x1008d1dc]
movss dword [eax + 0xb0], xmm0
call fcn.1001b510
mov esi, dword [0x1008dfd8]
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push 0x10075464
call fcn.10056e60
push 0
call fcn.10013f80
add esp, 0x10
test al, al
je 0x1006c326
call fcn.1000a650
push ecx
mov dword [esp], 0x43e10000
call fcn.1001c050
push esi
call fcn.1005d4f0
push eax
push str.Pressed
push str._s_Key___s_
call fcn.10056e60
add esp, 0x14
call fcn.1001b780
call fcn.1000ed60
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push str.Racing
call fcn.10056e60
add esp, 0xc
call fcn.1004cbf0
push 0
push 0
push str.Inventory
call fcn.10045770
add esp, 0xc
test al, al
je 0x1006c907
call fcn.10052b50
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006c8fd
call fcn.1006ea10
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa0], 0
je 0x1006c8fd
call fcn.1006ea10
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xac], 0
je 0x1006c8fd
call fcn.1006ea10
mov eax, dword [eax + 0x118]
mov eax, dword [eax + 0xac]
mov esi, dword [eax + 0x170]
call fcn.1006ea10
mov eax, dword [eax + 0x118]
mov eax, dword [eax + 0xac]
push dword [eax + 0x3b4]
push esi
push str.Current__Weapon__d___d_
call fcn.10056e60
push dword [0x1008d1e0]
push str.Table_Name____s
call fcn.10056e60
call fcn.100118f0
fmul dword [0x10076238]
add esp, 0x10
fstp dword [esp]
call fcn.1001bc00
push 0
push 0x64
push 1
push 0x1008d1e4
push str.wpnid
call fcn.1004d0f0
add esp, 0x18
test al, al
je 0x1006c494
mov ecx, dword [0x1008d1e4]
mov eax, 2
mov edx, dword [0x1008e050]
cmp ecx, eax
mov edi, dword [0x1008e04c]
cmovl ecx, eax
mov dword [0x1008d1e0], 0x100792e4
sub edx, edi
sar edx, 2
lea eax, [edx + 1]
cmp ecx, eax
cmova ecx, eax
xor eax, eax
mov dword [0x1008d1e4], ecx
test edx, edx
je 0x1006c494
nop dword [eax]
cmp ecx, 1
jle 0x1006c47c
mov esi, dword [edi + eax*4]
cmp ecx, dword [esi]
je 0x1006c483
inc eax
cmp eax, edx
jb 0x1006c470
jmp 0x1006c494
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x1006c48e
mov esi, dword [esi]
mov dword [0x1008d1e0], esi
call fcn.1001b510
call fcn.10052b50
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Inventory_Add_Weapon
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0xc
test al, al
je 0x1006c628
call fcn.1006ea10
mov edi, 0x15
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa4], 0
je 0x1006c5d6
mov esi, dword [0x1008d1e4]
mov dword [ebp - 0xcc], 0x1f4
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c551
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006c551
cmp esi, edi
mov dword [ebp - 0xe0], eax
cmova esi, edi
mov dword [ebp - 0xdc], esi
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
call dword [0x10093274]
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c580
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006c580
mov dword [ebp - 0xcc], eax
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0xcc]
call dword [0x100932b8]
mov eax, dword [0x1008d1e4]
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 1
mov dword [ebp - 0xe0], eax
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c5d6
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006c5d6
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
call dword [0x10093270]
mov esi, dword [0x1008d1e4]
mov dword [ebp - 0xcc], 0x1f4
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c628
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006c628
cmp esi, edi
mov dword [ebp - 0xe0], eax
cmova esi, edi
mov dword [ebp - 0xdc], esi
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
call dword [0x10093274]
call fcn.1001b510
call fcn.10052b50
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Inventory_Add_Item
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0xc
test al, al
je 0x1006c725
mov eax, dword [0x1008d1e4]
mov dword [ebp - 0xcc], eax
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c6bc
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006c6bc
mov dword [ebp - 0xe0], 0x943080
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xdc]
call dword [ebp - 0xe0]
mov eax, dword [0x1008d1e4]
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 1
mov dword [ebp - 0xe0], eax
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c712
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006c712
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
call dword [0x10093270]
push dword [0x1008d1e4]
push str.Inventory_Add_Item__i
call fcn.10069170
add esp, 8
call fcn.1001b510
call fcn.10052b50
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Inventory_Remove
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0xc
test al, al
je 0x1006c817
mov eax, dword [0x1008d1e4]
mov dword [ebp - 0xe8], eax
call fcn.1006ea10
mov esi, dword [eax + 0x118]
test esi, esi
je 0x1006c804
cmp dword [esi + 0xa0], 0
je 0x1006c804
mov eax, dword [esi + 0xb0]
mov byte [ebp - 0xcd], 0
test eax, eax
je 0x1006c7e6
mov dword [ebp - 0xe4], 0x4311e0
mov dword [ebp - 0xdc], 1
mov byte [ebp - 0xcc], 1
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
call dword [ebp - 0xe4]
mov byte [ebp - 0xcd], al
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xcc]
call dword [0x10093278]
push dword [0x1008d1e4]
push str.Inventory_Remove__i
call fcn.10069170
add esp, 8
call fcn.10052b50
call fcn.100118f0
fmul dword [0x10076238]
push ecx
fstp dword [esp]
call fcn.1001bc00
push 0
push 0x96
push 1
push 0x1008f098
push str.wpnsl
call fcn.1004d0f0
call fcn.1001b510
call fcn.100118f0
fmul dword [0x10076238]
add esp, 0x14
fstp dword [esp]
call fcn.1001bc00
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Inventory_Select
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0xc
test al, al
je 0x1006c8f8
mov eax, dword [0x1008f098]
mov byte [ebp - 0xe8], 0
mov byte [ebp - 0xcc], 0
mov dword [ebp - 0xdc], eax
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006c8e5
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006c8e5
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xe8]
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
call dword [0x10093270]
push dword [0x1008f098]
push str.Inventory_Select__i
call fcn.10069170
add esp, 8
call fcn.1001b510
call fcn.10052b50
call fcn.1004cbf0
push 0
push 0
push str.Script
call fcn.10045770
add esp, 0xc
test al, al
je 0x1006ca62
cmp byte [0x100930a0], 0
mov byte [0x1008dfa2], 1
jne 0x1006c944
push 0x1008f0a0
call fcn.10069f70
add esp, 4
mov byte [0x100930a0], 1
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Execute
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 8
test al, al
je 0x1006c9af
sub esp, 0x18
mov ecx, 0x1008f0a0
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 0x1006c991
sub ecx, esi
push ecx
push 0x1008f0a0
mov ecx, edx
call fcn.10059c30
call fcn.1006f110
add esp, 0x18
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.Save
mov dword [ebp - 0xd4], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006c9ff
push 0x1008f0a0
call fcn.1006a5a0
add esp, 4
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push str.pcuserscript_script.lua
call fcn.10056e60
push 0
push 0
push 0x400
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0xbf800000
push eax
push 0x4000
push 0x1008f0a0
push str.source
mov dword [ebp - 0xd4], 0xbf800000
call fcn.10050940
add esp, 0x28
call fcn.1004cbf0
jmp 0x1006ca69
mov byte [0x1008dfa2], 0
push 0
push 0
push str.Settings
call fcn.10045770
add esp, 0xc
test al, al
je 0x1006cd7d
push 0x1008ef8d
push 0x100753e8
call fcn.100463e0
push 0x1008df8f
push str.HdGraphicsMode
call fcn.100463e0
call fcn.10052b50
push dword [0x1008dfa4]
call fcn.1005d4f0
push eax
push str.Key_ShowCursor
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfa8]
call fcn.1005d4f0
push eax
push str.Key_Window_Main
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfac]
call fcn.1005d4f0
push eax
push str.Key_Game_SlowTime
push str.Key__s__s
call fcn.10056e60
add esp, 0x40
push dword [0x1008dfb0]
call fcn.1005d4f0
push eax
push str.Key_Car_Repair
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfb4]
call fcn.1005d4f0
push eax
push str.Key_Car_Damage
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfb8]
call fcn.1005d4f0
push eax
push str.Key_Car_MotorDamage
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfbc]
call fcn.1005d4f0
push eax
push str.Key_Car_TurnRight
push str.Key__s__s
call fcn.10056e60
add esp, 0x40
push dword [0x1008dfc0]
call fcn.1005d4f0
push eax
push str.Key_Car_TurnLeft
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfc4]
call fcn.1005d4f0
push eax
push str.Key_Car_Wiper
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfc8]
call fcn.1005d4f0
push eax
push str.Key_Car_Light
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfcc]
call fcn.1005d4f0
push eax
push str.Key_Car_Freeze
push str.Key__s__s
call fcn.10056e60
add esp, 0x40
push dword [0x1008dfd0]
call fcn.1005d4f0
push eax
push str.Key_Car_Tuning
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfd4]
call fcn.1005d4f0
push eax
push str.Key_Car_Engine
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfd8]
call fcn.1005d4f0
push eax
push str.Key_Car_SetSpeed
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfdc]
call fcn.1005d4f0
push eax
push str.Key_Car_Create
push str.Key__s__s
call fcn.10056e60
add esp, 0x40
push dword [0x1008dfe0]
call fcn.1005d4f0
push eax
push str.Key_Car_PageUp
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfe4]
call fcn.1005d4f0
push eax
push str.Key_Car_PageDown
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfe8]
call fcn.1005d4f0
push eax
push str.Key_Car_Free
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dfec]
call fcn.1005d4f0
push eax
push str.Key_Ped_Free
push str.Key__s__s
call fcn.10056e60
add esp, 0x40
push dword [0x1008dff0]
call fcn.1005d4f0
push eax
push str.Key_Fly_Enable
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dff4]
call fcn.1005d4f0
push eax
push str.Key_Fly_Forward
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dff8]
call fcn.1005d4f0
push eax
push str.Key_Fly_Backward
push str.Key__s__s
call fcn.10056e60
push dword [0x1008dffc]
call fcn.1005d4f0
push eax
push str.Key_Fly_RotLeft
push str.Key__s__s
call fcn.10056e60
add esp, 0x40
push dword [0x1008e000]
call fcn.1005d4f0
push eax
push str.Key_Fly_RotRight
push str.Key__s__s
call fcn.10056e60
push dword [0x1008e004]
call fcn.1005d4f0
push eax
push str.Key_Fly_Up
push str.Key__s__s
call fcn.10056e60
push dword [0x1008e008]
call fcn.1005d4f0
push eax
push str.Key_Fly_Down
push str.Key__s__s
call fcn.10056e60
add esp, 0x30
call fcn.1004cbf0
push 0
push 0
push str.Create
call fcn.10045770
add esp, 0xc
test al, al
je 0x1006daaf
call fcn.1006ea10
test eax, eax
je 0x1006daaa
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006daaa
push 0x100930a1
push str.Create_Vehicle
call fcn.100463e0
add esp, 8
cmp byte [0x100930a1], 0
je 0x1006d236
mov esi, dword [0x1008e044]
lea eax, [ebp - 0xd8]
sub esi, dword [0x1008e040]
push eax
sar esi, 2
push str.Create
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
call fcn.10045a00
push 1
push str._Keys
push dword [0x1008dfe4]
mov byte [0x100930c6], al
push dword [0x1008dfe0]
push dword [0x1008dfdc]
call fcn.10069bf0
add esp, 0x1c
cmp byte [0x100930c6], 0
jne 0x1006ce5a
movzx eax, byte [0x1008dfdc]
push 0xfa
push eax
call fcn.10069130
add esp, 8
test al, al
je 0x1006cff0
cmp byte [0x100930a4], 0
je 0x1006cff0
push 0
call fcn.10061280
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov edx, eax
mov byte [ebp - 0x80], 0
mov ecx, edx
mov dword [ebp - 4], 2
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ce98
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.1005b290
push 9
push str.sdscars_
lea ecx, [ebp - 0x80]
call fcn.1005b140
mov ecx, 0x100930a4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cec2
sub ecx, edx
push ecx
push 0x100930a4
lea ecx, [ebp - 0x80]
call fcn.1005b140
push 4
push str..sds
lea ecx, [ebp - 0x80]
call fcn.1005b140
cmp dword [ebp - 0x6c], 0x10
lea edi, [ebp - 0x80]
cmovae edi, dword [ebp - 0x80]
push edi
call fcn.100611b0
add esp, 4
test al, al
jne 0x1006cf20
mov eax, dword [0x10093454]
push edi
push str.file_not_found___s
push 0xfa0
push dword [eax + 0xc]
call fcn.100663c0
add esp, 0x10
jmp 0x1006cfb3
mov ecx, 0x100930a4
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cf40
sub ecx, edx
push ecx
push 0x100930a4
lea ecx, [ebp - 0x68]
call fcn.10059c30
mov eax, dword [0x10093454]
lea ecx, [eax + 0x4c]
mov byte [eax + 0x64], 1
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x1006cf7f
cmp dword [ebp - 0x54], 0x10
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.1005b290
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x1006cfb3
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cfa9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006cfe0
push ecx
push edx
call fcn.10071aa4
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006cff0
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cfe6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006cfe6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10071aa4
add esp, 8
push 1
push 0x1008710c
push str.Destroy
call fcn.10069cf0
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push 0x1008d1ec
push str.destroy
call fcn.100463e0
add esp, 0x10
test al, al
je 0x1006d055
mov ecx, dword [0x10093454]
cmp byte [ecx + 0x65], 0
sete al
mov byte [ecx + 0x65], al
mov eax, dword [0x10093454]
movzx eax, byte [eax + 0x65]
push eax
push str.set_destroy___i
call fcn.10069170
add esp, 8
push 1
push 0x10075464
push str.EngineOn
call fcn.10069cf0
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push 0x1008d1ed
push str.engineon
call fcn.100463e0
add esp, 0x10
test al, al
je 0x1006d0a1
mov ecx, dword [0x10093454]
mov al, byte [0x1008d1ed]
mov byte [ecx + 0x66], al
push 1
push 0x10075464
push str.SetCar
call fcn.10069cf0
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push 0x100930c5
push str.setcar
call fcn.100463e0
add esp, 0x10
test al, al
je 0x1006d0ed
mov ecx, dword [0x10093454]
mov al, byte [0x100930c5]
mov byte [ecx + 0x67], al
push 0x4000
push 1
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push str.crtveh
mov dword [ebp - 0xd4], 0
call fcn.10009c20
add esp, 0x10
xor edi, edi
test esi, esi
je 0x1006d1d4
nop word [eax + eax]
mov eax, dword [0x1008e040]
mov esi, dword [eax + edi*4]
add esi, 8
cmp dword [esi + 0x14], 0x10
jb 0x1006d143
mov esi, dword [esi]
cmp dword [0x1008d1e8], edi
lea eax, [ebp - 0xd8]
push eax
sete al
mov dword [ebp - 0xd8], 0
push 2
movzx eax, al
push eax
push esi
mov dword [ebp - 0xd4], 0
call fcn.100525c0
add esp, 0x10
test al, al
je 0x1006d190
push esi
push 0x100930a4
mov dword [0x1008d1e8], edi
call fcn.10066e60
add esp, 8
jmp 0x1006d1c5
cmp byte [0x100930c4], 0
je 0x1006d1c5
cmp edi, dword [0x1008d1e8]
jne 0x1006d1c5
push esi
push 0x100930a4
mov byte [0x100930c4], 0
call fcn.10066e60
add esp, 4
mov dword [esp], 0x3f000000
call fcn.10020610
add esp, 4
mov esi, dword [ebp - 0xe8]
inc edi
cmp edi, esi
jb 0x1006d130
movzx eax, byte [0x1008dfe0]
push 0x64
push eax
call fcn.10069130
add esp, 8
test al, al
je 0x1006d200
mov eax, dword [0x1008d1e8]
test eax, eax
jle 0x1006d200
dec eax
mov byte [0x100930c4], 1
mov dword [0x1008d1e8], eax
movzx eax, byte [0x1008dfe4]
push 0x64
push eax
call fcn.10069130
add esp, 8
test al, al
je 0x1006d231
mov ecx, dword [0x1008d1e8]
lea eax, [esi - 1]
cmp ecx, eax
jge 0x1006d231
inc ecx
mov byte [0x100930c4], 1
mov dword [0x1008d1e8], ecx
call fcn.1000e1d0
call fcn.10052b50
mov eax, dword [0x100934d8]
mov ecx, dword fs:[0x2c]
mov edi, dword [0x1008e030]
sub edi, dword [0x1008e02c]
sar edi, 2
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x100930d8]
mov dword [ebp - 0xd4], edi
cmp eax, dword [ecx + 4]
jg 0x1006e17f
push 1
push 0x100930d0
push str.Change_Ped
call fcn.10050ee0
call fcn.10052b50
push 0
push 0x100930d0
push str.Create_Ped
call fcn.10050ee0
add esp, 0x18
call fcn.10052b50
cmp dword [0x100930d0], 0
jne 0x1006d3d9
cmp dword [0x1008d214], 0x10
mov eax, 0x1008d200
cmovae eax, dword [0x1008d200]
push eax
push 0x100754d0
call fcn.10056e60
call fcn.100118f0
fmul dword [0x10076238]
add esp, 4
fstp dword [esp]
call fcn.1001bc00
push 0
push 0x64
push 1
push 0x1008d1f0
push str.Table
call fcn.1004d0f0
add esp, 0x18
test al, al
je 0x1006d341
mov eax, dword [0x1008d1f0]
test eax, eax
jns 0x1006d30c
mov eax, 0x12e
jmp 0x1006d316
xor ecx, ecx
cmp eax, 0x12e
cmovg eax, ecx
push eax
mov dword [0x1008d1f0], eax
lea eax, [ebp - 0xc8]
push eax
call fcn.1006ea20
add esp, 8
mov ecx, 0x1008d200
push eax
call fcn.100671b0
lea ecx, [ebp - 0xc8]
call fcn.10059d70
push 0
push 0x1008d1f4
push str.Weapon
call fcn.1004d0c0
add esp, 0xc
test al, al
je 0x1006d38a
mov eax, dword [0x1008d1f4]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x1008d1f4], eax
mov eax, dword [0x1008d1f8]
test eax, eax
jns 0x1006d37b
mov dword [0x1008d1f8], ecx
jmp 0x1006d38a
mov ecx, 0x1f4
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1008d1f8], eax
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x1008d1fc
push str.Health
call fcn.1004d070
add esp, 0x18
test al, al
je 0x1006d3cf
xorps xmm0, xmm0
comiss xmm0, dword [0x1008d1fc]
jbe 0x1006d3cf
mov dword [0x1008d1fc], 0
call fcn.1001b510
call fcn.10052b50
call fcn.10050e10
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
push eax
push str.Change_Create
mov dword [ebp - 0xf0], 0
call fcn.10045a00
push 1
push 0x10075464
push dword [0x1008dfe4]
mov byte [0x100930d4], al
push dword [0x1008dfe0]
push dword [0x1008dfdc]
call fcn.10069bf0
add esp, 0x1c
cmp byte [0x100930d4], 0
jne 0x1006d44f
movzx eax, byte [0x1008dfdc]
push 0xfa
push eax
call fcn.10069130
add esp, 8
test al, al
je 0x1006d6e5
mov esi, dword [0x100930c8]
test esi, esi
js 0x1006d6e5
cmp esi, edi
jae 0x1006d6e5
mov eax, dword [0x1008e02c]
mov esi, dword [eax + esi*4]
mov dword [ebp - 0xe4], esi
cmp dword [esi + 0x14], 0x10
jb 0x1006d481
mov eax, dword [esi]
mov dword [ebp - 0xe4], eax
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x1006d48c
mov esi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0xf
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10061340
add esp, 8
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.10059d70
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x80]
call fcn.1005a650
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.100671f0
push esi
lea ecx, [ebp - 0x80]
call fcn.100671f0
push 4
push str..sds
lea ecx, [ebp - 0x80]
call fcn.1005b140
mov edx, dword [ebp - 0x70]
xor eax, eax
test edx, edx
je 0x1006d53a
nop dword [eax + eax]
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x80]
cmp byte [eax + ecx], 0x2f
jne 0x1006d535
mov byte [eax + ecx], 0x5c
inc eax
cmp eax, edx
jb 0x1006d520
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
mov dword [ebp - 0xe8], eax
call fcn.100611b0
add esp, 4
test al, al
jne 0x1006d57d
push dword [ebp - 0xe8]
mov eax, dword [0x10093454]
push str.file_not_found___s
push 0xfa0
push dword [eax + 0xc]
call fcn.100663c0
add esp, 0x10
jmp 0x1006d6cb
push esi
lea ecx, [ebp - 0x98]
call fcn.10066f80
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.10066f80
mov eax, dword [0x1008d1f0]
cmp dword [0x100930d0], 0
movss xmm0, dword [0x1008d1fc]
mov esi, dword [0x10093454]
mov dword [ebp - 0xe8], eax
setne al
movss dword [ebp - 0xcc], xmm0
mov byte [esi + 0xb5], al
lea ecx, [esi + 0xb8]
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
cmp ecx, eax
je 0x1006d5ee
cmp dword [ebp - 0x54], 0x10
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.1005b290
lea ecx, [esi + 0xd0]
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x1006d618
cmp dword [ebp - 0x84], 0x10
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.1005b290
movss xmm0, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xe8]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], 0x1008d1f4
movss dword [esi + 0xf0], xmm0
mov byte [esi + 0xb4], 1
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x1006d679
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d66f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6bb
push ecx
push edx
call fcn.10071aa4
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 8
cmp ecx, 0x10
jb 0x1006d6cb
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d6c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d6c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10071aa4
add esp, 8
lea ecx, [ebp - 0x80]
call fcn.10059d70
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.10059d70
push 0x4000
push 1
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
push eax
push str.clit2
mov dword [ebp - 0xf0], 0
call fcn.10009c20
add esp, 0x10
xor esi, esi
test edi, edi
je 0x1006d9da
nop
mov eax, dword [0x1008e02c]
lea ecx, [ebp - 0x98]
push dword [eax + esi*4]
call fcn.1005a650
mov eax, dword [0x1008e02c]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xc
mov eax, dword [eax + esi*4]
add eax, 0x18
push eax
call fcn.1005a650
mov edx, dword [ebp - 0xa0]
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0xd
cmp eax, edx
jb 0x1006e1bc
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov edi, dword [ebp - 0x98]
lea ecx, [ebp - 0xb0]
cmovae eax, edi
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x9c], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xb0]
setae byte [ebp - 0xcd]
cmovae ecx, eax
mov dword [ebp - 0xe0], eax
add edx, dword [ebp - 0x88]
lea eax, [ebp - 0x80]
mov dword [ebp - 0xf0], ecx
mov ecx, 0xf
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xe4], eax
movups xmmword [ebp - 0x80], xmm0
cmp edx, ecx
jbe 0x1006d843
mov ecx, edx
or ecx, 0xf
mov dword [ebp - 0xdc], ecx
cmp ecx, 0x7fffffff
jbe 0x1006d800
mov eax, 0x7fffffff
jmp 0x1006d81e
cmp ecx, 0x16
mov dword [ebp - 0xe8], 0x16
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0xdc]
cmovae eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x80]
inc eax
push eax
call fcn.1005a110
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x80], eax
push dword [ebp - 0x88]
mov dword [ebp - 0x70], edx
push dword [ebp - 0xec]
mov dword [ebp - 0x6c], ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0xa0]
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0x88]
push dword [ebp - 0xf0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xcc]
mov byte [eax + ecx], 0
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
cmovae ecx, dword [ebp - 0x80]
cmp dword [0x100930c8], esi
push eax
sete al
mov dword [ebp - 0x58], 0
push 2
movzx eax, al
push eax
push ecx
mov dword [ebp - 0x54], 0
call fcn.100525c0
add esp, 0x28
test al, al
je 0x1006d8ce
mov dword [0x100930c8], esi
jmp 0x1006d8f6
cmp byte [0x100930cc], 0
je 0x1006d8f6
cmp esi, dword [0x100930c8]
jne 0x1006d8f6
push ecx
mov byte [0x100930cc], 0
mov dword [esp], 0x3f000000
call fcn.10020610
add esp, 4
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x1006d92e
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d924
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006bacf
push ecx
push edx
call fcn.10071aa4
add esp, 8
cmp byte [ebp - 0xcd], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0xc
je 0x1006d98e
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xe0]
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x1006d984
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0xe0], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1006bacf
mov eax, dword [ebp - 0xe0]
push ecx
push eax
call fcn.10071aa4
add esp, 8
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1006d9cb
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1006d9c1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006bacf
push ecx
push edi
call fcn.10071aa4
add esp, 8
mov edi, dword [ebp - 0xd4]
inc esi
cmp esi, edi
jb 0x1006d720
mov al, byte [0x1008dfe0]
mov byte [ebp - 0xcd], al
call fcn.10010a00
movzx ecx, byte [ebp - 0xcd]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xcc], ecx
cmp byte [eax + ecx + 0xae4], 0
je 0x1006da40
call esi
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx*4 + 0x1008eae8], eax
jae 0x1006da40
call esi
mov ecx, dword [ebp - 0xcc]
add eax, 0x64
mov dword [ecx*4 + 0x1008eae8], eax
mov eax, dword [0x100930c8]
test eax, eax
jle 0x1006da40
dec eax
mov byte [0x100930cc], 1
mov dword [0x100930c8], eax
mov al, byte [0x1008dfe4]
mov byte [ebp - 0xcd], al
call fcn.10010a00
movzx ecx, byte [ebp - 0xcd]
mov dword [ebp - 0xcc], ecx
cmp byte [eax + ecx + 0xae4], 0
je 0x1006daa5
call esi
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx*4 + 0x1008eae8], eax
jae 0x1006daa5
call esi
mov ecx, dword [ebp - 0xcc]
add eax, 0x64
mov dword [ecx*4 + 0x1008eae8], eax
lea eax, [edi - 1]
mov ecx, dword [0x100930c8]
cmp ecx, eax
jae 0x1006daa5
inc ecx
mov byte [0x100930cc], 1
mov dword [0x100930c8], ecx
call fcn.1000e1d0
call fcn.1004cbf0
push 0
push 0
push str.Debug
call fcn.10045770
add esp, 0xc
test al, al
je 0x1006e07d
call fcn.10052b50
push 0x1008ef8e
push str.Memory
call fcn.100463e0
call fcn.10052b50
push 0
push str.InventoryItems
call fcn.10046cc0
add esp, 0x10
test al, al
je 0x1006dc4e
call fcn.1006ea10
cmp dword [eax + 0x118], 0
je 0x1006dc4e
call fcn.1006ea10
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa4], 0
je 0x1006dc4e
mov eax, dword [0x1008e050]
xor ecx, ecx
mov edx, dword [0x1008e04c]
sub eax, edx
sar eax, 2
mov dword [ebp - 0xe0], ecx
test eax, eax
je 0x1006dc4e
mov eax, dword [edx + ecx*4]
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 4]
jb 0x1006db50
mov edi, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
mov byte [ebp - 0xd4], cl
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006dba7
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006dba7
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xf0], eax
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xf0]
call dword [0x100932a4]
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp - 0xcc]
jmp 0x1006dba9
xor esi, esi
call fcn.1006ea10
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006dbd7
cmp dword [eax + 0xa4], 0
je 0x1006dbd7
test esi, esi
je 0x1006dbd7
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0xdc], eax
jmp 0x1006dbe1
mov dword [ebp - 0xdc], 0
lea eax, [ebp - 0xcd]
test esi, esi
push eax
push 0x100754e8
setne byte [ebp - 0xcd]
call fcn.100463e0
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
push edi
push dword [ebp - 0xdc]
push dword [ebp - 0xec]
push str._i_Category__i_Name__s
call fcn.10056d90
mov eax, dword [0x1008e050]
add esp, 0x18
mov ecx, dword [ebp - 0xe0]
mov edx, dword [0x1008e04c]
inc ecx
sub eax, edx
mov dword [ebp - 0xe0], ecx
sar eax, 2
cmp ecx, eax
jb 0x1006db42
push 0
push str.Style_Editor
call fcn.10046cc0
add esp, 8
test al, al
je 0x1006dc81
push 0
push 0x100930dc
push str.Style_Editor
call fcn.10007450
push 0
call fcn.100021c0
add esp, 0x10
call fcn.1000dc40
push 0
push str.CarParts
call fcn.10046cc0
add esp, 8
test al, al
je 0x1006de86
mov ecx, dword [0x10093454]
call fcn.10061fe0
mov esi, eax
test esi, esi
je 0x1006de86
mov ecx, dword [esi + 4]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ecx + 0xc8]
mov edi, dword [ecx + 0xcc]
sub edi, eax
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x58]
shr edi, 2
push eax
push str.SetOnPart
call fcn.10045a00
add esp, 8
test al, al
je 0x1006dd05
mov ecx, dword [0x100930e0]
test ecx, ecx
js 0x1006dd05
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006dd05
push 1
push ecx
mov ecx, esi
call fcn.10071140
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1001ec70
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push str.SetOffPart
mov dword [ebp - 0x54], 0
call fcn.10045a00
add esp, 0x10
test al, al
je 0x1006dd5a
mov ecx, dword [0x100930e0]
test ecx, ecx
js 0x1006dd5a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006dd5a
push 0
push ecx
mov ecx, esi
call fcn.10071140
push 0x4000
push 1
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push str.bcprt
mov dword [ebp - 0x54], 0
call fcn.10009c20
add esp, 0x10
xor esi, esi
test edi, edi
je 0x1006de2c
nop word [eax + eax]
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x1006de23
push dword [eax + 4]
call fcn.10065950
push eax
push esi
lea eax, [ebp - 0x50]
push str._02d__s
push eax
call fcn.100038d0
cmp dword [0x100930e0], esi
lea eax, [ebp - 0xfc]
push eax
sete al
mov dword [ebp - 0xfc], 0
movzx eax, al
push 2
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0xf8], 0
push eax
call fcn.100525c0
add esp, 0x24
test al, al
je 0x1006ddfb
mov dword [0x100930e0], esi
jmp 0x1006de23
cmp byte [0x100930dd], 0
je 0x1006de23
cmp esi, dword [0x100930e0]
jne 0x1006de23
push ecx
mov byte [0x100930dd], 0
mov dword [esp], 0x3f000000
call fcn.10020610
add esp, 4
inc esi
cmp esi, edi
jb 0x1006dd90
push dword [0x1008dfe0]
call fcn.100141e0
add esp, 4
test al, al
je 0x1006de54
mov eax, dword [0x100930e0]
test eax, eax
jle 0x1006de54
dec eax
mov byte [0x100930dd], 1
mov dword [0x100930e0], eax
push dword [0x1008dfe4]
call fcn.100141e0
add esp, 4
test al, al
je 0x1006de81
mov ecx, dword [0x100930e0]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006de81
inc ecx
mov byte [0x100930dd], 1
mov dword [0x100930e0], ecx
call fcn.1000e1d0
push 0
push str.CM2SlotManager
call fcn.10046cc0
add esp, 8
test al, al
je 0x1006e078
call fcn.100711f0
mov esi, eax
mov dword [ebp - 0xdc], esi
test esi, esi
je 0x1006e078
mov ecx, esi
call fcn.10071240
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xe4], edi
call fcn.10071250
push edi
push str.SlotDescSize__i
mov dword [ebp - 0xcc], eax
call fcn.10056d90
push dword [ebp - 0xcc]
push str.SlotManager__s
call fcn.10056d90
xor edi, edi
add esp, 0x10
mov dword [ebp - 0xe0], edi
cmp dword [ebp - 0xe4], edi
jbe 0x1006e078
push edi
mov ecx, esi
call fcn.10071210
mov esi, eax
test esi, esi
je 0x1006df9f
movzx ecx, word [esi]
mov edx, 0x10075455
add ecx, dword [ebp - 0xcc]
cmovne edx, ecx
push edx
push str.SlotDesc__s
call fcn.10056d90
movzx eax, word [esi + 2]
push eax
push str.MaxSlots__d
call fcn.10056d90
movzx eax, word [esi + 4]
push eax
push str.SlotType__d
call fcn.10056d90
movzx eax, word [esi + 6]
push eax
push str.UnkS______d
call fcn.10056d90
movzx eax, word [esi + 8]
push eax
push str.Unk1______d
call fcn.10056d90
movzx eax, word [esi + 0xa]
push eax
push str.Unk2______d
call fcn.10056d90
movzx eax, word [esi + 0xc]
push eax
push str.Unk3______d
call fcn.10056d90
movzx eax, word [esi + 0xe]
push eax
push str.Unk4______d
call fcn.10056d90
add esp, 0x40
call fcn.10053fc0
mov esi, dword [ebp - 0xdc]
mov ecx, esi
push edi
call fcn.10071200
mov edx, eax
test edx, edx
je 0x1006e065
push dword [edx + 0x1a8]
mov esi, dword [edx + 0x40]
lea ecx, [edx + 0x18]
test ecx, ecx
mov eax, 0x10075455
push str.Slot______i
cmovne eax, ecx
mov ecx, 0x10075455
mov dword [ebp - 0xd4], eax
lea eax, [edx + 0x74]
test eax, eax
cmovne ecx, eax
lea eax, [edx + 0x184]
xor edi, edi
mov dword [ebp - 0xf0], ecx
test eax, eax
cmovne edi, eax
mov eax, dword [edx + 0x54]
mov dword [ebp - 0xec], eax
call fcn.10056d90
push dword [ebp - 0xd4]
push str.Name______s
call fcn.10056d90
push dword [ebp - 0xf0]
push str.SDS_______s
call fcn.10056d90
push edi
push str.Unk_______p
call fcn.10056d90
push esi
push str.Type______i
call fcn.10056d90
push dword [ebp - 0xec]
push str.RefCount__i
call fcn.10056d90
push 0x10075455
call fcn.10056d90
mov edi, dword [ebp - 0xe0]
add esp, 0x34
mov esi, dword [ebp - 0xdc]
inc edi
mov dword [ebp - 0xe0], edi
cmp edi, dword [ebp - 0xe4]
jb 0x1006df00
call fcn.1004cbf0
call fcn.1004ca70
call fcn.1001b510
call fcn.1000dc40
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.10071a96
mov esp, ebp
pop ebp
ret
push 0x1008f030
call fcn.100719c0
add esp, 4
cmp dword [0x1008f030], 0xffffffff
jne 0x1006b534
mov eax, dword [0x1008e00c]
push 0x1008f030
mov dword [0x1008f02c], eax
call fcn.10071976
add esp, 4
jmp 0x1006b534
push 0x1008f038
call fcn.100719c0
add esp, 4
cmp dword [0x1008f038], 0xffffffff
jne 0x1006b545
mov eax, dword [0x1008e010]
push 0x1008f038
mov dword [0x1008f034], eax
call fcn.10071976
add esp, 4
jmp 0x1006b545
push 0x1008f040
call fcn.100719c0
add esp, 4
cmp dword [0x1008f040], 0xffffffff
jne 0x1006b556
mov eax, dword [0x1008e014]
push 0x1008f040
mov dword [0x1008f03c], eax
call fcn.10071976
add esp, 4
jmp 0x1006b556
push 0x1008f048
call fcn.100719c0
add esp, 4
cmp dword [0x1008f048], 0xffffffff
jne 0x1006b567
mov eax, dword [0x1008e018]
push 0x1008f048
mov dword [0x1008f044], eax
call fcn.10071976
add esp, 4
jmp 0x1006b567
push 0x100930d8
call fcn.100719c0
add esp, 4
cmp dword [0x100930d8], 0xffffffff
jne 0x1006d270
push 0x10074460
call fcn.10071878
push 0x100930d8
mov dword [ebp - 4], 0xffffffff
call fcn.10071976
add esp, 8
jmp 0x1006d270
call fcn.1005a100
int3