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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x872101
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push edi
mov edi, ecx
mov ax, word [edi + 0xa]
add ax, word [edi + 8]
add ax, word [edi + 6]
add ax, word [edi + 4]
add ax, word [edi + 2]
add ax, word [edi + 0xc]
add ax, word [edi]
add ax, word [edi + 0xe]
jne 0x581d07
xor eax, eax
pop edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
add esp, 0xac
ret
push esi
xor esi, esi
push esi
push esi
push str.assault
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0xa0]
call fcn.00580660
mov eax, dword [esp + 0x98]
test eax, eax
mov dword [esp + 0xb0], esi
je 0x581d46
movzx esi, word [edi + 6]
mov ecx, dword [esp + 0x9c]
imul esi, dword [ecx]
push 0
push 0
push str.damage
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x78]
call fcn.00580660
mov eax, dword [esp + 0x70]
test eax, eax
mov byte [esp + 0xb0], 1
je 0x581d7e
movzx edx, word [edi + 0xa]
mov eax, dword [esp + 0x74]
imul edx, dword [eax]
add esi, edx
push 0
push 0
push str.hit_and_run
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x50]
call fcn.00580660
mov eax, dword [esp + 0x48]
test eax, eax
mov byte [esp + 0xb0], 2
je 0x581db6
movzx ecx, word [edi + 8]
mov edx, dword [esp + 0x4c]
imul ecx, dword [edx]
add esi, ecx
push 0
push 0
push str.off_road
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x28]
call fcn.00580660
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esp + 0xb0], 3
je 0x581dee
movzx eax, word [edi + 0xe]
mov ecx, dword [esp + 0x24]
imul eax, dword [ecx]
add esi, eax
push 0
push 0
push str.racing
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00580660
mov eax, dword [esp + 0xc]
test eax, eax
mov byte [esp + 0xb0], 4
je 0x581e26
movzx edx, word [edi + 2]
mov eax, dword [esp + 0x10]
imul edx, dword [eax]
add esi, edx
push 0
push 0
push str.reckless_driving
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x8c]
call fcn.00580660
mov eax, dword [esp + 0x84]
test eax, eax
mov byte [esp + 0xb0], 5
je 0x581e67
movzx ecx, word [edi + 4]
mov edx, dword [esp + 0x88]
imul ecx, dword [edx]
add esi, ecx
push 0
push 0
push str.resisting_arrest
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00580660
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0xb0], 6
je 0x581e9f
movzx eax, word [edi + 0xc]
mov ecx, dword [esp + 0x38]
imul eax, dword [ecx]
add esi, eax
push 0
push 0
push str.speeding
call fcn.00454640
add esp, 4
push eax
lea ecx, [esp + 0x64]
call fcn.00580660
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x581ece
movzx edx, word [edi]
mov eax, dword [esp + 0x60]
imul edx, dword [eax]
add esi, edx
lea ecx, [esp + 0x58]
call fcn.0045a430
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 5
call fcn.0045a430
lea ecx, [esp + 0x80]
mov byte [esp + 0xb0], 4
call fcn.0045a430
lea ecx, [esp + 8]
mov byte [esp + 0xb0], 3
call fcn.0045a430
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 2
call fcn.0045a430
lea ecx, [esp + 0x44]
mov byte [esp + 0xb0], 1
call fcn.0045a430
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0
call fcn.0045a430
lea ecx, [esp + 0x94]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0045a430
mov ecx, dword [esp + 0xa8]
mov eax, esi
pop esi
pop edi
mov dword fs:[0], ecx
add esp, 0xac
ret