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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007691e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10091c88]
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 0x1006fe3c
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x43b40000
push 4
push eax
mov dword [ebp - 0xbc], 0x43a50000
call fcn.10021cd0
push 0x2000
push esi
push str.M2Ext
call fcn.10008e20
add esp, 0x14
test al, al
je 0x1006fe37
push dword [0x1009380c]
push dword [0x10091944]
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 [0x10093714], 0x101
jne 0x1006cd6f
push dword [0x100937b0]
call fcn.1005eea0
mov dword [0x10091944], eax
add esp, 4
mov eax, dword [0x100937ac]
mov dword [0x1009380c], eax
call fcn.10054560
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
push 0
push str.tabs
call fcn.10046d80
add esp, 0xc
test al, al
je 0x1006fe32
push 0
push 0
push str.Main
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006e0ac
call fcn.10070830
test eax, eax
je 0x1006d4bf
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006d4bf
push str.timescale
call fcn.1001d410
call fcn.100132c0
fstp dword [ebp - 0xb4]
movss xmm0, dword [ebp - 0xb4]
mulss xmm0, dword [0x10078250]
subss xmm0, dword [0x10078294]
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 0x10091940
push str.sfts
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006ce6b
movss xmm0, dword [0x10091940]
movss dword [ebp - 0xb4], xmm0
call fcn.10070cd0
test eax, eax
je 0x1006ce6b
call fcn.10070cd0
movss xmm0, dword [ebp - 0xb4]
movss dword [eax + 0x30], xmm0
call fcn.1001cef0
push dword [0x100927d8]
call fcn.1006bad0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Reset_Time
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006ceda
mov dword [0x10091940], 0x3f800000
call fcn.10070cd0
test eax, eax
je 0x1006ceda
call fcn.10070cd0
mov dword [eax + 0x30], 0x3f800000
call fcn.1001ce00
mov eax, dword [0x100927bc]
cmp dword [0x10093814], eax
je 0x1006cef6
mov dword [0x10093814], eax
mov dword [0x10093810], eax
push str.savegame
call fcn.1001d410
call fcn.100132c0
fstp dword [ebp - 0xb4]
movss xmm0, dword [ebp - 0xb4]
mulss xmm0, dword [0x10078250]
subss xmm0, dword [0x10078294]
movss dword [esp], xmm0
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x10093810
push str.sisid
call fcn.1004eb00
call fcn.1001cef0
push 1
push 0x10077474
push str.game.game:SaveGame___
call fcn.1006bb40
add esp, 0x1c
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Save_Game.
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006cfae
push dword [0x10093810]
push str.game.game:SaveGame__i_
call fcn.10071000
add esp, 8
call fcn.1001ce00
call fcn.10054560
mov eax, dword fs:[0x2c]
mov esi, dword [0x10097ce0]
mov esi, dword [eax + esi*4]
call fcn.10070830
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x1006cfed
mov eax, dword [ecx]
test eax, eax
je 0x1006cfed
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x1006cfed
push 0x10093818
call eax
call fcn.10070830
mov ecx, dword [eax + 0x118]
test ecx, ecx
je 0x1006d039
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
test eax, eax
jne 0x1006d032
push 0xc
call fcn.10073c94
add esp, 4
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x1006d039
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x1006d039
push 0x10093824
call eax
movss xmm0, dword [0x10093820]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1009381c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x10093818]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Pos___4.3f__4.3f__4.3f
call fcn.10058870
movss xmm0, dword [0x1009382c]
add esp, 4
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x10093828]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x10093824]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Dir___4.3f__4.3f__4.3f
call fcn.10058870
add esp, 0x1c
cmp dword [0x1cbfeac], 0
je 0x1006d0fd
cmp dword [0x1cbfeb0], 0
je 0x1006d0fd
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 [0x10097c5c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1006d113
push 0x10093830
call fcn.100713b0
movss xmm0, dword [0x10093838]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x10093834]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x10093830]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.Cam___4.3f__4.3f__4.3f
call fcn.10058870
call fcn.10070830
mov eax, dword [eax + 0x118]
mov al, byte [eax + 0xe8]
mov byte [0x1009383c], al
call fcn.10054560
push 0x1009383c
push str.Invulnerable
call fcn.10047de0
add esp, 0x24
test al, al
je 0x1006d199
call fcn.10070830
mov ecx, dword [eax + 0x118]
mov al, byte [0x1009383c]
mov byte [ecx + 0xe8], al
mov eax, dword [0x10097c5c]
mov al, byte [eax + 0xf5]
mov byte [0x1009383d], al
call fcn.10054560
push 0x1009383d
push str.Free_Fly
call fcn.10047de0
movzx ecx, byte [0x100927c1]
test al, al
mov edx, 1
mov dword [esp + 4], 0xbf800000
cmovne ecx, edx
mov dword [esp], 0
mov byte [0x100927c1], cl
call fcn.10020650
push dword [0x10092810]
call fcn.1006bad0
call fcn.10054560
push 0x1009383e
push str.Police
call fcn.10047de0
add esp, 0x14
cmp byte [0x1009383e], 0
je 0x1006d445
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006d445
call fcn.10070380
fstp dword [ebp - 0xc4]
call fcn.10054560
push 0
push str._.3f
sub esp, 8
lea eax, [ebp - 0xc4]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3c23d70a
push eax
push str.Density
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006d280
movss xmm0, dword [ebp - 0xc4]
push ecx
movss dword [esp], xmm0
call fcn.10070390
add esp, 4
push 0
push 0x10077430
push 0x24
push 0
push 0x10093840
push str.Report
call fcn.10055340
add esp, 0x18
test al, al
je 0x1006d2af
push dword [0x10093840]
call fcn.10070350
add esp, 4
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Despawn
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006d2e0
call fcn.10070370
call fcn.100703b0
test al, al
push 0x10093844
push str.cbtr
sete byte [0x10093844]
call fcn.10047de0
add esp, 8
test al, al
je 0x1006d314
movzx eax, byte [0x10093844]
push eax
call fcn.10070420
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 0x10093845
push str.cknow
call fcn.10047de0
add esp, 0x14
test al, al
je 0x1006d39d
mov ecx, dword [0x10097c5c]
call fcn.10063a20
test eax, eax
je 0x1006d39d
mov ecx, dword [0x10097c5c]
call fcn.10063a20
cmp dword [eax + 4], 0
je 0x1006d39d
call fcn.10070cf0
mov ecx, dword [0x10097c5c]
test al, al
sete byte [0x10093845]
call fcn.10063a20
push 0
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
movzx eax, byte [0x10093845]
push eax
push ecx
call fcn.10070ec0
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.10070cf0
push 0x10093846
push str.pknow
mov byte [0x10093845], al
call fcn.10047de0
add esp, 0x14
test al, al
je 0x1006d417
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006d417
call fcn.10070d10
test al, al
sete byte [0x10093846]
xor ecx, ecx
test al, al
jne 0x1006d40e
call fcn.10070830
mov eax, dword [eax + 0x118]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.10070ee0
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.10070d10
mov byte [0x10093846], al
mov eax, dword [0x1009384c]
cmp eax, dword [esi + 4]
jg 0x1006fe57
call fcn.10054560
push 0x10093850
push str.Minimap
call fcn.10047de0
add esp, 8
cmp byte [0x10093850], 0
je 0x1006d4bf
call fcn.10070830
test eax, eax
je 0x1006d4bf
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006d4bf
push 0
push 0x10077430
push 0xa
push 0
push 0x10093848
push str.rdrc
call fcn.10055340
mov ecx, dword [0x1009282c]
add esp, 0x18
test al, al
cmovne ecx, dword [0x10093848]
mov dword [0x1009282c], ecx
call fcn.10070830
test eax, eax
je 0x1006e0a7
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006e0a7
mov ecx, dword [0x10097c5c]
call fcn.10063a20
test eax, eax
je 0x1006e0a7
call fcn.10054560
push 0x10093851
push str.Speedometer
call fcn.10047de0
add esp, 8
cmp byte [0x10093851], 0
je 0x1006d66f
call fcn.10054560
push 0x100927ad
push str.Enable
call fcn.10047de0
call fcn.100132c0
fmul dword [0x10078250]
add esp, 4
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x100927b0
push str.XYZAB
call fcn.1004eb00
add esp, 0x10
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push dword [0x100927b0]
push 0x10089370
call fcn.100587a0
push 0
push 0x64
push 1
push 0x100927b4
push 0x100774e8
call fcn.1004eb00
add esp, 0x1c
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push dword [0x100927b4]
push 0x10089370
call fcn.100587a0
movzx eax, byte [0x100927ab]
mov ecx, dword [0x100927a8]
mov dword [ebp - 0x60], eax
movzx eax, byte [0x100927aa]
mov dword [ebp - 0x5c], eax
push 0
movzx eax, ch
push 0x10077430
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.10055310
add esp, 0x28
test al, al
je 0x1006d62f
mov al, byte [ebp - 0x54]
mov byte [ebp - 0xcc], al
mov al, byte [ebp - 0x58]
mov byte [ebp - 0xcb], al
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0xca], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0xc9], al
mov eax, dword [ebp - 0xcc]
mov dword [0x100927a8], eax
call fcn.1001cef0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Save
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006d665
call fcn.10060ec0
call fcn.10054560
call fcn.10052820
call fcn.10054560
push 0x10093852
push str.Vehicle
call fcn.10047de0
add esp, 8
cmp byte [0x10093852], 0
je 0x1006e0a7
mov ecx, dword [0x10097c5c]
call fcn.10063a20
test eax, eax
je 0x1006e0a7
mov ecx, dword [0x10097c5c]
call fcn.10063a20
mov ecx, dword [0x10097c5c]
push 0
mov esi, dword [eax + 4]
call fcn.10063a20
mov ecx, eax
call fcn.10072a90
mov ecx, dword [0x10097c5c]
push 1
fstp dword [0x10093854]
call fcn.10063a20
mov ecx, eax
call fcn.10072a90
mov ecx, dword [0x10097c5c]
push 0x1009386c
push 0x10093860
fstp dword [0x10093858]
call fcn.10063a20
mov ecx, eax
call fcn.10072ae0
mov ecx, dword [0x10097c5c]
call fcn.10063a20
mov ecx, eax
call fcn.10072c50
mov dword [0x1009385c], eax
mov al, byte [esi + 0x8e0]
mov byte [0x10093878], al
mov al, byte [esi + 0x8e1]
mov byte [0x10093879], al
mov al, byte [esi + 0x8e2]
mov byte [0x1009387a], al
mov al, byte [esi + 0x8e3]
mov byte [0x1009387b], al
mov al, byte [esi + 0x8e4]
mov byte [0x1009387c], al
mov al, byte [esi + 0x8e5]
mov byte [0x1009387d], al
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
push 0xffffffffffffffff
push 0x1b
push 0x10091948
push 0x10093880
push str.cwhl
call fcn.1004cb90
add esp, 0x18
test al, al
jne 0x1006d79c
cmp byte [0x10093884], al
je 0x1006d843
mov eax, dword [0x10093880]
lea ecx, [ebp - 0x98]
push dword [eax*4 + 0x10091948]
call fcn.1005db60
mov ecx, dword [0x10097c5c]
mov eax, dword [0x100919b4]
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 0x1006d7f9
cmp dword [ebp - 0x84], 0x10
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.1005cca0
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006d83c
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d832
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d832
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100738a4
add esp, 8
mov byte [0x10093884], 0
push 1
push 0x10077474
push str.Wheel_Index
call fcn.1006bb40
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push 0x1007f098
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006d8b3
mov eax, dword [0x10093880]
mov ecx, 0x1a
sub eax, 1
mov byte [0x10093884], 1
cmovs eax, ecx
mov dword [0x10093880], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push 0x1007f09c
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006d910
mov eax, dword [0x10093880]
xor ecx, ecx
inc eax
mov byte [0x10093884], 1
cmp eax, 0x1a
cmovg eax, ecx
mov dword [0x10093880], 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 0x10077430
push 2
push 0xffffffffffffffff
push 0x100919b4
push str.slindex
call fcn.10055340
call fcn.1001cef0
push str.painting
call fcn.1001d410
call fcn.100132c0
fmul dword [0x10078250]
add esp, 0x1c
fstp dword [esp]
call fcn.1001d5e0
push 0xffffffffffffffff
push 9
push 0x100919b8
push 0x10093888
push str.cpnt
call fcn.1004cb90
add esp, 0x18
test al, al
jne 0x1006d9a0
cmp byte [0x1009388c], al
je 0x1006da3f
mov eax, dword [0x10093888]
lea ecx, [ebp - 0x98]
push dword [eax*4 + 0x100919b8]
call fcn.1005db60
mov esi, dword [0x10097c5c]
lea ecx, [esi + 0x98]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x1006d9ee
cmp dword [ebp - 0x84], 0x10
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.1005cca0
mov byte [esi + 0x95], 1
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006da38
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006da2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006da2e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100738a4
add esp, 8
mov byte [0x1009388c], 0
call fcn.1001cef0
push 1
push 0x10077474
push str.Painting
call fcn.1006bb40
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push 0x1007f098
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006dab4
mov eax, dword [0x10093888]
mov ecx, 8
sub eax, 1
mov byte [0x1009388c], 1
cmovs eax, ecx
mov dword [0x10093888], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push 0x1007f09c
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006db11
mov eax, dword [0x10093888]
xor ecx, ecx
inc eax
mov byte [0x1009388c], 1
cmp eax, 8
cmovg eax, ecx
mov dword [0x10093888], eax
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push dword [0x10093888]
push 0x10077430
call fcn.100587a0
add esp, 0x10
call fcn.1001ce00
mov ecx, dword [0x10097c5c]
call fcn.10063a20
mov ecx, eax
call fcn.10072b60
fstp dword [0x10093890]
call fcn.100132c0
fmul dword [0x10078250]
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 0x10093890
push str.engdmg
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006dbbe
movss xmm0, dword [0x10093890]
push ecx
mov ecx, dword [0x10097c5c]
movss dword [esp], xmm0
call fcn.10063a20
mov ecx, eax
call fcn.10072de0
call fcn.1001cef0
push dword [0x100927e4]
call fcn.1006bad0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
push str.Engine
call fcn.10058870
call fcn.100132c0
fmul dword [0x10078250]
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 0x10093894
push str.fdmg
call fcn.100552e0
call fcn.1001cef0
push dword [0x100927e0]
call fcn.1006bad0
add esp, 0x14
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Damage
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006dc9c
mov eax, dword [0x10097c5c]
movss xmm0, dword [0x10093894]
mov byte [eax + 0x89], 1
movss dword [eax + 0x8c], xmm0
mov ecx, dword [0x10097c5c]
call fcn.10063a20
mov ecx, eax
call fcn.10072b40
fstp dword [0x10093898]
call fcn.100132c0
fmul dword [0x10078250]
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 0x10093898
push str.dirt
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006dd1a
movss xmm0, dword [0x10093898]
push ecx
mov ecx, dword [0x10097c5c]
movss dword [esp], xmm0
call fcn.10063a20
mov ecx, eax
call fcn.10072dc0
call fcn.1001cef0
push dword [0x100927dc]
call fcn.1006bad0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Repair
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006dd76
mov eax, dword [0x10097c5c]
mov byte [eax + 0x88], 1
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x10077430
push 3
push 0
push 0x1009385c
push str.itng
call fcn.10055340
add esp, 0x1c
test al, al
je 0x1006ddbc
mov ecx, dword [0x10097c5c]
mov eax, dword [0x1009385c]
mov dword [ecx + 0x90], eax
call fcn.1001cef0
push dword [0x100927fc]
call fcn.1006bad0
mov dword [esp], 0xbf800000
push ecx
mov dword [esp], 0
call fcn.10020650
push str.Tuning
call fcn.10058870
push 0
push 0x10093860
push str.sclpri
call fcn.10048cb0
add esp, 0x18
test al, al
je 0x1006de1e
mov ecx, dword [0x10097c5c]
push 0x1009386c
push 0x10093860
call fcn.10063a20
mov ecx, eax
call fcn.10072d50
push ecx
mov dword [esp], 0xbf800000
call fcn.1000c690
fadd dword [0x100897f0]
push ecx
fstp dword [esp]
call fcn.10020650
push 0
push 0x10077474
push str.Color_Primary
call fcn.1006bb40
push 0
push 0x1009386c
push str.sclsec
call fcn.10048cb0
add esp, 0x20
test al, al
je 0x1006de7f
mov ecx, dword [0x10097c5c]
push 0x1009386c
push 0x10093860
call fcn.10063a20
mov ecx, eax
call fcn.10072d50
push ecx
mov dword [esp], 0xbf800000
call fcn.1000c690
fadd dword [0x100897f0]
push ecx
fstp dword [esp]
call fcn.10020650
push 0
push 0x10077474
push str.Color_Secondary
call fcn.1006bb40
movss xmm0, dword [0x10093858]
add esp, 0x14
push 0
push str._.3f
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
push 0x10093854
push str.fuel
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006df04
movss xmm0, dword [0x10093854]
push ecx
mov ecx, dword [0x10097c5c]
movss dword [esp], xmm0
call fcn.10063a20
mov ecx, eax
call fcn.10072d10
push 1
push 0x10077474
push str.Fuel
call fcn.1006bb40
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
movss xmm0, dword [0x10093858]
subss xmm0, dword [0x10093854]
mulss xmm0, dword [0x100897ec]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.__.2f
call fcn.10058870
call fcn.100132c0
fmul dword [0x10078250]
add esp, 8
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0
push 0
push 7
push 0x10093878
push str.plate
call fcn.1004f080
add esp, 0x1c
test al, al
je 0x1006dfa1
mov ecx, dword [0x10097c5c]
push 0x10093878
call fcn.10063a20
mov ecx, eax
call fcn.10072e70
call fcn.1001cef0
push 1
push 0x10077474
push str.Plate_Text
call fcn.1006bb40
call fcn.100132c0
fmul dword [0x10078250]
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 0x100919dc
push str.stspd
call fcn.100552e0
add esp, 0x18
test al, al
je 0x1006e014
mov eax, dword [0x10097c5c]
movss xmm0, dword [0x100919dc]
movss dword [eax + 0xb0], xmm0
call fcn.1001cef0
mov esi, dword [0x10092804]
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x10077474
call fcn.10058870
push 0
call fcn.10015950
add esp, 0x10
test al, al
je 0x1006e083
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.Inventory
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006e6b3
call fcn.10054560
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006e6a9
call fcn.10070830
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa0], 0
je 0x1006e6a9
call fcn.10070830
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xac], 0
je 0x1006e6a9
call fcn.10070830
mov eax, dword [eax + 0x118]
mov eax, dword [eax + 0xac]
mov esi, dword [eax + 0x170]
call fcn.10070830
mov eax, dword [eax + 0x118]
mov eax, dword [eax + 0xac]
push dword [eax + 0x3b4]
push esi
push str.Current__Weapon__d___d_
call fcn.10058870
push dword [0x100919e0]
push str.Table_Name____s
call fcn.10058870
call fcn.100132c0
fmul dword [0x10078250]
add esp, 0x10
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x100919e4
push str.wpnid
call fcn.1004eb00
add esp, 0x18
test al, al
je 0x1006e1ea
mov ecx, dword [0x100919e4]
mov eax, 2
mov edx, dword [0x10092870]
cmp ecx, eax
mov edi, dword [0x1009286c]
cmovl ecx, eax
mov dword [0x100919e0], 0x1007b304
sub edx, edi
sar edx, 2
lea eax, [edx + 1]
cmp ecx, eax
cmova ecx, eax
xor eax, eax
mov dword [0x100919e4], ecx
test edx, edx
je 0x1006e1ea
cmp ecx, 1
jle 0x1006e1d2
mov esi, dword [edi + eax*4]
cmp ecx, dword [esi]
je 0x1006e1d9
inc eax
cmp eax, edx
jb 0x1006e1c6
jmp 0x1006e1ea
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x1006e1e4
mov esi, dword [esi]
mov dword [0x100919e0], esi
call fcn.1001cef0
call fcn.10054560
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Inventory_Add_Weapon
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0xc
test al, al
je 0x1006e312
call fcn.10070830
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa4], 0
je 0x1006e312
mov eax, dword [0x100919e4]
mov dword [ebp - 0xb4], 0xa
mov dword [ebp - 0xc8], eax
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e29c
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006e29c
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xb4]
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
call dword [0x10097a74]
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e2cb
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006e2cb
mov dword [ebp - 0xb4], eax
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0xb4]
call dword [0x10097ab8]
mov byte [ebp - 0xb4], 0
mov byte [ebp - 0xc8], 1
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e312
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006e312
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xb4]
push dword [ebp - 0xc8]
push 1
mov ecx, dword [ebp - 0xc4]
call dword [0x10097a70]
call fcn.1001cef0
call fcn.10054560
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Inventory_Add_Item
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0xc
test al, al
je 0x1006e40f
mov eax, dword [0x100919e4]
mov dword [ebp - 0xb4], eax
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e3a6
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006e3a6
mov dword [ebp - 0xc4], 0x943080
mov dword [ebp - 0xc8], eax
push dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc8]
call dword [ebp - 0xc4]
mov eax, dword [0x100919e4]
mov byte [ebp - 0xb4], 0
mov byte [ebp - 0xc8], 1
mov dword [ebp - 0xc4], eax
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e3fc
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006e3fc
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xb4]
push dword [ebp - 0xc8]
push dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xcc]
call dword [0x10097a70]
push dword [0x100919e4]
push str.Inventory_Select_Item__i
call fcn.1006afd0
add esp, 8
call fcn.1001cef0
call fcn.10054560
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Inventory_Remove
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0xc
test al, al
je 0x1006e562
mov al, byte [0x100919e4]
mov byte [ebp - 0xb4], al
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e562
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006e562
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], eax
push dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc8]
call dword [0x10097aa4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x1006e562
mov eax, dword [0x100919e4]
mov dword [ebp - 0xd0], eax
call fcn.10070830
mov esi, dword [eax + 0x118]
test esi, esi
je 0x1006e54f
cmp dword [esi + 0xa0], 0
je 0x1006e54f
mov eax, dword [esi + 0xb0]
mov byte [ebp - 0xb5], 0
test eax, eax
je 0x1006e531
mov dword [ebp - 0xcc], 0x4311e0
mov dword [ebp - 0xc8], 1
mov byte [ebp - 0xb4], 1
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xb4]
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
call dword [ebp - 0xcc]
mov byte [ebp - 0xb5], al
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xb4]
call dword [0x10097a78]
push dword [0x100919e4]
push str.Inventory_Remove__i
call fcn.1006afd0
add esp, 8
call fcn.10054560
call fcn.100132c0
fmul dword [0x10078250]
push ecx
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x96
push 1
push 0x1009389c
push str.wpnsl
call fcn.1004eb00
call fcn.1001cef0
call fcn.100132c0
fmul dword [0x10078250]
add esp, 0x14
fstp dword [esp]
call fcn.1001d5e0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Inventory_Select
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0xc
test al, al
je 0x1006e6a4
mov al, byte [0x100919e4]
mov byte [ebp - 0xd0], al
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e6a4
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006e6a4
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xb4]
call dword [0x10097aa4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x1006e6a4
mov eax, dword [0x1009389c]
mov byte [ebp - 0xd0], 0
mov byte [ebp - 0xb4], 1
mov dword [ebp - 0xc8], eax
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006e691
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x1006e691
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xd0]
push dword [ebp - 0xb4]
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
call dword [0x10097a70]
push dword [0x1009389c]
push str.Inventory_Select__i
call fcn.1006afd0
add esp, 8
call fcn.1001cef0
call fcn.10054560
call fcn.1004e600
push 0
push 0
push str.Script
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006e811
cmp byte [0x100978a0], 0
mov byte [0x100927c2], 1
jne 0x1006e6f0
push 0x100938a0
call fcn.1006bdd0
add esp, 4
mov byte [0x100978a0], 1
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Execute
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 8
test al, al
je 0x1006e75e
sub esp, 0x18
mov ecx, 0x100938a0
mov edx, esp
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e740
sub ecx, esi
push ecx
push 0x100938a0
mov ecx, edx
call fcn.1005b640
call fcn.10070f00
add esp, 0x18
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.Save
mov dword [ebp - 0xbc], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006e7ae
push 0x100938a0
call fcn.1006c400
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 - 0xc0]
mov dword [ebp - 0xc0], 0xbf800000
push eax
push 0x4000
push 0x100938a0
push str.source
mov dword [ebp - 0xbc], 0xbf800000
call fcn.10052350
add esp, 0x28
call fcn.1004e600
jmp 0x1006e818
mov byte [0x100927c2], 0
push 0
push 0
push str.Settings
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006eb2c
push 0x100937b5
push 0x100773f8
call fcn.10047de0
push 0x100927af
push str.HdGraphicsMode
call fcn.10047de0
call fcn.10054560
push dword [0x100927c4]
call fcn.1005eed0
push eax
push str.Key_ShowCursor
push str.Key__s__s
call fcn.10058870
push dword [0x100927c8]
call fcn.1005eed0
push eax
push str.Key_Window_Main
push str.Key__s__s
call fcn.10058870
push dword [0x100927d8]
call fcn.1005eed0
push eax
push str.Key_Game_SlowTime
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100927dc]
call fcn.1005eed0
push eax
push str.Key_Car_Repair
push str.Key__s__s
call fcn.10058870
push dword [0x100927e0]
call fcn.1005eed0
push eax
push str.Key_Car_Damage
push str.Key__s__s
call fcn.10058870
push dword [0x100927e4]
call fcn.1005eed0
push eax
push str.Key_Car_MotorDamage
push str.Key__s__s
call fcn.10058870
push dword [0x100927e8]
call fcn.1005eed0
push eax
push str.Key_Car_TurnRight
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100927ec]
call fcn.1005eed0
push eax
push str.Key_Car_TurnLeft
push str.Key__s__s
call fcn.10058870
push dword [0x100927f0]
call fcn.1005eed0
push eax
push str.Key_Car_Wiper
push str.Key__s__s
call fcn.10058870
push dword [0x100927f4]
call fcn.1005eed0
push eax
push str.Key_Car_Light
push str.Key__s__s
call fcn.10058870
push dword [0x100927f8]
call fcn.1005eed0
push eax
push str.Key_Car_Freeze
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100927fc]
call fcn.1005eed0
push eax
push str.Key_Car_Tuning
push str.Key__s__s
call fcn.10058870
push dword [0x10092800]
call fcn.1005eed0
push eax
push str.Key_Car_Engine
push str.Key__s__s
call fcn.10058870
push dword [0x10092804]
call fcn.1005eed0
push eax
push str.Key_Car_SetSpeed
push str.Key__s__s
call fcn.10058870
push dword [0x100927cc]
call fcn.1005eed0
push eax
push str.Key_Car_Create
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x100927d0]
call fcn.1005eed0
push eax
push str.Key_Car_PageUp
push str.Key__s__s
call fcn.10058870
push dword [0x100927d4]
call fcn.1005eed0
push eax
push str.Key_Car_PageDown
push str.Key__s__s
call fcn.10058870
push dword [0x10092808]
call fcn.1005eed0
push eax
push str.Key_Car_Free
push str.Key__s__s
call fcn.10058870
push dword [0x1009280c]
call fcn.1005eed0
push eax
push str.Key_Ped_Free
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x10092810]
call fcn.1005eed0
push eax
push str.Key_Fly_Enable
push str.Key__s__s
call fcn.10058870
push dword [0x10092814]
call fcn.1005eed0
push eax
push str.Key_Fly_Forward
push str.Key__s__s
call fcn.10058870
push dword [0x10092818]
call fcn.1005eed0
push eax
push str.Key_Fly_Backward
push str.Key__s__s
call fcn.10058870
push dword [0x1009281c]
call fcn.1005eed0
push eax
push str.Key_Fly_RotLeft
push str.Key__s__s
call fcn.10058870
add esp, 0x40
push dword [0x10092820]
call fcn.1005eed0
push eax
push str.Key_Fly_RotRight
push str.Key__s__s
call fcn.10058870
push dword [0x10092824]
call fcn.1005eed0
push eax
push str.Key_Fly_Up
push str.Key__s__s
call fcn.10058870
push dword [0x10092828]
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 0x1006f85f
call fcn.10070830
test eax, eax
je 0x1006f85a
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006f85a
push 0x100978a1
push str.Create_Vehicle
call fcn.10047de0
add esp, 8
cmp byte [0x100978a1], 0
je 0x1006efb6
mov esi, dword [0x10092864]
lea eax, [ebp - 0xc0]
sub esi, dword [0x10092860]
push eax
sar esi, 2
push str.Create
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
call fcn.10047400
push 1
push str._Keys
push dword [0x100927d4]
mov byte [0x100978c6], al
push dword [0x100927d0]
push dword [0x100927cc]
call fcn.1006ba40
add esp, 0x1c
cmp byte [0x100978c6], 0
jne 0x1006ec09
movzx eax, byte [0x100927cc]
push 0xfa
push eax
call fcn.1006af80
add esp, 8
test al, al
je 0x1006ed78
cmp byte [0x100978a4], 0
je 0x1006ed78
push 0
call fcn.10062a30
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 0x1006ec47
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.1005cca0
push 9
push str.sdscars_
lea ecx, [ebp - 0x80]
call fcn.1005cb50
mov ecx, 0x100978a4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ec71
sub ecx, edx
push ecx
push 0x100978a4
lea ecx, [ebp - 0x80]
call fcn.1005cb50
push 4
push str..sds
lea ecx, [ebp - 0x80]
call fcn.1005cb50
cmp dword [ebp - 0x6c], 0x10
lea edi, [ebp - 0x80]
cmovae edi, dword [ebp - 0x80]
push edi
call fcn.10062960
add esp, 4
test al, al
jne 0x1006eccf
mov eax, dword [0x10097c5c]
push edi
push str.file_not_found___s
push 0xfa0
push dword [eax + 0xc]
call fcn.10068260
add esp, 0x10
jmp 0x1006ed69
mov ecx, 0x100978a4
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 0x1006ecf0
sub ecx, edx
push ecx
push 0x100978a4
lea ecx, [ebp - 0x68]
call fcn.1005b640
mov eax, dword [0x10097c5c]
lea ecx, [eax + 0x4c]
mov byte [eax + 0x64], 1
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x1006ed2f
cmp dword [ebp - 0x54], 0x10
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.1005cca0
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x1006ed69
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006ed5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006ed5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100738a4
add esp, 8
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.1005b780
push 1
push 0x10089614
push str.Destroy
call fcn.1006bb40
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x100919ec
push str.destroy
call fcn.10047de0
add esp, 0x10
test al, al
je 0x1006eddd
mov ecx, dword [0x10097c5c]
cmp byte [ecx + 0x65], 0
sete al
mov byte [ecx + 0x65], al
mov eax, dword [0x10097c5c]
movzx eax, byte [eax + 0x65]
push eax
push str.set_destroy___i
call fcn.1006afd0
add esp, 8
push 1
push 0x10077474
push str.EngineOn
call fcn.1006bb40
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x100919ed
push str.engineon
call fcn.10047de0
add esp, 0x10
test al, al
je 0x1006ee29
mov ecx, dword [0x10097c5c]
mov al, byte [0x100919ed]
mov byte [ecx + 0x66], al
push 1
push 0x10077474
push str.SetCar
call fcn.1006bb40
add esp, 4
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push 0x100978c5
push str.setcar
call fcn.10047de0
add esp, 0x10
test al, al
je 0x1006ee75
mov ecx, dword [0x10097c5c]
mov al, byte [0x100978c5]
mov byte [ecx + 0x67], al
push 0x4000
push 1
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
push eax
push str.crtveh
mov dword [ebp - 0xbc], 0
call fcn.1000b5f0
add esp, 0x10
xor edi, edi
test esi, esi
je 0x1006ef54
nop
mov eax, dword [0x10092860]
mov esi, dword [eax + edi*4]
add esi, 8
cmp dword [esi + 0x14], 0x10
jb 0x1006eec3
mov esi, dword [esi]
cmp dword [0x100919e8], edi
lea eax, [ebp - 0xc0]
push eax
sete al
mov dword [ebp - 0xc0], 0
push 2
movzx eax, al
push eax
push esi
mov dword [ebp - 0xbc], 0
call fcn.10053fd0
add esp, 0x10
test al, al
je 0x1006ef10
push esi
push 0x100978a4
mov dword [0x100919e8], edi
call fcn.10068d00
add esp, 8
jmp 0x1006ef45
cmp byte [0x100978c4], 0
je 0x1006ef45
cmp edi, dword [0x100919e8]
jne 0x1006ef45
push esi
push 0x100978a4
mov byte [0x100978c4], 0
call fcn.10068d00
add esp, 4
mov dword [esp], 0x3f000000
call fcn.10021fe0
add esp, 4
mov esi, dword [ebp - 0xd0]
inc edi
cmp edi, esi
jb 0x1006eeb0
movzx eax, byte [0x100927d0]
push 0x64
push eax
call fcn.1006af80
add esp, 8
test al, al
je 0x1006ef80
mov eax, dword [0x100919e8]
test eax, eax
jle 0x1006ef80
dec eax
mov byte [0x100978c4], 1
mov dword [0x100919e8], eax
movzx eax, byte [0x100927d4]
push 0x64
push eax
call fcn.1006af80
add esp, 8
test al, al
je 0x1006efb1
mov ecx, dword [0x100919e8]
lea eax, [esi - 1]
cmp ecx, eax
jge 0x1006efb1
inc ecx
mov byte [0x100978c4], 1
mov dword [0x100919e8], ecx
call fcn.1000fba0
call fcn.10054560
mov eax, dword [0x10097ce0]
mov ecx, dword fs:[0x2c]
mov edi, dword [0x10092850]
sub edi, dword [0x1009284c]
sar edi, 2
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x100978d8]
mov dword [ebp - 0xbc], edi
cmp eax, dword [ecx + 4]
jg 0x1006fe8d
push 1
push 0x100978d0
push str.Change_Ped
call fcn.100528f0
call fcn.10054560
push 0
push 0x100978d0
push str.Create_Ped
call fcn.100528f0
add esp, 0x18
call fcn.10054560
cmp dword [0x100978d0], 0
jne 0x1006f159
cmp dword [0x10091a14], 0x10
mov eax, 0x10091a00
cmovae eax, dword [0x10091a00]
push eax
push 0x100774e0
call fcn.10058870
call fcn.100132c0
fmul dword [0x10078250]
add esp, 4
fstp dword [esp]
call fcn.1001d5e0
push 0
push 0x64
push 1
push 0x100919f0
push str.Table
call fcn.1004eb00
add esp, 0x18
test al, al
je 0x1006f0c1
mov eax, dword [0x100919f0]
test eax, eax
jns 0x1006f08c
mov eax, 0x12e
jmp 0x1006f096
xor ecx, ecx
cmp eax, 0x12e
cmovg eax, ecx
push eax
mov dword [0x100919f0], eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10070840
add esp, 8
mov ecx, 0x10091a00
push eax
call fcn.10069000
lea ecx, [ebp - 0xb0]
call fcn.1005b780
push 0
push 0x100919f4
push str.Weapon
call fcn.1004ead0
add esp, 0xc
test al, al
je 0x1006f10a
mov eax, dword [0x100919f4]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x100919f4], eax
mov eax, dword [0x100919f8]
test eax, eax
jns 0x1006f0fb
mov dword [0x100919f8], ecx
jmp 0x1006f10a
mov ecx, 0x1f4
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100919f8], eax
push 0
push str._.3f
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x100919fc
push str.Health
call fcn.1004ea80
add esp, 0x18
test al, al
je 0x1006f14f
xorps xmm0, xmm0
comiss xmm0, dword [0x100919fc]
jbe 0x1006f14f
mov dword [0x100919fc], 0
call fcn.1001cef0
call fcn.10054560
call fcn.10052820
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push eax
push str.Change_Create
mov dword [ebp - 0xd8], 0
call fcn.10047400
push 1
push 0x10077474
push dword [0x100927d4]
mov byte [0x100978d4], al
push dword [0x100927d0]
push dword [0x100927cc]
call fcn.1006ba40
add esp, 0x1c
cmp byte [0x100978d4], 0
jne 0x1006f1cf
movzx eax, byte [0x100927cc]
push 0xfa
push eax
call fcn.1006af80
add esp, 8
test al, al
je 0x1006f495
mov esi, dword [0x100978c8]
test esi, esi
js 0x1006f495
cmp esi, edi
jae 0x1006f495
mov eax, dword [0x1009284c]
mov esi, dword [eax + esi*4]
mov dword [ebp - 0xcc], esi
cmp dword [esi + 0x14], 0x10
jb 0x1006f201
mov eax, dword [esi]
mov dword [ebp - 0xcc], eax
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x1006f20c
mov esi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10062af0
add esp, 8
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x1006f275
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f26b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f26b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100738a4
add esp, 8
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.1005c060
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.10069040
push esi
lea ecx, [ebp - 0x80]
call fcn.10069040
push 4
push str..sds
lea ecx, [ebp - 0x80]
call fcn.1005cb50
mov edx, dword [ebp - 0x70]
xor eax, eax
test edx, edx
je 0x1006f2ea
nop dword [eax]
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x80]
cmp byte [eax + ecx], 0x2f
jne 0x1006f2e5
mov byte [eax + ecx], 0x5c
inc eax
cmp eax, edx
jb 0x1006f2d0
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
mov dword [ebp - 0xd0], eax
call fcn.10062960
add esp, 4
test al, al
jne 0x1006f32d
push dword [ebp - 0xd0]
mov eax, dword [0x10097c5c]
push str.file_not_found___s
push 0xfa0
push dword [eax + 0xc]
call fcn.10068260
add esp, 0x10
jmp 0x1006f47b
push esi
lea ecx, [ebp - 0x98]
call fcn.1005db60
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.1005db60
mov eax, dword [0x100919f0]
cmp dword [0x100978d0], 0
movss xmm0, dword [0x100919fc]
mov esi, dword [0x10097c5c]
mov dword [ebp - 0xd0], eax
setne al
movss dword [ebp - 0xb4], xmm0
mov byte [esi + 0xb5], al
lea ecx, [esi + 0xb8]
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
cmp ecx, eax
je 0x1006f39e
cmp dword [ebp - 0x54], 0x10
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.1005cca0
lea ecx, [esi + 0xd0]
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x1006f3c8
cmp dword [ebp - 0x84], 0x10
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.1005cca0
movss xmm0, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd0]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], 0x100919f4
movss dword [esi + 0xf0], xmm0
mov byte [esi + 0xb4], 1
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x1006f429
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f41f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f46b
push ecx
push edx
call fcn.100738a4
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 0x1006f47b
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f471
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100738a4
add esp, 8
lea ecx, [ebp - 0x80]
call fcn.1005b780
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.1005b780
push 0x4000
push 1
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push eax
push str.clit2
mov dword [ebp - 0xd8], 0
call fcn.1000b5f0
add esp, 0x10
xor esi, esi
test edi, edi
je 0x1006f78a
nop
mov eax, dword [0x1009284c]
lea ecx, [ebp - 0x98]
push dword [eax + esi*4]
call fcn.1005c060
mov eax, dword [0x1009284c]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xc
mov eax, dword [eax + esi*4]
add eax, 0x18
push eax
call fcn.1005c060
mov edx, dword [ebp - 0xa0]
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0xd
cmp eax, edx
jb 0x1006feca
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 - 0xd4], eax
mov eax, dword [ebp - 0xb0]
setae byte [ebp - 0xb5]
cmovae ecx, eax
mov dword [ebp - 0xc4], eax
add edx, dword [ebp - 0x88]
lea eax, [ebp - 0x80]
mov dword [ebp - 0xd8], ecx
mov ecx, 0xf
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xcc], eax
movups xmmword [ebp - 0x80], xmm0
cmp edx, ecx
jbe 0x1006f5f3
mov ecx, edx
or ecx, 0xf
mov dword [ebp - 0xc8], ecx
cmp ecx, 0x7fffffff
jbe 0x1006f5b0
mov eax, 0x7fffffff
jmp 0x1006f5ce
cmp ecx, 0x16
mov dword [ebp - 0xd0], 0x16
lea eax, [ebp - 0xd0]
lea edx, [ebp - 0xc8]
cmovae eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x80]
inc eax
push eax
call fcn.1005bb20
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x80], eax
push dword [ebp - 0x88]
mov dword [ebp - 0x70], edx
push dword [ebp - 0xd4]
mov dword [ebp - 0x6c], ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0xa0]
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x88]
push dword [ebp - 0xd8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xb4]
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 [0x100978c8], 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.10053fd0
add esp, 0x28
test al, al
je 0x1006f67e
mov dword [0x100978c8], esi
jmp 0x1006f6a6
cmp byte [0x100978cc], 0
je 0x1006f6a6
cmp esi, dword [0x100978c8]
jne 0x1006f6a6
push ecx
mov byte [0x100978cc], 0
mov dword [esp], 0x3f000000
call fcn.10021fe0
add esp, 4
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x1006f6de
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f6d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d82c
push ecx
push edx
call fcn.100738a4
add esp, 8
cmp byte [ebp - 0xb5], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0xc
je 0x1006f73e
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xc4]
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x1006f734
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0xc4], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1006d82c
mov eax, dword [ebp - 0xc4]
push ecx
push eax
call fcn.100738a4
add esp, 8
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1006f77b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1006f771
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d82c
push ecx
push edi
call fcn.100738a4
add esp, 8
mov edi, dword [ebp - 0xbc]
inc esi
cmp esi, edi
jb 0x1006f4d0
mov al, byte [0x100927d0]
mov byte [ebp - 0xb5], al
call fcn.100123d0
movzx ecx, byte [ebp - 0xb5]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xb4], ecx
cmp byte [eax + ecx + 0xae4], 0
je 0x1006f7f0
call esi
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx*4 + 0x10093310], eax
jae 0x1006f7f0
call esi
mov ecx, dword [ebp - 0xb4]
add eax, 0x64
mov dword [ecx*4 + 0x10093310], eax
mov eax, dword [0x100978c8]
test eax, eax
jle 0x1006f7f0
dec eax
mov byte [0x100978cc], 1
mov dword [0x100978c8], eax
mov al, byte [0x100927d4]
mov byte [ebp - 0xb5], al
call fcn.100123d0
movzx ecx, byte [ebp - 0xb5]
mov dword [ebp - 0xb4], ecx
cmp byte [eax + ecx + 0xae4], 0
je 0x1006f855
call esi
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx*4 + 0x10093310], eax
jae 0x1006f855
call esi
mov ecx, dword [ebp - 0xb4]
add eax, 0x64
mov dword [ecx*4 + 0x10093310], eax
lea eax, [edi - 1]
mov ecx, dword [0x100978c8]
cmp ecx, eax
jae 0x1006f855
inc ecx
mov byte [0x100978cc], 1
mov dword [0x100978c8], ecx
call fcn.1000fba0
call fcn.1004e600
push 0
push 0
push str.Debug
call fcn.10047170
add esp, 0xc
test al, al
je 0x1006fe2d
call fcn.10054560
push 0x100937b6
push str.Memory
call fcn.10047de0
call fcn.10054560
push 0
push str.InventoryItems
call fcn.100486c0
add esp, 0x10
test al, al
je 0x1006f9fe
call fcn.10070830
cmp dword [eax + 0x118], 0
je 0x1006f9fe
call fcn.10070830
mov eax, dword [eax + 0x118]
cmp dword [eax + 0xa4], 0
je 0x1006f9fe
mov eax, dword [0x10092870]
xor ecx, ecx
mov edx, dword [0x1009286c]
sub eax, edx
sar eax, 2
mov dword [ebp - 0xc4], ecx
test eax, eax
je 0x1006f9fe
mov eax, dword [edx + ecx*4]
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 4]
jb 0x1006f900
mov edi, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0xbc], cl
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006f957
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x1006f957
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xd8]
call dword [0x10097aa4]
mov dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0xb4]
jmp 0x1006f959
xor esi, esi
call fcn.10070830
mov eax, dword [eax + 0x118]
test eax, eax
je 0x1006f987
cmp dword [eax + 0xa4], 0
je 0x1006f987
test esi, esi
je 0x1006f987
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0xc8], eax
jmp 0x1006f991
mov dword [ebp - 0xc8], 0
lea eax, [ebp - 0xb5]
test esi, esi
push eax
push 0x100774f8
setne byte [ebp - 0xb5]
call fcn.10047de0
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
push edi
push dword [ebp - 0xc8]
push dword [ebp - 0xd4]
push str._i_Category__i_Name__s
call fcn.100587a0
mov eax, dword [0x10092870]
add esp, 0x18
mov ecx, dword [ebp - 0xc4]
mov edx, dword [0x1009286c]
inc ecx
sub eax, edx
mov dword [ebp - 0xc4], ecx
sar eax, 2
cmp ecx, eax
jb 0x1006f8f2
push 0
push str.Style_Editor
call fcn.100486c0
add esp, 8
test al, al
je 0x1006fa31
push 0
push 0x100978dc
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 0x1006fc36
mov ecx, dword [0x10097c5c]
call fcn.10063a20
mov esi, eax
test esi, esi
je 0x1006fc36
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 - 0xbc], eax
lea eax, [ebp - 0x58]
shr edi, 2
push eax
push str.SetOnPart
call fcn.10047400
add esp, 8
test al, al
je 0x1006fab5
mov ecx, dword [0x100978e0]
test ecx, ecx
js 0x1006fab5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006fab5
push 1
push ecx
mov ecx, esi
call fcn.10072f40
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.10020650
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
push str.SetOffPart
mov dword [ebp - 0x54], 0
call fcn.10047400
add esp, 0x10
test al, al
je 0x1006fb0a
mov ecx, dword [0x100978e0]
test ecx, ecx
js 0x1006fb0a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006fb0a
push 0
push ecx
mov ecx, esi
call fcn.10072f40
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.1000b5f0
add esp, 0x10
xor esi, esi
test edi, edi
je 0x1006fbdc
nop word [eax + eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x1006fbd3
push dword [eax + 4]
call fcn.100677d0
push eax
push esi
lea eax, [ebp - 0x50]
push str._02d__s
push eax
call fcn.100052a0
cmp dword [0x100978e0], esi
lea eax, [ebp - 0xe4]
push eax
sete al
mov dword [ebp - 0xe4], 0
movzx eax, al
push 2
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0xe0], 0
push eax
call fcn.10053fd0
add esp, 0x24
test al, al
je 0x1006fbab
mov dword [0x100978e0], esi
jmp 0x1006fbd3
cmp byte [0x100978dd], 0
je 0x1006fbd3
cmp esi, dword [0x100978e0]
jne 0x1006fbd3
push ecx
mov byte [0x100978dd], 0
mov dword [esp], 0x3f000000
call fcn.10021fe0
add esp, 4
inc esi
cmp esi, edi
jb 0x1006fb40
push dword [0x100927d0]
call fcn.10015bb0
add esp, 4
test al, al
je 0x1006fc04
mov eax, dword [0x100978e0]
test eax, eax
jle 0x1006fc04
dec eax
mov byte [0x100978dd], 1
mov dword [0x100978e0], eax
push dword [0x100927d4]
call fcn.10015bb0
add esp, 4
test al, al
je 0x1006fc31
mov ecx, dword [0x100978e0]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1006fc31
inc ecx
mov byte [0x100978dd], 1
mov dword [0x100978e0], ecx
call fcn.1000fba0
push 0
push str.CM2SlotManager
call fcn.100486c0
add esp, 8
test al, al
je 0x1006fe28
call fcn.10072ff0
mov esi, eax
mov dword [ebp - 0xc8], esi
test esi, esi
je 0x1006fe28
mov ecx, esi
call fcn.10073040
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xcc], edi
call fcn.10073050
push edi
push str.SlotDescSize__i
mov dword [ebp - 0xb4], eax
call fcn.100587a0
push dword [ebp - 0xb4]
push str.SlotManager__s
call fcn.100587a0
xor edi, edi
add esp, 0x10
mov dword [ebp - 0xc4], edi
cmp dword [ebp - 0xcc], edi
jbe 0x1006fe28
push edi
mov ecx, esi
call fcn.10073010
mov esi, eax
test esi, esi
je 0x1006fd4f
movzx ecx, word [esi]
mov edx, 0x10077465
add ecx, dword [ebp - 0xb4]
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 - 0xc8]
mov ecx, esi
push edi
call fcn.10073000
mov edx, eax
test edx, edx
je 0x1006fe15
push dword [edx + 0x1a8]
mov esi, dword [edx + 0x40]
lea ecx, [edx + 0x18]
test ecx, ecx
mov eax, 0x10077465
push str.Slot______i
cmovne eax, ecx
mov ecx, 0x10077465
mov dword [ebp - 0xbc], eax
lea eax, [edx + 0x74]
test eax, eax
cmovne ecx, eax
lea eax, [edx + 0x184]
xor edi, edi
mov dword [ebp - 0xd8], ecx
test eax, eax
cmovne edi, eax
mov eax, dword [edx + 0x54]
mov dword [ebp - 0xd4], eax
call fcn.100587a0
push dword [ebp - 0xbc]
push str.Name______s
call fcn.100587a0
push dword [ebp - 0xd8]
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 - 0xd4]
push str.RefCount__i
call fcn.100587a0
push 0x10077465
call fcn.100587a0
mov edi, dword [ebp - 0xc4]
add esp, 0x34
mov esi, dword [ebp - 0xc8]
inc edi
mov dword [ebp - 0xc4], edi
cmp edi, dword [ebp - 0xcc]
jb 0x1006fcb0
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.10073896
mov esp, ebp
pop ebp
ret
push 0x1009384c
call fcn.100737c0
add esp, 4
cmp dword [0x1009384c], 0xffffffff
jne 0x1006d456
mov eax, dword [0x1009282c]
push 0x1009384c
mov dword [0x10093848], eax
call fcn.10073776
add esp, 4
jmp 0x1006d456
push 0x100978d8
call fcn.100737c0
add esp, 4
cmp dword [0x100978d8], 0xffffffff
jne 0x1006eff0
push 0x10076e00
call fcn.10073678
push 0x100978d8
mov dword [ebp - 4], 0xffffffff
call fcn.10073776
add esp, 8
jmp 0x1006eff0
call fcn.1005bb10
int3