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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa4
push ebx
push esi
push edi
lea eax, [esp + 0x30]
mov edi, ecx
push eax
mov dword [esp + 0x28], edi
call fcn.00538270
movaps xmm0, xmmword [eax]
lea ecx, [edi + 0x430]
movaps xmmword [ecx], xmm0
movaps xmm0, xmmword [eax + 0x10]
movaps xmmword [ecx + 0x10], xmm0
movaps xmm0, xmmword [eax + 0x20]
movaps xmmword [ecx + 0x20], xmm0
movaps xmm0, xmmword [eax + 0x30]
lea edx, [esp + 0x30]
cmp ecx, edx
mov dword [esp + 0x2c], ecx
movaps xmmword [ecx + 0x30], xmm0
jne 0x53c99a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movss xmm0, dword [0x68b4fc]
mov ecx, dword [0x6f2234]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x68b4fc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x68b500]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0xa0], xmm0
shufps xmm0, xmm0, 0x39
movaps xmmword [esp + 0x90], xmm0
shufps xmm0, xmm0, 0x39
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x39
push 0
movaps xmmword [esp + 0x84], xmm0
movaps xmmword [esp + 0x74], xmm1
mov byte [0x6c6894], 0
call fcn.004ad7d0
mov ebx, eax
mov eax, dword [0x76ba40]
inc ebx
test eax, eax
mov dword [esp + 0x28], 0xffff
je 0x53cadb
mov ecx, dword [eax + 0xc8c]
cmp ecx, dword [eax + 0xb18]
jne 0x53cadb
push str.AddEnemyCar___r_n
call fcn.00569b60
mov ecx, dword [0x6f2234]
mov eax, dword [ecx + 0x8c]
add esp, 4
test eax, eax
jle 0x53ca71
push 1
lea edx, [esp + 0x2c]
push edx
dec eax
push eax
call fcn.004ad860
mov ecx, dword [0x76ba40]
mov eax, dword [ecx + 0xb18]
mov edi, dword [ecx + eax*4 + 0xb28]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
push 0
push edx
push eax
call fcn.00621a80
mov esi, eax
push esi
push str.__Slot:__i_r_n
call fcn.00569b60
add esp, 8
cmp esi, 0xffffffff
jne 0x53cac0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
lea esi, [ecx + edx - 1]
push esi
push str.__Cannot_find_a_slot__________VERY_BAD._Use:__i_r_n
call fcn.00569b60
add esp, 8
mov eax, dword [0x76ba40]
mov edi, dword [esp + 0x24]
mov dword [0x6bc830], esi
mov ecx, dword [eax + 0xc8c]
mov dword [0x6bc834], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [0x6f2234]
push 1
push edx
push ebx
lea eax, [esp + 0x7c]
push eax
call fcn.004b6a00
mov esi, eax
test esi, esi
je 0x53cda0
mov al, byte [0x6c6895]
inc al
movsx ecx, al
push 1
push ecx
push esi
mov byte [esi + 0x1ed], al
call fcn.0060dc00
movzx eax, word [0x6c6898]
add esp, 0xc
cmp eax, 1
jg 0x53cb2b
mov eax, 1
jmp 0x53cb35
cmp eax, 0x64
jl 0x53cb35
mov eax, 0x64
movzx edx, ax
mov dword [esp + 0x24], edx
mov byte [esi + 9], 0
push esi
fild dword [esp + 0x28]
fst dword [esi + 0x204]
fstp dword [esi + 0x200]
mov ecx, dword [edi + 0x348]
call fcn.00401cb0
push 0x68c828
call fcn.005f1f70
push 0
push 8
push 0
call eax
mov edi, eax
add esp, 0x10
test edi, edi
je 0x53cbd9
movaps xmm3, xmmword [esp + 0x10]
mov eax, dword [ebp + 8]
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x39
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x39
movaps xmm2, xmm1
shufps xmm2, xmm1, 0x39
movaps xmmword [edi + 0x10], xmm2
movaps xmmword [edi + 0x20], xmm1
movaps xmmword [edi + 0x30], xmm0
movaps xmmword [edi + 0x40], xmm3
mov edx, dword [edi + 0x84]
dec eax
or edx, 0x80
push edi
mov ecx, esi
mov word [edi + 0xc], ax
mov dword [edi + 0x84], edx
mov dword [edi + 0x1d0], 0
call fcn.005ef6a0
push edi
lea ecx, [esi + 0x2a8]
call fcn.00401a50
mov eax, dword [esp + 0x2c]
movaps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
movaps xmm0, xmmword [eax + 0x20]
movaps xmmword [esi + 0x30], xmm0
movaps xmm0, xmmword [eax + 0x30]
movaps xmmword [esi + 0x40], xmm0
mov eax, dword [0x76ba40]
test eax, eax
je 0x53cda0
mov ebx, dword [esi + 0xcc]
test ebx, ebx
jl 0x53cda0
push ebx
push str.Spawned_new_Vehicle__i__r_n
call fcn.00569b60
mov edx, dword [0x72c1e4]
add esp, 8
inc edx
mov dword [0x72c1e4], edx
mov eax, dword [esi + 0x2a8]
test eax, eax
je 0x53cc42
mov word [eax + 0xc], 0x64
push esi
call fcn.0063b370
mov ecx, dword [0x76ba40]
mov eax, dword [ecx + 0xb38]
add esp, 4
cmp eax, 1
jle 0x53cda0
movss xmm1, dword [0x68b500]
movaps xmm0, xmmword [esi + 0x40]
movss dword [esp + 0x10], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x14], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x18], xmm1
movss xmm1, dword [0x68b4fc]
movss dword [esp + 0x1c], xmm1
movaps xmm1, xmmword [esp + 0x10]
shufps xmm1, xmm0, 0xe0
shufps xmm0, xmm1, 0x24
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movaps xmmword [esp + 0x10], xmm1
xor eax, eax
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xaa
movaps xmm0, xmmword [esi + 0x30]
mov ecx, 0xb
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm1
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x30]
mov edx, dword [esp + 0x10]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x55
movaps xmm0, xmmword [esi + 0x30]
movaps xmmword [esp + 0x10], xmm1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xaa
mov dword [esp + 0x40], ecx
movaps xmmword [esp + 0x10], xmm1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x70]
mov dword [esp + 0x4c], ecx
push edx
mov ecx, 0x6de358
mov byte [esp + 0x34], 6
mov dword [esp + 0x4c], eax
call fcn.004ae260
mov cx, word [esi + 0xd4]
mov dx, word [esp + 0x28]
push 0
push 0
push 8
push 0
push 0xffffffffffffffff
push 0
mov byte [esp + 0x68], al
mov al, byte [esi + 0x1ed]
push 0xffffffffffffffff
mov byte [esp + 0x6d], al
push 0x2c
lea eax, [esp + 0x50]
mov word [esp + 0x78], cx
mov ecx, dword [0x76ba40]
push eax
mov byte [esp + 0x76], 1
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], 0
mov byte [esp + 0x79], 0
mov byte [esp + 0x7a], 1
mov byte [esp + 0x7b], 0
mov word [esp + 0x7e], dx
call fcn.00623b30
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4