Function at 0x100013f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
push str.VehicleIDLimitPatch:_Starting_patch_process.
call ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x1000162a
push str.VehicleIDLimitPatch:_Found_samp.dll_module.
call ebx
mov esi, dword [0x1001d1dc]
mov eax, str.null
push 4
push 0x100157c4
push dword [0x1001d1d8]
cmp esi, 0xf
cmova eax, dword [str.null]
push eax
call fcn.100018c0
add esp, 0x10
test al, al
jne 0x10001615
push 8
push str.0.3DL_R1
push dword [0x1001d1d8]
cmp esi, 0xf
mov eax, str.null
cmova eax, dword [str.null]
push eax
call fcn.100018c0
add esp, 0x10
test al, al
je 0x1000148c
push str.VehicleIDLimitPatch:_Found_0.3DL_version.
call ebx
lea eax, [edi + 0xe5d7]
add edi, 0xe5e2
jmp 0x100015c7
push 8
push str.0.3.7_R3
push dword [0x1001d1d8]
cmp esi, 0xf
mov eax, str.null
cmova eax, dword [str.null]
push eax
call fcn.100018c0
add esp, 0x10
test al, al
jne 0x10001569
push 0xa
push str.0.3.7_R3_1
push dword [0x1001d1d8]
cmp esi, 0xf
mov eax, str.null
cmova eax, dword [str.null]
push eax
call fcn.100018c0
add esp, 0x10
test al, al
jne 0x10001569
push 8
push str.0.3.7_R4
push dword [0x1001d1d8]
cmp esi, 0xf
mov eax, str.null
cmova eax, dword [str.null]
push eax
call fcn.100018c0
add esp, 0x10
test al, al
jne 0x10001569
push 5
push str.0.3.7
push dword [0x1001d1d8]
cmp esi, 0xf
mov eax, str.null
cmova eax, dword [str.null]
push eax
call fcn.100018c0
add esp, 0x10
test al, al
je 0x1000154d
push str.VehicleIDLimitPatch:_Found_0.3.7_R1_version.
call ebx
lea eax, [edi + 0x2545d4]
add edi, 0x285679
jmp 0x100015c7
push str.VehicleIDLimitPatch:_Youre_not_using_a_valid_version_of_samp__valid_version_are:_R1__R3__R3_2__R4_and_0.3DL.
call ebx
push str.VehicleIDLimitPatch:_Failed_to_find_patch_addresses__maybe_samp_version_
call ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.VehicleIDLimitPatch:_Found_0.3.7__R3__R3_1__R4__version.
call ebx
push 0xc
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
mov eax, dword [ebp - 8]
add eax, 0xffffffe9
add eax, edi
mov dword [ebp + 8], eax
cmp edi, eax
jae 0x100015bf
mov ecx, edi
mov edx, 0x100159d4
mov esi, 0x12
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100015b9
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100015a0
mov ax, word [ecx]
cmp ax, word [edx]
je 0x100015c1
inc edi
cmp edi, dword [ebp + 8]
jb 0x10001592
xor edi, edi
lea eax, [edi + 5]
lea edi, [eax + 0xb]
test eax, eax
je 0x10001554
test edi, edi
je 0x10001554
push 1
push 6
push 0x90
push ecx
mov ecx, esp
push eax
call fcn.10003060
call fcn.10003ef0
add esp, 0x10
push 1
push 6
push 0x90
push ecx
mov ecx, esp
push edi
call fcn.10003060
call fcn.10003ef0
add esp, 0x10
push str.VehicleIDLimitPatch:_Patches_applied_successfully.
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.VehicleIDLimitPatch:_Failed_to_fetch_the_samp_version.
call ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.VehicleIDLimitPatch:_Failed_to_get_module_handle_for_samp.dll.
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4