Function at 0x430b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5884f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
mov ebx, ecx
push str.AI_Total
call fcn.0055a480
add esp, 4
xor esi, esi
mov dword [ebx + 0x24], esi
mov word [ebx + 0x28], si
push 0x15fa4
mov dword [ebx + 0x2c], esi
mov word [ebx + 0x30], si
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], esi
mov dword [ebx + 0x20], esi
mov word [ebx + 0x48], si
mov word [ebx + 0x5c], si
mov word [ebx + 0x6e], si
mov dword [ebx + 0x3c], esi
mov word [ebx + 0xa0], si
mov word [ebx + 0xa2], si
mov word [ebx + 0xa4], si
mov word [ebx + 0xa6], si
mov word [ebx + 0xac], si
mov word [ebx + 0xae], si
mov word [ebx + 0xb0], si
mov word [ebx + 0xb2], si
call fcn.0050f560
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x430c3f
mov ecx, eax
call fcn.0044c700
jmp 0x430c41
xor eax, eax
push eax
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x1c], eax
call fcn.00510de0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x7c], eax
mov ecx, dword [0x60b12c]
mov dword [ebp - 0x10], ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x50]
push ecx
call fcn.00566800
mov edx, eax
mov edi, str..bai
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5a726c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0055a480
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
mov ecx, ebx
call fcn.00431870
call fcn.0055a510
mov eax, dword [0x6683bc]
cmp eax, 4
ja case.0x430cde.2
jmp dword [eax*4 + 0x4316dc]
mov edx, dword [0x6683c0]
lea eax, [ebp - 0xd0]
push edx
push 0x5a7274
push eax
call fcn.00566480
add esp, 0xc
jmp 0x430d7a
lea ecx, [ebp - 0xd0]
push 0x5a727c
push ecx
call fcn.00566480
add esp, 8
jmp 0x430d7a
mov edx, dword [0x6683c0]
lea eax, [ebp - 0xd0]
push edx
push 0x5a7284
push eax
call fcn.00566480
add esp, 0xc
jmp 0x430d7a
mov ecx, dword [0x6683c0]
lea edx, [ebp - 0xd0]
push ecx
push 0x5a7290
push edx
call fcn.00566480
add esp, 0xc
jmp 0x430d7a
mov edi, 0x5a7298
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or esi, 0xffffffff
lea edi, [ebp - 0xd0]
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov cx, word [0x5a72a0]
mov edx, dword [str.aimap]
mov word [edi - 1], cx
lea edi, [ebp - 0xd0]
mov ecx, esi
push 0
repne scasb al, byte es:[edi]
mov ax, word [0x5a72a8]
dec edi
push 5
mov dword [edi], edx
mov word [edi + 4], ax
call fcn.0050e090
mov edi, dword [ebp - 0x10]
add esp, 4
mov ecx, edi
push eax
call fcn.00482800
push str.AI_RACE_DATA
call fcn.0055a480
add esp, 4
push 0x2c
call fcn.0050f560
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x430e01
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0xd0]
push ecx
push edx
mov ecx, eax
call fcn.00440a70
jmp 0x430e03
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebx + 0x20], eax
call fcn.0055a510
push 0
mov ecx, edi
call fcn.00482880
mov eax, dword [0x66839c]
test eax, eax
jne 0x430e52
push 0x1fc
call fcn.0050f560
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x430e42
mov ecx, eax
call fcn.0043a830
mov eax, dword [0x609d0c]
mov ecx, ebx
push eax
mov dword [ebp - 4], esi
call fcn.00510de0
mov ecx, 0x668690
test ecx, ecx
je 0x430e82
mov ecx, 0x668690
mov edi, str.amizdA_eoJ
call fcn.004c4db0
mov esi, eax
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x430e82
mov word [ebx + 0xb6], 1
jmp 0x430e8b
mov word [ebx + 0xb6], 0
mov eax, 0x668690
test eax, eax
je 0x430ec6
mov ecx, 0x668690
mov edi, str.Warp_Eleven
call fcn.004c4db0
mov esi, eax
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x430ec6
mov dword [ebx + 0x90], 0x41200000
mov dword [0x668688], 1
jmp 0x430ed0
mov dword [ebx + 0x90], 0x3f800000
push 0
push 6
call fcn.0050e090
mov ecx, dword [ebp - 0x10]
add esp, 4
push eax
call fcn.00482800
push str.AI_OPPONENTS
call fcn.0055a480
mov eax, dword [ebx + 0x20]
add esp, 4
fild dword [eax + 0x20]
fcom dword [0x6683e4]
fnstsw ax
test ah, 1
jne 0x430f0d
fstp st(0)
fld dword [0x6683e4]
call fcn.00566eac
test ax, ax
mov word [ebx + 0x5c], ax
jle 0x430f33
mov eax, dword [0x66839c]
test eax, eax
jne 0x430f33
mov ecx, dword [0x609d0c]
test ecx, ecx
je 0x430f33
call fcn.0043cf70
movsx edi, word [ebx + 0x5c]
mov eax, edi
shl eax, 3
sub eax, edi
lea ecx, [eax + eax*4]
shl ecx, 5
add ecx, edi
lea edx, [ecx*8 + 4]
push edx
call fcn.0050f560
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
mov dword [ebp - 4], 3
je 0x430f83
push fcn.00447d90
push fcn.00447d30
lea esi, [eax + 4]
push edi
push 0x2308
push esi
mov dword [eax], edi
call fcn.00567040
mov eax, esi
jmp 0x430f85
xor eax, eax
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp word [ebx + 0x5c], di
mov dword [ebx + 0x58], eax
jle 0x431010
xor esi, esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x58]
push eax
push ecx
mov ecx, esi
push edi
add ecx, edx
call fcn.00447ec0
call fcn.004dcbd0
test dword [0x6684cc], eax
je 0x430fce
mov eax, dword [ebx + 0x58]
mov ecx, esi
push 0x471c4000
add ecx, eax
call fcn.00448490
jmp 0x431001
mov edx, dword [ebx + 0x58]
mov ecx, esi
push 0x459c4000
add ecx, edx
call fcn.00448470
mov edx, dword [ebx + 0x58]
mov ecx, esi
push 0x461c4000
add ecx, edx
call fcn.00448490
mov eax, dword [ebx + 0x58]
mov ecx, esi
push 0x3f866666
add ecx, eax
call fcn.004484c0
movsx edx, word [ebx + 0x5c]
inc edi
add esi, 0x2308
cmp edi, edx
jl 0x430f99
call fcn.0055a510
mov esi, dword [ebp - 0x10]
push 0
mov ecx, esi
call fcn.00482880
push 0
push 7
call fcn.0050e090
add esp, 4
mov ecx, esi
push eax
call fcn.00482800
push str.AI_COPS
call fcn.0055a480
add esp, 4
push 0x3c
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x431063
mov ecx, eax
call fcn.00448890
jmp 0x431065
xor eax, eax
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x20]
fld dword [0x6683e0]
fcomp dword [0x5903b0]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], ecx
fnstsw ax
test ah, 0x41
je 0x431093
fld dword [0x5903b0]
jmp 0x4310b4
fld dword [0x6683e0]
fcomp dword [0x5903b4]
fnstsw ax
test ah, 1
jne 0x4310ae
fld dword [0x5903b4]
jmp 0x4310b4
fld dword [0x6683e0]
fild dword [ebp + 8]
fmul st(1)
call fcn.00566eac
test ax, ax
fstp st(0)
mov word [ebx + 0x48], ax
jle 0x4310e1
mov eax, dword [0x66839c]
test eax, eax
jne 0x4310e1
mov ecx, dword [0x609d0c]
test ecx, ecx
je 0x4310e1
call fcn.0043cfc0
movsx edi, word [ebx + 0x48]
mov eax, edi
shl eax, 6
sub eax, edi
lea edx, [eax + eax*8]
shl edx, 1
sub edx, edi
lea eax, [edx*8 + 4]
push eax
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 5
je 0x43112e
push fcn.0043ee10
push 0x43edb0
lea esi, [eax + 4]
push edi
push 0x2368
push esi
mov dword [eax], edi
call fcn.00567040
jmp 0x431130
xor esi, esi
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp word [ebx + 0x48], di
mov dword [ebx + 0x44], esi
jle 0x4311b7
xor esi, esi
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x44]
push ecx
mov ecx, esi
push edi
add ecx, edx
call fcn.0043ef50
call fcn.004dcbd0
test dword [0x6684cc], eax
je 0x431175
mov eax, dword [ebx + 0x44]
mov ecx, esi
push 0x471c4000
add ecx, eax
call fcn.004406f0
jmp 0x4311a8
mov edx, dword [ebx + 0x44]
mov ecx, esi
push 0x459c4000
add ecx, edx
call fcn.004406d0
mov edx, dword [ebx + 0x44]
mov ecx, esi
push 0x461c4000
add ecx, edx
call fcn.004406f0
mov eax, dword [ebx + 0x44]
mov ecx, esi
push 0x3f866666
add ecx, eax
call fcn.00440720
movsx edx, word [ebx + 0x48]
inc edi
add esi, 0x2368
cmp edi, edx
jl 0x431144
xor esi, esi
cmp word [ebx + 0x30], si
mov word [ebx + 0x4a], si
jle 0x4312cd
push esi
mov ecx, ebx
call fcn.004307b0
movsx eax, word [eax + 0x16]
test eax, eax
jne 0x4312c0
push esi
mov ecx, ebx
call fcn.004307b0
mov eax, dword [eax]
cmp word [eax + 0x16], 0
jne 0x4312c0
push esi
mov ecx, ebx
call fcn.004307b0
movsx edi, word [eax + 0xc]
push esi
mov ecx, ebx
call fcn.004307b0
movsx ecx, word [eax + 0x10]
mov dword [ebp + 0xc], ecx
push esi
mov ecx, ebx
call fcn.004307b0
push esi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.004307b0
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
movsx ecx, word [eax + 0xc]
imul ecx, edx
mov eax, dword [eax + 0x60]
lea ecx, [ecx + edi - 3]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
movsx eax, word [eax + 0xc]
fld dword [ecx]
imul eax, edx
lea edi, [eax + edi - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
lea edx, [edi + edi*2]
fsub dword [eax + edx*4]
lea eax, [eax + edx*4]
lea edx, [ebp - 0x1a]
fmul dword [0x5903b8]
fsubr dword [eax]
fstp dword [ebp - 0x30]
fld dword [ecx + 4]
fsub dword [eax + 4]
fmul dword [0x5903b8]
fsubr dword [eax + 4]
fstp dword [ebp - 0x2c]
fld dword [ecx + 8]
fsub dword [eax + 8]
lea ecx, [ebp - 0x22]
push ecx
push edx
fmul dword [0x5903b8]
mov ecx, ebx
fsubr dword [eax + 8]
lea eax, [ebp - 0x30]
push eax
fstp dword [ebp - 0x28]
call fcn.00432610
cmp word [ebp - 0x1a], 1
je 0x4312c0
push esi
push str.Path__d__has_a_cop_initial_position_conflict.
call fcn.00558640
movsx ecx, word [ebx + 0x4a]
add esp, 8
mov word [ebx + ecx*2 + 0x4c], si
inc word [ebx + 0x4a]
movsx edx, word [ebx + 0x30]
inc esi
cmp esi, edx
jl 0x4311c7
call fcn.0055a510
mov esi, dword [ebp - 0x10]
push 0x3f4ccccd
mov ecx, esi
call fcn.00482880
push 0
push 8
call fcn.0050e090
add esp, 4
mov ecx, esi
push eax
call fcn.00482800
push str.AI_AMBIENT
call fcn.0055a480
mov ax, word [0x6684b4]
add esp, 4
test ax, ax
mov word [ebx + 0x38], ax
jle 0x431329
mov eax, dword [0x66839c]
test eax, eax
jne 0x431329
mov ecx, dword [0x609d0c]
test ecx, ecx
je 0x431329
call fcn.0043cf20
movsx esi, word [ebx + 0x38]
lea ecx, [esi + esi*4]
shl ecx, 3
sub ecx, esi
lea edx, [ecx*8 + 4]
push edx
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 6
je 0x431372
push fcn.00448df0
push 0x448d10
lea edi, [eax + 4]
push esi
push 0x138
push edi
mov dword [eax], esi
call fcn.00567040
mov eax, edi
jmp 0x431374
xor eax, eax
mov dword [ebx + 0x34], eax
xor ecx, ecx
movsx eax, word [ebx + 0x38]
xor esi, esi
cmp eax, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 8], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
jle 0x4314e9
mov dword [ebp + 0xc], ecx
fild dword [ecx*4 + 0x5a6e70]
fimul dword [ebp - 0x18]
fmul dword [0x5903bc]
call fcn.00566eac
cmp eax, dword [ebp - 0x14]
jl 0x4314ab
mov eax, 0x668690
test eax, eax
je 0x4313f6
mov ecx, 0x668690
mov edi, str.Big_Bus_Party
call fcn.004c4db0
mov esi, eax
mov ecx, 0xe
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4313f3
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ecx*4 + 0x5a6da8]
jmp 0x431461
mov esi, dword [ebp + 8]
mov eax, 0x668690
test eax, eax
je 0x43142e
mov ecx, 0x668690
mov edi, str.Tiny_Car
call fcn.004c4db0
mov esi, eax
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x43142b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ecx*4 + 0x5a6de0]
jmp 0x431461
mov esi, dword [ebp + 8]
mov eax, 0x668690
test eax, eax
je 0x43147e
mov ecx, 0x668690
mov edi, str.Jet_Planes
call fcn.004c4db0
mov esi, eax
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x43147b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ecx*4 + 0x5a6e18]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x34]
push edx
add ecx, eax
call fcn.00448ec0
mov dword [0x668688], 1
jmp 0x431497
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push esi
mov ecx, dword [eax*4 + 0x5a6d70]
mov eax, dword [ebx + 0x34]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, eax
call fcn.00448ec0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
inc ecx
add eax, 0x138
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
mov esi, ecx
movsx edx, word [0x5a6d6c]
mov ecx, dword [ebp + 0x14]
inc ecx
dec edx
cmp ecx, edx
mov dword [ebp + 0x14], ecx
jle 0x4314d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc edx
cmp esi, eax
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x14], edx
je 0x4314e5
mov dword [ebp - 0x20], esi
movsx eax, word [ebx + 0x38]
cmp esi, eax
mov dword [ebp - 0x18], eax
jl 0x4313a0
jmp 0x4314e9
mov word [ebx + 0x38], si
call fcn.004dcbd0
test dword [0x6684cc], eax
je 0x431503
push 0x471c4000
call fcn.0044ab00
add esp, 4
call fcn.0055a510
mov esi, dword [ebp - 0x10]
push 0
mov ecx, esi
call fcn.00482880
push 0x3f59999a
push 9
call fcn.0050e090
add esp, 4
mov ecx, esi
push eax
call fcn.00482800
push str.AI_PEDS
call fcn.0055a480
mov eax, dword [0x66867c]
add esp, 4
test eax, eax
je 0x431549
mov word [ebx + 0x64], 0
jmp 0x43155e
fld dword [0x6683dc]
fmul dword [0x5903c0]
call fcn.00566eac
mov word [ebx + 0x64], ax
movsx esi, word [ebx + 0x64]
lea eax, [esi + esi*4]
lea ecx, [esi + eax*2]
shl ecx, 2
sub ecx, esi
lea edx, [ecx*4 + 4]
push edx
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 7
je 0x4315a8
push fcn.00442170
push 0x442090
lea edi, [eax + 4]
push esi
push 0xac
push edi
mov dword [eax], esi
call fcn.00567040
jmp 0x4315aa
xor edi, edi
mov dword [ebx + 0x60], edi
mov eax, dword [0x6683f4]
cmp eax, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], 0x5a6e60
jg 0x4315cc
mov dword [ebp + 8], 0x5a6e50
xor esi, esi
cmp word [ebx + 0x64], si
jle 0x43160d
xor edi, edi
mov eax, esi
mov ecx, dword [ebp + 8]
not eax
and eax, 1
push eax
mov eax, esi
cdq
xor eax, edx
push esi
sub eax, edx
and eax, 3
xor eax, edx
sub eax, edx
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x60]
push edx
add ecx, edi
call fcn.00442180
movsx eax, word [ebx + 0x64]
inc esi
add edi, 0xac
cmp esi, eax
jl 0x4315d6
mov esi, dword [ebp - 0x10]
call fcn.0055a510
push 0
mov ecx, esi
call fcn.00482880
push 0x3f666666
push 0xa
call fcn.0050e090
add esp, 4
mov ecx, esi
push eax
call fcn.00482800
push str.AI_COLLIDABLES
call fcn.0055a480
mov ecx, dword [ebx + 0x1c]
add esp, 4
push str.vasedan
call fcn.0044c880
call fcn.0055a510
push 0
mov ecx, esi
call fcn.00482880
push 0
push 0xb
call fcn.0050e090
add esp, 4
mov ecx, esi
push eax
call fcn.00482800
push str.AI_AUDIO
call fcn.0055a480
add esp, 4
push 0x11c
call fcn.0050f560
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 8
je 0x4316a0
mov ecx, eax
call fcn.004410c0
mov ecx, dword [0x609d4c]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, ebx
call fcn.00510de0
call fcn.0055a510
call fcn.0055a510
push 0
mov ecx, esi
call fcn.00482880
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10